QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Macros | Functions
qgssymbollayerutils.cpp File Reference
#include "qgssymbollayerutils.h"
#include "qgssymbollayer.h"
#include "qgssymbollayerregistry.h"
#include "qgssymbol.h"
#include "qgscolorramp.h"
#include "qgsexpression.h"
#include "qgsexpressionnode.h"
#include "qgspainteffect.h"
#include "qgspainteffectregistry.h"
#include "qgsapplication.h"
#include "qgspathresolver.h"
#include "qgsproject.h"
#include "qgsogcutils.h"
#include "qgslogger.h"
#include "qgsreadwritecontext.h"
#include "qgsrendercontext.h"
#include "qgsunittypes.h"
#include "qgsexpressioncontextutils.h"
#include "qgseffectstack.h"
#include "qgsstyleentityvisitor.h"
#include "qgsrenderer.h"
#include <QColor>
#include <QFont>
#include <QDomDocument>
#include <QDomNode>
#include <QDomElement>
#include <QIcon>
#include <QPainter>
#include <QSettings>
#include <QRegExp>
#include <QPicture>
#include <QPolygonF>
#include <cmath>
#include <cfloat>
Include dependency graph for qgssymbollayerutils.cpp:

Go to the source code of this file.

Macros

#define POINTS_TO_MM   2.83464567
 

Functions

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

Macro Definition Documentation

◆ POINTS_TO_MM

#define POINTS_TO_MM   2.83464567

Definition at line 50 of file qgssymbollayerutils.cpp.

Function Documentation

◆ offsetLine()

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

calculate geometry shifted by a specified distance

Definition at line 966 of file qgssymbollayerutils.cpp.