libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::MapPainter::LabelLayoutData Struct Reference

Represents one entry in a label. More...

#include <MapPainter.h>

Public Attributes

double alpha
 The alpha value for rendering the text label (only used if TextStyle is set) More...
 
TextDimension dimension
 Dimension of the label object (coul dbe text, sybol, icon...) More...
 
double fontSize
 The font size (only used if TextStyle is set) More...
 
bool icon
 Flag signaling that an icon is available, else a symbol will be rendered. More...
 
IconStyleRef iconStyle
 The icon style for a icon or symbol. More...
 
std::string label
 The text of the label (only used if TextStyle is set) More...
 
size_t position
 Relative position of the label. More...
 
TextStyleRef textStyle
 The text style for a textual label (optional) More...
 

Detailed Description

Represents one entry in a label.

Member Data Documentation

double osmscout::MapPainter::LabelLayoutData::alpha

The alpha value for rendering the text label (only used if TextStyle is set)

Referenced by osmscout::MapPainterQt::DrawGroundTiles().

TextDimension osmscout::MapPainter::LabelLayoutData::dimension

Dimension of the label object (coul dbe text, sybol, icon...)

double osmscout::MapPainter::LabelLayoutData::fontSize

The font size (only used if TextStyle is set)

Referenced by osmscout::MapPainterQt::DrawGroundTiles().

bool osmscout::MapPainter::LabelLayoutData::icon

Flag signaling that an icon is available, else a symbol will be rendered.

Referenced by osmscout::MapPainterQt::DrawGroundTiles().

IconStyleRef osmscout::MapPainter::LabelLayoutData::iconStyle

The icon style for a icon or symbol.

std::string osmscout::MapPainter::LabelLayoutData::label

The text of the label (only used if TextStyle is set)

Referenced by osmscout::MapPainterQt::DrawGroundTiles().

size_t osmscout::MapPainter::LabelLayoutData::position

Relative position of the label.

Referenced by osmscout::MapPainterQt::DrawGroundTiles(), and osmscout::LabelLayoutDataSorter().

TextStyleRef osmscout::MapPainter::LabelLayoutData::textStyle

The text style for a textual label (optional)

Referenced by osmscout::MapPainterQt::DrawGroundTiles().


The documentation for this struct was generated from the following file: