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

#include <Styles.h>

+ Inheritance diagram for osmscout::RectanglePrimitive:

Public Member Functions

void GetBoundingBox (double &minX, double &minY, double &maxX, double &maxY) const override
const double & GetHeight () const
const Vertex2DGetTopLeft () const
const double & GetWidth () const
 RectanglePrimitive (ProjectionMode projectionMode, const Vertex2D &topLeft, double width, double height, const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
- Public Member Functions inherited from osmscout::DrawPrimitive
 DrawPrimitive (ProjectionMode projectionMode, const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
const BorderStyleRefGetBorderStyle () const
const FillStyleRefGetFillStyle () const
ProjectionMode GetProjectionMode () const
virtual ~DrawPrimitive ()

Additional Inherited Members

- Public Types inherited from osmscout::DrawPrimitive
enum  ProjectionMode { ProjectionMode::MAP, ProjectionMode::GROUND }

Constructor & Destructor Documentation

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

Member Function Documentation

void osmscout::RectanglePrimitive::GetBoundingBox ( double &  minX,
double &  minY,
double &  maxX,
double &  maxY 
) const
const double& osmscout::RectanglePrimitive::GetHeight ( ) const
const Vertex2D& osmscout::RectanglePrimitive::GetTopLeft ( ) const
const double& osmscout::RectanglePrimitive::GetWidth ( ) const

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