Jump to content

Code to draw antialiased ellipse with border and fill alpha


kjhari02

Recommended Posts

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

 

Hi,

 

Thanks for the reply.

 

I had used this library

 

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

 

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.