Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 4 of 4
  1. #1
    munificent is offline Registered User
    Join Date
    Jan 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question quartz 2d, carbon, and c++

    is it possible to write a c++ carbon app that uses quartz for drawing in os x?
    i can get c++ to work fine, but i can't seem to find a non-cocoa way of getting a context for a window.

    anyone have any ideas here?

    - bob.

  2. #2
    bwanabob is offline Timelord
    Join Date
    May 2001
    Location
    Santa Barbara, CA
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    According to apple, you can intermix ObjC and C++ code together.
    I have yet to try this out.

    bob...
    Robert Monaghan
    Production Engineer for VFX.
    Hollywood, CA

  3. #3
    tie
    tie is offline Registered User
    Join Date
    Nov 2000
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Use QuickDraw to get the window context and convert it to a Quartz context as per the example in the Quartz manual.

  4. #4
    munificent is offline Registered User
    Join Date
    Jan 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thanks

    i'll have to check that out. for my project, i decided to go with gl on os 9 for now, but in the future, i'd like to play with quartz.

 

 

Similar Threads

  1. Running a Carbon app under OS 9
    By JohnE in forum Software Programming & Web Scripting
    Replies: 4
    Last Post: October 1st, 2003, 02:45 AM
  2. Carbon: execute terminal program from Carbon App
    By takeo in forum Software Programming & Web Scripting
    Replies: 2
    Last Post: July 24th, 2003, 05:07 PM
  3. Silk: Quartz anti-aliasing in ALL Carbon apps.
    By celeborn in forum Apple News, Rumors & Discussion
    Replies: 19
    Last Post: June 10th, 2002, 03:18 AM
  4. Integraing X11R6.4 with Carbon
    By daw in forum Mac OS X System & Mac Software
    Replies: 0
    Last Post: January 9th, 2001, 04:09 PM
  5. porting Carbon, quartz and Aqua on x86
    By csajovic in forum Apple News, Rumors & Discussion
    Replies: 7
    Last Post: September 28th, 2000, 09:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •