82 QColor textColor()
const;
92 void setTextColor(
const QColor &textColor );
104 double fontPointSize()
const;
118 void setFontPointSize(
double size );
129 double fontPercentageSize()
const;
142 void setFontPercentageSize(
double size );
151 QString family()
const;
161 void setFamily(
const QString &family );
170 int fontWeight()
const;
181 void setFontWeight(
int fontWeight );
189 double wordSpacing()
const;
197 void setWordSpacing(
double spacing );
205 BooleanValue italic()
const;
213 void setItalic( BooleanValue enabled );
220 BooleanValue strikeOut()
const;
227 void setStrikeOut( BooleanValue enabled );
234 BooleanValue underline()
const;
241 void setUnderline( BooleanValue enabled );
248 BooleanValue overline()
const;
255 void setOverline( BooleanValue enabled );
266 QString imagePath()
const;
277 void setImagePath(
const QString &path );
290 QSizeF imageSize()
const;
303 void setImageSize(
const QSizeF &size );
362 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
367 int mFontWeight = -1;
369 BooleanValue mItalic = BooleanValue::NotSet;
370 double mFontPointSize = -1;
371 double mFontPercentageSize = -1;
373 double mWordSpacing = std::numeric_limits< double >::quiet_NaN();
375 bool mHasVerticalAlignSet =
false;
381 BooleanValue mStrikethrough = BooleanValue::NotSet;
382 BooleanValue mUnderline = BooleanValue::NotSet;
383 BooleanValue mOverline = BooleanValue::NotSet;
Contains information about the context of a rendering operation.