acme
Foundational cross-platform layer of the ca2 framework
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
8namespace write_text
9{
10
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
Definition font_size.h:12