alaCarte Maps
Renderer for OpenStreetMap tiles
|
Public Member Functions | |
SVGRenderCanvas () | |
SVGRenderCanvas (unsigned int layerWidth, unsigned int layerHeight, unsigned int sliceWidth, unsigned int sliceHeight) | |
virtual void | clear () |
Clears every layer. Should always be called before use. More... | |
virtual CairoLayer * | getImageLayers () |
Layers to paint the MetaTile onto. More... | |
virtual CairoLayer & | getSliceLayer () |
Get layer that is the size of a final tile for slicing. More... | |
virtual Tile::ImageType | copySliceImage () |
Returns the rendered slice. More... | |
Public Member Functions inherited from RenderCanvas | |
virtual | ~RenderCanvas ()=default |
Private Attributes | |
CairoLayer | layers [LAYER_NUM] |
CairoLayer | slice |
Tile::ImageType | buffer |
Additional Inherited Members | |
Public Types inherited from RenderCanvas | |
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... | |
Definition at line 69 of file render_canvas.cpp.
|
inline |
Definition at line 77 of file render_canvas.cpp.
SVGRenderCanvas::SVGRenderCanvas | ( | unsigned int | layerWidth, |
unsigned int | layerHeight, | ||
unsigned int | sliceWidth, | ||
unsigned int | sliceHeight | ||
) |
Definition at line 161 of file render_canvas.cpp.
|
virtual |
Clears every layer. Should always be called before use.
Implements RenderCanvas.
Definition at line 182 of file render_canvas.cpp.
|
virtual |
Returns the rendered slice.
Implements RenderCanvas.
Definition at line 191 of file render_canvas.cpp.
|
inlinevirtual |
Layers to paint the MetaTile onto.
Implements RenderCanvas.
Definition at line 89 of file render_canvas.cpp.
|
inlinevirtual |
Get layer that is the size of a final tile for slicing.
Implements RenderCanvas.
Definition at line 90 of file render_canvas.cpp.
|
private |
Definition at line 74 of file render_canvas.cpp.
|
private |
Definition at line 72 of file render_canvas.cpp.
|
private |
Definition at line 73 of file render_canvas.cpp.