QGIS API Documentation 3.41.0-Master (25ec5511245)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
qgssymbollayerutils.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include <QMap>
#include <QFont>
#include <QColor>
#include <QPainter>
#include "qgis.h"
#include "qgsmapunitscale.h"
#include "qgscolorramp.h"
#include "qgsarrowsymbollayer.h"
#include "qgssymbol.h"
#include <QFile>
Include dependency graph for qgssymbollayerutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsSymbolLayerUtils
 Contains utility functions for working with symbols and symbol layers. More...
 

Macros

#define FONTMARKER_CHR_FIX   "~!_#!#_!~"
 

Typedefs

typedef QList< QPair< QColor, QString > > QgsNamedColorList
 
typedef QMap< QString, QString > QgsStringMap
 
typedef QMap< QString, QgsSymbol * > QgsSymbolMap
 

Functions

QList< QPolygonF > offsetLine (QPolygonF polyline, double dist, Qgis::GeometryType geometryType)
 calculate geometry shifted by a specified distance
 

Macro Definition Documentation

◆ FONTMARKER_CHR_FIX

#define FONTMARKER_CHR_FIX   "~!_#!#_!~"

Definition at line 34 of file qgssymbollayerutils.h.

Typedef Documentation

◆ QgsNamedColorList

typedef QList< QPair< QColor, QString > > QgsNamedColorList

Definition at line 43 of file qgssymbollayerutils.h.

◆ QgsStringMap

typedef QMap<QString, QString> QgsStringMap

Definition at line 41 of file qgssymbollayerutils.h.

◆ QgsSymbolMap

typedef QMap<QString, QgsSymbol * > QgsSymbolMap

Definition at line 42 of file qgssymbollayerutils.h.

Function Documentation

◆ offsetLine()

QList< QPolygonF > offsetLine ( QPolygonF  polyline,
double  dist,
Qgis::GeometryType  geometryType 
)

calculate geometry shifted by a specified distance

Definition at line 1154 of file qgssymbollayerutils.cpp.