#include <SkTypeface_win_dw.h>
|
| ~DWriteFontTypeface () override |
|
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 sk_sp< SkTypeface > SK_SPI | MakeFromStream (std::unique_ptr< SkStreamAsset >, const SkFontArguments &) |
|
static SkFontStyle | GetStyle (IDWriteFont *font, IDWriteFontFace *fontFace) |
|
static sk_sp< DWriteFontTypeface > | Make (IDWriteFactory *factory, IDWriteFontFace *fontFace, IDWriteFont *font, IDWriteFontFamily *fontFamily, sk_sp< Loaders > loaders, const SkFontArguments::Palette &palette) |
|
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 &)) |
|
|
void | weak_dispose () const override |
|
sk_sp< SkTypeface > | onMakeClone (const SkFontArguments &) const override |
|
std::unique_ptr< SkStreamAsset > | onOpenStream (int *ttcIndex) const override |
|
std::unique_ptr< SkScalerContext > | onCreateScalerContext (const SkScalerContextEffects &, const SkDescriptor *) const override |
|
void | onFilterRec (SkScalerContextRec *) const override |
|
void | getGlyphToUnicodeMap (SkUnichar *glyphToUnicode) const override |
|
std::unique_ptr< SkAdvancedTypefaceMetrics > | onGetAdvancedMetrics () const override |
|
void | onGetFontDescriptor (SkFontDescriptor *, bool *) const override |
|
void | onCharsToGlyphs (const SkUnichar *chars, int count, SkGlyphID glyphs[]) const override |
|
int | onCountGlyphs () const override |
|
void | getPostScriptGlyphNames (SkString *) const override |
|
int | onGetUPEM () const override |
|
void | onGetFamilyName (SkString *familyName) const override |
|
bool | onGetPostScriptName (SkString *) const override |
|
SkTypeface::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 |
|
| SkTypeface (const SkFontStyle &style, bool isFixedPitch=false) |
|
| ~SkTypeface () override |
|
void | setIsFixedPitch (bool isFixedPitch) |
|
void | setFontStyle (SkFontStyle style) |
|
virtual std::unique_ptr< SkStreamAsset > | onOpenExistingStream (int *ttcIndex) const |
|
virtual bool | onGetKerningPairAdjustments (const SkGlyphID glyphs[], int count, int32_t adjustments[]) const |
|
virtual bool | onComputeBounds (SkRect *) const |
|
virtual void * | onGetCTFontRef () const |
|
Definition at line 38 of file SkTypeface_win_dw.h.
◆ ~DWriteFontTypeface()
DWriteFontTypeface::~DWriteFontTypeface |
( |
| ) |
|
|
override |
◆ getGlyphToUnicodeMap()
void DWriteFontTypeface::getGlyphToUnicodeMap |
( |
SkUnichar * |
glyphToUnicode | ) |
const |
|
overrideprotectedvirtual |
◆ getPostScriptGlyphNames()
void DWriteFontTypeface::getPostScriptGlyphNames |
( |
SkString * |
| ) |
const |
|
overrideprotectedvirtual |
◆ GetStyle()
static SkFontStyle DWriteFontTypeface::GetStyle |
( |
IDWriteFont * |
font, |
|
|
IDWriteFontFace * |
fontFace |
|
) |
| |
|
static |
◆ Make()
◆ MakeFromStream()
◆ onCharsToGlyphs()
void DWriteFontTypeface::onCharsToGlyphs |
( |
const SkUnichar * |
chars, |
|
|
int |
count, |
|
|
SkGlyphID |
glyphs[] |
|
) |
| const |
|
overrideprotectedvirtual |
◆ onCopyTableData()
◆ onCountGlyphs()
int DWriteFontTypeface::onCountGlyphs |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ onCreateFamilyNameIterator()
Returns an iterator over the family names in the font.
Implements SkTypeface.
◆ onCreateScalerContext()
◆ onFilterRec()
◆ onGetAdvancedMetrics()
◆ onGetFamilyName()
void DWriteFontTypeface::onGetFamilyName |
( |
SkString * |
familyName | ) |
const |
|
overrideprotectedvirtual |
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.
◆ onGetFontDescriptor()
void DWriteFontTypeface::onGetFontDescriptor |
( |
SkFontDescriptor * |
, |
|
|
bool * |
|
|
) |
| const |
|
overrideprotectedvirtual |
◆ onGetPostScriptName()
bool DWriteFontTypeface::onGetPostScriptName |
( |
SkString * |
| ) |
const |
|
overrideprotectedvirtual |
◆ onGetTableData()
size_t DWriteFontTypeface::onGetTableData |
( |
SkFontTableTag |
, |
|
|
size_t |
offset, |
|
|
size_t |
length, |
|
|
void * |
data |
|
) |
| const |
|
overrideprotectedvirtual |
◆ onGetTableTags()
◆ onGetUPEM()
int DWriteFontTypeface::onGetUPEM |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ onGetVariationDesignParameters()
◆ onGetVariationDesignPosition()
◆ onGlyphMaskNeedsCurrentColor()
bool DWriteFontTypeface::onGlyphMaskNeedsCurrentColor |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ onMakeClone()
◆ onOpenStream()
std::unique_ptr< SkStreamAsset > DWriteFontTypeface::onOpenStream |
( |
int * |
ttcIndex | ) |
const |
|
overrideprotectedvirtual |
◆ weak_dispose()
void DWriteFontTypeface::weak_dispose |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
Called when the strong reference count goes to zero. This allows the object to free any resources it may be holding. Weak references may still exist and their level of allowed access to the object is defined by the object's class.
Reimplemented from SkWeakRefCnt.
Definition at line 111 of file SkTypeface_win_dw.h.
111 {
112 fLoaders.reset();
113
114
116 }
virtual void weak_dispose() const
◆ FactoryId
◆ fDWPalette
std::unique_ptr<DWRITE_COLOR_F[]> DWriteFontTypeface::fDWPalette |
◆ fDWriteFont
SkTScopedComPtr<IDWriteFont> DWriteFontTypeface::fDWriteFont |
◆ fDWriteFontFace
SkTScopedComPtr<IDWriteFontFace> DWriteFontTypeface::fDWriteFontFace |
◆ fDWriteFontFace1
SkTScopedComPtr<IDWriteFontFace1> DWriteFontTypeface::fDWriteFontFace1 |
◆ fDWriteFontFace2
SkTScopedComPtr<IDWriteFontFace2> DWriteFontTypeface::fDWriteFontFace2 |
◆ fDWriteFontFace4
SkTScopedComPtr<IDWriteFontFace4> DWriteFontTypeface::fDWriteFontFace4 |
◆ fDWriteFontFace7
IDWriteFontFace7* DWriteFontTypeface::fDWriteFontFace7 = nullptr |
◆ fDWriteFontFamily
SkTScopedComPtr<IDWriteFontFamily> DWriteFontTypeface::fDWriteFontFamily |
◆ fFactory
SkTScopedComPtr<IDWriteFactory> DWriteFontTypeface::fFactory |
◆ fFactory2
SkTScopedComPtr<IDWriteFactory2> DWriteFontTypeface::fFactory2 |
◆ fIsColorFont
bool DWriteFontTypeface::fIsColorFont |
◆ fPalette
std::unique_ptr<SkColor[]> DWriteFontTypeface::fPalette |
◆ fPaletteEntryCount
size_t DWriteFontTypeface::fPaletteEntryCount |
◆ fRequestedPalette
◆ fRequestedPaletteEntryOverrides
The documentation for this class was generated from the following file: