125 double lineHeight()
const;
140 void setLineHeight(
double height );
152 double lineHeightPercentage()
const;
166 void setLineHeightPercentage(
double height );
190 bool hasBackground()
const;
201 QBrush backgroundBrush()
const;
211 void setBackgroundBrush(
const QBrush &brush );
222 QString backgroundImagePath()
const;
232 void setBackgroundImagePath(
const QString &path );
243 void updateFontForFormat( QFont &font,
const QgsRenderContext &context,
double scaleFactor = 1.0 )
const;
246 QBrush mBackgroundBrush;
247 QString mBackgroundPath;
249 double mLineHeight = std::numeric_limits< double >::quiet_NaN();
250 double mLineHeightPercentage = std::numeric_limits< double >::quiet_NaN();
252 bool mHasHorizontalAlignSet =
false;
255 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.