Re: JSUI-MGraphics patch-a-day


Darwin Grosse

Here is the patch for November 15, 2011:

Just like the translate and scale functions, we also need to play with the rotate function. However, unlike the previous investigations, this one shows a bit of funky action. Select the last menu item and adjust the number box. The rectangle and the text rotate cleanly, but the image has some issues…

Therein lies a limitation of the rotation function – image drawing doesn’t really survive the rotation process like you’d hope…

Enjoy!

(Note: There appeared to be a problem with the zip file. I’ve reuploaded, and it looks OK now.)

Nov 16, 2011 at 5:03am #214980