QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsBlankSegmentUtils Class Reference

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.

Detailed Description

Helper class to manipulate blank segments.

Since
QGIS 4.0

Definition at line 33 of file qgsblanksegmentutils.h.

Member Typedef Documentation

◆ BlankSegments

typedef QList<QPair<double, double> > QgsBlankSegmentUtils::BlankSegments

Definition at line 37 of file qgsblanksegmentutils.h.

Member Function Documentation

◆ parseBlankSegments()

QList< QList< QgsBlankSegmentUtils::BlankSegments > > QgsBlankSegmentUtils::parseBlankSegments ( const QString & strBlankSegments,
const QgsRenderContext & renderContext,
Qgis::RenderUnit unit,
QString & error )
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.

Since
QGIS 4.0

Definition at line 20 of file qgsblanksegmentutils.cpp.


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