MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros

The character transformation rule indicates how UStrGetBreaks transforms text for styling purposes; can be. More...

Macros

#define CTR_NONE   0x00
 No effects. More...
 
#define CTR_CAPITALIZE   0x01
 Puts the first typographic letter unit of each word, if lowercase, in titlecase; other characters are unaffected. More...
 
#define CTR_UPPERCASE   0x02
 Puts all letters in uppercase. More...
 
#define CTR_LOWERCASE   0x03
 Puts all letters in lowercase. More...
 
#define CTR_FULL_WIDTH   0x10
 Puts all typographic character units in fullwidth form. If a character does not have a corresponding fullwidth form, it is left as is. This value is typically used to typeset Latin letters and digits as if they were ideographic characters. More...
 
#define CTR_FULL_SIZE_KANA   0x20
 Converts all small Kana characters to the equivalent full-size Kana. This value is typically used for ruby annotation text, where authors may want all small Kana to be drawn as large Kana to compensate for legibility issues at the small font sizes typically used in ruby. More...
 

Detailed Description

The character transformation rule indicates how UStrGetBreaks transforms text for styling purposes; can be.

- CTR_NONE,
- or one of CTR_CAPITALIZE, CTR_UPPERCASE, and CTR_LOWERCASE,
- and OR'ed with CTR_FULL_WIDTH and/or CTR_FULL_SIZE_KANA

Macro Definition Documentation

◆ CTR_CAPITALIZE

#define CTR_CAPITALIZE   0x01

Puts the first typographic letter unit of each word, if lowercase, in titlecase; other characters are unaffected.

Definition at line 9847 of file gdi.h.

◆ CTR_FULL_SIZE_KANA

#define CTR_FULL_SIZE_KANA   0x20

Converts all small Kana characters to the equivalent full-size Kana. This value is typically used for ruby annotation text, where authors may want all small Kana to be drawn as large Kana to compensate for legibility issues at the small font sizes typically used in ruby.

Definition at line 9882 of file gdi.h.

◆ CTR_FULL_WIDTH

#define CTR_FULL_WIDTH   0x10

Puts all typographic character units in fullwidth form. If a character does not have a corresponding fullwidth form, it is left as is. This value is typically used to typeset Latin letters and digits as if they were ideographic characters.

Definition at line 9871 of file gdi.h.

◆ CTR_LOWERCASE

#define CTR_LOWERCASE   0x03

Puts all letters in lowercase.

Definition at line 9861 of file gdi.h.

◆ CTR_NONE

#define CTR_NONE   0x00

No effects.

Definition at line 9837 of file gdi.h.

◆ CTR_UPPERCASE

#define CTR_UPPERCASE   0x02

Puts all letters in uppercase.

Definition at line 9854 of file gdi.h.