libosmscout  0.1
osmscout::RectanglePrimitive Class Referencefinal

#include <Styles.h>

+ Inheritance diagram for osmscout::RectanglePrimitive:

Public Member Functions

ScreenBox GetBoundingBox () const override
 
const double & GetHeight () const
 
const Vertex2DGetTopLeft () const
 
const double & GetWidth () const
 
 RectanglePrimitive (const Vertex2D &topLeft, double width, double height, const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
 
- Public Member Functions inherited from osmscout::DrawPrimitive
 DrawPrimitive (const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
 
const BorderStyleRefGetBorderStyle () const
 
const FillStyleRefGetFillStyle () const
 
virtual ~DrawPrimitive ()=default
 

Constructor & Destructor Documentation

◆ RectanglePrimitive()

osmscout::RectanglePrimitive::RectanglePrimitive ( const Vertex2D topLeft,
double  width,
double  height,
const FillStyleRef fillStyle,
const BorderStyleRef borderStyle 
)

Member Function Documentation

◆ GetBoundingBox()

ScreenBox osmscout::RectanglePrimitive::GetBoundingBox ( ) const
overridevirtual

◆ GetHeight()

const double& osmscout::RectanglePrimitive::GetHeight ( ) const
inline

◆ GetTopLeft()

const Vertex2D& osmscout::RectanglePrimitive::GetTopLeft ( ) const
inline

◆ GetWidth()

const double& osmscout::RectanglePrimitive::GetWidth ( ) const
inline

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