126 double lineHeight()
const;
141 void setLineHeight(
double height );
153 double lineHeightPercentage()
const;
167 void setLineHeightPercentage(
double height );
191 bool hasBackground()
const;
202 QBrush backgroundBrush()
const;
212 void setBackgroundBrush(
const QBrush &brush );
223 QString backgroundImagePath()
const;
233 void setBackgroundImagePath(
const QString &path );
244 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
248 QBrush mBackgroundBrush;
249 QString mBackgroundPath;
251 double mLineHeight = std::numeric_limits< double >::quiet_NaN();
252 double mLineHeightPercentage = std::numeric_limits< double >::quiet_NaN();
254 bool mHasHorizontalAlignSet =
false;
257 QgsMargins mMargins { std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN() };
Contains information about the context of a rendering operation.