|
QGIS API Documentation 3.99.0-Master (21b3aa880ba)
|
Helper class to manipulate blank segments. More...
#include <qgsblanksegmentutils.h>
Public Types | |
| typedef QList< QPair< double, double > > | BlankSegments |
Static Public Member Functions | |
| static QList< QList< BlankSegments > > | parseBlankSegments (const QString &strBlankSegments, const QgsRenderContext &renderContext, Qgis::RenderUnit unit, QString &error) |
| Parse blank segments string representation strBlankSegments The blank segments are expected to be expressed in unit and converted in pixels regarding render context renderContext error is populated with a descritive message if the string representation is not well formatted Returns a list of start and end distance expressed in pixels for each part and rings. | |
Helper class to manipulate blank segments.
Definition at line 33 of file qgsblanksegmentutils.h.
| typedef QList<QPair<double, double> > QgsBlankSegmentUtils::BlankSegments |
Definition at line 37 of file qgsblanksegmentutils.h.
|
static |
Parse blank segments string representation strBlankSegments The blank segments are expected to be expressed in unit and converted in pixels regarding render context renderContext error is populated with a descritive message if the string representation is not well formatted Returns a list of start and end distance expressed in pixels for each part and rings.
Definition at line 20 of file qgsblanksegmentutils.cpp.