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());
REG_FIDDLE(IRect_x, 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 x() const
int32_t fLeft
smaller x-axis bounds
SkIRect makeSorted() const