alaCarte Maps
Renderer for OpenStreetMap tiles
|
#include <render_canvas.hpp>
Public Types | |
enum | { LAYER_FILL = 0, LAYER_CASING, LAYER_STROKE, LAYER_ICONS, LAYER_LABELS, LAYER_NUM } |
Layers contained in a canvas, used as index for CairoLayer vector. More... | |
Public Member Functions | |
virtual | ~RenderCanvas ()=default |
virtual void | clear ()=0 |
Clears every layer. Should always be called before use. More... | |
virtual CairoLayer * | getImageLayers ()=0 |
Layers to paint the MetaTile onto. More... | |
virtual CairoLayer & | getSliceLayer ()=0 |
Get layer that is the size of a final tile for slicing. More... | |
virtual Tile::ImageType | copySliceImage ()=0 |
Returns the rendered slice. More... | |
Definition at line 63 of file render_canvas.hpp.
anonymous enum |
Layers contained in a canvas, used as index for CairoLayer vector.
Enumerator | |
---|---|
LAYER_FILL | |
LAYER_CASING | |
LAYER_STROKE | |
LAYER_ICONS | |
LAYER_LABELS | |
LAYER_NUM |
Definition at line 67 of file render_canvas.hpp.
|
virtualdefault |
|
pure virtual |
Clears every layer. Should always be called before use.
Implemented in SVGRenderCanvas, and PNGRenderCanvas.
|
pure virtual |
Returns the rendered slice.
Implemented in SVGRenderCanvas, and PNGRenderCanvas.
|
pure virtual |
Layers to paint the MetaTile onto.
Implemented in SVGRenderCanvas, and PNGRenderCanvas.
|
pure virtual |
Get layer that is the size of a final tile for slicing.
Implemented in SVGRenderCanvas, and PNGRenderCanvas.