Go to the source code of this file.
|
| REG_FIDDLE (skpaint_line_2d_path_effect, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
skpaint_line_2d_path_effect |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file skpaint_line_2d_path_effect.cpp.
4 {
11 paint.setAntiAlias(
true);
16}
17}
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void clear(SkColor color)
static sk_sp< SkPathEffect > Make(SkScalar width, const SkMatrix &matrix)
SkMatrix & setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & preRotate(SkScalar degrees, SkScalar px, SkScalar py)
Optional< SkRect > bounds
static constexpr SkRect MakeWH(float w, float h)