Lines Matching refs:SkFont
12 SkFont::SkFont(sk_sp<SkTypeface> face, SkScalar size, SkScalar scaleX, SkScalar skewX, MaskType mt, in SkFont() function in SkFont
27 sk_sp<SkFont> SkFont::Make(sk_sp<SkTypeface> face, SkScalar size, SkScalar scaleX, SkScalar skewX, in Make()
39 return sk_sp<SkFont>(new SkFont(std::move(face), size, scaleX, skewX, mt, flags)); in Make()
42 sk_sp<SkFont> SkFont::Make(sk_sp<SkTypeface> face, SkScalar size, MaskType mt, uint32_t flags) { in Make()
43 return SkFont::Make(std::move(face), size, 1, 0, mt, flags); in Make()
46 sk_sp<SkFont> SkFont::makeWithSize(SkScalar newSize) const { in makeWithSize()
47 return SkFont::Make(sk_ref_sp(this->getTypeface()), newSize, this->getScaleX(), in makeWithSize()
51 sk_sp<SkFont> SkFont::makeWithFlags(uint32_t newFlags) const { in makeWithFlags()
52 return SkFont::Make(sk_ref_sp(this->getTypeface()), this->getSize(), this->getScaleX(), in makeWithFlags()
57 int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, in textToGlyphs()
108 SkScalar SkFont::measureText(const void* text, size_t byteLength, SkTextEncoding encoding) const { in measureText()
117 sk_sp<SkFont> SkFont::Testing_CreateFromPaint(const SkPaint& paint) { in Testing_CreateFromPaint()
144 MaskType maskType = SkFont::kBW_MaskType; in Testing_CreateFromPaint()