Searched refs:skRect2 (Results 1 – 1 of 1) sorted by relevance
27 const SkRect skRect2{l,t,r,b}; in DEF_GRAPHITE_TEST() local31 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()[all …]