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