Le 10 janv. 09 à 07:03, Brian Bruinewoud a écrit :

Hi,

I'm an experienced C++ developer but a relative newbie to Objective- C and Cocoa and am learning my way.

I'm porting a program to Mac OS X Cocoa and part of the requirements is a CAD-like functionality. A substantial part of the rest of the program is already written in Cocoa.

I've browsed the example programs that come with XCode and it looks like AppKit/Sketch or Quartz/CarbonSketch are the best to base my implementation from, except that AppKit/Sketch is pure Cocoa and Quartz/CarbonSketch contains no Cocoa.

I've heard that there are some 'gotchas' when it comes to using Quartz directly from Cocoa- is this true? What are they?


Can you define what you call 'gotchas' ?

The only issue I know was a possible performance degradation when using with Garbage collector.

And IIRC, all Cocoa drawing function are based on Quartz, so I don't see any reason it would not work.

_______________________________________________

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