![[Jaffa Software]](../img/jaffasoft.gif)
|
Date: Sun, 31 Jan 1999 16:33:46 +1100 Hi, For those who might like to know how, you can draw a circle using DrawWEM using the following procedure: DEF PROCdraw_circle(x, y, r) LOCAL v v = .55 * r DRAW_MOVE(x, y + r) DRAW_CURVE(x + r, y, x + v, y + r, x + r, y + v) DRAW_CURVE(x, y - r, x + r, y - v, x + v, y - r) DRAW_CURVE(x - r, y, x - v, y - r, x - r, y - v) DRAW_CURVE(x, y + r, x - r, y + v, x - v, y + r) ENDPROC x and y are the centre of the circle, r is the radius.
Cheers © Jaffa
Software 2000. All rights reserved. |