Gnash
0.8.11dev
|
The Transform class expresses a stage in a cumulative transformation. More...
#include <Transform.h>
Public Member Functions | |
Transform (SWFMatrix m=SWFMatrix(), SWFCxForm cx=SWFCxForm()) | |
Construct a Transform. More... | |
Transform (const Transform &other) | |
Transform & | operator*= (const Transform &other) |
Public Attributes | |
SWFMatrix | matrix |
SWFCxForm | colorTransform |
The Transform class expresses a stage in a cumulative transformation.
All DisplayObjects have a color transform and a matrix, which is concatenated with its parent's transform to produce the actual transform.
|
inlineexplicit |
Construct a Transform.
Any arguments not supplied are identity transformations.
|
inline |
References colorTransform, gnash::SWFCxForm::concatenate(), gnash::SWFMatrix::concatenate(), and matrix.
SWFCxForm gnash::Transform::colorTransform |
SWFMatrix gnash::Transform::matrix |
Referenced by gnash::SWF::DefineTextTag::display(), gnash::TextField::display(), gnash::SWF::TextRecord::displayRecords(), gnash::renderer::openvg::Renderer_ovg::drawShape(), gnash::Renderer_cairo::drawShape(), gnash::Renderer_cairo::drawVideoFrame(), gnash::getMatrix(), operator*=(), gnash::registerBitmapDataNative(), and gnash::DisplayObject::setMatrix().