16#ifndef QGSTEXTSHADOWSETTINGS_H
17#define QGSTEXTSHADOWSETTINGS_H
21#include <QSharedDataPointer>
25class QgsTextShadowSettingsPrivate;
77 void setEnabled(
bool enabled );
101 int offsetAngle()
const;
109 void setOffsetAngle(
int angle );
117 double offsetDistance()
const;
126 void setOffsetDistance(
double distance );
164 bool offsetGlobal()
const;
170 void setOffsetGlobal(
bool global );
177 double blurRadius()
const;
185 void setBlurRadius(
double blurRadius );
223 bool blurAlphaOnly()
const;
231 void setBlurAlphaOnly(
bool alphaOnly );
238 double opacity()
const;
246 void setOpacity(
double opacity );
259 void setScale(
int scale );
265 QColor color()
const;
272 void setColor(
const QColor &color );
278 QPainter::CompositionMode blendMode()
const;
285 void setBlendMode( QPainter::CompositionMode mode );
297 void readXml(
const QDomElement &elem );
303 QDomElement writeXml( QDomDocument &doc )
const;
319 QSharedDataPointer<QgsTextShadowSettingsPrivate> d;
RenderUnit
Rendering size units.
Struct for storing maximum and minimum scales for measurements in map units.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Contains information about the context of a rendering operation.
Container for settings relating to a text shadow.
ShadowPlacement
Placement positions for text shadow.
@ ShadowBuffer
Draw shadow under buffer.
@ ShadowText
Draw shadow under text.
Represents a vector layer which manages a vector based data sets.
double ANALYSIS_EXPORT angle(QgsPoint *p1, QgsPoint *p2, QgsPoint *p3, QgsPoint *p4)
Calculates the angle between two segments (in 2 dimension, z-values are ignored)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)