Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Rect_equal_operator |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Rect_equal_operator.cpp.
4 {
6 auto debugster = [](
const SkRect&
test) ->
void {
7 SkRect negZero = {-0.0f, -0.0f, 2, 2};
8 SkDebugf(
"{%g, %g, %g, %g} %c= {%g, %g, %g, %g} %s numerically equal\n",
10 test == negZero ?
'=' :
'!',
14 "and are" : "yet are not");
15 };
16 SkRect tests[] = {{0, 0, 2, 2}, {-0, -0, 2, 2}, {0.0f, 0.0f, 2, 2}};
20 }
21}
22}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
sk_sp< SkBlender > blender SkRect rect
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
SkScalar fTop
smaller y-axis bounds