Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_invert |
, |
|
|
256 |
, |
|
|
128 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Matrix_invert.cpp.
4 {
6 const SkPoint src[] = { { 10, 120}, {120, 120}, {120, 10}, { 10, 10} };
7 const SkPoint dst[] = { {150, 120}, {200, 100}, {240, 30}, { 130, 40} };
9 paint.setAntiAlias(
true);
15 paint.setStrokeWidth(3);
21 }
22}
23}
constexpr SkColor SK_ColorBLUE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint)
void concat(const SkMatrix &matrix)
@ kPolygon_PointMode
draw the array of points as a open polygon
@ kPoints_PointMode
draw each point separately
unsigned useCenter Optional< SkMatrix > matrix