QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Classes | Typedefs | Functions
qgssymbollayerv2utils.h File Reference
#include <QMap>
#include <Qt>
#include <QtCore>
#include <QFont>
#include <QColor>
#include <QPainter>
#include "qgssymbolv2.h"
#include "qgis.h"
#include "qgsmapunitscale.h"
Include dependency graph for qgssymbollayerv2utils.h:

Go to the source code of this file.

Classes

class  QgsSymbolLayerV2Utils
 

Typedefs

typedef QList< QPair< QColor, QString > > QgsNamedColorList
 
typedef QMap< QString, QStringQgsStringMap
 
typedef QMap< QString, QgsSymbolV2 *> QgsSymbolV2Map
 

Functions

QList< QPolygonFoffsetLine (const QPolygonF &polyline, double dist)
 
QList< QPolygonFoffsetLine (QPolygonF polyline, double dist, QGis::GeometryType geometryType)
 calculate geometry shifted by a specified distance More...
 

Typedef Documentation

◆ QgsNamedColorList

Definition at line 36 of file qgssymbollayerv2utils.h.

◆ QgsStringMap

Definition at line 32 of file qgssymbollayerv2utils.h.

◆ QgsSymbolV2Map

Definition at line 35 of file qgssymbollayerv2utils.h.

Function Documentation

◆ offsetLine() [1/2]

QList<QPolygonF> offsetLine ( const QPolygonF polyline,
double  dist 
)
Deprecated:
since 2.4 - calculate line shifted by a specified distance

Definition at line 927 of file qgssymbollayerv2utils.cpp.

◆ offsetLine() [2/2]

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

calculate geometry shifted by a specified distance

Definition at line 799 of file qgssymbollayerv2utils.cpp.