xtd 0.2.0
Loading...
Searching...
No Matches
string_trimmings.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
16constexpr xtd::int32 ST_NONE = 0;
17
25
32constexpr xtd::int32 ST_WORD = 2;
33
41
49
constexpr xtd::int32 ST_WORD
Specifies that text is trimmed to the nearest word.
Definition string_trimmings.hpp:32
constexpr xtd::int32 ST_NONE
Specifies no trimming.
Definition string_trimmings.hpp:16
constexpr xtd::int32 ST_ELLIPSIS_PATH
The center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of ...
Definition string_trimmings.hpp:56
constexpr xtd::int32 ST_ELLIPSIS_WORD
Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimm...
Definition string_trimmings.hpp:48
constexpr xtd::int32 ST_ELLIPSIS_CHARACTER
Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end o...
Definition string_trimmings.hpp:40
constexpr xtd::int32 ST_CHARACTER
Specifies that the text is trimmed to the nearest character.
Definition string_trimmings.hpp:24
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23