Lines Matching refs:SkFont
25 #define kDefault_Flags SkFont::kBaselineSnap_PrivFlag
26 #define kDefault_Edging SkFont::Edging::kAntiAlias
33 SkFont::SkFont(sk_sp<SkTypeface> face, SkScalar size, SkScalar scaleX, SkScalar skewX) in SkFont() function in SkFont
43 SkFont::SkFont(sk_sp<SkTypeface> face, SkScalar size) : SkFont(std::move(face), size, 1, 0) {} in SkFont() function in SkFont
45 SkFont::SkFont(sk_sp<SkTypeface> face) : SkFont(std::move(face), kDefault_Size, 1, 0) {} in SkFont() function in SkFont
47 SkFont::SkFont() : SkFont(nullptr, kDefault_Size) {} in SkFont() function in SkFont
49 bool SkFont::operator==(const SkFont& b) const { in operator ==()
59 void SkFont::dump() const { in dump()
75 void SkFont::setForceAutoHinting(bool predicate) { in setForceAutoHinting()
78 void SkFont::setEmbeddedBitmaps(bool predicate) { in setEmbeddedBitmaps()
81 void SkFont::setSubpixel(bool predicate) { in setSubpixel()
84 void SkFont::setLinearMetrics(bool predicate) { in setLinearMetrics()
87 void SkFont::setEmbolden(bool predicate) { in setEmbolden()
90 void SkFont::setBaselineSnap(bool predicate) { in setBaselineSnap()
93 void SkFont::setEdging(Edging e) { in setEdging()
97 void SkFont::setHinting(SkFontHinting h) { in setHinting()
101 void SkFont::setSize(SkScalar size) { in setSize()
104 void SkFont::setScaleX(SkScalar scale) { in setScaleX()
107 void SkFont::setSkewX(SkScalar skew) { in setSkewX()
111 SkFont SkFont::makeWithSize(SkScalar newSize) const { in makeWithSize()
112 SkFont font = *this; in makeWithSize()
119 SkScalar SkFont::setupForAsPaths(SkPaint* paint) { in setupForAsPaths()
139 bool SkFont::hasSomeAntiAliasing() const { in hasSomeAntiAliasing()
141 return edging == SkFont::Edging::kAntiAlias in hasSomeAntiAliasing()
142 || edging == SkFont::Edging::kSubpixelAntiAlias; in hasSomeAntiAliasing()
145 SkGlyphID SkFont::unicharToGlyph(SkUnichar uni) const { in unicharToGlyph()
149 void SkFont::unicharsToGlyphs(const SkUnichar uni[], int count, SkGlyphID glyphs[]) const { in unicharsToGlyphs()
153 int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, in textToGlyphs()
159 SkScalar SkFont::measureText(const void* text, size_t length, SkTextEncoding encoding, in measureText()
205 void SkFont::getWidthsBounds(const SkGlyphID glyphIDs[], in getWidthsBounds()
230 void SkFont::getPos(const SkGlyphID glyphIDs[], int count, SkPoint pos[], SkPoint origin) const { in getPos()
242 void SkFont::getXPos( in getXPos()
257 void SkFont::getPaths(const SkGlyphID glyphIDs[], int count, in getPaths()
259 SkFont font(*this); in getPaths()
272 bool SkFont::getPath(SkGlyphID glyphID, SkPath* path) const { in getPath()
288 SkScalar SkFont::getMetrics(SkFontMetrics* metrics) const { in getMetrics()
306 SkTypeface* SkFont::getTypefaceOrDefault() const { in getTypefaceOrDefault()
310 sk_sp<SkTypeface> SkFont::refTypefaceOrDefault() const { in refTypefaceOrDefault()
334 SkRect SkFontPriv::GetFontBounds(const SkFont& font) { in GetFontBounds()
361 void SkFontPriv::GlyphsToUnichars(const SkFont& font, const SkGlyphID glyphs[], int count, in GlyphsToUnichars()