Home
last modified time | relevance | path

Searched refs:skRect (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tests/graphite/
DRectTest.cpp16 const SkRect skRect = SkRect::MakeLTRB(1,-3,4,0); in DEF_GRAPHITE_TEST() local
17 const Rect rect = skRect; in DEF_GRAPHITE_TEST()
19 CHECK(rect == skRect); // promotes 'skRect' to a Rect for == in DEF_GRAPHITE_TEST()
20 CHECK(rect.asSkRect() == skRect); // converts 'rect' to SkRect for == 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()
95 SkRect skJoin = skRect; in DEF_GRAPHITE_TEST()
103 CHECK(skRect.intersects(skRect2)); in DEF_GRAPHITE_TEST()
105 CHECK(skIsect.intersect(skRect, skRect2)); in DEF_GRAPHITE_TEST()
/third_party/skia/modules/skparagraph/src/
DTextLine.cpp513 SkRect skRect(SkRect::MakeLTRB(attr.rect.left(), run->getTopInGroup(), attr.rect.right(), in paintRoundRect() local
516 skRRect.setRectRadii(skRect, radii); in paintRoundRect()