|
| SkTypeface_Fuchsia (std::unique_ptr< SkFontData > fontData, const SkFontStyle &style, bool isFixedPitch, const SkString familyName, TypefaceId id) |
|
TypefaceId | id () |
|
| SkTypeface_FreeTypeStream (std::unique_ptr< SkFontData > fontData, const SkString familyName, const SkFontStyle &style, bool isFixedPitch) |
|
| ~SkTypeface_FreeTypeStream () override |
|
std::unique_ptr< SkFontData > | makeFontData () const |
|
FaceRec * | getFaceRec () const |
|
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 |
|
|
enum class | SerializeBehavior { kDoIncludeData
, kDontIncludeData
, kIncludeDataIfLocal
} |
|
using | FactoryId = SkFourByteTag |
|
static int | GetUnitsPerEm (FT_Face face) |
|
static sk_sp< SkTypeface > | MakeFromStream (std::unique_ptr< SkStreamAsset >, const SkFontArguments &) |
|
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 &)) |
|
static constexpr SkTypeface::FactoryId | FactoryId = SkSetFourByteTag('f','r','e','e') |
|
void | onGetFamilyName (SkString *familyName) const override |
|
void | onGetFontDescriptor (SkFontDescriptor *, bool *serialize) const override |
|
std::unique_ptr< SkStreamAsset > | onOpenStream (int *ttcIndex) const override |
|
std::unique_ptr< SkFontData > | onMakeFontData () const override |
|
sk_sp< SkTypeface > | onMakeClone (const SkFontArguments &) const override |
|
| SkTypeface_FreeType (const SkFontStyle &style, bool isFixedPitch) |
|
| ~SkTypeface_FreeType () override |
|
std::unique_ptr< SkFontData > | cloneFontData (const SkFontArguments &, SkFontStyle *style) const |
|
std::unique_ptr< SkScalerContext > | onCreateScalerContext (const SkScalerContextEffects &, const SkDescriptor *) const override |
|
void | onFilterRec (SkScalerContextRec *) const override |
|
void | getGlyphToUnicodeMap (SkUnichar *) const override |
|
std::unique_ptr< SkAdvancedTypefaceMetrics > | onGetAdvancedMetrics () const override |
|
void | getPostScriptGlyphNames (SkString *dstArray) const override |
|
bool | onGetPostScriptName (SkString *) const override |
|
int | onGetUPEM () const override |
|
bool | onGetKerningPairAdjustments (const uint16_t glyphs[], int count, int32_t adjustments[]) const override |
|
void | onCharsToGlyphs (const SkUnichar uni[], int count, SkGlyphID glyphs[]) const override |
|
int | onCountGlyphs () const override |
|
LocalizedStrings * | onCreateFamilyNameIterator () const override |
|
bool | onGlyphMaskNeedsCurrentColor () const override |
|
int | onGetVariationDesignPosition (SkFontArguments::VariationPosition::Coordinate coordinates[], int coordinateCount) const override |
|
int | onGetVariationDesignParameters (SkFontParameters::Variation::Axis parameters[], int parameterCount) const override |
|
int | onGetTableTags (SkFontTableTag tags[]) const override |
|
size_t | onGetTableData (SkFontTableTag, size_t offset, size_t length, void *data) const override |
|
sk_sp< SkData > | onCopyTableData (SkFontTableTag) const override |
|
virtual std::unique_ptr< SkFontData > | onMakeFontData () const =0 |
|
| SkTypeface (const SkFontStyle &style, bool isFixedPitch=false) |
|
| ~SkTypeface () override |
|
virtual sk_sp< SkTypeface > | onMakeClone (const SkFontArguments &) const =0 |
|
void | setIsFixedPitch (bool isFixedPitch) |
|
void | setFontStyle (SkFontStyle style) |
|
virtual std::unique_ptr< SkScalerContext > | onCreateScalerContext (const SkScalerContextEffects &, const SkDescriptor *) const =0 |
|
virtual void | onFilterRec (SkScalerContextRec *) const =0 |
|
virtual std::unique_ptr< SkAdvancedTypefaceMetrics > | onGetAdvancedMetrics () const =0 |
|
virtual void | getPostScriptGlyphNames (SkString *) const =0 |
|
virtual void | getGlyphToUnicodeMap (SkUnichar *dstArray) const =0 |
|
virtual std::unique_ptr< SkStreamAsset > | onOpenStream (int *ttcIndex) const =0 |
|
virtual std::unique_ptr< SkStreamAsset > | onOpenExistingStream (int *ttcIndex) const |
|
virtual bool | onGlyphMaskNeedsCurrentColor () const =0 |
|
virtual int | onGetVariationDesignPosition (SkFontArguments::VariationPosition::Coordinate coordinates[], int coordinateCount) const =0 |
|
virtual int | onGetVariationDesignParameters (SkFontParameters::Variation::Axis parameters[], int parameterCount) const =0 |
|
virtual void | onGetFontDescriptor (SkFontDescriptor *, bool *isLocal) const =0 |
|
virtual void | onCharsToGlyphs (const SkUnichar *chars, int count, SkGlyphID glyphs[]) const =0 |
|
virtual int | onCountGlyphs () const =0 |
|
virtual int | onGetUPEM () const =0 |
|
virtual bool | onGetKerningPairAdjustments (const SkGlyphID glyphs[], int count, int32_t adjustments[]) const |
|
virtual void | onGetFamilyName (SkString *familyName) const =0 |
|
virtual bool | onGetPostScriptName (SkString *) const =0 |
|
virtual LocalizedStrings * | onCreateFamilyNameIterator () const =0 |
|
virtual int | onGetTableTags (SkFontTableTag tags[]) const =0 |
|
virtual size_t | onGetTableData (SkFontTableTag, size_t offset, size_t length, void *data) const =0 |
|
virtual sk_sp< SkData > | onCopyTableData (SkFontTableTag) const |
|
virtual bool | onComputeBounds (SkRect *) const |
|
virtual void * | onGetCTFontRef () const |
|
virtual void | weak_dispose () const |
|
static void | FontDataPaletteToDescriptorPalette (const SkFontData &, SkFontDescriptor *) |
|
Definition at line 231 of file SkFontMgr_fuchsia.cpp.