acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_.h
1#pragma once
2
3
4struct color32_t;
5
6struct image32_t;
7
8
9namespace draw2d
10{
11
12
13 class draw2d;
14
15 class printer;
16
17
18} // namespace draw2d
19
20
21inline ::u8 clampAndConvert(::f64 v)
22{
23
24
25 if (v < 0)
26 return 0;
27 if (v > 255)
28 return 255;
29 return (::u8)(v);
30
31
32}
33
34
35
36
37
38
39
40
41#include "_constant.h"
42
43
44#include "_system_color.h"
45
46
47//#include "opacity.h"
48
49
50//#include "color.h"
51
52
53//#include "colorref_array.h"
54
55
56
57
58
59CLASS_DECL_ACME string android_font_name(enum_font efont);
60//CLASS_DECL_ACME string os_font_name(enum_font efont);
61//CLASS_DECL_ACME string os_font_name(enum_operating_system eoperatingsystem, ::i32 iVariant, enum_font efont);
62//CLASS_DECL_ACME string linux_font_name(enum_linux_distribution elinuxdistribution, enum_font efont);
63
64
65
66
67//template < class PAYLOAD, typename ARG_VALUE = argument_of < PAYLOAD > >
68
69
70
71
Definition color32.h:12
Definition image32.h:30