68 QColor textColor()
const;
78 void setTextColor(
const QColor &textColor );
87 double fontPointSize()
const;
98 void setFontPointSize(
double size );
107 QString family()
const;
117 void setFamily(
const QString &family );
126 int fontWeight()
const;
137 void setFontWeight(
int fontWeight );
145 BooleanValue italic()
const;
153 void setItalic( BooleanValue enabled );
160 BooleanValue strikeOut()
const;
167 void setStrikeOut( BooleanValue enabled );
174 BooleanValue underline()
const;
181 void setUnderline( BooleanValue enabled );
188 BooleanValue overline()
const;
195 void setOverline( BooleanValue enabled );
206 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
211 int mFontWeight = -1;
213 BooleanValue mItalic = BooleanValue::NotSet;
214 double mFontPointSize = -1;
216 BooleanValue mStrikethrough = BooleanValue::NotSet;
217 BooleanValue mUnderline = BooleanValue::NotSet;
218 BooleanValue mOverline = BooleanValue::NotSet;
Contains information about the context of a rendering operation.