44 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::string_format_flags> {{
xtd::drawing::string_format_flags::direction_right_to_left,
"direction_right_to_left"}, {
xtd::drawing::string_format_flags::direction_vertical,
"direction_vertical"}, {
xtd::drawing::string_format_flags::fit_black_box,
"fit_black_box"}, {
xtd::drawing::string_format_flags::display_format_control,
"display_format_control"}, {
xtd::drawing::string_format_flags::no_font_fallback,
"no_font_fallback"}, {
xtd::drawing::string_format_flags::measure_trailing_spaces,
"measure_trailing_spaces"}, {
xtd::drawing::string_format_flags::no_wrap,
"no_wrap"}, {
xtd::drawing::string_format_flags::line_limit,
"line_limit"}, {
xtd::drawing::string_format_flags::no_clip,
"no_clip"}};}
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
string_format_flags
Specifies the display and layout information for text strings. This enumeration allows a bitwise comb...
Definition string_format_flags.hpp:17
@ line_limit
Only entire lines are laid out in the formatting rectangle. By default layout continues until the end...
Definition string_format_flags.hpp:33
@ display_format_control
Control characters such as the left-to-right mark are shown in the output with a representative glyph...
Definition string_format_flags.hpp:25
@ direction_vertical
Text is vertically aligned.
Definition string_format_flags.hpp:21
@ fit_black_box
Parts of characters are allowed to overhang the string's layout rectangle. By default,...
Definition string_format_flags.hpp:23
@ measure_trailing_spaces
Includes the trailing space at the end of each line. By default the boundary rectangle returned by th...
Definition string_format_flags.hpp:29
@ no_wrap
Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when...
Definition string_format_flags.hpp:31
@ no_clip
Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed...
Definition string_format_flags.hpp:35
@ no_font_fallback
Fallback to alternate fonts for characters not supported in the requested font is disabled....
Definition string_format_flags.hpp:27
@ direction_right_to_left
Text is displayed from right to left. text.
Definition string_format_flags.hpp:19
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:24
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38