70 void moveBy (
float deltaX,
float deltaY);
86 void createPath (
Path& path)
const;
89 bool hitTest (
float x,
float y)
const;
158 void addLineOfText (
const Font& font,
168 void addCurtailedLineOfText (
const Font& font,
171 float maxWidthPixels,
187 void addJustifiedText (
const Font& font,
192 float leading = 0.0f);
213 void addFittedText (
const Font& font,
217 int maximumLinesToUse,
218 float minimumHorizontalScale = 0.0f);
244 void createPath (
Path& path)
const;
249 int findGlyphIndexAt (
float x,
float y)
const;
261 Rectangle<float> getBoundingBox (
int startIndex,
int numGlyphs,
bool includeWhitespace)
const;
271 void moveRangeOfGlyphs (
int startIndex,
int numGlyphs,
272 float deltaX,
float deltaY);
280 void removeRangeOfGlyphs (
int startIndex,
int numGlyphs);
289 void stretchRangeOfGlyphs (
int startIndex,
int numGlyphs,
290 float horizontalScaleFactor);
300 void justifyGlyphs (
int startIndex,
int numGlyphs,
314 float lineWidth,
Justification,
float minimumHorizontalScale);
#define noexcept
Definition DistrhoDefines.h:72
#define final
Definition DistrhoDefines.h:74
Definition juce_Array.h:56
Definition juce_Font.h:42
Definition juce_GlyphArrangement.h:117
void splitLines(const String &, Font, int start, float x, float y, float w, float h, int maxLines, float lineWidth, Justification, float minimumHorizontalScale)
Definition juce_GlyphArrangement.cpp:557
void addLinesWithLineBreaks(const String &, const Font &, float x, float y, float width, float height, Justification)
Definition juce_GlyphArrangement.cpp:376
GlyphArrangement(const GlyphArrangement &)=default
GlyphArrangement(GlyphArrangement &&)=default
int getNumGlyphs() const noexcept
Definition juce_GlyphArrangement.h:133
int insertEllipsis(const Font &, float maxXPos, int startIndex, int endIndex)
Definition juce_GlyphArrangement.cpp:187
Array< PositionedGlyph > glyphs
Definition juce_GlyphArrangement.h:307
~GlyphArrangement()=default
GlyphArrangement()
Definition juce_GlyphArrangement.cpp:111
const PositionedGlyph * end() const
Definition juce_GlyphArrangement.h:144
void drawGlyphUnderline(const Graphics &, const PositionedGlyph &, int, AffineTransform) const
Definition juce_GlyphArrangement.cpp:692
const PositionedGlyph * begin() const
Definition juce_GlyphArrangement.h:143
int fitLineIntoSpace(int start, int numGlyphs, float x, float y, float w, float h, const Font &, Justification, float minimumHorizontalScale)
Definition juce_GlyphArrangement.cpp:393
void spreadOutLine(int start, int numGlyphs, float targetWidth)
Definition juce_GlyphArrangement.cpp:509
Definition juce_GraphicsContext.h:45
Definition juce_Justification.h:41
Definition juce_Path.h:65
Definition juce_GlyphArrangement.h:42
float getBaselineY() const noexcept
Definition juce_GlyphArrangement.h:60
PositionedGlyph() noexcept
Definition juce_GlyphArrangement.cpp:37
float w
Definition juce_GlyphArrangement.h:97
float y
Definition juce_GlyphArrangement.h:97
juce_wchar getCharacter() const noexcept
Definition juce_GlyphArrangement.h:51
friend class GlyphArrangement
Definition juce_GlyphArrangement.h:93
bool isWhitespace() const noexcept
Definition juce_GlyphArrangement.h:53
float x
Definition juce_GlyphArrangement.h:97
float getRight() const noexcept
Definition juce_GlyphArrangement.h:58
float getBottom() const
Definition juce_GlyphArrangement.h:64
int glyph
Definition juce_GlyphArrangement.h:96
float getTop() const
Definition juce_GlyphArrangement.h:62
bool whitespace
Definition juce_GlyphArrangement.h:98
Font font
Definition juce_GlyphArrangement.h:94
float getLeft() const noexcept
Definition juce_GlyphArrangement.h:56
Rectangle< float > getBounds() const
Definition juce_GlyphArrangement.h:66
juce_wchar character
Definition juce_GlyphArrangement.h:95
Definition juce_Rectangle.h:67
Definition juce_String.h:53
UINT_D64 w
Definition inflate.c:942
int y
Definition inflate.c:1588
int g
Definition inflate.c:1573
unsigned x[BMAX+1]
Definition inflate.c:1586
static int int height
Definition pugl.h:1594
static int width
Definition pugl.h:1593
virtual ASIOError start()=0
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition juce_LeakedObjectDetector.h:138
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
wchar_t juce_wchar
Definition juce_CharacterFunctions.h:42
const char * text
Definition swell-functions.h:167
uch h[RAND_HEAD_LEN]
Definition crypt.c:459
#define const
Definition zconf.h:137