|
libosmscout 0.1
|
Collection of Parameter that parametrize and influence drawing of the map. More...
#include <MapParameter.h>
Public Types | |
| enum class | IconMode { FixedSizePixmap , ScaledPixmap , OriginalPixmap , Scalable } |
| enum class | PatternMode { OriginalPixmap , Scalable } |
Public Member Functions | |
| double | GetAreaMinDimensionMM () const |
| double | GetContourLabelOffset () const |
| double | GetContourLabelPadding () const |
| double | GetContourLabelSpace () const |
| bool | GetDrawFadings () const |
| bool | GetDrawWaysWithFixedWidth () const |
| FillStyleProcessorRef | GetFillStyleProcessor (size_t typeIndex) const |
| std::string | GetFontName () const |
| The font name this parameter was configured with, as it was configured: a font family or the path of a font file (see SetFontName). | |
| double | GetFontSize () const |
| IconMode | GetIconMode () const |
| double | GetIconPadding () const |
| const std::list< std::string > & | GetIconPaths () const |
| double | GetIconPixelSize () const |
| double | GetIconSize () const |
| double | GetLabelLayouterOverlap () const |
| bool | GetLabelLineFitToArea () const |
| double | GetLabelLineFitToWidth () const |
| size_t | GetLabelLineMaxCharCount () const |
| size_t | GetLabelLineMinCharCount () const |
| double | GetLabelPadding () const |
| double | GetLineMinWidthPixel () const |
| Locale | GetLocale () const |
| Locale & | GetLocaleRef () |
| TransPolygon::OptimizeMethod | GetOptimizeAreaNodes () const |
| double | GetOptimizeErrorToleranceMm () const |
| TransPolygon::OptimizeMethod | GetOptimizeWayNodes () const |
| double | GetOverlayLabelPadding () const |
| PatternMode | GetPatternMode () const |
| const std::list< std::string > & | GetPatternPaths () const |
| double | GetPatternSize () const |
| double | GetPlateLabelPadding () const |
| bool | GetPreferSymbolIcons () const |
| bool | GetRenderBackground () const |
| bool | GetRenderContourLines () const |
| bool | GetRenderHillShading () const |
| bool | GetRenderSeaLand () const |
| bool | GetRenderUnknowns () const |
| std::string | GetRouteLabelSeparator () const |
| bool | GetShowAltLanguage () const |
| double | GetSidecarDistance () const |
| double | GetSidecarMaxDistanceMM () const |
| double | GetSidecarMinDistanceMM () const |
| size_t | GetWarningCoordCountLimit () const |
| size_t | GetWarningObjectCountLimit () const |
| bool | IsAborted () const |
| bool | IsDebugData () const |
| bool | IsDebugPerformance () const |
| MapParameter () | |
| void | RegisterFillStyleProcessor (size_t typeIndex, const FillStyleProcessorRef &processor) |
| void | SetAreaMinDimensionMM (double areaMinDimensionMM) |
| void | SetBreaker (const BreakerRef &breaker) |
| void | SetContourLabelOffset (double contourLabelOffset) |
| void | SetContourLabelPadding (double padding) |
| void | SetContourLabelSpace (double contourLabelSpace) |
| void | SetDebugData (bool debug) |
| void | SetDebugPerformance (bool debug) |
| void | SetDrawFadings (bool drawFadings) |
| void | SetDrawWaysWithFixedWidth (bool drawWaysWithFixedWidth) |
| void | SetFontName (const std::string &fontName) |
| Font to draw and measure labels with. | |
| void | SetFontSize (double fontSize) |
| void | SetIconMode (const IconMode &mode) |
| void | SetIconPadding (double padding) |
| void | SetIconPaths (const std::list< std::string > &paths) |
| void | SetIconPixelSize (double size) |
| void | SetIconSize (double size) |
| void | SetLabelLayouterOverlap (double labelLayouterOverlap) |
| void | SetLabelLineFitToArea (bool labelLineFitToArea) |
| void | SetLabelLineFitToWidth (double labelLineFitToWidth) |
| void | SetLabelLineMaxCharCount (size_t labelLineMaxCharCount) |
| void | SetLabelLineMinCharCount (size_t labelLineMinCharCount) |
| void | SetLabelPadding (double labelPadding) |
| void | SetLineMinWidthPixel (double lineMinWidthPixel) |
| void | SetLocale (const Locale &locale) |
| void | SetOptimizeAreaNodes (TransPolygon::OptimizeMethod optimize) |
| void | SetOptimizeErrorToleranceMm (double errorToleranceMm) |
| void | SetOptimizeWayNodes (TransPolygon::OptimizeMethod optimize) |
| void | SetOverlayLabelPadding (double padding) |
| void | SetPatternMode (const PatternMode &mode) |
| void | SetPatternPaths (const std::list< std::string > &paths) |
| void | SetPatternSize (double size) |
| void | SetPlateLabelPadding (double plateLabelPadding) |
| void | SetPreferSymbolIcons (bool preferSymbolIcons) |
| void | SetRenderBackground (bool render) |
| void | SetRenderContourLines (bool render) |
| void | SetRenderHillShading (bool render) |
| void | SetRenderSeaLand (bool render) |
| void | SetRenderUnknowns (bool render) |
| void | SetRouteLabelSeparator (const std::string &separator) |
| void | SetShowAltLanguage (bool showAltLanguage) |
| void | SetSidecarDistance () |
| void | SetSidecarMaxDistanceMM () |
| void | SetSidecarMinDistanceMM () |
| void | SetWarningCoordCountLimit (size_t limit) |
| void | SetWarningObjectCountLimit (size_t limit) |
Collection of Parameter that parametrize and influence drawing of the map.
|
strong |
|
strong |
| osmscout::MapParameter::MapParameter | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| FillStyleProcessorRef osmscout::MapParameter::GetFillStyleProcessor | ( | size_t | typeIndex | ) | const |
Referenced by SetSidecarMinDistanceMM().
|
inline |
The font name this parameter was configured with, as it was configured: a font family or the path of a font file (see SetFontName).
Referenced by osmscout::MapPainterAgg::DrawMap(), osmscout::MapPainterQt::DrawMap(), and osmscout::MapPainterSVG::DrawMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::MapPainter::GetProposedLabelWidth().
|
inline |
Referenced by osmscout::MapPainter::GetProposedLabelWidth().
|
inline |
Referenced by osmscout::MapPainter::GetProposedLabelWidth().
|
inline |
Referenced by osmscout::MapPainter::GetProposedLabelWidth().
|
inline |
|
inline |
Referenced by osmscout::MapPainterCairo::DrawMap().
|
inline |
Referenced by osmscout::DynamicFeatureLabelReader::GetLabel().
|
inline |
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and osmscout::TiledMapRenderer::onLoadJobFinished().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::MapPainterQt::HasPattern().
|
inline |
Referenced by osmscout::MapPainterCairo::HasPattern(), and osmscout::MapPainterQt::HasPattern().
|
inline |
Referenced by osmscout::MapPainterQt::HasPattern().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::MapPainter::DrawContourLines().
|
inline |
Referenced by osmscout::MapPainter::DrawHillShading().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::MapPainterStatistics::DumpMapPainterStatistics().
|
inline |
Referenced by osmscout::MapPainterStatistics::DumpMapPainterStatistics().
|
inline |
Referenced by osmscout::MapPainter::Draw().
|
inline |
Referenced by osmscout::MapPainterStatistics::DumpMapPainterStatistics().
|
inline |
Referenced by osmscout::MapPainterStatistics::DumpMapPainterStatistics().
| void osmscout::MapParameter::RegisterFillStyleProcessor | ( | size_t | typeIndex, |
| const FillStyleProcessorRef & | processor ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetAreaMinDimensionMM | ( | double | areaMinDimensionMM | ) |
| void osmscout::MapParameter::SetBreaker | ( | const BreakerRef & | breaker | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetContourLabelOffset | ( | double | contourLabelOffset | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetContourLabelPadding | ( | double | padding | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetContourLabelSpace | ( | double | contourLabelSpace | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetDebugData | ( | bool | debug | ) |
| void osmscout::MapParameter::SetDebugPerformance | ( | bool | debug | ) |
| void osmscout::MapParameter::SetDrawFadings | ( | bool | drawFadings | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetDrawWaysWithFixedWidth | ( | bool | drawWaysWithFixedWidth | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetFontName | ( | const std::string & | fontName | ) |
Font to draw and measure labels with.
The name is either a font family ("Liberation Sans") or the path of a font file. A backend that resolves a font by family serves the face the file holds, and a backend that loads a font file directly loads it, so both forms are valid for every backend. A name that is neither a readable font file nor a family the host can resolve is reported and drawn with a default face.
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and osmscout::TiledMapRenderer::onLoadJobFinished().
| void osmscout::MapParameter::SetFontSize | ( | double | fontSize | ) |
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and osmscout::TiledMapRenderer::onLoadJobFinished().
| void osmscout::MapParameter::SetIconMode | ( | const IconMode & | mode | ) |
| void osmscout::MapParameter::SetIconPadding | ( | double | padding | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetIconPaths | ( | const std::list< std::string > & | paths | ) |
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and osmscout::TiledMapRenderer::onLoadJobFinished().
| void osmscout::MapParameter::SetIconPixelSize | ( | double | size | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetIconSize | ( | double | size | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetLabelLayouterOverlap | ( | double | labelLayouterOverlap | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetLabelLineFitToArea | ( | bool | labelLineFitToArea | ) |
| void osmscout::MapParameter::SetLabelLineFitToWidth | ( | double | labelLineFitToWidth | ) |
| void osmscout::MapParameter::SetLabelLineMaxCharCount | ( | size_t | labelLineMaxCharCount | ) |
| void osmscout::MapParameter::SetLabelLineMinCharCount | ( | size_t | labelLineMinCharCount | ) |
| void osmscout::MapParameter::SetLabelPadding | ( | double | labelPadding | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetLineMinWidthPixel | ( | double | lineMinWidthPixel | ) |
| void osmscout::MapParameter::SetLocale | ( | const Locale & | locale | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetOptimizeAreaNodes | ( | TransPolygon::OptimizeMethod | optimize | ) |
| void osmscout::MapParameter::SetOptimizeErrorToleranceMm | ( | double | errorToleranceMm | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetOptimizeWayNodes | ( | TransPolygon::OptimizeMethod | optimize | ) |
| void osmscout::MapParameter::SetOverlayLabelPadding | ( | double | padding | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetPatternMode | ( | const PatternMode & | mode | ) |
| void osmscout::MapParameter::SetPatternPaths | ( | const std::list< std::string > & | paths | ) |
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and osmscout::TiledMapRenderer::onLoadJobFinished().
| void osmscout::MapParameter::SetPatternSize | ( | double | size | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetPlateLabelPadding | ( | double | plateLabelPadding | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetPreferSymbolIcons | ( | bool | preferSymbolIcons | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetRenderBackground | ( | bool | render | ) |
| void osmscout::MapParameter::SetRenderContourLines | ( | bool | render | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetRenderHillShading | ( | bool | render | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetRenderSeaLand | ( | bool | render | ) |
| void osmscout::MapParameter::SetRenderUnknowns | ( | bool | render | ) |
| void osmscout::MapParameter::SetRouteLabelSeparator | ( | const std::string & | separator | ) |
Referenced by SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetShowAltLanguage | ( | bool | showAltLanguage | ) |
| void osmscout::MapParameter::SetSidecarDistance | ( | ) |
| void osmscout::MapParameter::SetSidecarMaxDistanceMM | ( | ) |
| void osmscout::MapParameter::SetSidecarMinDistanceMM | ( | ) |
References GetFillStyleProcessor(), RegisterFillStyleProcessor(), SetBreaker(), SetContourLabelOffset(), SetContourLabelPadding(), SetContourLabelSpace(), SetDebugData(), SetDebugPerformance(), SetDrawFadings(), SetDrawWaysWithFixedWidth(), SetIconMode(), SetIconPadding(), SetIconPixelSize(), SetIconSize(), SetLabelLayouterOverlap(), SetLabelLineFitToArea(), SetLabelLineFitToWidth(), SetLabelLineMaxCharCount(), SetLabelLineMinCharCount(), SetLabelPadding(), SetLocale(), SetOptimizeAreaNodes(), SetOptimizeErrorToleranceMm(), SetOptimizeWayNodes(), SetOverlayLabelPadding(), SetPatternMode(), SetPatternSize(), SetPlateLabelPadding(), SetPreferSymbolIcons(), SetRenderBackground(), SetRenderContourLines(), SetRenderHillShading(), SetRenderSeaLand(), SetRenderUnknowns(), SetRouteLabelSeparator(), SetShowAltLanguage(), SetWarningCoordCountLimit(), and SetWarningObjectCountLimit().
| void osmscout::MapParameter::SetWarningCoordCountLimit | ( | size_t | limit | ) |
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and SetSidecarMinDistanceMM().
| void osmscout::MapParameter::SetWarningObjectCountLimit | ( | size_t | limit | ) |
Referenced by osmscout::PlaneMapRenderer::DrawMap(), and SetSidecarMinDistanceMM().