Gnash  0.8.11dev
Public Member Functions | Public Attributes | List of all members
gnash::Transform Class Reference

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)
 
Transformoperator*= (const Transform &other)
 

Public Attributes

SWFMatrix matrix
 
SWFCxForm colorTransform
 

Detailed Description

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.

Constructor & Destructor Documentation

§ Transform() [1/2]

gnash::Transform::Transform ( SWFMatrix  m = SWFMatrix(),
SWFCxForm  cx = SWFCxForm() 
)
inlineexplicit

Construct a Transform.

Any arguments not supplied are identity transformations.

§ Transform() [2/2]

gnash::Transform::Transform ( const Transform other)
inline

Member Function Documentation

§ operator*=()

Transform& gnash::Transform::operator*= ( const Transform other)
inline

Member Data Documentation

§ colorTransform

SWFCxForm gnash::Transform::colorTransform

§ matrix

SWFMatrix gnash::Transform::matrix

The documentation for this class was generated from the following file: