|
|
|
@@ -273,7 +273,8 @@ void Graphics::drawSingleLineText (const String& text, const int startX, const i |
|
|
|
}
|
|
|
|
|
|
|
|
void Graphics::drawMultiLineText (const String& text, const int startX,
|
|
|
|
const int baselineY, const int maximumLineWidth) const
|
|
|
|
const int baselineY, const int maximumLineWidth,
|
|
|
|
Justification justification) const
|
|
|
|
{
|
|
|
|
if (text.isNotEmpty()
|
|
|
|
&& startX < context.getClipBounds().getRight())
|
|
|
|
@@ -281,7 +282,7 @@ void Graphics::drawMultiLineText (const String& text, const int startX, |
|
|
|
GlyphArrangement arr;
|
|
|
|
arr.addJustifiedText (context.getFont(), text,
|
|
|
|
(float) startX, (float) baselineY, (float) maximumLineWidth,
|
|
|
|
Justification::left);
|
|
|
|
justification);
|
|
|
|
arr.draw (*this);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|