Lines Matching defs:mx
47 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx,
49 if (mx.getType() <= SkMatrix::kTranslate_Mask) {
50 SkScalar tx = mx.getTranslateX();
51 SkScalar ty = mx.getTranslateY();
60 if (mx.invert(&inverse)) {
80 @param mx matrix used to map the points
85 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) {
89 SkMatrix::TypeMask tm = mx.getType();
95 const SkScalar tx = mx.getTranslateX();
96 const SkScalar ty = mx.getTranslateY();
107 SkMatrix::MapXYProc proc = mx.getMapXYProc();
109 proc(mx, pts->fX, pts->fY, pts);
128 @param mx matrix used to map the points
134 static void MapPointsWithStride(const SkMatrix& mx, SkPoint dst[], size_t dstStride,
141 mx.mapPoints(dst, src, 1);
147 static void MapHomogeneousPointsWithStride(const SkMatrix& mx, SkPoint3 dst[], size_t dstStride,