Am 31.12.2010 um 16:29 schrieb Matthias Arndt:

> - Draw 2D lines in OpenGL
> 
> I dropped the OpenGL approach due to too many drawbacks, e. g. missing round 
> line caps, resolution-dependence of line width, ... The shadow approach looks 
> best, but is out of question due to its bad performance.

Which means you used OpenGL line drawing primitives. You could try to use 
pre-rendered images with transparency (=shadow), with linecaps separate and an 
stretchable image for the line. Google keywords: Texture2d, 2d texture drawing.

If you don't want to use OpenGL directly, Quartz 2D and / or CoreAnimation will 
drill down to OpenGL based drawing rather sooner than later.
 
HTH, 
        Thomas

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to