libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::RectanglePrimitive Class Referencefinal

#include <Styles.h>

Inheritance diagram for osmscout::RectanglePrimitive:

Public Member Functions

ScreenBox GetBoundingBox () const override
const double & GetHeight () const
const Vertex2D & GetTopLeft () 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 BorderStyleRef & GetBorderStyle () const
const FillStyleRef & GetFillStyle () 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: