acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
cross_win_gdi_internal.h
1#pragma once
2
3
4
5
6
7struct CLASS_DECL_ACME gdi_object
8{
9
10
11 enum enum_type
12 {
13 type_undefined,
14 type_pen,
15 ::draw2d::e_pen_brush,
16 type_bitmap,
17 type_font,
18 };
19
20 enum enum_type m_etype;
21
22/* gdi_object(enum_type etype = type_undefined) :
23 m_etype(etype)
24 {
25 }*/
26
27};
28
29
30
32{
33
34 oswindow m_window;
35
36};
37
38class CLASS_DECL_ACME device_context
39{
40public:
41
42
43 //cairo_t * m_pdc;
44
45 device_context();
46
47
48};
49
50
51
53 public gdi_object
54{
55 ::u32 elpPenStyle;
56 ::u32 elpWidth;
57 ::u32 elpBrushStyle;
58 color32_t elpColor;
59 ulong_ptr elpHatch;
60 ::u32 elpNumEntries;
61 ::u32 elpStyleEntry[1];
62};
63
64
66 public gdi_object
67{
68 ::u32 lbStyle;
69 color32_t lbColor;
70 ulong_ptr lbHatch;
71};
72
73
74
75struct tagLOGRGN :
76 public gdi_object
77{
78 ::u32 m_uiSize;
79 ::u8 * m_puchData;
80};
81
82
83
84
85struct tagFONTA :
86 public gdi_object,
87 public tagLOGFONTA
88{
89
90};
91
92
93
94
Definition color32.h:12
Definition cross_win_gdi_internal.h:8
Definition cross_win_gdi_internal.h:32
Definition cross_win_gdi_internal.h:67
Definition cross_win_gdi_internal.h:54
Definition cross_win_gdi_internal.h:88
Definition cross_win_gdi_internal.h:77