QGIS API Documentation 3.99.0-Master (18a1e75d814)
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
20#include "qgis.h"
21#include "qgis_core.h"
22
23#include <QPair>
24
25#define SIP_NO_FILE
26
28
34class CORE_EXPORT QgsBlankSegmentUtils
35{
36 public:
37
38 typedef QList<QPair<double, double>> BlankSegments;
39
53 static QList<QList<BlankSegments>> parseBlankSegments( const QString &strBlankSegments, const QgsRenderContext &renderContext, Qgis::RenderUnit unit, QString &error );
54
55 private:
56
57};
58
59#endif
RenderUnit
Rendering size units.
Definition qgis.h:5305
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.
Contains information about the context of a rendering operation.