Re: JSUI-MGraphics patch-a-day


Forums > Javascript > JSUI-MGraphics patch-a-day
November 28, 2011 | 7:14 pm

Here is the patch for November 28, 2011:

Sometimes it is more convenient to do your drawing with another program, then use JSUI to do the display. The problem is that scaling can get to be sort of grainy. Not the case if you use the SVG file format for the drawing – and use the svg_render() function to render it into the current user space.

This patch includes a little SVG I created in Illustrator; I use it within JSUI to create a cool little animation with almost no code.

Enjoy!