84 QColor textColor()
const;
94 void setTextColor(
const QColor &textColor );
103 double fontPointSize()
const;
114 void setFontPointSize(
double size );
123 QString family()
const;
133 void setFamily(
const QString &family );
142 int fontWeight()
const;
153 void setFontWeight(
int fontWeight );
161 BooleanValue italic()
const;
169 void setItalic( BooleanValue enabled );
176 BooleanValue strikeOut()
const;
183 void setStrikeOut( BooleanValue enabled );
190 BooleanValue underline()
const;
197 void setUnderline( BooleanValue enabled );
204 BooleanValue overline()
const;
211 void setOverline( BooleanValue enabled );
270 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
275 int mFontWeight = -1;
277 BooleanValue mItalic = BooleanValue::NotSet;
278 double mFontPointSize = -1;
281 bool mHasVerticalAlignSet =
false;
284 BooleanValue mStrikethrough = BooleanValue::NotSet;
285 BooleanValue mUnderline = BooleanValue::NotSet;
286 BooleanValue mOverline = BooleanValue::NotSet;
Contains information about the context of a rendering operation.