Re: JSUI-MGraphics patch-a-day

Forums > Javascript > JSUI-MGraphics patch-a-day
November 16, 2011 | 5:03 am

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…


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