xtd 0.2.0
Loading...
Searching...
No Matches
string_format_flags.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace drawing {
21 direction_vertical = 0b10,
23 fit_black_box = 0b100,
25 display_format_control = 0b100000,
27 no_font_fallback = 0b10000000000,
29 measure_trailing_spaces = 0b100000000000,
31 no_wrap = 0b1000000000000,
33 line_limit = 0b10000000000000,
35 no_clip = 0b100000000000000,
36 };
37 }
38}
39
41flags_attribute_(xtd::drawing, string_format_flags);
42
45};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
string_format_flags
Specifies the display and layout information for text strings. This enumeration allows a bitwise comb...
Definition string_format_flags.h:17
@ line_limit
Only entire lines are laid out in the formatting rectangle. By default layout continues until the end...
@ display_format_control
Control characters such as the left-to-right mark are shown in the output with a representative glyph...
@ direction_vertical
Text is vertically aligned.
@ fit_black_box
Parts of characters are allowed to overhang the string's layout rectangle. By default,...
@ measure_trailing_spaces
Includes the trailing space at the end of each line. By default the boundary rectangle returned by th...
@ no_wrap
Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when...
@ no_clip
Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed...
@ no_font_fallback
Fallback to alternate fonts for characters not supported in the requested font is disabled....
@ direction_right_to_left
Text is displayed from right to left. text.
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
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.h:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36