Flutter Engine
The Flutter Engine
|
#include <SkAdvancedTypefaceMetrics.h>
Public Types | |
enum | StyleFlags : uint32_t { kFixedPitch_Style = 0x00000001 , kSerif_Style = 0x00000002 , kScript_Style = 0x00000008 , kItalic_Style = 0x00000040 , kAllCaps_Style = 0x00010000 , kSmallCaps_Style = 0x00020000 , kForceBold_Style = 0x00040000 } |
enum | FontType : uint8_t { kType1_Font , kType1CID_Font , kCFF_Font , kTrueType_Font , kOther_Font } |
enum | FontFlags : uint8_t { kVariable_FontFlag = 1 << 0 , kNotEmbeddable_FontFlag = 1 << 1 , kNotSubsettable_FontFlag = 1 << 2 , kAltDataFormat_FontFlag = 1 << 3 } |
Public Attributes | |
SkString | fPostScriptName |
StyleFlags | fStyle = (StyleFlags)0 |
FontType | fType = kOther_Font |
FontFlags | fFlags = (FontFlags)0 |
int16_t | fItalicAngle = 0 |
int16_t | fAscent = 0 |
int16_t | fDescent = 0 |
int16_t | fStemV = 0 |
int16_t | fCapHeight = 0 |
SkIRect | fBBox = {0, 0, 0, 0} |
The SkAdvancedTypefaceMetrics class is used by the PDF backend to correctly embed typefaces. This class is created and filled in with information by SkTypeface::getAdvancedMetrics.
Definition at line 24 of file SkAdvancedTypefaceMetrics.h.
enum SkAdvancedTypefaceMetrics::FontFlags : uint8_t |
Definition at line 52 of file SkAdvancedTypefaceMetrics.h.
enum SkAdvancedTypefaceMetrics::FontType : uint8_t |
Enumerator | |
---|---|
kType1_Font | |
kType1CID_Font | |
kCFF_Font | |
kTrueType_Font | |
kOther_Font |
Definition at line 40 of file SkAdvancedTypefaceMetrics.h.
enum SkAdvancedTypefaceMetrics::StyleFlags : uint32_t |
Enumerator | |
---|---|
kFixedPitch_Style | |
kSerif_Style | |
kScript_Style | |
kItalic_Style | |
kAllCaps_Style | |
kSmallCaps_Style | |
kForceBold_Style |
Definition at line 29 of file SkAdvancedTypefaceMetrics.h.
int16_t SkAdvancedTypefaceMetrics::fAscent = 0 |
Definition at line 63 of file SkAdvancedTypefaceMetrics.h.
SkIRect SkAdvancedTypefaceMetrics::fBBox = {0, 0, 0, 0} |
Definition at line 68 of file SkAdvancedTypefaceMetrics.h.
int16_t SkAdvancedTypefaceMetrics::fCapHeight = 0 |
Definition at line 66 of file SkAdvancedTypefaceMetrics.h.
int16_t SkAdvancedTypefaceMetrics::fDescent = 0 |
Definition at line 64 of file SkAdvancedTypefaceMetrics.h.
Definition at line 58 of file SkAdvancedTypefaceMetrics.h.
int16_t SkAdvancedTypefaceMetrics::fItalicAngle = 0 |
Definition at line 60 of file SkAdvancedTypefaceMetrics.h.
SkString SkAdvancedTypefaceMetrics::fPostScriptName |
Definition at line 26 of file SkAdvancedTypefaceMetrics.h.
int16_t SkAdvancedTypefaceMetrics::fStemV = 0 |
Definition at line 65 of file SkAdvancedTypefaceMetrics.h.
StyleFlags SkAdvancedTypefaceMetrics::fStyle = (StyleFlags)0 |
Definition at line 38 of file SkAdvancedTypefaceMetrics.h.
FontType SkAdvancedTypefaceMetrics::fType = kOther_Font |
Definition at line 50 of file SkAdvancedTypefaceMetrics.h.