• Home
  • Raw
  • Download

Lines Matching refs:SkScalar

45     static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar sx, SkScalar sy) {  in MakeScale()
60 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) { in MakeScale()
76 static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) { in MakeTrans()
99 static SkMatrix SK_WARN_UNUSED_RESULT MakeAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, in MakeAll()
100 SkScalar skewY, SkScalar scaleY, SkScalar transY, in MakeAll()
101 SkScalar pers0, SkScalar pers1, SkScalar pers2) { in MakeAll()
251 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
264 bool preservesRightAngles(SkScalar tol = SK_ScalarNearlyZero) const;
302 SkScalar operator[](int index) const {
314 SkScalar get(int index) const { in get()
324 SkScalar getScaleX() const { return fMat[kMScaleX]; } in getScaleX()
331 SkScalar getScaleY() const { return fMat[kMScaleY]; } in getScaleY()
339 SkScalar getSkewY() const { return fMat[kMSkewY]; } in getSkewY()
347 SkScalar getSkewX() const { return fMat[kMSkewX]; } in getSkewX()
354 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX()
361 SkScalar getTranslateY() const { return fMat[kMTransY]; } in getTranslateY()
367 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX()
373 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY()
385 SkScalar& operator[](int index) {
398 void set(int index, SkScalar value) { in set()
408 void setScaleX(SkScalar v) { this->set(kMScaleX, v); } in setScaleX()
414 void setScaleY(SkScalar v) { this->set(kMScaleY, v); } in setScaleY()
420 void setSkewY(SkScalar v) { this->set(kMSkewY, v); } in setSkewY()
426 void setSkewX(SkScalar v) { this->set(kMSkewX, v); } in setSkewX()
432 void setTranslateX(SkScalar v) { this->set(kMTransX, v); } in setTranslateX()
438 void setTranslateY(SkScalar v) { this->set(kMTransY, v); } in setTranslateY()
445 void setPerspX(SkScalar v) { this->set(kMPersp0, v); } in setPerspX()
452 void setPerspY(SkScalar v) { this->set(kMPersp1, v); } in setPerspY()
470 void setAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, in setAll()
471 SkScalar skewY, SkScalar scaleY, SkScalar transY, in setAll()
472 SkScalar persp0, SkScalar persp1, SkScalar persp2) { in setAll()
491 void get9(SkScalar buffer[9]) const { in get9()
492 memcpy(buffer, fMat, 9 * sizeof(SkScalar)); in get9()
511 void set9(const SkScalar buffer[9]);
540 void setTranslate(SkScalar dx, SkScalar dy);
556 void setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py);
563 void setScale(SkScalar sx, SkScalar sy);
574 void setRotate(SkScalar degrees, SkScalar px, SkScalar py);
581 void setRotate(SkScalar degrees);
594 void setSinCos(SkScalar sinValue, SkScalar cosValue,
595 SkScalar px, SkScalar py);
605 void setSinCos(SkScalar sinValue, SkScalar cosValue);
626 void setSkew(SkScalar kx, SkScalar ky, SkScalar px, SkScalar py);
633 void setSkew(SkScalar kx, SkScalar ky);
672 void preTranslate(SkScalar dx, SkScalar dy);
700 void preScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py);
721 void preScale(SkScalar sx, SkScalar sy);
752 void preRotate(SkScalar degrees, SkScalar px, SkScalar py);
779 void preRotate(SkScalar degrees);
807 void preSkew(SkScalar kx, SkScalar ky, SkScalar px, SkScalar py);
828 void preSkew(SkScalar kx, SkScalar ky);
867 void postTranslate(SkScalar dx, SkScalar dy);
895 void postScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py);
916 void postScale(SkScalar sx, SkScalar sy);
974 void postRotate(SkScalar degrees, SkScalar px, SkScalar py);
1001 void postRotate(SkScalar degrees);
1029 void postSkew(SkScalar kx, SkScalar ky, SkScalar px, SkScalar py);
1050 void postSkew(SkScalar kx, SkScalar ky);
1185 static void SetAffineIdentity(SkScalar affine[6]);
1197 bool SK_WARN_UNUSED_RESULT asAffine(SkScalar affine[6]) const;
1213 void setAffine(const SkScalar affine[6]);
1310 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const { in mapXY()
1331 SkPoint mapXY(SkScalar x, SkScalar y) const { in mapXY()
1410 void mapVector(SkScalar dx, SkScalar dy, SkVector* result) const { in mapVector()
1432 SkVector mapVector(SkScalar dx, SkScalar dy) const { in mapVector()
1509 SkScalar mapRadius(SkScalar radius) const;
1528 SkVector fixedStepInX(SkScalar y) const;
1589 SkScalar getMinScale() const;
1597 SkScalar getMaxScale() const;
1609 bool SK_WARN_UNUSED_RESULT getMinMaxScales(SkScalar scaleFactors[2]) const;
1694 void setScaleTranslate(SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) { in setScaleTranslate()
1753 SkScalar fMat[9];
1756 static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp);
1806 typedef void (*MapXYProc)(const SkMatrix& mat, SkScalar x, SkScalar y,
1836 static void Identity_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
1837 static void Trans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
1838 static void Scale_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
1839 static void ScaleTrans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
1840 static void Rot_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
1841 static void RotTrans_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);
1842 static void Persp_xy(const SkMatrix&, SkScalar, SkScalar, SkPoint*);