Re: JSUI-MGraphics patch-a-day


Darwin Grosse

Here is the patch for November 2, 2011:

BezStrokes is a bit different: it uses the Bezier curve drawing function to create a simple loop from the top, toward the bottom, then back up to the top. I also use “relative coordinate” mode, and have to calculate the aspect ratio in order to fill the display area. Relative coordinates can be easier to work with for arbitrary object sizes, but you have somewhat less control over the actual draw positions.

Enjoy!

Attachments:
  1. 1102BezStrokes.zip
Nov 2, 2011 at 3:07pm #214952