I can draw an image. Now how do you mirror / flip it?

Now I’m starting to understand the solution provided here: How to mirror an Image and change its colour

Personally, I think a simple image flipping function should be added to JUCE, used like this

Image flippedImage = flipImageHorizontal(originalImage) // and of course create a vertical version as well