xtd - Reference Guide 0.2.0
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum.h>
7 #if defined(_WIN32)
8 #undef far
9 #undef near
10 #endif
13 namespace xtd {
15  namespace drawing {
23  enum class string_alignment {
25  near = 0,
27  center = 1,
29  far = 2
30  };
31  }
32 }
35 template<> struct xtd::enum_register<xtd::drawing::string_alignment> {
37 };
Specifies the text be aligned near the layout. In a left-to-right layout, the near position is left...
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
Specifies the alignment of a text string relative to its layout rectangle.
Definition: string_alignment.h:23
Specifies that text is aligned in the center of the layout rectangle.
Contains xtd::enum_object.
Specifies that text is aligned far from the origin position of the layout rectangle. In a left-to-right layout, the far position is right. In a right-to-left layout, the far position is left.
Provides the registration struct for enumerations.
Definition: enum_register.h:30