Go to the source code of this file.
|
| REG_FIDDLE (Matrix_mapVectors_2, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_mapVectors_2 |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Matrix_mapVectors_2.cpp.
5 {
8 paint.setAntiAlias(
true);
12 SkVector radii[] = {{7, 7}, {3, 3}, {2, 2}, {4, 0}};
13 for (int i = 0; i < 4; ++i) {
18 matrix.mapVectors(radii, std::size(radii));
19 }
20}
21}
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
void setRectRadii(const SkRect &rect, const SkVector radii[4])
unsigned useCenter Optional< SkMatrix > matrix