alaCarte Maps
Renderer for OpenStreetMap tiles
|
Simple structure to store a zoom range. More...
#include <mapcss_grammar.hpp>
Public Member Functions | |
Zoom () | |
Creates the standard zoom. More... | |
Zoom (int bottom, int top) | |
Creates a zoom from given values. More... | |
void | expand (const Zoom &other) |
void | focus (const Zoom &other) |
bool | operator== (const Zoom &z) const |
Compares to zoom's. More... | |
Public Attributes | |
int | top |
The top of the zoom range. More... | |
int | bottom |
The bottom of the zoom range. More... | |
Simple structure to store a zoom range.
Definition at line 41 of file mapcss_grammar.hpp.
|
inline |
Creates the standard zoom.
Definition at line 44 of file mapcss_grammar.hpp.
|
inline |
Creates a zoom from given values.
Definition at line 50 of file mapcss_grammar.hpp.
|
inline |
Definition at line 56 of file mapcss_grammar.hpp.
|
inline |
Definition at line 62 of file mapcss_grammar.hpp.
|
inline |
Compares to zoom's.
Definition at line 70 of file mapcss_grammar.hpp.
int Zoom::bottom |
The bottom of the zoom range.
Definition at line 79 of file mapcss_grammar.hpp.
int Zoom::top |
The top of the zoom range.
Definition at line 76 of file mapcss_grammar.hpp.