Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkImageFilterTypes.cpp148 LayerSpace<SkIRect> tightBounds = newBounds; in resolveToBounds() local
149 if (!fImage || !tightBounds.intersect(this->layerBounds())) { in resolveToBounds()
154 LayerSpace<IVector> originShift = tightBounds.topLeft() - fOrigin; in resolveToBounds()
157 tightBounds.width(), tightBounds.height())); in resolveToBounds()
158 return {std::move(subsetImage), tightBounds.topLeft()}; in resolveToBounds()
/third_party/skia/tests/
DPathOpsTightBoundsTest.cpp29 SkRect tightBounds; in testTightBoundsLines() local
30 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsLines()
31 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds); in testTightBoundsLines()
79 SkRect tightBounds; in testTightBoundsQuads() local
80 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsQuads()
81 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds)); in testTightBoundsQuads()
104 tightBounds.roundOut(&tightOut); in testTightBoundsQuads()