acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
solaris_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
31struct tag_WINDOW
32{
33
34 Window m_window;
35
36};
37
38class CLASS_DECL_ACME device_context
39{
40public:
41
42
43 Display * m_display;
44 Drawable m_f64;
45 GC m_gc;
46 oswindow m_hwnd;
47
48
49 device_context();
50
51
52};
53
54
55
56struct tagEXTLOGPEN :
57 public gdi_object
58{
59 ::u32 elpPenStyle;
60 ::u32 elpWidth;
61 ::u32 elpBrushStyle;
62 color32_t elpColor;
63 ulong_ptr elpHatch;
64 ::u32 elpNumEntries;
65 ::u32 elpStyleEntry[1];
66};
67
68
69struct tagEXTLOGBRUSH :
70 public gdi_object
71{
72 ::u32 lbStyle;
73 color32_t lbColor;
74 ulong_ptr lbHatch;
75};
76
77
78
79struct tagLOGRGN :
80 public gdi_object
81{
82 ::u32 m_uiSize;
83 ::u8 * m_puchData;
84};
85
86
87
88
89struct tagFONTA :
90 public gdi_object,
91 public tagLOGFONTA
92{
93
94};
95
96
97
98
Definition cross_win_gdi_internal.h:39
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