Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
IRect_x |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file IRect_x.cpp.
4 {
6 SkIRect unsorted = { 15, 5, 10, 25 };
7 SkDebugf(
"unsorted.fLeft: %d unsorted.x(): %d\n", unsorted.
fLeft, unsorted.
x());
9 SkDebugf(
"sorted.fLeft: %d sorted.x(): %d\n", sorted.
fLeft, sorted.
x());
10}
11}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
constexpr int32_t x() const
int32_t fLeft
smaller x-axis bounds
SkIRect makeSorted() const