OpenGL or Quartz2D

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.


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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.