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());
REG_FIDDLE(IRect_y, 256, 256, true, 0)
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