PushPlacement
Pushes the placement state of Transforms (position, rotation and stretch) in a stack. Subsequent calls of PushPlacement grow the stack. The PopPlacement pops the most recent addition from the stack and applies it. Examples // Push the global placement state to the stack //
Transforms::PushPlacement(); // Modify the global placement // Transforms::SetPosition( x, y ); Transforms::SetRotation( alpha ); // Do stuff... // Revert the old global placement // Transforms::PopPlacement(); Other functions of the class Transforms
Questions about PushPlacement? Click here. |