Flutter Engine
The Flutter Engine
|
#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 ]
Definition at line 23 of file SkRSXform.h.
|
inlinestatic |
Definition at line 24 of file SkRSXform.h.
|
inlinestatic |
Definition at line 35 of file SkRSXform.h.
|
inline |
Definition at line 47 of file SkRSXform.h.
|
inline |
Definition at line 64 of file SkRSXform.h.
Definition at line 9 of file SkRSXform.cpp.
Definition at line 33 of file SkRSXform.cpp.
SkScalar SkRSXform::fSCos |
Definition at line 42 of file SkRSXform.h.
SkScalar SkRSXform::fSSin |
Definition at line 43 of file SkRSXform.h.
SkScalar SkRSXform::fTx |
Definition at line 44 of file SkRSXform.h.
SkScalar SkRSXform::fTy |
Definition at line 45 of file SkRSXform.h.