QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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, QString > QgsStringMap
 
typedef QMap< QString,
QgsSymbolV2 * > 
QgsSymbolV2Map
 

Functions

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

Typedef Documentation

typedef QList< QPair< QColor, QString > > QgsNamedColorList

Definition at line 36 of file qgssymbollayerv2utils.h.

typedef QMap<QString, QString> QgsStringMap

Definition at line 32 of file qgssymbollayerv2utils.h.

typedef QMap<QString, QgsSymbolV2* > QgsSymbolV2Map

Definition at line 35 of file qgssymbollayerv2utils.h.

Function Documentation

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

Definition at line 836 of file qgssymbollayerv2utils.cpp.

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

calculate geometry shifted by a specified distance

Definition at line 712 of file qgssymbollayerv2utils.cpp.