83 QColor textColor()
const;
93 void setTextColor(
const QColor &textColor );
105 double fontPointSize()
const;
119 void setFontPointSize(
double size );
130 double fontPercentageSize()
const;
143 void setFontPercentageSize(
double size );
152 QString family()
const;
162 void setFamily(
const QString &family );
171 int fontWeight()
const;
182 void setFontWeight(
int fontWeight );
190 double wordSpacing()
const;
198 void setWordSpacing(
double spacing );
206 BooleanValue italic()
const;
214 void setItalic( BooleanValue enabled );
221 BooleanValue strikeOut()
const;
228 void setStrikeOut( BooleanValue enabled );
235 BooleanValue underline()
const;
242 void setUnderline( BooleanValue enabled );
249 BooleanValue overline()
const;
256 void setOverline( BooleanValue enabled );
267 QString imagePath()
const;
278 void setImagePath(
const QString &path );
291 QSizeF imageSize()
const;
304 void setImageSize(
const QSizeF &size );
360 bool hasBackground()
const;
371 QBrush backgroundBrush()
const;
381 void setBackgroundBrush(
const QBrush &brush );
392 QString backgroundImagePath()
const;
402 void setBackgroundImagePath(
const QString &path );
413 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
418 int mFontWeight = -1;
420 BooleanValue mItalic = BooleanValue::NotSet;
421 double mFontPointSize = -1;
422 double mFontPercentageSize = -1;
424 double mWordSpacing = std::numeric_limits< double >::quiet_NaN();
426 bool mHasVerticalAlignSet =
false;
432 BooleanValue mStrikethrough = BooleanValue::NotSet;
433 BooleanValue mUnderline = BooleanValue::NotSet;
434 BooleanValue mOverline = BooleanValue::NotSet;
436 QBrush mBackgroundBrush;
437 QString mBackgroundPath;
Contains information about the context of a rendering operation.