• Home
  • Raw
  • Download

Lines Matching refs:skRect2

27         const SkRect skRect2{l,t,r,b};  in DEF_GRAPHITE_TEST()  local
31 CHECK(rect2 == Rect(skRect2)); in DEF_GRAPHITE_TEST()
32 CHECK(rect2.asSkRect() == skRect2); in DEF_GRAPHITE_TEST()
78 CHECK(all(rect2.size() == float2(skRect2.width(), skRect2.height()))); in DEF_GRAPHITE_TEST()
79 CHECK(all(rect2.center() == float2(skRect2.centerX(), skRect2.centerY()))); in DEF_GRAPHITE_TEST()
80 CHECK(rect2.area() == skRect2.height() * skRect2.width()); in DEF_GRAPHITE_TEST()
83 CHECK(rect.intersects(rect2) == skRect.intersects(skRect2)); in DEF_GRAPHITE_TEST()
84 CHECK(rect.contains(rect2) == skRect.contains(skRect2)); in DEF_GRAPHITE_TEST()
85 CHECK(rect2.contains(rect) == skRect2.contains(skRect)); in DEF_GRAPHITE_TEST()
87 CHECK(rect2.makeRoundIn() == SkRect::Make(skRect2.roundIn())); in DEF_GRAPHITE_TEST()
88 CHECK(rect2.makeRoundOut() == SkRect::Make(skRect2.roundOut())); in DEF_GRAPHITE_TEST()
89 CHECK(rect2.makeInset(.5f) == skRect2.makeInset(.5f, .5f)); in DEF_GRAPHITE_TEST()
90 CHECK(rect2.makeInset({.5f, -.25f}) == skRect2.makeInset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
91 CHECK(rect2.makeOutset(.5f) == skRect2.makeOutset(.5f, .5f)); in DEF_GRAPHITE_TEST()
92 CHECK(rect2.makeOutset({.5f, -.25f}) == skRect2.makeOutset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
93 CHECK(rect2.makeOffset({.5f, -.25f}) == skRect2.makeOffset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
96 skJoin.join(skRect2); in DEF_GRAPHITE_TEST()
103 CHECK(skRect.intersects(skRect2)); in DEF_GRAPHITE_TEST()
105 CHECK(skIsect.intersect(skRect, skRect2)); in DEF_GRAPHITE_TEST()