RE: Cocoa and future
RE: Cocoa and future
- Subject: RE: Cocoa and future
- From: john smith <email@hidden>
- Date: Fri, 20 Feb 2009 20:34:59 +0100
- Importance: Normal
Or, is a WindowRef outdated? Is that considered "carbon"?
Thanks,
Michael Olsen
From: email@hidden To: email@hidden Date: Fri, 20 Feb 2009 20:31:11 +0100 Subject: RE: Cocoa and future
Thanks for the reply.
I think that's the answer to the problem... OpenGL... That should work.
Would be neat if I could turn my NSView into a WindowRef for OpenGL though... (yes, I know, I can subclass and do it in cocoa, but I prefer to do it the other way).
Thanks,
Michael Olsen
> Date: Fri, 20 Feb 2009 10:41:23 -0800 > Subject: Re: Cocoa and future > From: email@hidden > To: email@hidden > CC: email@hidden > > 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
What can you do with the new Windows Live? Find out
check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
More than messages
|
_______________________________________________
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