Searched refs:skRect2 (Results 1 – 1 of 1) sorted by relevance
30 const SkRect skRect2{l,t,r,b}; in DEF_GRAPHITE_TEST() local34 CHECK(rect2 == Rect(skRect2)); in DEF_GRAPHITE_TEST()35 CHECK(rect2.asSkRect() == skRect2); in DEF_GRAPHITE_TEST()81 CHECK(all(rect2.size() == float2(skRect2.width(), skRect2.height()))); in DEF_GRAPHITE_TEST()82 CHECK(all(rect2.center() == float2(skRect2.centerX(), skRect2.centerY()))); in DEF_GRAPHITE_TEST()83 CHECK(rect2.area() == skRect2.height() * skRect2.width()); in DEF_GRAPHITE_TEST()86 CHECK(rect.intersects(rect2) == skRect.intersects(skRect2)); in DEF_GRAPHITE_TEST()87 CHECK(rect.contains(rect2) == skRect.contains(skRect2)); in DEF_GRAPHITE_TEST()88 CHECK(rect2.contains(rect) == skRect2.contains(skRect)); in DEF_GRAPHITE_TEST()90 CHECK(rect2.makeRoundIn() == SkRect::Make(skRect2.roundIn())); in DEF_GRAPHITE_TEST()[all …]