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