Go to the source code of this file.
|
| REG_FIDDLE (SkPath_arcTo_example, 512, 512, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
SkPath_arcTo_example |
, |
|
|
512 |
, |
|
|
512 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file SkPath_arcTo_example.cpp.
4 {
7
9 paint.setAntiAlias(
true);
11 paint.setStrokeWidth(2.5);
12
17
20
21 paint.setStrokeWidth(5);
24}
25}
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawOval(const SkRect &oval, const SkPaint &paint)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
SkPath & arcTo(const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo)