|
| TypedMatrix () |
|
| TypedMatrix (const SkMatrix &matrix) |
|
constexpr | SkMatrix () |
|
TypeMask | getType () const |
|
bool | isIdentity () const |
|
bool | isScaleTranslate () const |
|
bool | isTranslate () const |
|
bool | rectStaysRect () const |
|
bool | preservesAxisAlignment () const |
|
bool | hasPerspective () const |
|
bool | isSimilarity (SkScalar tol=SK_ScalarNearlyZero) const |
|
bool | preservesRightAngles (SkScalar tol=SK_ScalarNearlyZero) const |
|
SkScalar | operator[] (int index) const |
|
SkScalar | get (int index) const |
|
SkScalar | rc (int r, int c) const |
|
SkScalar | getScaleX () const |
|
SkScalar | getScaleY () const |
|
SkScalar | getSkewY () const |
|
SkScalar | getSkewX () const |
|
SkScalar | getTranslateX () const |
|
SkScalar | getTranslateY () const |
|
SkScalar | getPerspX () const |
|
SkScalar | getPerspY () const |
|
SkScalar & | operator[] (int index) |
|
SkMatrix & | set (int index, SkScalar value) |
|
SkMatrix & | setScaleX (SkScalar v) |
|
SkMatrix & | setScaleY (SkScalar v) |
|
SkMatrix & | setSkewY (SkScalar v) |
|
SkMatrix & | setSkewX (SkScalar v) |
|
SkMatrix & | setTranslateX (SkScalar v) |
|
SkMatrix & | setTranslateY (SkScalar v) |
|
SkMatrix & | setPerspX (SkScalar v) |
|
SkMatrix & | setPerspY (SkScalar v) |
|
SkMatrix & | setAll (SkScalar scaleX, SkScalar skewX, SkScalar transX, SkScalar skewY, SkScalar scaleY, SkScalar transY, SkScalar persp0, SkScalar persp1, SkScalar persp2) |
|
void | get9 (SkScalar buffer[9]) const |
|
SkMatrix & | set9 (const SkScalar buffer[9]) |
|
SkMatrix & | reset () |
|
SkMatrix & | setIdentity () |
|
SkMatrix & | setTranslate (SkScalar dx, SkScalar dy) |
|
SkMatrix & | setTranslate (const SkVector &v) |
|
SkMatrix & | setScale (SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) |
|
SkMatrix & | setScale (SkScalar sx, SkScalar sy) |
|
SkMatrix & | setRotate (SkScalar degrees, SkScalar px, SkScalar py) |
|
SkMatrix & | setRotate (SkScalar degrees) |
|
SkMatrix & | setSinCos (SkScalar sinValue, SkScalar cosValue, SkScalar px, SkScalar py) |
|
SkMatrix & | setSinCos (SkScalar sinValue, SkScalar cosValue) |
|
SkMatrix & | setRSXform (const SkRSXform &rsxForm) |
|
SkMatrix & | setSkew (SkScalar kx, SkScalar ky, SkScalar px, SkScalar py) |
|
SkMatrix & | setSkew (SkScalar kx, SkScalar ky) |
|
SkMatrix & | setConcat (const SkMatrix &a, const SkMatrix &b) |
|
SkMatrix & | preTranslate (SkScalar dx, SkScalar dy) |
|
SkMatrix & | preScale (SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) |
|
SkMatrix & | preScale (SkScalar sx, SkScalar sy) |
|
SkMatrix & | preRotate (SkScalar degrees, SkScalar px, SkScalar py) |
|
SkMatrix & | preRotate (SkScalar degrees) |
|
SkMatrix & | preSkew (SkScalar kx, SkScalar ky, SkScalar px, SkScalar py) |
|
SkMatrix & | preSkew (SkScalar kx, SkScalar ky) |
|
SkMatrix & | preConcat (const SkMatrix &other) |
|
SkMatrix & | postTranslate (SkScalar dx, SkScalar dy) |
|
SkMatrix & | postScale (SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) |
|
SkMatrix & | postScale (SkScalar sx, SkScalar sy) |
|
SkMatrix & | postRotate (SkScalar degrees, SkScalar px, SkScalar py) |
|
SkMatrix & | postRotate (SkScalar degrees) |
|
SkMatrix & | postSkew (SkScalar kx, SkScalar ky, SkScalar px, SkScalar py) |
|
SkMatrix & | postSkew (SkScalar kx, SkScalar ky) |
|
SkMatrix & | postConcat (const SkMatrix &other) |
|
bool | setRectToRect (const SkRect &src, const SkRect &dst, ScaleToFit stf) |
|
bool | setPolyToPoly (const SkPoint src[], const SkPoint dst[], int count) |
|
bool | invert (SkMatrix *inverse) const |
|
bool | asAffine (SkScalar affine[6]) const |
|
SkMatrix & | setAffine (const SkScalar affine[6]) |
|
void | normalizePerspective () |
|
void | mapPoints (SkPoint dst[], const SkPoint src[], int count) const |
|
void | mapPoints (SkPoint pts[], int count) const |
|
void | mapHomogeneousPoints (SkPoint3 dst[], const SkPoint3 src[], int count) const |
|
void | mapHomogeneousPoints (SkPoint3 dst[], const SkPoint src[], int count) const |
|
SkPoint | mapPoint (SkPoint pt) const |
|
void | mapXY (SkScalar x, SkScalar y, SkPoint *result) const |
|
SkPoint | mapXY (SkScalar x, SkScalar y) const |
|
SkPoint | mapOrigin () const |
|
void | mapVectors (SkVector dst[], const SkVector src[], int count) const |
|
void | mapVectors (SkVector vecs[], int count) const |
|
void | mapVector (SkScalar dx, SkScalar dy, SkVector *result) const |
|
SkVector | mapVector (SkScalar dx, SkScalar dy) const |
|
bool | mapRect (SkRect *dst, const SkRect &src, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const |
|
bool | mapRect (SkRect *rect, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const |
|
SkRect | mapRect (const SkRect &src, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const |
|
void | mapRectToQuad (SkPoint dst[4], const SkRect &rect) const |
|
void | mapRectScaleTranslate (SkRect *dst, const SkRect &src) const |
|
SkScalar | mapRadius (SkScalar radius) const |
|
void | dump () const |
|
SkScalar | getMinScale () const |
|
SkScalar | getMaxScale () const |
|
bool | getMinMaxScales (SkScalar scaleFactors[2]) const |
|
bool | decomposeScale (SkSize *scale, SkMatrix *remaining=nullptr) const |
|
void | dirtyMatrixTypeCache () |
|
void | setScaleTranslate (SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) |
|
bool | isFinite () const |
|
|
enum | ScaleToFit { kFill_ScaleToFit
, kStart_ScaleToFit
, kCenter_ScaleToFit
, kEnd_ScaleToFit
} |
|
enum | TypeMask {
kIdentity_Mask = 0
, kTranslate_Mask = 0x01
, kScale_Mask = 0x02
, kAffine_Mask = 0x04
,
kPerspective_Mask = 0x08
} |
|
static SkMatrix | Scale (SkScalar sx, SkScalar sy) |
|
static SkMatrix | Translate (SkScalar dx, SkScalar dy) |
|
static SkMatrix | Translate (SkVector t) |
|
static SkMatrix | Translate (SkIVector t) |
|
static SkMatrix | RotateDeg (SkScalar deg) |
|
static SkMatrix | RotateDeg (SkScalar deg, SkPoint pt) |
|
static SkMatrix | RotateRad (SkScalar rad) |
|
static SkMatrix | Skew (SkScalar kx, SkScalar ky) |
|
static SkMatrix | RectToRect (const SkRect &src, const SkRect &dst, ScaleToFit mode=kFill_ScaleToFit) |
|
static SkMatrix | MakeAll (SkScalar scaleX, SkScalar skewX, SkScalar transX, SkScalar skewY, SkScalar scaleY, SkScalar transY, SkScalar pers0, SkScalar pers1, SkScalar pers2) |
|
static SkMatrix | MakeRectToRect (const SkRect &src, const SkRect &dst, ScaleToFit stf) |
|
static void | SetAffineIdentity (SkScalar affine[6]) |
|
static const SkMatrix & | I () |
|
static const SkMatrix & | InvalidMatrix () |
|
static SkMatrix | Concat (const SkMatrix &a, const SkMatrix &b) |
|
static constexpr int | kMScaleX = 0 |
| horizontal scale factor More...
|
|
static constexpr int | kMSkewX = 1 |
| horizontal skew factor More...
|
|
static constexpr int | kMTransX = 2 |
| horizontal translation More...
|
|
static constexpr int | kMSkewY = 3 |
| vertical skew factor More...
|
|
static constexpr int | kMScaleY = 4 |
| vertical scale factor More...
|
|
static constexpr int | kMTransY = 5 |
| vertical translation More...
|
|
static constexpr int | kMPersp0 = 6 |
| input x perspective factor More...
|
|
static constexpr int | kMPersp1 = 7 |
| input y perspective factor More...
|
|
static constexpr int | kMPersp2 = 8 |
| perspective bias More...
|
|
static constexpr int | kAScaleX = 0 |
| horizontal scale factor More...
|
|
static constexpr int | kASkewY = 1 |
| vertical skew factor More...
|
|
static constexpr int | kASkewX = 2 |
| horizontal skew factor More...
|
|
static constexpr int | kAScaleY = 3 |
| vertical scale factor More...
|
|
static constexpr int | kATransX = 4 |
| horizontal translation More...
|
|
static constexpr int | kATransY = 5 |
| vertical translation More...
|
|
Definition at line 153 of file SkRecords.h.