libosmscout 1.1.1
Loading...
Searching...
No Matches
ContourLabelHelper Class Reference

#include <libosmscout-map-directx/include/osmscoutmapdirectx/PathTextRenderer.h>

Public Member Functions

 ContourLabelHelper (double contourLabelOffset, double contourLabelSpace)
bool Init (double pathLength, double textWidth)
bool ContinueDrawing () const
double GetCurrentOffset () const
void AdvancePartial (double width)
void AdvanceText ()
void AdvanceSpace ()

Detailed Description

Helper class for drawing contours. Allows the MapPainter base class to inject itself at certain points in the contour label rendering code of the actual backend.

Constructor & Destructor Documentation

◆ ContourLabelHelper()

ContourLabelHelper::ContourLabelHelper ( double contourLabelOffset,
double contourLabelSpace )
explicit

Member Function Documentation

◆ AdvancePartial()

void ContourLabelHelper::AdvancePartial ( double width)
inline

◆ AdvanceSpace()

void ContourLabelHelper::AdvanceSpace ( )
inline

◆ AdvanceText()

void ContourLabelHelper::AdvanceText ( )
inline

◆ ContinueDrawing()

bool ContourLabelHelper::ContinueDrawing ( ) const
inline

◆ GetCurrentOffset()

double ContourLabelHelper::GetCurrentOffset ( ) const
inline

◆ Init()

bool ContourLabelHelper::Init ( double pathLength,
double textWidth )

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