Hi,
This probably isnt of any use to you, but for the filled circles, you can
only simply draw a linepiece with a length of say 0.00000001 and a high
linethickness (50px for example results in a circle with a diameter of
50px). Like I said only of use if you draw filled circles.

Greetz
Hans

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: Thursday, February 02, 2006 2:04 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Seeking a bit of drawing API inspiration..

I'm using an 8-arc method - I'd prefer to find 4-arc (i.e. the quadratic
bezier) but haven't been able to find/work out suitable code. Could you
point me in the right direction?

Many thanks,
  Ian

On 2/2/06, GregoryN <[EMAIL PROTECTED]> wrote:
>
>
> Also, what code do you use to draw circles?
>
> Even in the MM docs, there are 2 methods, using 2 types of bezier
> curves: quadratic and cubic.
> Quadratic bezier method (of drawing circle) works fast and uses just 4 
> calls to curveTo(). But the result is "squared".
> Cubic bezier method uses Math class (sin and tan), draws perfect 
> circles, but mu-u-uch slower.
>
> Try to find the fastest method.
>
> And, of course, the less circles you draw, the better :-).
>
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to