I just discovered Graphics::drawVerticalLine() asserts if the first y coordinate is greater than the second.
g.drawVerticalLine(theRight, theTop, theTop + theOffset); //fine
g.drawVerticalLine(theRight, theTop+theOffset, theTop); //crash
This is because
LowLevelGraphicsSoftwareRenderer::clippedDrawVerticalLine() has the assert
jassert (top <= bottom);
It’s not a biggie, but it might be nice if drawVerticalLine would check, and flip the endpoints if needed.