libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::MapPainterCairo::CairoNativeLabel Struct Reference

#include <MapPainterCairo.h>

Public Attributes

CairoFont font
 
cairo_font_extents_t fontExtents
 
double lineAdvance {0}
 Distance of the baselines of two consecutive lines.
 
std::vector< cairo_text_extents_t > lineExtents
 Ink extents of every line, relative to its baseline start.
 
std::vector< std::wstring > lines
 The lines the text was wrapped into (one line when wrapping is off)
 
cairo_text_extents_t textExtents
 
std::wstring wstr
 The full text of the label.
 

Member Data Documentation

◆ font

CairoFont osmscout::MapPainterCairo::CairoNativeLabel::font

◆ fontExtents

cairo_font_extents_t osmscout::MapPainterCairo::CairoNativeLabel::fontExtents

◆ lineAdvance

double osmscout::MapPainterCairo::CairoNativeLabel::lineAdvance {0}

Distance of the baselines of two consecutive lines.

Referenced by osmscout::MapPainterCairo::DrawLabel().

◆ lineExtents

std::vector<cairo_text_extents_t> osmscout::MapPainterCairo::CairoNativeLabel::lineExtents

Ink extents of every line, relative to its baseline start.

Referenced by osmscout::MapPainterCairo::DrawLabel().

◆ lines

std::vector<std::wstring> osmscout::MapPainterCairo::CairoNativeLabel::lines

The lines the text was wrapped into (one line when wrapping is off)

Referenced by osmscout::MapPainterCairo::DrawLabel().

◆ textExtents

cairo_text_extents_t osmscout::MapPainterCairo::CairoNativeLabel::textExtents

◆ wstr

std::wstring osmscout::MapPainterCairo::CairoNativeLabel::wstr

The full text of the label.


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