libemf 1.0.9
w16.h
1/*
2 * These are some left-over definitions which are not supported
3 * in WINE any more, but still show up in metafiles. They are
4 * not exposed as API.
5 */
6#ifndef W16_H
7#define W16_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/* Standard data types */
14
15typedef short INT16;
16typedef unsigned short UINT16;
17typedef unsigned short BOOL16;
18
19typedef HDC HDC16;
20
21/* The POINT structure */
22
23typedef struct
24{
25 INT16 x;
26 INT16 y;
27} POINT16, *PPOINT16, *LPPOINT16;
28
29typedef struct {
30 EMR emr;
31 RECTL rclBounds;
32 DWORD cpts;
33 POINT16 apts[1];
34} EMRPOLYLINE16, *PEMRPOLYLINE16,
35 EMRPOLYBEZIER16, *PEMRPOLYBEZIER16,
36 EMRPOLYGON16, *PEMRPOLYGON16,
37 EMRPOLYBEZIERTO16, *PEMRPOLYBEZIERTO16,
38 EMRPOLYLINETO16, *PEMRPOLYLINETO16;
39
40typedef struct {
41 EMR emr;
42 RECTL rclBounds;
43 DWORD nPolys;
44 DWORD cpts;
45 DWORD aPolyCounts[1];
46 POINT16 apts[1];
47} EMRPOLYPOLYLINE16, *PEMRPOLYPOLYLINE16,
48 EMRPOLYPOLYGON16, *PEMRPOLYPOLYGON16;
49
50BOOL WINAPI PolyBezier16(HDC16,const POINT16*,INT16);
51BOOL WINAPI PolyBezierTo16(HDC16,const POINT16*,INT16);
52BOOL WINAPI Polyline16(HDC16,const POINT16*,INT16);
53BOOL WINAPI PolylineTo16(HDC16,const POINT16*,INT16);
54BOOL WINAPI Polygon16(HDC16,const POINT16*,INT16);
55BOOL WINAPI PolyPolygon16(HDC16,const POINT16*,const INT*,UINT16);
56#ifdef __cplusplus
57}
58#endif
59
60
61#endif /* W16_H */