|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A line containing a sequence of glyph-runs. More...
#include "juce_TextLayout.h"
Public Member Functions | |
| 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 |
| Range< float > | getLineBoundsX () const noexcept |
| Returns the X position range which contains all the glyphs in this line. | |
| Range< float > | getLineBoundsY () const noexcept |
| Returns the Y position range which contains all the glyphs in this line. | |
| Rectangle< float > | getLineBounds () const noexcept |
| Returns the smallest rectangle which contains all the glyphs in this line. | |
| void | swap (Line &other) noexcept |
Public Attributes | |
| OwnedArray< Run > | runs |
| The glyph-runs in this line. | |
| Range< int > | stringRange |
| The character range that this line represents in the original string that was used to create it. | |
| Point< float > | lineOrigin |
| The line's baseline origin. | |
| float | ascent |
| float | descent |
| float | leading |
A line containing a sequence of glyph-runs.
Definition at line 185 of file juce_TextLayout.h.
| juce::TextLayout::Line::Line | ( | Range< int > | stringRange, |
| Point< float > | lineOrigin, | ||
| float | ascent, | ||
| float | descent, | ||
| float | leading, | ||
| int | numRunsToPreallocate | ||
| ) |
Definition at line 70 of file juce_TextLayout.cpp.
Definition at line 78 of file juce_TextLayout.cpp.
Returns the smallest rectangle which contains all the glyphs in this line.
Definition at line 121 of file juce_TextLayout.cpp.
Returns the X position range which contains all the glyphs in this line.
Definition at line 92 of file juce_TextLayout.cpp.
Returns the Y position range which contains all the glyphs in this line.
Definition at line 115 of file juce_TextLayout.cpp.
| TextLayout::Line & juce::TextLayout::Line::operator= | ( | const Line & | other | ) |
Definition at line 85 of file juce_TextLayout.cpp.
Definition at line 129 of file juce_TextLayout.cpp.
| float juce::TextLayout::Line::ascent |
Definition at line 215 of file juce_TextLayout.h.
| float juce::TextLayout::Line::descent |
Definition at line 215 of file juce_TextLayout.h.
| float juce::TextLayout::Line::leading |
Definition at line 215 of file juce_TextLayout.h.
The line's baseline origin.
Definition at line 214 of file juce_TextLayout.h.
| OwnedArray<Run> juce::TextLayout::Line::runs |
The glyph-runs in this line.
Definition at line 211 of file juce_TextLayout.h.
The character range that this line represents in the original string that was used to create it.
Definition at line 212 of file juce_TextLayout.h.