src/core/symbology-ng/qgssymbollayerv2utils.h File Reference

#include <QMap>
#include <Qt>
#include "qgssymbolv2.h"

Include dependency graph for qgssymbollayerv2utils.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  QgsSymbolLayerV2Utils


typedef QMap< QString, QString > QgsStringMap
typedef QMap< QString,
QgsSymbolV2 * > 


QPolygonF offsetLine (QPolygonF polyline, double dist)
 calculate line shifted by a specified distance

Typedef Documentation

typedef QMap<QString, QString> QgsStringMap

Definition at line 12 of file qgssymbollayerv2utils.h.

typedef QMap<QString, QgsSymbolV2* > QgsSymbolV2Map

Definition at line 15 of file qgssymbollayerv2utils.h.

Function Documentation

QPolygonF offsetLine ( QPolygonF  polyline,
double  dist 

calculate line shifted by a specified distance

Definition at line 343 of file qgssymbollayerv2utils.cpp.

References MathUtils::angle(), lineInfo(), linesIntersection(), M_PI, and offsetPoint().

Referenced by QgsMarkerLineSymbolLayerV2::renderPolyline(), and QgsSimpleLineSymbolLayerV2::renderPolyline().

Generated on Sat Feb 4 19:17:04 2012 for Quantum GIS API Documentation by  doxygen 1.5.6