xref: /aoo41x/main/padmin/source/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 // This header file is a verbatim copy of its counterpart in vcl.
23 // With spadmin being on its way out (#i123863i#) a cleaner solution isn't worth the effort
24 
25 #ifndef _SV_SALGLYPHID_HXX
26 #define _SV_SALGLYPHID_HXX
27 
28 // TODO: sal_GlyphId should become a class...
29 typedef sal_uInt32 sal_GlyphId;
30 
31 // Glyph Flags
32 #define GF_NONE     0x00000000
33 #define GF_FLAGMASK 0xFF800000
34 #define GF_IDXMASK  ~GF_FLAGMASK
35 #define GF_ISCHAR   0x00800000
36 #define GF_ROTL     0x01000000
37 // caution !!!
38 #define GF_VERT     0x02000000
39 // GF_VERT is only for windows implementation
40 // (win/source/gdi/salgdi3.cxx, win/source/gdi/winlayout.cxx)
41 // don't use this elsewhere !!!
42 #define GF_ROTR     0x03000000
43 #define GF_ROTMASK  0x03000000
44 #define GF_UNHINTED 0x04000000
45 #define GF_GSUB     0x08000000
46 #define GF_FONTMASK 0xF0000000
47 #define GF_FONTSHIFT 28
48 
49 #define GF_DROPPED  0xFFFFFFFF
50 
51 #endif // _SV_SALGLYPHID_HXX
52 
53