|
LMMS
|
#include <juce_TextLayout.h>
Public Member Functions | |
| Line ()=default | |
| Line (Range< int > stringRange, Point< float > lineOrigin, float ascent, float descent, float leading, int numRunsToPreallocate) | |
| Line (const Line &) | |
| Line & | operator= (const Line &) |
| Line (Line &&) noexcept=default | |
| Line & | operator= (Line &&) noexcept=default |
| ~Line () noexcept=default | |
| Range< float > | getLineBoundsX () const noexcept |
| Range< float > | getLineBoundsY () const noexcept |
| Rectangle< float > | getLineBounds () const noexcept |
| void | swap (Line &other) noexcept |
Public Attributes | |
| OwnedArray< Run > | runs |
| Range< int > | stringRange |
| Point< float > | lineOrigin |
| float | ascent = 0.0f |
| float | descent = 0.0f |
| float | leading = 0.0f |
A line containing a sequence of glyph-runs.
|
default |
| juce::TextLayout::Line::Line | ( | Range< int > | stringRange, |
| Point< float > | lineOrigin, | ||
| float | ascent, | ||
| float | descent, | ||
| float | leading, | ||
| int | numRunsToPreallocate ) |
| juce::TextLayout::Line::Line | ( | const Line & | other | ) |
|
defaultnoexcept |
|
defaultnoexcept |
|
noexcept |
Returns the smallest rectangle which contains all the glyphs in this line.
|
noexcept |
Returns the X position range which contains all the glyphs in this line.
|
noexcept |
Returns the Y position range which contains all the glyphs in this line.
| TextLayout::Line & juce::TextLayout::Line::operator= | ( | const Line & | other | ) |
| float juce::TextLayout::Line::ascent = 0.0f |
| float juce::TextLayout::Line::descent = 0.0f |
| float juce::TextLayout::Line::leading = 0.0f |
| Point<float> juce::TextLayout::Line::lineOrigin |
The line's baseline origin.
| OwnedArray<Run> juce::TextLayout::Line::runs |
The glyph-runs in this line.
The character range that this line represents in the original string that was used to create it.