xtd 0.2.0
Loading...
Searching...
No Matches
string_formats.hpp
1#pragma once
3#if !defined(__XTD_DRAWING_NATIVE_LIBRARY__)
4#error "Do not include this file: Internal use only"
5#endif
7
8#include <xtd/types>
9
17
24constexpr xtd::int32 SF_VERTICAL = 0b10;
25
32constexpr xtd::int32 SF_FIT_BLACK_BOX = 0b100;
33
41
48constexpr xtd::int32 SF_NO_FONT_FAILBACK = 0b10000000000;
49
56constexpr xtd::int32 SF_MEASURE_TRAILING_SPACES = 0b100000000000;
57
64constexpr xtd::int32 SF_NO_WRAP = 0b1000000000000;
65
72constexpr xtd::int32 SF_LINE_LIMIT = 0b10000000000000;
73
80constexpr xtd::int32 SF_NO_CLIP = 0b100000000000000;
constexpr xtd::int32 SF_MEASURE_TRAILING_SPACES
Includes the trailing space at the end of each line. By default the boundary rectangle returned by th...
Definition string_formats.hpp:56
constexpr xtd::int32 SF_LINE_LIMIT
Only entire lines are laid out in the formatting rectangle. By default layout continues until the end...
Definition string_formats.hpp:72
constexpr xtd::int32 SF_DISPLAY_FORMAT_CONTROL
Control characters such as the left-to-right mark are shown in the output with a representative glyph...
Definition string_formats.hpp:40
constexpr xtd::int32 SF_FIT_BLACK_BOX
Parts of characters are allowed to overhang the string's layout rectangle. By default,...
Definition string_formats.hpp:32
constexpr xtd::int32 SF_NO_CLIP
Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed...
Definition string_formats.hpp:80
constexpr xtd::int32 SF_NO_WRAP
Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when...
Definition string_formats.hpp:64
constexpr xtd::int32 SF_VERTICAL
Text is vertically aligned.
Definition string_formats.hpp:24
constexpr xtd::int32 SF_NO_FONT_FAILBACK
Fallback to alternate fonts for characters not supported in the requested font is disabled....
Definition string_formats.hpp:48
constexpr xtd::int32 SF_RIGHT_TO_LEFT
Text is displayed from right to left. text.
Definition string_formats.hpp:16
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23