Gnash
0.8.10
|
The Transform class expresses a stage in a cumulative transformation. More...
#include <Transform.h>
Public Member Functions | |
Transform (const SWFMatrix &m=SWFMatrix(), const SWFCxForm &cx=SWFCxForm()) | |
Construct a Transform. | |
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.
gnash::Transform::Transform | ( | const SWFMatrix & | m = SWFMatrix() , |
const SWFCxForm & | cx = SWFCxForm() |
||
) | [inline, explicit] |
Construct a Transform.
Any arguments not supplied are identity transformations.
gnash::Transform::Transform | ( | const Transform & | other | ) | [inline] |
References matrix, gnash::SWFMatrix::concatenate(), colorTransform, and gnash::SWFCxForm::concatenate().
Referenced by gnash::SWF::DefineTextTag::display(), gnash::DisplayObject::setMatrix(), gnash::renderer::openvg::Renderer_ovg::drawShape(), gnash::Renderer_cairo::drawVideoFrame(), gnash::Renderer_cairo::drawShape(), gnash::TextField::display(), gnash::SWF::TextRecord::displayRecords(), and operator*=().