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