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
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::TextLayout::Run Class Reference

A sequence of glyphs with a common font and colour. More...

#include "juce_TextLayout.h"

Public Member Functions

 Run (Range< int > stringRange, int numGlyphsToPreallocate)
 
Range< floatgetRunBoundsX () 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< Glyphglyphs
 The glyphs in this run.
 
Range< intstringRange
 The character range that this run represents in the original string that was used to create it.
 

Detailed Description

A sequence of glyphs with a common font and colour.

Definition at line 165 of file juce_TextLayout.h.

Constructor & Destructor Documentation

◆ Run()

juce::TextLayout::Run::Run ( Range< int stringRange,
int  numGlyphsToPreallocate 
)

Definition at line 40 of file juce_TextLayout.cpp.

Member Function Documentation

◆ getRunBoundsX()

Range< float > juce::TextLayout::Run::getRunBoundsX ( ) const
noexcept

Returns the X position range which contains all the glyphs in this run.

Definition at line 46 of file juce_TextLayout.cpp.

Member Data Documentation

◆ colour

Colour juce::TextLayout::Run::colour

The run's colour.

Definition at line 175 of file juce_TextLayout.h.

◆ font

Font juce::TextLayout::Run::font

The run's font.

Definition at line 174 of file juce_TextLayout.h.

◆ glyphs

Array<Glyph> juce::TextLayout::Run::glyphs

The glyphs in this run.

Definition at line 176 of file juce_TextLayout.h.

◆ stringRange

Range<int> juce::TextLayout::Run::stringRange

The character range that this run represents in the original string that was used to create it.

Definition at line 177 of file juce_TextLayout.h.


The documentation for this class was generated from the following files: