xref: /aoo42x/main/vcl/inc/salglyphid.hxx (revision 248a599f)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 #ifndef _SV_SALGLYPHID_HXX
23 #define _SV_SALGLYPHID_HXX
24 
25 // TODO: sal_GlyphId should become a class...
26 typedef sal_uInt32 sal_GlyphId;
27 
28 // Glyph Flags
29 #define GF_NONE     0x00000000
30 #define GF_FLAGMASK 0xFF800000
31 #define GF_IDXMASK  ~GF_FLAGMASK
32 #define GF_ISCHAR   0x00800000
33 #define GF_ROTL     0x01000000
34 // caution !!!
35 #define GF_VERT     0x02000000
36 // GF_VERT is only for windows implementation
37 // (win/source/gdi/salgdi3.cxx, win/source/gdi/winlayout.cxx)
38 // don't use this elsewhere !!!
39 #define GF_ROTR     0x03000000
40 #define GF_ROTMASK  0x03000000
41 #define GF_UNHINTED 0x04000000
42 #define GF_GSUB     0x08000000
43 #define GF_FONTMASK 0xF0000000
44 #define GF_FONTSHIFT 28
45 
46 #define GF_DROPPED  0xFFFFFFFF
47 
48 #endif // _SV_SALGLYPHID_HXX
49 
50