Home | History | Annotate | Download | only in core

Lines Matching defs:SkMatrix

27 /** \class SkMatrix
29 The SkMatrix class holds a 3x3 matrix for transforming coordinates.
30 SkMatrix does not have a constructor, so it must be explicitly initialized
34 class SK_API SkMatrix {
230 bool setConcat(const SkMatrix& a, const SkMatrix& b);
263 bool preConcat(const SkMatrix& other);
300 bool postConcat(const SkMatrix& other);
353 bool SK_WARN_UNUSED_RESULT invert(SkMatrix* inverse) const {
479 typedef void (*MapXYProc)(const SkMatrix& mat, SkScalar x, SkScalar y,
491 typedef void (*MapPtsProc)(const SkMatrix& mat, SkPoint dst[],
517 bool cheapEqualTo(const SkMatrix& m) const {
522 friend bool operator==(const SkMatrix& a, const SkMatrix& b) {
526 friend bool operator==(const SkMatrix& a, const SkMatrix& b);
528 friend bool operator!=(const SkMatrix& a, const SkMatrix& b) {
555 static const SkMatrix& I();
561 static const SkMatrix& InvalidMatrix();
643 bool SK_WARN_UNUSED_RESULT invertNonIdentity(SkMatrix* inverse) const;
645 static bool Poly2Proc(const SkPoint[], SkMatrix*, const SkPoint& scale);
646 static bool Poly3Proc(const SkPoint[], SkMatrix*, const SkPoint& scale);
647 static bool Poly4Proc(const SkPoint[], SkMatrix*, const SkPoint& scale);
649 static void Identity_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
650 static void Trans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
651 static void Scale_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
652 static void ScaleTrans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
653 static void Rot_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
654 static void RotTrans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
655 static void Persp_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
659 static void Identity_pts(const SkMatrix&, SkPoint[], const SkPoint[], int);
660 static void Trans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
661 static void Scale_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
662 static void ScaleTrans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[],
664 static void Rot_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
665 static void RotTrans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[],
667 static void Persp_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);