Branch libreoffice-5-0-4
[LibreOffice.git] / vcl / inc / salglyphid.hxx
blobfa9f59379e4ac7ca14a47f77427f434ff2cbaf6b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_VCL_INC_SALGLYPHID_HXX
20 #define INCLUDED_VCL_INC_SALGLYPHID_HXX
22 // TODO: sal_GlyphId should become a class...
23 typedef sal_uInt32 sal_GlyphId;
25 // Glyph Flags
26 #define GF_NONE 0x00000000
27 #define GF_FLAGMASK 0xFF800000
28 #define GF_IDXMASK ~GF_FLAGMASK
29 #define GF_ISCHAR 0x00800000
30 #define GF_ROTL 0x01000000
31 // caution !!!
32 #define GF_VERT 0x02000000
33 // GF_VERT is only for windows implementation
34 // (win/source/gdi/salgdi3.cxx, win/source/gdi/winlayout.cxx)
35 // don't use this elsewhere !!!
36 #define GF_ROTR 0x03000000
37 #define GF_ROTMASK 0x03000000
38 #define GF_UNHINTED 0x04000000
39 #define GF_GSUB 0x08000000
40 #define GF_FONTMASK 0xF0000000
41 #define GF_FONTSHIFT 28
43 #define GF_DROPPED 0xFFFFFFFF
45 #endif // INCLUDED_VCL_INC_SALGLYPHID_HXX
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */