Go to the source code of this file.
|
#define | nameValue(fill) { SkPathFillType::fill, #fill } |
|
|
| REG_FIDDLE (Path_ConvertToNonInverseFillType, 256, 256, true, 0) |
|
◆ nameValue
#define nameValue |
( |
|
fill | ) |
{ SkPathFillType::fill, #fill } |
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Path_ConvertToNonInverseFillType |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Path_ConvertToNonInverseFillType.cpp.
5 {
6#define nameValue(fill) { SkPathFillType::fill, #fill }
7
9 struct {
12 } fills[] = {
17 };
18 for (unsigned i = 0; i < std::size(fills); ++i) {
20 SkDebugf(
"fills array order does not match FillType enum order");
21 break;
22 }
23 SkDebugf(
"ConvertToNonInverseFillType(%s) == %s\n", fills[i].
name,
25 }
26}
27}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static SkPathFillType SkPathFillType_ConvertToNonInverse(SkPathFillType ft)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)