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

Abstract base class for all (point) labels. More...

#include <Styles.h>

+ Inheritance diagram for osmscout::LabelStyle:

Public Member Functions

virtual double GetAlpha () const =0
size_t GetPriority () const
double GetSize () const
virtual bool IsVisible () const =0
 LabelStyle ()
 LabelStyle (const LabelStyle &style)
LabelStyleSetPriority (size_t priority)
virtual LabelStyleSetSize (double size)
 ~LabelStyle () override
- Public Member Functions inherited from osmscout::Style
virtual void SetBoolValue (int attribute, bool value)
virtual void SetColorValue (int attribute, const Color &value)
virtual void SetDoubleArrayValue (int attribute, const std::vector< double > &value)
virtual void SetDoubleValue (int attribute, double value)
virtual void SetIntValue (int attribute, int value)
virtual void SetLabelValue (int attribute, const LabelProviderRef &value)
virtual void SetMagnificationValue (int attribute, const Magnification &value)
virtual void SetStringValue (int attribute, const std::string &value)
virtual void SetSymbolValue (int attribute, const SymbolRef &value)
virtual void SetUIntValue (int attribute, size_t value)
virtual ~Style ()

Detailed Description

Abstract base class for all (point) labels.

All point labels have priority and a alpha value.

Constructor & Destructor Documentation

osmscout::LabelStyle::LabelStyle ( )
osmscout::LabelStyle::LabelStyle ( const LabelStyle style)
osmscout::LabelStyle::~LabelStyle ( )

Member Function Documentation

virtual double osmscout::LabelStyle::GetAlpha ( ) const
pure virtual
virtual bool osmscout::LabelStyle::IsVisible ( ) const
pure virtual
LabelStyle & osmscout::LabelStyle::SetPriority ( size_t  priority)
LabelStyle & osmscout::LabelStyle::SetSize ( double  size)

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