Lines Matching refs:RandomScalerContext
14 #include "tools/fonts/RandomScalerContext.h"
18 class RandomScalerContext : public SkScalerContext {
20 RandomScalerContext(sk_sp<SkRandomTypeface>,
40 RandomScalerContext::RandomScalerContext(sk_sp<SkRandomTypeface> face,
50 bool RandomScalerContext::generateAdvance(SkGlyph* glyph) { return fProxy->generateAdvance(glyph); }
52 void RandomScalerContext::generateMetrics(SkGlyph* glyph) {
87 void RandomScalerContext::generateImage(const SkGlyph& glyph) {
128 bool RandomScalerContext::generatePath(SkGlyphID glyph, SkPath* path) {
132 void RandomScalerContext::generateFontMetrics(SkFontMetrics* metrics) {
147 return std::make_unique<RandomScalerContext>(