|
libosmscout 0.1
|
#include <LabelLayouter.h>
Public Types | |
| enum | Type { Icon , Symbol , Text } |
Public Member Functions | |
| LabelData ()=default | |
| ~LabelData ()=default | |
Public Attributes | |
| double | alpha {1.0} |
| Alpha value of the label; 0.0 = fully transparent, 1.0 = solid. | |
| double | fontSize {0} |
| Font size to be used. | |
| double | iconHeight {0} |
| IconStyleRef | iconStyle |
| Icon or symbol style. | |
| double | iconWidth {0} |
| size_t | position {0} |
| Relative position of the label. | |
| size_t | priority {0} |
| Priority of the entry. | |
| LabelStyleRef | style |
| Style for drawing. | |
| std::string | text |
| The label text (type==Text|PathText) | |
| Type | type {Type::Text} |
|
default |
|
default |
| double osmscout::LabelData::alpha {1.0} |
Alpha value of the label; 0.0 = fully transparent, 1.0 = solid.
Referenced by osmscout::MapPainter::DrawHillShading(), osmscout::MapPainterCairo::DrawLabel(), osmscout::MapPainterAgg::DrawLabel(), osmscout::MapPainterQt::DrawLabel(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::IsOverlay().
| double osmscout::LabelData::fontSize {0} |
Font size to be used.
Referenced by osmscout::MapPainter::DrawHillShading(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::ProcessLabel().
| double osmscout::LabelData::iconHeight {0} |
| IconStyleRef osmscout::LabelData::iconStyle |
Icon or symbol style.
Referenced by osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance().
| double osmscout::LabelData::iconWidth {0} |
| size_t osmscout::LabelData::position {0} |
Relative position of the label.
Referenced by osmscout::LabelLayoutDataSorter().
| size_t osmscout::LabelData::priority {0} |
Priority of the entry.
Referenced by osmscout::MapPainter::DrawHillShading(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::ProcessLabel().
| LabelStyleRef osmscout::LabelData::style |
| std::string osmscout::LabelData::text |
The label text (type==Text|PathText)
Referenced by osmscout::MapPainter::DrawHillShading(), osmscout::MapPainterCairo::DrawLabel(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::ProcessLabel(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance().
| Type osmscout::LabelData::type {Type::Text} |
Referenced by osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::GetCanvas(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::GetLabelPadding(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::ProcessLabel(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance().