update dev300-m58
[ooovba.git] / vcl / os2 / inc / wingdi.h
blobbd83ebf5868b237db50aff78ce4160c4b8cf7a65
1 #ifndef _WINGDI_
2 #define _WINGDI_
4 typedef struct tagPOINT
6 LONG x;
7 LONG y;
8 } POINT, *PPOINT, *LPPOINT;
11 typedef unsigned long DWORD;
12 typedef unsigned short WORD;
13 typedef struct
15 WORD fract;
16 SHORT value;
17 } W32FIXED;
19 typedef struct tagPOINTFX
21 W32FIXED x;
22 W32FIXED y;
23 } POINTFX, *LPPOINTFX;
25 typedef struct tagTTPOLYCURVE
27 WORD wType;
28 WORD cpfx;
29 POINTFX apfx[1];
30 } TTPOLYCURVE, *LPTTPOLYCURVE;
32 typedef struct tagTTPOLYGONHEADER
34 DWORD cb;
35 DWORD dwType;
36 POINTFX pfxStart;
37 } TTPOLYGONHEADER, *LPTTPOLYGONHEADER;
39 typedef struct
41 UINT gmBlackBoxX;
42 UINT gmBlackBoxY;
43 POINT gmptGlyphOrigin;
44 SHORT gmCellIncX;
45 SHORT gmCellIncY;
46 } GLYPHMETRICS, *LPGLYPHMETRICS;
48 #define GGO_METRICS 0
49 #define GGO_BITMAP 1
50 #define GGO_NATIVE 2
51 #define GGO_BEZIER 3
52 #define GGO_GRAY2_BITMAP 4
53 #define GGO_GRAY4_BITMAP 5
54 #define GGO_GRAY8_BITMAP 6
55 #define GGO_GLYPH_INDEX 0x80
57 #define TT_PRIM_LINE 1
58 #define TT_PRIM_QSPLINE 2
59 #define TT_PRIM_CSPLINE 3
60 #define TT_POLYGON_TYPE 24
62 typedef struct
64 W32FIXED eM11;
65 W32FIXED eM12;
66 W32FIXED eM21;
67 W32FIXED eM22;
68 } MAT2, *LPMAT2;
70 #endif // _WINGDI_