QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
#include "qgssymbollayerutils.h"
#include "qgssymbollayer.h"
#include "qgssymbollayerregistry.h"
#include "qgssymbol.h"
#include "qgscolorramp.h"
#include "qgscolorrampimpl.h"
#include "qgscolorutils.h"
#include "qgsexpression.h"
#include "qgsexpressionnode.h"
#include "qgspainteffect.h"
#include "qgspainteffectregistry.h"
#include "qgsapplication.h"
#include "qgspathresolver.h"
#include "qgsogcutils.h"
#include "qgslogger.h"
#include "qgsreadwritecontext.h"
#include "qgsrendercontext.h"
#include "qgsunittypes.h"
#include "qgsexpressioncontextutils.h"
#include "qgsstyleentityvisitor.h"
#include "qgsrenderer.h"
#include "qgsxmlutils.h"
#include "qgsfillsymbollayer.h"
#include "qgslinesymbollayer.h"
#include "qgslinesymbol.h"
#include "qgsmarkersymbol.h"
#include "qgsfillsymbol.h"
#include "qgssymbollayerreference.h"
#include "qgsmarkersymbollayer.h"
#include "qgscurvepolygon.h"
#include "qmath.h"
#include <QColor>
#include <QFont>
#include <QDomDocument>
#include <QDomNode>
#include <QDomElement>
#include <QIcon>
#include <QPainter>
#include <QSettings>
#include <QPicture>
#include <QUrl>
#include <QUrlQuery>
#include <QMimeData>
#include <QRegularExpression>
#include <QDir>
#include <QPolygonF>
#include <cmath>
#include <cfloat>
Go to the source code of this file.
Macros | |
#define | POINTS_TO_MM 2.83464567 |
Functions | |
template<typename Functor > | |
void | changeSymbolLayerIds (QgsSymbol *symbol, Functor &&generateId) |
template<typename Functor > | |
void | changeSymbolLayerIds (QgsSymbolLayer *sl, Functor &&generateId) |
QPolygonF | curveToPolygonF (const QgsCurve *curve) |
QPolygonF | lineStringToQPolygonF (const QgsLineString *line) |
QList< QPolygonF > | offsetLine (QPolygonF polyline, double dist, Qgis::GeometryType geometryType) |
calculate geometry shifted by a specified distance | |
#define POINTS_TO_MM 2.83464567 |
Definition at line 64 of file qgssymbollayerutils.cpp.
void changeSymbolLayerIds | ( | QgsSymbol * | symbol, |
Functor && | generateId | ||
) |
Definition at line 5584 of file qgssymbollayerutils.cpp.
void changeSymbolLayerIds | ( | QgsSymbolLayer * | sl, |
Functor && | generateId | ||
) |
Definition at line 5573 of file qgssymbollayerutils.cpp.
QPolygonF curveToPolygonF | ( | const QgsCurve * | curve | ) |
Definition at line 4485 of file qgssymbollayerutils.cpp.
QPolygonF lineStringToQPolygonF | ( | const QgsLineString * | line | ) |
Definition at line 4471 of file qgssymbollayerutils.cpp.
QList< QPolygonF > offsetLine | ( | QPolygonF | polyline, |
double | dist, | ||
Qgis::GeometryType | geometryType | ||
) |
calculate geometry shifted by a specified distance
Definition at line 1168 of file qgssymbollayerutils.cpp.