81 QColor textColor()
const;
91 void setTextColor(
const QColor &textColor );
103 double fontPointSize()
const;
117 void setFontPointSize(
double size );
128 double fontPercentageSize()
const;
141 void setFontPercentageSize(
double size );
150 QString family()
const;
160 void setFamily(
const QString &family );
169 int fontWeight()
const;
180 void setFontWeight(
int fontWeight );
188 double wordSpacing()
const;
196 void setWordSpacing(
double spacing );
204 BooleanValue italic()
const;
212 void setItalic( BooleanValue enabled );
219 BooleanValue strikeOut()
const;
226 void setStrikeOut( BooleanValue enabled );
233 BooleanValue underline()
const;
240 void setUnderline( BooleanValue enabled );
247 BooleanValue overline()
const;
254 void setOverline( BooleanValue enabled );
313 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
318 int mFontWeight = -1;
320 BooleanValue mItalic = BooleanValue::NotSet;
321 double mFontPointSize = -1;
322 double mFontPercentageSize = -1;
324 double mWordSpacing = std::numeric_limits< double >::quiet_NaN();
326 bool mHasVerticalAlignSet =
false;
329 BooleanValue mStrikethrough = BooleanValue::NotSet;
330 BooleanValue mUnderline = BooleanValue::NotSet;
331 BooleanValue mOverline = BooleanValue::NotSet;
Contains information about the context of a rendering operation.