Page 1 of 1

Code to draw antialiased ellipse with border and fill alpha

Posted: Sun Feb 21, 2010 1:14 am
by hari-kj
Hi All,

I've looked high and low for this kind of a code. What I'm looking for is a code to draw an ellipse which has a border and fill and both should have alpha values for the color.

I was able to draw an ellipse with a border and fill but could not figure out how to do the same with alpha values. Can anyone please help me on this.

Regards,
Hari

Re: Code to draw antialiased ellipse with border and fill alpha

Posted: Tue Feb 23, 2010 12:54 am
by hari-kj
Anyone..please?

Re: Code to draw antialiased ellipse with border and fill alpha

Posted: Tue Feb 23, 2010 3:43 am
by timWebUK
A quick Google search later...

http://mierendo.com/software/antialiased_arcs/

Is this any help?

Re: Code to draw antialiased ellipse with border and fill alpha

Posted: Tue Feb 23, 2010 6:12 am
by hari-kj
Thanks for the reply.

I had used this library to draw filled ellipse, but cannot draw a border with it.

The problem is that my ellipse needs to have both fill and border which can have individual color values and transparency. With the mentioned library, I cannot do this unless both my fill and border have same transparency.

Any thoughts.

Re: Code to draw antialiased ellipse with border and fill alpha

Posted: Tue Feb 23, 2010 6:14 am
by hari-kj
I had used a combination of the above library and another code which draws only antialiased circle borders to achieve this

http://mayashree.com/phpfiles/amf2/services/test.php

I am helpless in doing the same for an anialiased ellipse border though.