Lines Matching defs:x0
1259 SkPerspIter::SkPerspIter(const SkMatrix& m, SkScalar x0, SkScalar y0, int count)
1260 : fMatrix(m), fSX(x0), fSY(y0), fCount(count) {
1263 SkMatrix::Persp_xy(m, x0, y0, &pt);
1386 SkFixed x0, y0, x1, y1, x2, y2;
1388 x0 = srcPt[2].fX - srcPt[0].fX;
1401 a1 = SkFractDiv(SkMulDiv(x0 - x1, y2, x2) - y0 + y1, denom);
1407 a1 = SkFractDiv(x0 - x1 - SkMulDiv(y0 - y1, x2, y2), denom);
1416 a2 = SkFractDiv(y0 - y2 - SkMulDiv(x0 - x2, y1, x1), denom);
1422 a2 = SkFractDiv(SkMulDiv(y0 - y2, x1, y1) - x0 + x2, denom);
1519 float x0, y0, x1, y1, x2, y2;
1521 x0 = srcPt[2].fX - srcPt[0].fX;
1534 a1 = SkScalarDiv(SkScalarMulDiv(x0 - x1, y2, x2) - y0 + y1, denom);
1540 a1 = SkScalarDiv(x0 - x1 - SkScalarMulDiv(y0 - y1, x2, y2), denom);
1549 a2 = SkScalarDiv(y0 - y2 - SkScalarMulDiv(x0 - x2, y1, x1), denom);
1555 a2 = SkScalarDiv(SkScalarMulDiv(y0 - y2, x1, y1) - x0 + x2, denom);