OpenLayer Offline Manual

OpenLayer | Transforms | PushPlacement PushPlacement
static void 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
SetPosition | Set the position of screen contents
SetRotation | Set the rotational angle of the screen contents
SetRotationPivot | Selects the pivot point of the screen rotation
SetStretch | Sets the stretch factor of the screen
SetTintColor | Tints the whole screen to a color
ResetPlacement | Disables all the active placement transformations
SetColorChannels | Sets the coefficients of the color channels
GetColorChannels | Returns the coefficients of the color channels
PushPlacement | Pushes the placement state of Transforms in a stack
PopPlacement | Pops the most recent placement state of Transforms from the stack
Back to the main page of the manual Questions about PushPlacement? Click here.