OpenLayer Offline Manual

OpenLayer | Settings | RestoreOldProjection RestoreOldProjection Advanced function
static void RestoreOldProjection();
Restores the old projection that got changed when you called SetOrtographicProjection(). If the original projection mode you used got changed when you called SetOrtographicProjection() you can call this function to restore the original projection from OpenGL's matrix stack. Examples // Restores back to the old projection mode you used that got changed // // when you called SetOrtographicProjection() // Settings::RestoreOldProjection(); Other functions of the class Settings
SetAntialiasing | Turns the anti-aliasing on or off
SetCircleAccuracy | Sets the accuracy of the circle drawing functions
SetCollisionPolyAccuracy | Sets the accuracy of the generated collision polygons
SetCollisionPolyAlphaLimit | Sets the maxium alpha value which is considered transparent by the collision polygon generation
Advanced functions
SetTextureMapping | Turns the OpenGL texture mapping on or off
TextureMappingUsed | Returns true if texture mapping is turned on
SetOrthographicProjection | Sets the orthographic projection as the active OpenGL projection mode
RestoreOldProjection | Restores the old projection mode
StoreMemoryBitmaps | Choose the Bitmaps to be stored in the memory
MemoryBitmapsStored | Returns true if the Bitmaps are stored in the memory
Back to the main page of the manual Questions about RestoreOldProjection? Click here.