Lines Matching defs:const

76     bool operator==(const SkFont& font) const;
84 bool operator!=(const SkFont& font) const { return !(*this == font); }
91 bool isForceAutoHinting() const { return SkToBool(fFlags & kForceAutoHinting_PrivFlag); }
97 bool isEmbeddedBitmaps() const { return SkToBool(fFlags & kEmbeddedBitmaps_PrivFlag); }
103 bool isSubpixel() const { return SkToBool(fFlags & kSubpixel_PrivFlag); }
109 bool isLinearMetrics() const { return SkToBool(fFlags & kLinearMetrics_PrivFlag); }
116 bool isEmbolden() const { return SkToBool(fFlags & kEmbolden_PrivFlag); }
123 bool isBaselineSnap() const { return SkToBool(fFlags & kBaselineSnap_PrivFlag); }
170 Edging getEdging() const { return (Edging)fEdging; }
184 SkFontHinting getHinting() const { return (SkFontHinting)fHinting; }
192 SkFont makeWithSize(SkScalar size) const;
199 SkTypeface* getTypeface() const {return fTypeface.get(); }
207 SkTypeface* getTypefaceOrDefault() const;
213 SkScalar getSize() const { return fSize; }
220 SkScalar getScaleX() const { return fScaleX; }
227 SkScalar getSkewX() const { return fSkewX; }
233 sk_sp<SkTypeface> refTypeface() const { return fTypeface; }
240 sk_sp<SkTypeface> refTypefaceOrDefault() const;
299 int textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding,
300 SkGlyphID glyphs[], int maxGlyphCount) const;
309 SkGlyphID unicharToGlyph(SkUnichar uni) const;
311 void unicharsToGlyphs(const SkUnichar uni[], int count, SkGlyphID glyphs[]) const;
323 int countText(const void* text, size_t byteLength, SkTextEncoding encoding) const {
336 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
337 SkRect* bounds = nullptr) const {
352 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
353 SkRect* bounds, const SkPaint* paint) const;
366 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[]) const {
371 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], std::nullptr_t) const {
384 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[]) const {
399 void getWidthsBounds(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[],
400 const SkPaint* paint) const;
412 void getBounds(const SkGlyphID glyphs[], int count, SkRect bounds[],
413 const SkPaint* paint) const {
425 void getPos(const SkGlyphID glyphs[], int count, SkPoint pos[], SkPoint origin = {0, 0}) const;
435 void getXPos(const SkGlyphID glyphs[], int count, SkScalar xpos[], SkScalar origin = 0) const;
447 std::vector<SkScalar> getIntercepts(const SkGlyphID glyphs[], int count, const SkPoint pos[],
449 const SkPaint* = nullptr) const;
460 bool getPath(SkGlyphID glyphID, SkPath* path) const;
469 void getPaths(const SkGlyphID glyphIDs[], int count,
470 void (*glyphPathProc)(const SkPath* pathOrNull, const SkMatrix& mx, void* ctx),
471 void* ctx) const;
484 SkScalar getMetrics(SkFontMetrics* metrics) const;
494 SkScalar getSpacing() const { return this->getMetrics(nullptr); }
499 void dump() const;
527 bool hasSomeAntiAliasing() const;