|
|
|
@@ -116,7 +116,7 @@ public: |
|
|
|
Note there's also a setFont (float, int) method to quickly change the size and
|
|
|
|
style of the current font.
|
|
|
|
|
|
|
|
@see drawSingleLineText, drawMultiLineText, drawTextAsPath, drawText, drawFittedText
|
|
|
|
@see drawSingleLineText, drawMultiLineText, drawText, drawFittedText
|
|
|
|
*/
|
|
|
|
void setFont (const Font& newFont);
|
|
|
|
|
|
|
|
@@ -158,17 +158,6 @@ public: |
|
|
|
int startX, int baselineY,
|
|
|
|
int maximumLineWidth) const;
|
|
|
|
|
|
|
|
/** Renders a string of text as a vector path.
|
|
|
|
|
|
|
|
This allows a string to be transformed with an arbitrary AffineTransform and
|
|
|
|
rendered using the current colour/brush. It's much slower than the normal text methods
|
|
|
|
but more accurate.
|
|
|
|
|
|
|
|
@see setFont
|
|
|
|
*/
|
|
|
|
void drawTextAsPath (const String& text,
|
|
|
|
const AffineTransform& transform) const;
|
|
|
|
|
|
|
|
/** Draws a line of text within a specified rectangle.
|
|
|
|
|
|
|
|
The text will be positioned within the rectangle based on the justification
|
|
|
|
|