Home
last modified time | relevance | path

Searched refs:fDstX (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkLatticeIter.cpp155 fDstX.reset(xCount + 2); in SkLatticeIter()
156 set_points(fDstX.begin(), fSrcX.begin(), xDivs, xCount, xCountFixed, xCountScalable, in SkLatticeIter()
218 fDstX.reset(4); in SkLatticeIter()
231 fDstX[0] = dst.fLeft; in SkLatticeIter()
232 fDstX[1] = dst.fLeft + SkIntToScalar(c.fLeft); in SkLatticeIter()
233 fDstX[2] = dst.fRight - SkIntToScalar(w - c.fRight); in SkLatticeIter()
234 fDstX[3] = dst.fRight; in SkLatticeIter()
241 if (fDstX[1] > fDstX[2]) { in SkLatticeIter()
242 fDstX[1] = fDstX[0] + (fDstX[3] - fDstX[0]) * c.fLeft / (w - c.width()); in SkLatticeIter()
243 fDstX[2] = fDstX[1]; in SkLatticeIter()
[all …]
DSkLatticeIter.h66 SkTArray<SkScalar> fDstX; variable
/external/skqp/src/core/
DSkLatticeIter.cpp155 fDstX.reset(xCount + 2); in SkLatticeIter()
156 set_points(fDstX.begin(), fSrcX.begin(), xDivs, xCount, xCountFixed, xCountScalable, in SkLatticeIter()
218 fDstX.reset(4); in SkLatticeIter()
231 fDstX[0] = dst.fLeft; in SkLatticeIter()
232 fDstX[1] = dst.fLeft + SkIntToScalar(c.fLeft); in SkLatticeIter()
233 fDstX[2] = dst.fRight - SkIntToScalar(w - c.fRight); in SkLatticeIter()
234 fDstX[3] = dst.fRight; in SkLatticeIter()
241 if (fDstX[1] > fDstX[2]) { in SkLatticeIter()
242 fDstX[1] = fDstX[0] + (fDstX[3] - fDstX[0]) * c.fLeft / (w - c.width()); in SkLatticeIter()
243 fDstX[2] = fDstX[1]; in SkLatticeIter()
[all …]
DSkLatticeIter.h66 SkTArray<SkScalar> fDstX; variable