|
QGIS API Documentation
2.2.0-Valmiera
|
#include <QMap>#include <Qt>#include <QtCore>#include <QFont>#include <QColor>#include "qgssymbolv2.h"#include "qgis.h"

Go to the source code of this file.
Classes | |
| class | QgsSymbolLayerV2Utils |
Typedefs | |
| typedef QMap< QString, QString > | QgsStringMap |
| typedef QMap< QString, QgsSymbolV2 * > | QgsSymbolV2Map |
Functions | |
| QPolygonF | offsetLine (QPolygonF polyline, double dist) |
| calculate line shifted by a specified distance | |
| typedef QMap<QString, QString> QgsStringMap |
Definition at line 30 of file qgssymbollayerv2utils.h.
| typedef QMap<QString, QgsSymbolV2* > QgsSymbolV2Map |
Definition at line 33 of file qgssymbollayerv2utils.h.
| QPolygonF offsetLine | ( | QPolygonF | polyline, |
| double | dist | ||
| ) |
calculate line shifted by a specified distance
Definition at line 649 of file qgssymbollayerv2utils.cpp.
References MathUtils::angle(), lineInfo(), linesIntersection(), M_PI, and offsetPoint().
Referenced by QgsSimpleLineSymbolLayerV2::renderPolyline(), and QgsMarkerLineSymbolLayerV2::renderPolyline().
1.8.1.2