#Anyone seen a B-Spline?
03-Jan-89 20:33:21
Sb: #28596-#Anyone seen a B-Spline?
Fm: John Draper 76703,4322
To: Art Steinmetz 76044,3204
Art,
I did a thing to draw a rectangle in ABasic back in '85. The algorithm is
fairly simple. Get your x and y starting point, and the x and y ending points,
and draw the four lines. Assume x1, y1 are start values for x and y, and x2,y2
are end values:
Draw x1,y1 to x2,y1
Draw x2,y1 to x2,y2
Draw x2,y2 to x1,y2
Draw x1,y2 to x1,y1
If you have to do a Move to position the cursor, you might be better off
drawing the two lines from x1,y1, then the two lines from x2,y2.
-larry