MiniGUI API Reference (MiniGUI-Threads)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
The white space rule indicates GetUCharsUntilParagraphBoundary. More...
Macros | |
#define | WSR_NORMAL 0x00 |
This value directs GetUCharsUntilParagraphBoundary collapses sequences of white space into a single character. Lines may wrap at allowed soft wrap opportunities. More... | |
#define | WSR_PRE 0x01 |
This value prevents GetUCharsUntilParagraphBoundary from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the specified extent overflows it. More... | |
#define | WSR_NOWRAP 0x02 |
Like WSR_NORMAL, this value collapses white spaces; but like WSR_PRE, it does not allow wrapping. More... | |
#define | WSR_PRE_WRAP 0x03 |
Like WSR_PRE, this value preserves white space; but like WSR_NORMAL, it allows wrapping. More... | |
#define | WSR_BREAK_SPACES 0x04 |
The behavior is identical to that of WSR_PRE_WRAP, except that: More... | |
#define | WSR_PRE_LINE 0x05 |
Like WS_NORMAL, this value collapses consecutive spaces and allows wrapping, but preserves segment breaks in the source as forced line breaks. More... | |
The white space rule indicates GetUCharsUntilParagraphBoundary.
- whether and how white space inside the string is collapsed. - whether lines may wrap at unforced soft wrap opportunities.
#define WSR_BREAK_SPACES 0x04 |
The behavior is identical to that of WSR_PRE_WRAP, except that:
When white space rule is specified to be WSR_BREAK_SPACES, the manner of GetUCharsUntilParagraphBoundary will conform to CSS Text Module Level 3.
#define WSR_NORMAL 0x00 |
#define WSR_NOWRAP 0x02 |
#define WSR_PRE 0x01 |
This value prevents GetUCharsUntilParagraphBoundary from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the specified extent overflows it.
#define WSR_PRE_LINE 0x05 |