libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::MapPainter::WayData Class Reference

#include <libosmscout-map/include/osmscoutmap/MapPainter.h>

Collaboration diagram for osmscout::MapPainter::WayData:

Public Member Functions

bool operator< (const WayData &other) const

Public Attributes

const FeatureValueBuffer * buffer
 Features of the line segment.
int8_t layer
 Layer this way is in.
LineStyleRef lineStyle
 Line style.
Color color
 Line color.
size_t wayPriority
 Priority of way (from style sheet).
CoordBufferRange coordRange
 Range of coordinates in transformation buffer.
double lineWidth
 Line width.
bool startIsClosed
bool endIsClosed

Detailed Description

Data structure for holding temporary data about ways

Member Function Documentation

◆ operator<()

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

Member Data Documentation

◆ buffer

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

Features of the line segment.

◆ color

Color osmscout::MapPainter::WayData::color

Line color.

◆ coordRange

CoordBufferRange osmscout::MapPainter::WayData::coordRange

Range of coordinates in transformation buffer.

◆ endIsClosed

bool osmscout::MapPainter::WayData::endIsClosed

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

◆ layer

int8_t osmscout::MapPainter::WayData::layer

Layer this way is in.

◆ lineStyle

LineStyleRef osmscout::MapPainter::WayData::lineStyle

Line style.

◆ lineWidth

double osmscout::MapPainter::WayData::lineWidth

Line width.

◆ startIsClosed

bool osmscout::MapPainter::WayData::startIsClosed

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

◆ wayPriority

size_t osmscout::MapPainter::WayData::wayPriority

Priority of way (from style sheet).


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