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

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::RectanglePrimitive:

Public Member Functions

void GetBoundingBox (double &minX, double &minY, double &maxX, double &maxY) const
 
const double & GetHeight () const
 
const Vertex2D & GetTopLeft () 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
virtual
const double& osmscout::RectanglePrimitive::GetHeight ( ) const
inline
const Vertex2D& osmscout::RectanglePrimitive::GetTopLeft ( ) const
inline
const double& osmscout::RectanglePrimitive::GetWidth ( ) const
inline

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