xtd - Reference Guide 0.2.0
font_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum.h>
6 
8 namespace xtd {
10  namespace drawing {
17  enum class font_style {
19  regular = 0,
21  bold = 0b1,
23  italic = 0b10,
25  underline = 0b100,
27  strikeout = 0b1000
28  };
29  }
30 }
31 
33 flags_attribute_(xtd::drawing, font_style);
34 
35 template<> struct xtd::enum_register<xtd::drawing::font_style> {
37 };
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition: basic_colors.h:13
Text with a line through the middle.
Contains xtd::enum_object.
font_style
Specifies style information applied to text. This enumeration has a flags attribute that allows a bit...
Definition: font_style.h:17
Provides the registration struct for enumerations.
Definition: enum_register.h:30