• Home
  • Raw
  • Download

Lines Matching refs:SkMatrix

26 class SK_API SkMatrix {
28 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar sx, SkScalar sy) { in MakeScale()
29 SkMatrix m; in MakeScale()
34 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) { in MakeScale()
35 SkMatrix m; in MakeScale()
40 static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) { in MakeTrans()
41 SkMatrix m; in MakeTrans()
250 SkMatrix& setRSXform(const SkRSXform&);
264 void setConcat(const SkMatrix& a, const SkMatrix& b);
297 void preConcat(const SkMatrix& other);
334 void postConcat(const SkMatrix& other);
373 static SkMatrix MakeRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) { in MakeRectToRect()
374 SkMatrix m; in MakeRectToRect()
392 bool SK_WARN_UNUSED_RESULT invert(SkMatrix* inverse) const { in invert()
570 typedef void (*MapXYProc)(const SkMatrix& mat, SkScalar x, SkScalar y,
582 typedef void (*MapPtsProc)(const SkMatrix& mat, SkPoint dst[],
613 bool cheapEqualTo(const SkMatrix& m) const { in cheapEqualTo()
617 friend SK_API bool operator==(const SkMatrix& a, const SkMatrix& b);
618 friend SK_API bool operator!=(const SkMatrix& a, const SkMatrix& b) {
677 bool decomposeScale(SkSize* scale, SkMatrix* remaining = NULL) const;
682 static const SkMatrix& I();
688 static const SkMatrix& InvalidMatrix();
693 static SkMatrix Concat(const SkMatrix& a, const SkMatrix& b) { in Concat()
694 SkMatrix result; in Concat()
808 bool SK_WARN_UNUSED_RESULT invertNonIdentity(SkMatrix* inverse) const;
810 static bool Poly2Proc(const SkPoint[], SkMatrix*, const SkPoint& scale);
811 static bool Poly3Proc(const SkPoint[], SkMatrix*, const SkPoint& scale);
812 static bool Poly4Proc(const SkPoint[], SkMatrix*, const SkPoint& scale);
814 static void Identity_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
815 static void Trans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
816 static void Scale_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
817 static void ScaleTrans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
818 static void Rot_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
819 static void RotTrans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
820 static void Persp_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
824 static void Identity_pts(const SkMatrix&, SkPoint[], const SkPoint[], int);
825 static void Trans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
826 static void Scale_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
827 static void ScaleTrans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[],
829 static void Persp_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
831 static void Affine_vpts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);