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

#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 ()
 
LabelStyleSetPriority (size_t priority)
 
virtual LabelStyleSetSize (double size)
 
- 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 ()=default
 

Detailed Description

Abstract base class for all (point) labels. All point labels have priority and a alpha value.

Constructor & Destructor Documentation

◆ LabelStyle()

osmscout::LabelStyle::LabelStyle ( )

Member Function Documentation

◆ GetAlpha()

virtual double osmscout::LabelStyle::GetAlpha ( ) const
pure virtual

◆ GetPriority()

◆ GetSize()

◆ IsVisible()

virtual bool osmscout::LabelStyle::IsVisible ( ) const
pure virtual

◆ SetPriority()

LabelStyle & osmscout::LabelStyle::SetPriority ( size_t  priority)

◆ SetSize()

LabelStyle & osmscout::LabelStyle::SetSize ( double  size)
virtual

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