![]() |
Flutter Engine
The Flutter Engine
|
#include <SkTypeface_remote.h>
Protected Member Functions | |
int | onGetUPEM () const override |
std::unique_ptr< SkStreamAsset > | onOpenStream (int *ttcIndex) const override |
sk_sp< SkTypeface > | onMakeClone (const SkFontArguments &args) 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 |
void | onGetFamilyName (SkString *familyName) const override |
bool | onGetPostScriptName (SkString *) const override |
SkTypeface::LocalizedStrings * | onCreateFamilyNameIterator () const override |
int | onGetTableTags (SkFontTableTag tags[]) const override |
size_t | onGetTableData (SkFontTableTag, size_t offset, size_t length, void *data) const override |
std::unique_ptr< SkScalerContext > | onCreateScalerContext (const SkScalerContextEffects &effects, const SkDescriptor *desc) const override |
void | onFilterRec (SkScalerContextRec *rec) const override |
void | onGetFontDescriptor (SkFontDescriptor *, bool *) const override |
void | getGlyphToUnicodeMap (SkUnichar *) const override |
void | getPostScriptGlyphNames (SkString *) const override |
std::unique_ptr< SkAdvancedTypefaceMetrics > | onGetAdvancedMetrics () const override |
void | onCharsToGlyphs (const SkUnichar *chars, int count, SkGlyphID glyphs[]) const override |
int | onCountGlyphs () const override |
void * | onGetCTFontRef () const override |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
enum class | SerializeBehavior { kDoIncludeData , kDontIncludeData , kIncludeDataIfLocal } |
using | FactoryId = SkFourByteTag |
![]() | |
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 &)) |
Definition at line 90 of file SkTypeface_remote.h.
SkTypefaceProxy::SkTypefaceProxy | ( | const SkTypefaceProxyPrototype & | prototype, |
sk_sp< SkStrikeClient::DiscardableHandleManager > | manager, | ||
bool | isLogging = true |
||
) |
Definition at line 137 of file SkTypeface_remote.cpp.
SkTypefaceProxy::SkTypefaceProxy | ( | SkTypefaceID | typefaceID, |
int | glyphCount, | ||
const SkFontStyle & | style, | ||
bool | isFixedPitch, | ||
bool | glyphMaskNeedsCurrentColor, | ||
sk_sp< SkStrikeClient::DiscardableHandleManager > | manager, | ||
bool | isLogging = true |
||
) |
Definition at line 147 of file SkTypeface_remote.cpp.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 162 of file SkTypeface_remote.h.
|
inline |
Definition at line 106 of file SkTypeface_remote.h.
|
inline |
Definition at line 108 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 169 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 172 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Returns an iterator over the family names in the font.
Implements SkTypeface.
Definition at line 136 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 145 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 151 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 166 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from SkTypeface.
Definition at line 176 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Returns the family name of the typeface as known by its font manager. This name may or may not be produced by the family name iterator.
Implements SkTypeface.
Definition at line 129 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 155 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 133 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 142 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 139 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 125 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 121 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 118 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 115 of file SkTypeface_remote.h.
|
inlineoverrideprotectedvirtual |
Implements SkTypeface.
Definition at line 112 of file SkTypeface_remote.h.
|
inline |
Definition at line 104 of file SkTypeface_remote.h.