libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::MapPainterSVG::NativeLabel Struct Reference

Layouted label of a build without pango: the text plus the FreeType face its metrics were measured with. More...

#include <MapPainterSVG.h>

Public Member Functions

 NativeLabel ()=default
 
 NativeLabel (const std::wstring &text)
 

Public Attributes

std::wstring wstr
 

Detailed Description

Layouted label of a build without pango: the text plus the FreeType face its metrics were measured with.

The face is owned by the painter's face cache and stays valid for the lifetime of the painter.

Constructor & Destructor Documentation

◆ NativeLabel() [1/2]

osmscout::MapPainterSVG::NativeLabel::NativeLabel ( )
default

◆ NativeLabel() [2/2]

osmscout::MapPainterSVG::NativeLabel::NativeLabel ( const std::wstring &  text)
inlineexplicit

Member Data Documentation

◆ wstr

std::wstring osmscout::MapPainterSVG::NativeLabel::wstr

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