QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
qgsblanksegmentutils.h
Go to the documentation of this file.
1/***************************************************************************
2 blanksegmentutils.h
3 ---------------------
4 begin : 2025/11/05
5 copyright : (C) 2025 by Julien Cabieces
6 email : julien dot cabieces at oslandia dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSBLANKSEGMENTUTILS_H
17#define QGSBLANKSEGMENTUTILS_H
18
19#define SIP_NO_FILE
20
21#include "qgis.h"
22#include "qgis_core.h"
23
24#include <QPair>
25
27
33class CORE_EXPORT QgsBlankSegmentUtils
34{
35 public:
36
37 typedef QList<QPair<double, double>> BlankSegments;
38
47 static QList<QList<BlankSegments>> parseBlankSegments( const QString &strBlankSegments, const QgsRenderContext &renderContext, Qgis::RenderUnit unit, QString &error );
48
49 private:
50
51};
52
53#endif
RenderUnit
Rendering size units.
Definition qgis.h:5183
Helper class to manipulate blank segments.
QList< QPair< double, double > > BlankSegments
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 exp...
Contains information about the context of a rendering operation.