• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa and future
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: Cocoa and future
      • From: john smith <email@hidden>
References: 
 >Audio unit hosting (From: James Membrez <email@hidden>)
 >Cocoa and future (From: john smith <email@hidden>)
 >Re: Cocoa and future (From: tahome izwah <email@hidden>)
 >FW: Cocoa and future (From: john smith <email@hidden>)
 >Re: Cocoa and future (From: Jens Alfke <email@hidden>)
 >RE: Cocoa and future (From: john smith <email@hidden>)
 >Re: Cocoa and future (From: David Duncan <email@hidden>)
 >RE: Cocoa and future (From: john smith <email@hidden>)
 >Re: Cocoa and future (From: tahome izwah <email@hidden>)
 >RE: Cocoa and future (From: john smith <email@hidden>)

  • Prev by Date: Re: Cocoa and future
  • Next by Date: Re: Cocoa and future
  • Previous by thread: Re: Cocoa and future
  • Next by thread: RE: Cocoa and future
  • Index(es):
    • Date
    • Thread