JUCE
|
A sequence of glyphs with a common font and colour. More...
#include <juce_TextLayout.h>
Public Member Functions | |
Run () noexcept | |
Run (const Run &) | |
Run (Range< int > stringRange, int numGlyphsToPreallocate) | |
~Run () noexcept | |
Range< float > | getRunBoundsX () const noexcept |
Returns the X position range which contains all the glyphs in this run. | |
Public Attributes | |
Font | font |
The run's font. | |
Colour | colour |
The run's colour. | |
Array< Glyph > | glyphs |
The glyphs in this run. | |
Range< int > | stringRange |
The character range that this run represents in the original string that was used to create it. | |
A sequence of glyphs with a common font and colour.
TextLayout::Run::Run | ( | Range< int > | stringRange, |
int | numGlyphsToPreallocate ) |
References Run(), and stringRange.
|
noexcept |
References Run().
|
noexcept |
Returns the X position range which contains all the glyphs in this run.
References getRunBoundsX().
Referenced by getRunBoundsX().
Font TextLayout::Run::font |
The run's font.
Colour TextLayout::Run::colour |
The run's colour.
Range<int> TextLayout::Run::stringRange |
The character range that this run represents in the original string that was used to create it.
Referenced by Run().