QGIS API Documentation  3.17.0-Master (a035f434f4)
Classes | Typedefs | Functions
qgssymbollayerutils.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include <QMap>
#include <Qt>
#include <QtCore>
#include <QFont>
#include <QColor>
#include <QPainter>
#include "qgssymbol.h"
#include "qgis.h"
#include "qgsmapunitscale.h"
#include "qgscolorramp.h"
#include "qgsarrowsymbollayer.h"
Include dependency graph for qgssymbollayerutils.h:

Go to the source code of this file.

Classes

class  QgsSymbolLayerUtils
 

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, QgsWkbTypes::GeometryType geometryType)
 calculate geometry shifted by a specified distance More...
 

Typedef Documentation

◆ QgsNamedColorList

typedef QList< QPair< QColor, QString > > QgsNamedColorList

Definition at line 41 of file qgssymbollayerutils.h.

◆ QgsStringMap

typedef QMap<QString, QString> QgsStringMap

Definition at line 37 of file qgssymbollayerutils.h.

◆ QgsSymbolMap

typedef QMap<QString, QgsSymbol * > QgsSymbolMap

Definition at line 40 of file qgssymbollayerutils.h.

Function Documentation

◆ offsetLine()

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

calculate geometry shifted by a specified distance

Definition at line 968 of file qgssymbollayerutils.cpp.