Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1892 | serge | 1 | /* cairo - a vector graphics library with display and print output |
2 | * |
||
3 | * Copyright © 2000 Keith Packard |
||
4 | * Copyright © 2005 Red Hat, Inc |
||
5 | * Copyright © 2010 Intel Corporation |
||
6 | * |
||
7 | * This library is free software; you can redistribute it and/or |
||
8 | * modify it either under the terms of the GNU Lesser General Public |
||
9 | * License version 2.1 as published by the Free Software Foundation |
||
10 | * (the "LGPL") or, at your option, under the terms of the Mozilla |
||
11 | * Public License Version 1.1 (the "MPL"). If you do not alter this |
||
12 | * notice, a recipient may use your version of this file under either |
||
13 | * the MPL or the LGPL. |
||
14 | * |
||
15 | * You should have received a copy of the LGPL along with this library |
||
16 | * in the file COPYING-LGPL-2.1; if not, write to the Free Software |
||
17 | * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA |
||
18 | * You should have received a copy of the MPL along with this library |
||
19 | * in the file COPYING-MPL-1.1 |
||
20 | * |
||
21 | * The contents of this file are subject to the Mozilla Public License |
||
22 | * Version 1.1 (the "License"); you may not use this file except in |
||
23 | * compliance with the License. You may obtain a copy of the License at |
||
24 | * http://www.mozilla.org/MPL/ |
||
25 | * |
||
26 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY |
||
27 | * OF ANY KIND, either express or implied. See the LGPL or the MPL for |
||
28 | * the specific language governing rights and limitations. |
||
29 | * |
||
30 | * The Original Code is the cairo graphics library. |
||
31 | * |
||
32 | * The Initial Developer of the Original Code is Red Hat, Inc. |
||
33 | * |
||
34 | * Contributor(s): |
||
35 | * Graydon Hoare |
||
36 | * Owen Taylor |
||
37 | * Keith Packard |
||
38 | * Carl Worth |
||
39 | * Chris Wilson |
||
40 | */ |
||
41 | |||
42 | #ifndef _CAIRO_FONTCONFIG_PRIVATE_H |
||
43 | #define _CAIRO_FONTCONFIG_PRIVATE_H |
||
44 | |||
45 | #include "cairo.h" |
||
46 | |||
47 | #if CAIRO_HAS_FC_FONT |
||
48 | #include |
||
49 | #include |
||
50 | #endif |
||
51 | |||
52 | /* sub-pixel order */ |
||
53 | #ifndef FC_RGBA_UNKNOWN |
||
54 | #define FC_RGBA_UNKNOWN 0 |
||
55 | #define FC_RGBA_RGB 1 |
||
56 | #define FC_RGBA_BGR 2 |
||
57 | #define FC_RGBA_VRGB 3 |
||
58 | #define FC_RGBA_VBGR 4 |
||
59 | #define FC_RGBA_NONE 5 |
||
60 | #endif |
||
61 | |||
62 | /* hinting style */ |
||
63 | #ifndef FC_HINT_NONE |
||
64 | #define FC_HINT_NONE 0 |
||
65 | #define FC_HINT_SLIGHT 1 |
||
66 | #define FC_HINT_MEDIUM 2 |
||
67 | #define FC_HINT_FULL 3 |
||
68 | #endif |
||
69 | |||
70 | /* LCD filter */ |
||
71 | #ifndef FC_LCD_NONE |
||
72 | #define FC_LCD_NONE 0 |
||
73 | #define FC_LCD_DEFAULT 1 |
||
74 | #define FC_LCD_LIGHT 2 |
||
75 | #define FC_LCD_LEGACY 3 |
||
76 | #endif |
||
77 | |||
78 | #endif /* _CAIRO_FONTCONFIG_PRIVATE_H */ |