16 #ifndef QGSTEXTSHADOWSETTINGS_H
17 #define QGSTEXTSHADOWSETTINGS_H
22 #include <QSharedDataPointer>
24 #include <QDomElement>
26 class QgsTextShadowSettingsPrivate;
78 void setEnabled(
bool enabled );
102 int offsetAngle()
const;
110 void setOffsetAngle(
int angle );
118 double offsetDistance()
const;
127 void setOffsetDistance(
double distance );
165 bool offsetGlobal()
const;
171 void setOffsetGlobal(
bool global );
178 double blurRadius()
const;
186 void setBlurRadius(
double blurRadius );
224 bool blurAlphaOnly()
const;
232 void setBlurAlphaOnly(
bool alphaOnly );
239 double opacity()
const;
247 void setOpacity(
double opacity );
260 void setScale(
int scale );
266 QColor color()
const;
273 void setColor(
const QColor &color );
279 QPainter::CompositionMode blendMode()
const;
286 void setBlendMode( QPainter::CompositionMode mode );
298 void readXml(
const QDomElement &elem );
304 QDomElement writeXml( QDomDocument &doc )
const;
320 QSharedDataPointer<QgsTextShadowSettingsPrivate> d;
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.
RenderUnit
Rendering size units.
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)