Go to the source code of this file.
|
| REG_FIDDLE (SkPath_quadTo_example, 512, 512, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
SkPath_quadTo_example |
, |
|
|
512 |
, |
|
|
512 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file SkPath_quadTo_example.cpp.
4 {
7
9 paint.setAntiAlias(
true);
11 paint.setStrokeWidth(5);
12
16
21
23
29
36}
37}
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
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.