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. More... | |
double | fontSize {0} |
Font size to be used. More... | |
double | iconHeight {0} |
IconStyleRef | iconStyle |
Icon or symbol style. More... | |
double | iconWidth {0} |
size_t | position {0} |
Relative position of the label. More... | |
size_t | priority {0} |
Priority of the entry. More... | |
LabelStyleRef | style |
Style for drawing. More... | |
std::string | text |
The label text (type==Text|PathText) More... | |
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< QGlyphRun, QTextLayout, MapPainterQt >::IsOverlay().
double osmscout::LabelData::fontSize {0} |
Font size to be used.
Referenced by osmscout::MapPainter::DrawHillShading(), and osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::ProcessLabel().
double osmscout::LabelData::iconHeight {0} |
IconStyleRef osmscout::LabelData::iconStyle |
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< QGlyphRun, QTextLayout, MapPainterQt >::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< QGlyphRun, QTextLayout, MapPainterQt >::ProcessLabel(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance().
Type osmscout::LabelData::type {Type::Text} |
Referenced by osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::DrawLabels(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::GetCanvas(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::GetLabelPadding(), osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::ProcessLabel(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance().