81 QColor textColor()
const;
91 void setTextColor(
const QColor &textColor );
100 double fontPointSize()
const;
111 void setFontPointSize(
double size );
120 QString family()
const;
130 void setFamily(
const QString &family );
139 int fontWeight()
const;
150 void setFontWeight(
int fontWeight );
158 BooleanValue italic()
const;
166 void setItalic( BooleanValue enabled );
173 BooleanValue strikeOut()
const;
180 void setStrikeOut( BooleanValue enabled );
187 BooleanValue underline()
const;
194 void setUnderline( BooleanValue enabled );
201 BooleanValue overline()
const;
208 void setOverline( BooleanValue enabled );
267 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
272 int mFontWeight = -1;
274 BooleanValue mItalic = BooleanValue::NotSet;
275 double mFontPointSize = -1;
278 bool mHasVerticalAlignSet =
false;
281 BooleanValue mStrikethrough = BooleanValue::NotSet;
282 BooleanValue mUnderline = BooleanValue::NotSet;
283 BooleanValue mOverline = BooleanValue::NotSet;
Contains information about the context of a rendering operation.