Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Ian Thomas
A quick thought, Anthony... why reinvent the wheel? Why not use Flash's built-in graphics.moveTo()/graphics.lineTo() etc. to draw _vector_ lines into a Sprite (which will therefore be nicely antialiased by Flash), then capture the results as a bitmap and paste them into whatever BitmapData you

Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Anthony Pace
I have heard of and looked at Xiaolin Wu's line algorithm, and I am wondering if there is a better way. Anthony Pace wrote: Hello, I am trying to draw shapes using pixel manipulation, and I am pretty sure I understand most of the concepts; yet, as I am pretty new to this, I am unsure how to

Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Anthony Pace
You are right, in most scenarios you would want to use built in functionality; however, outside of regular applications in as3, there are a lot of reasons to know this well, and graphics applications that would be impossible by relying on what is built in. Ian Thomas wrote: A quick thought,

Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Ian Thomas
Oh absolutely. :-) Just thought this might be a quick route to achieving whatever you're currently trying to achieve. :-) Ian On Mon, May 18, 2009 at 10:53 AM, Anthony Pace anthony.p...@utoronto.ca wrote: You are right, in most scenarios you would want to use built in functionality; however,

Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Ron Wheeler
You are on the right list. To get some help, you will probably have to give more details. - 2D or 3D - vectors or rasters - images or drawings - what kind of shapes - dynamic or static - data driven or algorithmic - user interaction desired - low-res icons or sprites for a game or beautifully