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