acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_.h
1//
2// Created by camilo on 2022-10-24 08:45 <3ThomasBorregaardSorensen!!
3//
4#pragma once
5
6
7#include "acme/platform/reference_referer.h"
8
9
10
11//
12// enum enum_display_type
13// {
14//
15// e_display_type_none,
16// e_display_type_system = 100,
17// #ifdef WITH_X11
18// e_display_type_x11 = 1000,
19// #endif
20// #ifdef WITH_XCB
21// e_display_type_xcb = 2000,
22// #endif
23// #ifdef HAS_WAYLAND
24// e_display_type_wayland = 3000,
25// #endif
26//
27// };
28
29
30namespace nano
31{
32
33namespace graphics
34{
35
36
37
38
39
40enum enum_pen
41{
42 e_pen_solid = 0, //PS_SOLID;
43 e_pen_dashed = 1, //PS_DASH;
44 e_pen_null =5, // PS_NULL;
45};
46
47
48 enum enum_line_cap
49{
50
51 e_line_cap_none,
52 e_line_cap_round,
53
54};
55
56
57
58class graphics;
59
60
61class context;
62//class child;
63
64
65 // class interchange;
66
67//class window;
68
69
70//class window_implementation;
71
72
73class icon;
74//class button;
75//class still;
76
77 // class display;
78
79class brush;
80class pen;
81class font_family;
82class font;
83class dib;
84class image;
85
86class path;
87
88 //CLASS_DECL_ACME ::pointer<brush>create_solid_brush(::particle * pparticle, color32_t color);
89 //CLASS_DECL_ACME ::pointer<font>create_point_font(::particle * pparticle, ::i32 iPoint, enum_font efont, bool bBold = false);
90
91
92
93 //::enum_display_type get_display_type();
94
95 enum enum_blend_mode
96 {
97
98 e_blend_mode_blend,
99 e_blend_mode_copy,
100
101 };
102
103 enum enum_smoothing_mode
104 {
105
106 e_smoothing_mode_none,
107 e_smoothing_mode_high_quality,
108
109 };
110
111 enum enum_text_rendering_hint
112 {
113
114 e_text_rendering_hint_none,
115 e_text_rendering_hint_clear_type_grid_fit,
116
117 };
118
119
120 } //namespace graphics
121
122
123} // namespace nano
124
125
126
Definition brush.h:18
Definition context.h:24
Definition dib.h:22
Definition font_family.h:22
Definition font.h:18
Definition graphics.h:17
Definition icon.h:14
Definition image.h:22
Definition path.h:20
Definition pen.h:17