libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::SymbolRendererCairo Class Reference

#include <SymbolRendererCairo.h>

+ Inheritance diagram for osmscout::SymbolRendererCairo:

Public Member Functions

SymbolRendererCairooperator= (const SymbolRendererCairo &)=default
 
SymbolRendererCairooperator= (SymbolRendererCairo &&)=default
 
 SymbolRendererCairo (cairo_t *draw)
 
 SymbolRendererCairo (const SymbolRendererCairo &)=default
 
 SymbolRendererCairo (SymbolRendererCairo &&)=default
 
 ~SymbolRendererCairo () override=default
 
- Public Member Functions inherited from osmscout::SymbolRenderer
virtual void Render (const Projection &projection, const Symbol &symbol, const Vertex2D &mapCenter, double scaleFactor=1.0)
 
virtual void Render (const Projection &projection, const Symbol &symbol, const Vertex2D &mapCenter, std::function< void()> afterRenderTransformer, std::function< void()> afterEndTransformer, double scaleFactor=1.0)
 
virtual ~SymbolRenderer ()=default
 

Protected Member Functions

void BeginPrimitive () override
 
void DrawCircle (double x, double y, double radius) override
 
void DrawPolygon (const std::vector< Vertex2D > &polygonPixels) override
 
void DrawRect (double x, double y, double w, double h) override
 
void EndPrimitive () override
 
void SetBorder (const BorderStyleRef &borderStyle, double screenMmInPixel) override
 
void SetFill (const FillStyleRef &fillStyle) override
 

Constructor & Destructor Documentation

◆ SymbolRendererCairo() [1/3]

osmscout::SymbolRendererCairo::SymbolRendererCairo ( cairo_t *  draw)
explicit

◆ SymbolRendererCairo() [2/3]

osmscout::SymbolRendererCairo::SymbolRendererCairo ( const SymbolRendererCairo )
default

◆ SymbolRendererCairo() [3/3]

osmscout::SymbolRendererCairo::SymbolRendererCairo ( SymbolRendererCairo &&  )
default

◆ ~SymbolRendererCairo()

osmscout::SymbolRendererCairo::~SymbolRendererCairo ( )
overridedefault

Member Function Documentation

◆ BeginPrimitive()

void osmscout::SymbolRendererCairo::BeginPrimitive ( )
overrideprotectedvirtual

Reimplemented from osmscout::SymbolRenderer.

◆ DrawCircle()

void osmscout::SymbolRendererCairo::DrawCircle ( double  x,
double  y,
double  radius 
)
overrideprotectedvirtual

◆ DrawPolygon()

void osmscout::SymbolRendererCairo::DrawPolygon ( const std::vector< Vertex2D > &  polygonPixels)
overrideprotectedvirtual

◆ DrawRect()

void osmscout::SymbolRendererCairo::DrawRect ( double  x,
double  y,
double  w,
double  h 
)
overrideprotectedvirtual

◆ EndPrimitive()

void osmscout::SymbolRendererCairo::EndPrimitive ( )
overrideprotectedvirtual

◆ operator=() [1/2]

SymbolRendererCairo& osmscout::SymbolRendererCairo::operator= ( const SymbolRendererCairo )
default

◆ operator=() [2/2]

SymbolRendererCairo& osmscout::SymbolRendererCairo::operator= ( SymbolRendererCairo &&  )
default

◆ SetBorder()

void osmscout::SymbolRendererCairo::SetBorder ( const BorderStyleRef borderStyle,
double  screenMmInPixel 
)
overrideprotectedvirtual

◆ SetFill()

void osmscout::SymbolRendererCairo::SetFill ( const FillStyleRef fillStyle)
overrideprotectedvirtual

The documentation for this class was generated from the following files: