Home › Forums › General › Programming › How to use createDashedStroke › Reply To: How to use createDashedStroke
August 12, 2014 at 1:34 pm
#27415
Here is the comment from Jules that’s inside the library code:
//==============================================================================
void Graphics::drawSingleLineText (const String& text, const int startX, const int baselineY,
Justification justification) const
{
if (text.isNotEmpty())
{
// Don't pass any vertical placement flags to this method - they'll be ignored.
jassert (justification.getOnlyVerticalFlags() == 0);
const int flags = justification.getOnlyHorizontalFlags();