Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsTightBounds.cpp12 SkRect moveBounds = { SK_ScalarMax, SK_ScalarMax, SK_ScalarMin, SK_ScalarMin }; in TightBounds() local
20 moveBounds.fLeft = SkTMin(moveBounds.fLeft, pts[0].fX); in TightBounds()
21 moveBounds.fTop = SkTMin(moveBounds.fTop, pts[0].fY); in TightBounds()
22 moveBounds.fRight = SkTMax(moveBounds.fRight, pts[0].fX); in TightBounds()
23 moveBounds.fBottom = SkTMax(moveBounds.fBottom, pts[0].fY); in TightBounds()
70 *result = moveBounds; in TightBounds()
83 if (!moveBounds.isEmpty()) { in TightBounds()
84 result->join(moveBounds); in TightBounds()
/external/skia/tests/
DPathOpsTightBoundsTest.cpp166 SkRect moveBounds = {1, 1, 1, 1}; in DEF_TEST() local
168 REPORTER_ASSERT(reporter, moveBounds == tight); in DEF_TEST()