Re: Cocoa and future
Re: Cocoa and future
- Subject: Re: Cocoa and future
- From: Shawn Erickson <email@hidden>
- Date: Fri, 20 Feb 2009 10:41:23 -0800
On Fri, Feb 20, 2009 at 9:44 AM, john smith <email@hidden> wrote:
>
> I'm officially confused....
> Is there any way to draw onto a window on 64-bit os versions from C++, not
> using obj-c?
OK lets all stop for a second... ...and stop talking about Carbon (far
too loose of term).
1) Quartz2D is the main 2D drawing API on Mac OS X (aka Core
Graphics). It an C API which of course you can use from C, C++,
Objective-C/C++, etc.. It exists in the 32b and 64b runtime. Many of
the higher-level frameworks use the Quartz2D API and sibling APIs.
2) Cocoa (AppKit) has higher level equivalents to much of what you can
find in Quartz2D.
3) OpenGL is the other major drawing API on Mac OS X. It an C API
which of course you can use from C, C++, Objective-C/C++, etc.. It
exists in the 32b and 64b runtime. Many of the higher-level frameworks
use the OpenGL API and sibling APIs.
4) Regardless of the drawing API you use, you must use AppKit to
create the windows and/or view contexts that you draw in (at least
ones that will be visible on screen). Note HIView can be used as well
but aspects of that do not and will likely never exist in the 64b
realm.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden