7 SkIRect i_rect1 = {2, 35, 22, 53};
9 f_rect.
offset(0.49f, 0.49f);
11 f_rect.
round(&i_rect2);
12 SkDebugf(
"i_rect1 %c= i_rect2\n", i_rect1 == i_rect2?
'=' :
'!');
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
#define REG_FIDDLE(NAME, W, H, TEXT, I)
static SkRect Make(const SkISize &size)
void offset(float dx, float dy)
void round(SkIRect *dst) const