Flutter Engine
The Flutter Engine
|
#include <transform.h>
Public Member Functions | |
Transform () | |
Transform (float col1row1, float col2row1, float col3row1, float col4row1, float col1row2, float col2row2, float col3row2, float col4row2, float col1row3, float col2row3, float col3row3, float col4row3, float col1row4, float col2row4, float col3row4, float col4row4) | |
Transform (float col1row1, float col2row1, float col1row2, float col2row2, float x_translation, float y_translation) | |
bool | operator== (const Transform &rhs) const |
bool | operator!= (const Transform &rhs) const |
float | operator[] (int index) const |
bool | IsIdentity () const |
void | Scale (float x, float y) |
void | TransformRect (RectF *rect) const |
void | TransformPoint (PointF *point) const |
std::string | ToString () const |
Definition at line 20 of file transform.h.
gfx::Transform::Transform | ( | ) |
Definition at line 11 of file transform.cc.
gfx::Transform::Transform | ( | float | col1row1, |
float | col2row1, | ||
float | col3row1, | ||
float | col4row1, | ||
float | col1row2, | ||
float | col2row2, | ||
float | col3row2, | ||
float | col4row2, | ||
float | col1row3, | ||
float | col2row3, | ||
float | col3row3, | ||
float | col4row3, | ||
float | col1row4, | ||
float | col2row4, | ||
float | col3row4, | ||
float | col4row4 | ||
) |
Definition at line 15 of file transform.cc.
gfx::Transform::Transform | ( | float | col1row1, |
float | col2row1, | ||
float | col1row2, | ||
float | col2row2, | ||
float | x_translation, | ||
float | y_translation | ||
) |
Definition at line 37 of file transform.cc.
bool gfx::Transform::IsIdentity | ( | ) | const |
Definition at line 72 of file transform.cc.
|
inline |
Definition at line 51 of file transform.h.
bool gfx::Transform::operator== | ( | const Transform & | rhs | ) | const |
Definition at line 62 of file transform.cc.
|
inline |
Definition at line 53 of file transform.h.
void gfx::Transform::Scale | ( | float | x, |
float | y | ||
) |
Definition at line 87 of file transform.cc.
std::string gfx::Transform::ToString | ( | ) | const |
Definition at line 76 of file transform.cc.
void gfx::Transform::TransformPoint | ( | PointF * | point | ) | const |
Definition at line 107 of file transform.cc.
void gfx::Transform::TransformRect | ( | RectF * | rect | ) | const |
Definition at line 93 of file transform.cc.