4REG_FIDDLE(AutoCanvasRestore_SkCanvas_star, 256, 128,
false, 0) {
7 paint.setAntiAlias(
true);
REG_FIDDLE(AutoCanvasRestore_SkCanvas_star, 256, 128, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void concat(const SkMatrix &matrix)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
sk_sp< SkTypeface > matchFamilyStyle(const char familyName[], const SkFontStyle &) const
static SkMatrix MakeAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, SkScalar skewY, SkScalar scaleY, SkScalar transY, SkScalar pers0, SkScalar pers1, SkScalar pers2)
sk_sp< SkFontMgr > fontMgr
font
Font Metadata and Metrics.