Go to the source code of this file.
|
| REG_FIDDLE (Matrix_mapRectToQuad, 256, 192, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_mapRectToQuad |
, |
|
|
256 |
, |
|
|
192 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Matrix_mapRectToQuad.cpp.
4 {
7 paint.setAntiAlias(
true);
9 matrix.setRotate(60, 128, 128);
13 for (
int i = 0;
i < 4; ++
i) {
15 }
19}
20}
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void concat(const SkMatrix &matrix)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect