#include <SymbolRenderer.h>
◆ ~SymbolRenderer()
| virtual osmscout::SymbolRenderer::~SymbolRenderer |
( |
| ) |
|
|
virtualdefault |
◆ BeginPrimitive()
| virtual void osmscout::SymbolRenderer::BeginPrimitive |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ DrawCircle()
| virtual void osmscout::SymbolRenderer::DrawCircle |
( |
double | x, |
|
|
double | y, |
|
|
double | radius ) |
|
protectedpure virtual |
◆ DrawPolygon()
| virtual void osmscout::SymbolRenderer::DrawPolygon |
( |
const std::vector< Vertex2D > & | polygonPixels | ) |
|
|
protectedpure virtual |
◆ DrawRect()
| virtual void osmscout::SymbolRenderer::DrawRect |
( |
double | x, |
|
|
double | y, |
|
|
double | w, |
|
|
double | h ) |
|
protectedpure virtual |
◆ EndPrimitive()
| virtual void osmscout::SymbolRenderer::EndPrimitive |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Render() [1/2]
| void osmscout::SymbolRenderer::Render |
( |
const Projection & | projection, |
|
|
const Symbol & | symbol, |
|
|
const Vertex2D & | mapCenter, |
|
|
double | scaleFactor = 1.0 ) |
|
virtual |
- Parameters
-
| projection | used projection for rendering |
| symbol | |
| mapCenter | screen coordinates where to render symbol center |
| scaleFactor | scale (on top of projection) |
References Render().
◆ Render() [2/2]
| void osmscout::SymbolRenderer::Render |
( |
const Projection & | projection, |
|
|
const Symbol & | symbol, |
|
|
const Vertex2D & | mapCenter, |
|
|
std::function< void()> | afterRenderTransformer, |
|
|
std::function< void()> | afterEndTransformer, |
|
|
double | scaleFactor = 1.0 ) |
|
virtual |
- Parameters
-
| projection | used projection for rendering |
| symbol | |
| mapCenter | screen coordinates where to render symbol center |
| afterRenderTransformer | |
| afterEndTransformer | |
| scaleFactor | scale (on top of projection) |
References BeginPrimitive(), osmscout::Projection::ConvertWidthToPixel(), DrawCircle(), DrawPolygon(), DrawRect(), EndPrimitive(), osmscout::Symbol::GetBoundingBox(), osmscout::ScreenBox::GetCenter(), osmscout::Projection::GetMeterInPixel(), osmscout::Symbol::GetPrimitives(), osmscout::Symbol::GetProjectionMode(), osmscout::Vertex2D::GetX(), osmscout::Vertex2D::GetY(), osmscout::Symbol::MAP, SetBorder(), and SetFill().
Referenced by osmscout::MapPainterCairo::DrawContourSymbol(), osmscout::MapPainterCairo::DrawSymbol(), osmscout::MapPainterQt::DrawSymbol(), osmscout::MapPainterSVG::DrawSymbol(), Render(), and ~SymbolRenderer().
◆ SetBorder()
| virtual void osmscout::SymbolRenderer::SetBorder |
( |
const BorderStyleRef & | borderStyle, |
|
|
double | screenMmInPixel ) |
|
protectedpure virtual |
◆ SetFill()
| virtual void osmscout::SymbolRenderer::SetFill |
( |
const FillStyleRef & | fillStyle | ) |
|
|
protectedpure virtual |
The documentation for this class was generated from the following files: