Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Rect_y |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Rect_y.cpp.
4 {
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());
10}
11}
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