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

#include <MapPainter.h>

Public Member Functions

bool operator< (const WayData &other) const
 We then draw lines in order of layer (Smaller layers first) More...
 

Public Attributes

const FeatureValueBuffer * buffer
 Features of the line segment. More...
 
bool endIsClosed
 The end of the way is closed, it does not lead to another way or area. More...
 
int8_t layer
 Layer this way is in. More...
 
LineStyleRef lineStyle
 Line style. More...
 
double lineWidth
 Line width. More...
 
ObjectFileRef ref
 
bool startIsClosed
 The end of the way is closed, it does not lead to another way or area. More...
 
size_t transEnd
 End of coordinates in transformation buffer. More...
 
size_t transStart
 Start of coordinates in transformation buffer. More...
 
int wayPriority
 Priority of way (from style sheet) More...
 

Member Function Documentation

bool osmscout::MapPainter::WayData::operator< ( const WayData other) const
inline

We then draw lines in order of layer (Smaller layers first)

Within a layer, we draw lines in order of line style priority (first overlays, lower priority value first)

Within a style priority, we draw transparent lines over solid lines

Within a style priority we draw lines in order of style sheet way priority (more important ways on top of less important ways, higher priority value first))

Parameters
other
Returns

References layer, lineStyle, and wayPriority.

Member Data Documentation

const FeatureValueBuffer* osmscout::MapPainter::WayData::buffer

Features of the line segment.

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

bool osmscout::MapPainter::WayData::endIsClosed

The end of the way is closed, it does not lead to another way or area.

Referenced by osmscout::MapPainterQt::DrawGroundTiles(), osmscout::MapPainterSVG::DrawWay(), and osmscout::MapPainter::DrawWay().

int8_t osmscout::MapPainter::WayData::layer

Layer this way is in.

Referenced by osmscout::MapPainterQt::DrawGroundTiles(), and operator<().

double osmscout::MapPainter::WayData::lineWidth
ObjectFileRef osmscout::MapPainter::WayData::ref
bool osmscout::MapPainter::WayData::startIsClosed

The end of the way is closed, it does not lead to another way or area.

Referenced by osmscout::MapPainterQt::DrawGroundTiles(), osmscout::MapPainterSVG::DrawWay(), and osmscout::MapPainter::DrawWay().

size_t osmscout::MapPainter::WayData::transEnd
size_t osmscout::MapPainter::WayData::transStart

Start of coordinates in transformation buffer.

Referenced by osmscout::MapPainterQt::DrawGroundTiles(), osmscout::MapPainterSVG::DrawWay(), and osmscout::MapPainter::DrawWay().

int osmscout::MapPainter::WayData::wayPriority

Priority of way (from style sheet)

Referenced by osmscout::MapPainterQt::DrawGroundTiles(), and operator<().


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