AffineTransform::scale not working


#1

I'm juce 2.1.7

The following used to work in previous versions. Sorry I had not check it for a long time.

     g.saveState();
     g.addTransform( AffineTransform::scale( 1, -1, 40, 40 ) );
     g.drawSingleLineText( "B", 40, 40 );
     g.restoreState();

This does not work. The character is not drawn. Flipping it horizontal works, but not vertical.


#2

Thanks - fixed now.