PDA

View Full Version : OpenGL or Quartz2D



09-04-2002, 02:23 AM
Hello,
I want to antialias basic shapes like polygons,lines etc. Should I use OpenGL or quartz2D API ? I need to do this on windows platform too and I have been recommended to use GDI+ which ofcourse is not available on MAC. I have read somewhere that OpenGL is good only for working on 3D objects :-(. So should I use Quartz2D because my obejcts are 2D ? Also I need to antialias pictures having clipping paths.

regards
Kapil

OneSadCookie
09-04-2002, 11:30 AM
OpenGL is very good for 2D as well as 3D.

However, antialiasing is not GL's forte. Speed is not Quartz's forte. You're going to have to make a tradeoff there.

If speed is not an issue, then I'm sure Quartz will be easier. If speed is a requirement, then you'll have to have a go at implementing your own antialiasing with OpenGL.