acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
font_size.h
1
// Created by camilo on 2023-06-28 16:46 <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
#include "acme/prototype/prototype/targeted_unit.h"
6
7
8
namespace
write_text
9
{
10
11
struct
font_size_allowed_units
12
{
13
14
inline
static
enum_unit* allowed_units()
15
{
16
17
static
enum_unit eunitaFontSizeAllowed[] = { e_unit_pixel, e_unit_point, e_unit_rate, e_unit_none };
18
19
return
eunitaFontSizeAllowed;
20
21
}
22
23
};
24
25
26
using
font_size = ::targeted_unit < enum_unit, font_size_allowed_units >;
27
28
29
}
// namespace write_text
30
31
32
write_text::font_size_allowed_units
Definition
font_size.h:12
graphics
write_text
font_size.h
Generated by
1.17.0