1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
;
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
34 #define GF_VERT 0x02000000
35 // GF_VERT is only for windows implementation
36 // (win/gdi/salgdi3.cxx, win/gdi/winlayout.cxx)
37 // don't use this elsewhere !!!
40 #define GF_ROTR 0x03000000
41 #define GF_ROTMASK 0x03000000
42 #define GF_UNHINTED 0x04000000
43 #define GF_GSUB 0x08000000
44 #define GF_FONTMASK 0xF0000000
45 #define GF_FONTSHIFT 28
47 #define GF_DROPPED 0xFFFFFFFF
49 #endif // INCLUDED_VCL_INC_SALGLYPHID_HXX
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */