xtd 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 
34 
35 template<> struct xtd::enum_register<xtd::drawing::font_style> {
37 };
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: actions_system_images.h:11
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:19
Text with a line through the middle.
Contains enum_ and enum_ut_ keywords.
font_style
Specifies style information applied to text. This enumeration has a flags attribute that allows a bit...
Definition: font_style.h:17
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:35
Provides the registration struct for enumerations.
Definition: enum_register.h:38