Skia
2D Graphics Library
SkFontTypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

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

Enumeration Type Documentation

◆ SkFontHinting

enum 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

◆ SkTextEncoding

enum 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