6 SkIRect unsorted = { 15, 25, 10, 5 };
7 SkDebugf(
"unsorted.fTop: %d unsorted.top(): %d\n", unsorted.
fTop, unsorted.
top());
9 SkDebugf(
"sorted.fTop: %d sorted.top(): %d\n", sorted.
fTop, sorted.
top());
REG_FIDDLE(IRect_top, 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 top() const
int32_t fTop
smaller y-axis bounds
SkIRect makeSorted() const