Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
IRect_y |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file IRect_y.cpp.
4 {
6 SkIRect unsorted = { 15, 25, 10, 5 };
7 SkDebugf(
"unsorted.fTop: %d unsorted.y(): %d\n", unsorted.
fTop, unsorted.
y());
9 SkDebugf(
"sorted.fTop: %d sorted.y(): %d\n", sorted.
fTop, sorted.
y());
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 y() const
int32_t fTop
smaller y-axis bounds
SkIRect makeSorted() const