alaCarte Maps
Renderer for OpenStreetMap tiles
|
This file is part of alaCarte. More...
Public Member Functions | |
PNGRenderCanvas () | |
PNGRenderCanvas (unsigned int layerWidth, unsigned int layerHeight, unsigned int sliceWidth, unsigned int sliceHeight) | |
virtual | ~PNGRenderCanvas ()=default |
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 |
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... | |
This file is part of alaCarte.
alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
alaCarte is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.
Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Patrick Niklaus
Definition at line 45 of file render_canvas.cpp.
|
inline |
Definition at line 52 of file render_canvas.cpp.
PNGRenderCanvas::PNGRenderCanvas | ( | unsigned int | layerWidth, |
unsigned int | layerHeight, | ||
unsigned int | sliceWidth, | ||
unsigned int | sliceHeight | ||
) |
Definition at line 118 of file render_canvas.cpp.
|
virtualdefault |
|
virtual |
Clears every layer. Should always be called before use.
Implements RenderCanvas.
Definition at line 140 of file render_canvas.cpp.
|
virtual |
Returns the rendered slice.
Implements RenderCanvas.
Definition at line 148 of file render_canvas.cpp.
|
inlinevirtual |
Layers to paint the MetaTile onto.
Implements RenderCanvas.
Definition at line 64 of file render_canvas.cpp.
|
inlinevirtual |
Get layer that is the size of a final tile for slicing.
Implements RenderCanvas.
Definition at line 65 of file render_canvas.cpp.
|
private |
Definition at line 48 of file render_canvas.cpp.
|
private |
Definition at line 49 of file render_canvas.cpp.