Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Rect_top |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Rect_top.cpp.
4 {
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());
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 top() const
SkScalar fTop
smaller y-axis bounds