Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_drawOval |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Canvas_drawOval.cpp.
5 {
7 canvas->
clear(0xFF3f5f9f);
10 SkPoint g1Points[] = { { 0, 0 }, { 0, 100 } };
14 paint.setAntiAlias(
true);
18}
19}
static constexpr SkColor SkColorSetA(SkColor c, U8CPU a)
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)
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
Optional< SkRect > bounds
static constexpr SkRect MakeWH(float w, float h)