Home | History | Annotate | Download | only in core

Lines Matching full:matrix

613     SkMatrix    matrix;
615 matrix.setScale(SkScalarHalf(oval.width()), SkScalarHalf(oval.height()));
616 matrix.postTranslate(oval.centerX(), oval.centerY());
620 &matrix, pts);
709 SkMatrix matrix;
712 matrix.setScale(radius, radius);
713 matrix.postTranslate(xx - SkScalarMul(radius, before.fX),
716 int count = SkBuildQuadArc(before, after, arcDir, &matrix, pts);
729 SkMatrix matrix;
731 matrix.setTranslate(dx, dy);
732 this->addPath(path, matrix);
735 void SkPath::addPath(const SkPath& path, const SkMatrix& matrix) {
742 SkMatrix::MapPtsProc proc = matrix.getMapPtsProc();
747 proc(matrix, &pts[0], &pts[0], 1);
751 proc(matrix, &pts[1], &pts[1], 1);
755 proc(matrix, &pts[1], &pts[1], 2);
759 proc(matrix, &pts[1], &pts[1], 3);
858 SkMatrix matrix;
860 matrix.setTranslate(dx, dy);
861 this->transform(matrix, dst);
892 void SkPath::transform(const SkMatrix& matrix, SkPath* dst) const {
898 if (matrix.getType() & SkMatrix::kPerspective_Mask) {
930 matrix.mapPoints(dst->fPts.begin(), dst->fPts.count());
934 if (!fBoundsIsDirty && matrix.rectStaysRect() && fPts.count() > 1) {
936 matrix.mapRect(&dst->fBounds, fBounds);
947 matrix.mapPoints(dst->fPts.begin(), fPts.begin(), fPts.count());