libosmscout  1.1.1
Public Member Functions | Public Attributes | List of all members
osmscout::MapPainter::WayData Struct Reference

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

Public Member Functions

bool operator< (const WayData &other) const
 

Public Attributes

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

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 struct was generated from the following file: