#include "qgssymbollayerv2utils.h"
#include "qgssymbollayerv2.h"
#include "qgssymbollayerv2registry.h"
#include "qgssymbolv2.h"
#include "qgsvectorcolorrampv2.h"
#include "qgsexpression.h"
#include "qgsapplication.h"
#include "qgsproject.h"
#include "qgsogcutils.h"
#include "qgslogger.h"
#include "qgsrendercontext.h"
#include <QColor>
#include <QFont>
#include <QDomDocument>
#include <QDomNode>
#include <QDomElement>
#include <QIcon>
#include <QPainter>
#include <QSettings>
#include <QRegExp>
#include <QPolygonF>
#include <cmath>
#include <cfloat>
Go to the source code of this file.
Functions |
static QString | _nameForSymbolType (QgsSymbolV2::SymbolType type) |
static bool | lineInfo (QPointF p1, QPointF p2, double &angle, double &t) |
static QPointF | linesIntersection (QPointF p1, double t1, QPointF p2, double t2) |
QList< QPolygonF > | offsetLine (QPolygonF polyline, double dist, QGis::GeometryType geometryType) |
| calculate geometry shifted by a specified distance
|
QList< QPolygonF > | offsetLine (QPolygonF polyline, double dist) |
static QPointF | offsetPoint (QPointF pt, double angle, double dist) |
Function Documentation
static bool lineInfo |
( |
QPointF |
p1, |
|
|
QPointF |
p2, |
|
|
double & |
angle, |
|
|
double & |
t |
|
) |
| |
|
static |
static QPointF linesIntersection |
( |
QPointF |
p1, |
|
|
double |
t1, |
|
|
QPointF |
p2, |
|
|
double |
t2 |
|
) |
| |
|
static |
QList<QPolygonF> offsetLine |
( |
QPolygonF |
polyline, |
|
|
double |
dist, |
|
|
QGis::GeometryType |
geometryType |
|
) |
| |
QList<QPolygonF> offsetLine |
( |
QPolygonF |
polyline, |
|
|
double |
dist |
|
) |
| |
static QPointF offsetPoint |
( |
QPointF |
pt, |
|
|
double |
angle, |
|
|
double |
dist |
|
) |
| |
|
static |