6 SkIRect i_rect1 = {2, 35, 22, 53};
8 f_rect.
offset(0.49f, 0.49f);
10 f_rect.
round(&i_rect2);
11 SkDebugf(
"i_rect1 %c= i_rect2\n", i_rect1 == i_rect2?
'=' :
'!');
REG_FIDDLE(Rect_Make_2, 256, 256, true, 0)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
static SkRect Make(const SkISize &size)
void offset(float dx, float dy)
void round(SkIRect *dst) const