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

Definition of a symbol. More...

#include <StyleConfig.h>

Public Member Functions

void AddPrimitive (const DrawPrimitiveRef &primitive)
 
void GetBoundingBox (double &minX, double &minY, double &maxX, double &maxY) const
 
double GetHeight () const
 
std::string GetName () const
 
const std::list
< DrawPrimitiveRef > & 
GetPrimitives () const
 
double GetWidth () const
 
 Symbol (const std::string &name)
 

Detailed Description

Definition of a symbol.

A symbol consists of a list of DrawPrimitives with with assigned rendering styes.

Constructor & Destructor Documentation

osmscout::Symbol::Symbol ( const std::string &  name)

Member Function Documentation

void osmscout::Symbol::AddPrimitive ( const DrawPrimitiveRef primitive)
void osmscout::Symbol::GetBoundingBox ( double &  minX,
double &  minY,
double &  maxX,
double &  maxY 
) const
inline
double osmscout::Symbol::GetHeight ( ) const
inline
std::string osmscout::Symbol::GetName ( ) const
inline
double osmscout::Symbol::GetWidth ( ) const
inline

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