Options that can be used to affect the layout produced by GlyphArrangement::addFittedText.
More...
Options that can be used to affect the layout produced by GlyphArrangement::addFittedText.
- See also
- GlyphArrangement::addFittedText
◆ withLineSpacing()
We increment the distance between the baselines of subsequent lines with this value.
Line spacing is added below the line's descender, and doesn't affect the first line's baseline.
The total distance between baselines is lineHeight * lineHeightMultiple + lineSpacing.
References withMember(), and x.
◆ withLineHeightMultiple()
We multiply the original distance between the baselines of subsequent lines with this value.
The line height multiple is applied to both the ascender and descender, hence it affects the first line's baseline.
The total distance between baselines is lineHeight * lineHeightMultiple + lineSpacing.
References withMember(), and x.
◆ getLineSpacing()
const auto & GlyphArrangementOptions::getLineSpacing |
( |
| ) |
const |
◆ getLineHeightMultiple()
const auto & GlyphArrangementOptions::getLineHeightMultiple |
( |
| ) |
const |
◆ operator==()
◆ operator!=()
◆ operator<()
◆ operator<=()
Less-than-or-equal operator.
◆ operator>()
◆ operator>=()
Greater-than-or-equal operator.