4REG_FIDDLE(SkPath_quadTo_example, 512, 512,
false, 0) {
9 paint.setAntiAlias(
true);
11 paint.setStrokeWidth(5);
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
REG_FIDDLE(SkPath_quadTo_example, 512, 512, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
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
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
SkPath & moveTo(SkScalar x, SkScalar y)
SkPath & lineTo(SkScalar x, SkScalar y)
SkPath & quadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2)
sk_sp< SkFontMgr > fontMgr
font
Font Metadata and Metrics.