|
enum class | SerializeBehavior { kDoIncludeData
, kDontIncludeData
, kIncludeDataIfLocal
} |
|
using | FactoryId = SkFourByteTag |
|
SkFontStyle | fontStyle () const |
|
bool | isBold () const |
|
bool | isItalic () const |
|
bool | isFixedPitch () const |
|
int | getVariationDesignPosition (SkFontArguments::VariationPosition::Coordinate coordinates[], int coordinateCount) const |
|
int | getVariationDesignParameters (SkFontParameters::Variation::Axis parameters[], int parameterCount) const |
|
SkTypefaceID | uniqueID () const |
|
sk_sp< SkTypeface > | makeClone (const SkFontArguments &) const |
|
void | serialize (SkWStream *, SerializeBehavior=SerializeBehavior::kIncludeDataIfLocal) const |
|
sk_sp< SkData > | serialize (SerializeBehavior=SerializeBehavior::kIncludeDataIfLocal) const |
|
void | unicharsToGlyphs (const SkUnichar uni[], int count, SkGlyphID glyphs[]) const |
|
int | textToGlyphs (const void *text, size_t byteLength, SkTextEncoding encoding, SkGlyphID glyphs[], int maxGlyphCount) const |
|
SkGlyphID | unicharToGlyph (SkUnichar unichar) const |
|
int | countGlyphs () const |
|
int | countTables () const |
|
int | getTableTags (SkFontTableTag tags[]) const |
|
size_t | getTableSize (SkFontTableTag) const |
|
size_t | getTableData (SkFontTableTag tag, size_t offset, size_t length, void *data) const |
|
sk_sp< SkData > | copyTableData (SkFontTableTag tag) const |
|
int | getUnitsPerEm () const |
|
bool | getKerningPairAdjustments (const SkGlyphID glyphs[], int count, int32_t adjustments[]) const |
|
LocalizedStrings * | createFamilyNameIterator () const |
|
void | getFamilyName (SkString *name) const |
|
bool | getPostScriptName (SkString *name) const |
|
std::unique_ptr< SkStreamAsset > | openStream (int *ttcIndex) const |
|
std::unique_ptr< SkStreamAsset > | openExistingStream (int *ttcIndex) const |
|
std::unique_ptr< SkScalerContext > | createScalerContext (const SkScalerContextEffects &, const SkDescriptor *) const |
|
SkRect | getBounds () const |
|
void | filterRec (SkScalerContextRec *rec) const |
|
void | getFontDescriptor (SkFontDescriptor *desc, bool *isLocal) const |
|
void * | internal_private_getCTFontRef () const |
|
| SkWeakRefCnt () |
|
| ~SkWeakRefCnt () override |
|
bool | try_ref () const |
|
void | weak_ref () const |
|
void | weak_unref () const |
|
bool | weak_expired () const |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
static bool | Equal (const SkTypeface *facea, const SkTypeface *faceb) |
|
static sk_sp< SkTypeface > | MakeEmpty () |
|
static sk_sp< SkTypeface > | MakeDeserialize (SkStream *, sk_sp< SkFontMgr > lastResortMgr) |
|
static void | Register (FactoryId id, sk_sp< SkTypeface >(*make)(std::unique_ptr< SkStreamAsset >, const SkFontArguments &)) |
|
| SkTypeface (const SkFontStyle &style, bool isFixedPitch=false) |
|
| ~SkTypeface () override |
|
void | setIsFixedPitch (bool isFixedPitch) |
|
void | setFontStyle (SkFontStyle style) |
|
virtual bool | onGetKerningPairAdjustments (const SkGlyphID glyphs[], int count, int32_t adjustments[]) const |
|
virtual sk_sp< SkData > | onCopyTableData (SkFontTableTag) const |
|
virtual void * | onGetCTFontRef () const |
|
virtual void | weak_dispose () const |
|
Definition at line 83 of file SkCustomTypeface.cpp.