Home
last modified time | relevance | path

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

/third_party/skia/src/pathops/
DSkPathOpsTightBounds.cpp12 SkRect moveBounds = { SK_ScalarMax, SK_ScalarMax, SK_ScalarMin, SK_ScalarMin }; in TightBounds() local
17 moveBounds.fLeft = std::min(moveBounds.fLeft, pts[0].fX); in TightBounds()
18 moveBounds.fTop = std::min(moveBounds.fTop, pts[0].fY); in TightBounds()
19 moveBounds.fRight = std::max(moveBounds.fRight, pts[0].fX); in TightBounds()
20 moveBounds.fBottom = std::max(moveBounds.fBottom, pts[0].fY); in TightBounds()
58 *result = moveBounds; in TightBounds()
67 if (!moveBounds.isEmpty()) { in TightBounds()
68 result->join(moveBounds); in TightBounds()
/third_party/skia/tests/
DPathOpsTightBoundsTest.cpp165 SkRect moveBounds = {1, 1, 1, 1}; in DEF_TEST() local
167 REPORTER_ASSERT(reporter, moveBounds == tight); in DEF_TEST()