Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Enumerations
SkFontTypes.h File Reference

Go to the source code of this file.

Enumerations

enum class  SkTextEncoding { kUTF8 , kUTF16 , kUTF32 , kGlyphID }
 
enum class  SkFontHinting { kNone , kSlight , kNormal , kFull }
 

Enumeration Type Documentation

◆ SkFontHinting

enum class SkFontHinting
strong
Enumerator
kNone 

glyph outlines unchanged

kSlight 

minimal modification to improve constrast

kNormal 

glyph outlines modified to improve constrast

kFull 

modifies glyph outlines for maximum constrast

Definition at line 18 of file SkFontTypes.h.

18 {
19 kNone, //!< glyph outlines unchanged
20 kSlight, //!< minimal modification to improve constrast
21 kNormal, //!< glyph outlines modified to improve constrast
22 kFull, //!< modifies glyph outlines for maximum constrast
23};
@ kNormal
glyph outlines modified to improve constrast
@ kNone
glyph outlines unchanged
@ kSlight
minimal modification to improve constrast
@ kFull
modifies glyph outlines for maximum constrast

◆ SkTextEncoding

enum class SkTextEncoding
strong
Enumerator
kUTF8 

uses bytes to represent UTF-8 or ASCII

kUTF16 

uses two byte words to represent most of Unicode

kUTF32 

uses four byte words to represent all of Unicode

kGlyphID 

uses two byte words to represent glyph indices

Definition at line 11 of file SkFontTypes.h.

11 {
12 kUTF8, //!< uses bytes to represent UTF-8 or ASCII
13 kUTF16, //!< uses two byte words to represent most of Unicode
14 kUTF32, //!< uses four byte words to represent all of Unicode
15 kGlyphID, //!< uses two byte words to represent glyph indices
16};
@ kUTF8
uses bytes to represent UTF-8 or ASCII
@ kUTF16
uses two byte words to represent most of Unicode
@ kUTF32
uses four byte words to represent all of Unicode
@ kGlyphID
uses two byte words to represent glyph indices