6 SkRect unsorted = { 15, 25, 10, 5 };
7 SkDebugf(
"unsorted.fTop: %g unsorted.y(): %g\n", unsorted.
fTop, unsorted.
y());
9 SkDebugf(
"sorted.fTop: %g sorted.y(): %g\n", sorted.
fTop, sorted.
y());
REG_FIDDLE(Rect_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)
SkRect makeSorted() const
constexpr float y() const
SkScalar fTop
smaller y-axis bounds