jit.mgraphics - how to rotate an image_surface or the transform matrix?

    Feb 25 2012 | 10:26 am
    How do i rotate an image_surface or the transform matrix?

    • Mar 16 2012 | 10:10 am
    • Mar 19 2012 | 11:32 pm
      The rotate message works when used with svg_render.
    • Mar 20 2012 | 11:18 am
      Thanks for this.
      I'm wondering who is in charge for the jit.mgraphics object at cycling74. I posted a bug report when 6.0.3 was the current version. I didn't get a reply and in 6.0.4 it's still not working with image surfaces. Or do i miss something obvious?
    • Mar 20 2012 | 1:27 pm
      I recommend you check out the JSUI-MGraphics patch a day patches.
      In particular, look at the15th November entry which says "image drawing doesn't really survive the rotation process like you'd hope..." and the patch for 22nd November which says "..here is an example of using images with acceptable rotation. In order to do it, you have to actually create an image background for a surface, then use that as a rectangle fill. A little convoluted, but it allows you to use images in a warped environment..."
      Hope this helps, and good luck.
    • Mar 20 2012 | 4:07 pm
      Hi Karl,
      As Damien said, definitely check out the JSUI-MGraphics patch a day, lots of great tips and tricks in there. If you think you have found a bug, please contact Support by filling out the bug reporting form found here:
      Thanks, -Ben