ToolMap
Loading...
Searching...
No Matches
tmMemoryZoomManager Class Reference

tmMemoryZoomManager More...

#include <tmmemoryzoom.h>

Inheritance diagram for tmMemoryZoomManager:

Public Member Functions

 tmMemoryZoomManager (int maxsize=50)
 
bool Add (const tmZoomExtent &value)
 
bool Add (double top, double left, double zoomfactor)
 
int GetCount ()
 
bool GetPrevious (tmZoomExtent &extent)
 Return previous zoom level.
 
void Clear ()
 

Detailed Description

tmMemoryZoomManager

Manage previous zoom level

Author
Lucien Schreiber (c) CREALP 2009
Date
26 octobre 2009

Constructor & Destructor Documentation

◆ tmMemoryZoomManager()

tmMemoryZoomManager::tmMemoryZoomManager ( int  maxsize = 50)

Member Function Documentation

◆ GetPrevious()

bool tmMemoryZoomManager::GetPrevious ( tmZoomExtent extent)

Return previous zoom level.

This function return the previous zoom level, once returned the zoom level isn't anymore accessible

Parameters
extentwill be filled with the previous zoom level if true is returned
Returns
true if there is some zoom level availlable
Author
Lucien Schreiber (c) CREALP 2009
Date
26 octobre 2009

The documentation for this class was generated from the following files: