SetStretch
Sets the stretch factor of the whole screen. Note that the given values are a stretch factor such that 1.0 is the original size, 0.5 is half the original size and 2.0 is double the original size. The default stretch is xStretch = 1.0, yStretch = 1.0. Hint: You can use this function to zoom in and out of the playfield. Examples // Zoom out to 50% of the original size //
Transforms::SetStretch( 0.50, 0.50 ); // Zoom back in to the original size // Transforms::SetStretch( 1.0, 1.0 ); Other functions of the class Transforms
Questions about SetStretch? Click here. |