Skia
2D Graphics Library
|
A compressed form of a rotation+scale matrix. More...
#include <SkRSXform.h>
Public Member Functions | |
bool | rectStaysRect () const |
void | setIdentity () |
void | set (SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) |
void | toQuad (SkScalar width, SkScalar height, SkPoint quad[4]) const |
void | toQuad (const SkSize &size, SkPoint quad[4]) const |
void | toTriStrip (SkScalar width, SkScalar height, SkPoint strip[4]) const |
Static Public Member Functions | |
static SkRSXform | Make (SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) |
static SkRSXform | MakeFromRadians (SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, SkScalar ax, SkScalar ay) |
Public Attributes | |
SkScalar | fSCos |
SkScalar | fSSin |
SkScalar | fTx |
SkScalar | fTy |
A compressed form of a rotation+scale matrix.
[ fSCos -fSSin fTx ] [ fSSin fSCos fTy ] [ 0 0 1 ]
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
SkScalar SkRSXform::fSCos |
SkScalar SkRSXform::fSSin |
SkScalar SkRSXform::fTx |
SkScalar SkRSXform::fTy |