Lines Matching refs:dst
77 * Set points for the src and dst rects on subsequent draw calls.
79 static void set_points(float* dst, int* src, const int* divs, int divCount, int srcFixed,
94 dst[0] = dstStart;
104 dst[i + 1] = dst[i] + dstDelta;
111 dst[divCount + 1] = dstEnd;
114 SkLatticeIter::SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst) {
157 src.fLeft, src.fRight, dst.fLeft, dst.fRight, xIsScalable);
162 src.fTop, src.fBottom, dst.fTop, dst.fBottom, yIsScalable);
213 SkLatticeIter::SkLatticeIter(int w, int h, const SkIRect& c, const SkRect& dst) {
231 fDstX[0] = dst.fLeft;
232 fDstX[1] = dst.fLeft + SkIntToScalar(c.fLeft);
233 fDstX[2] = dst.fRight - SkIntToScalar(w - c.fRight);
234 fDstX[3] = dst.fRight;
236 fDstY[0] = dst.fTop;
237 fDstY[1] = dst.fTop + SkIntToScalar(c.fTop);
238 fDstY[2] = dst.fBottom - SkIntToScalar(h - c.fBottom);
239 fDstY[3] = dst.fBottom;
256 bool SkLatticeIter::next(SkIRect* src, SkRect* dst, bool* isFixedColor, SkColor* fixedColor) {
274 return this->next(src, dst, isFixedColor, fixedColor);
278 dst->setLTRB(fDstX[x], fDstY[y], fDstX[x + 1], fDstY[y + 1]);