Lines Matching refs:getBounds
81 mask->fBounds = rgn.getBounds(); in copyToMask()
97 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); in copyToMask()
160 path.getBounds().round(&ir); in setRgnToPath()
207 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
208 clip.setPath(path, path.getBounds().roundOut(), true); in test_path_bounds()
209 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); in test_path_bounds()
221 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
222 clip.setPath(path, path.getBounds().roundOut(), true); in test_path_bounds()
223 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); in test_path_bounds()
230 REPORTER_ASSERT(reporter, clip.getBounds().isEmpty()); in test_empty()
234 REPORTER_ASSERT(reporter, clip.getBounds().isEmpty()); in test_empty()
239 REPORTER_ASSERT(reporter, !clip.getBounds().isEmpty()); in test_empty()
240 REPORTER_ASSERT(reporter, clip.getBounds() == r); in test_empty()
244 REPORTER_ASSERT(reporter, clip.getBounds().isEmpty()); in test_empty()
279 if (nonEmptyAA != nonEmptyBW || clip2.getBounds() != rgn2.getBounds()) { in test_irect()
283 clip2.getBounds() == rgn2.getBounds() ? "true" : "false", in test_irect()
287 rgn2.getBounds().fLeft, rgn2.getBounds().fTop, in test_irect()
288 rgn2.getBounds().right(), rgn2.getBounds().bottom(), in test_irect()
289 clip2.getBounds().fLeft, clip2.getBounds().fTop, in test_irect()
290 clip2.getBounds().right(), clip2.getBounds().bottom()); in test_irect()
326 clip.setPath(path, path.getBounds().roundOut(), 1 == i); in test_path_with_hole()
344 clip.setPath(path, path.getBounds().roundOut(), true); in test_really_a_rect()
346 REPORTER_ASSERT(reporter, clip.getBounds() == SkIRect::MakeWH(100, 100)); in test_really_a_rect()
355 REPORTER_ASSERT(reporter, clip.getBounds() == SkIRect::MakeLTRB(10, 0, 50, 90)); in test_really_a_rect()