Lines Matching full:affine
137 // along with affine.
142 // For rectStaysRect, in the affine case, we only need check that
155 // Only test for scale explicitly if not affine, since affine sets the
161 // Not affine, therefore we already know secondary diagonal is
755 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) {
756 affine[kAScaleX] = 1;
757 affine[kASkewY] = 0;
758 affine[kASkewX] = 0;
759 affine[kAScaleY] = 1;
760 affine[kATransX] = 0;
761 affine[kATransY] = 0;
764 bool SkMatrix::asAffine(SkScalar affine[6]) const {
768 if (affine) {
769 affine[kAScaleX] = this->fMat[kMScaleX];
770 affine[kASkewY] = this->fMat[kMSkewY];
771 affine[kASkewX] = this->fMat[kMSkewX];
772 affine[kAScaleY] = this->fMat[kMScaleY];
773 affine[kATransX] = this->fMat[kMTransX];
774 affine[kATransY] = this->fMat[kMTransY];
1656 // quick reject on affine or perspective