SetClipping
Sets the clipping region of the active rendering surface. The parts of the objects which fall out of the clipping region will not be rendered. This function could be used to implement split screen views or minimaps, for example. Examples // Set the clipping region to a 100 x 100 portion at the top-right side of the screen //
Transforms::SetClipping( SCREEN_W - 100, 0, 100, 100 ); // Set the clipping region to the left half of the screen // Transforms::SetClipping( 0, 0, SCREEN_W/2, SCREEN_H ); Other functions of the class Canvas
Questions about SetClipping? Click here. |