• 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
cocoa drawing to core graphics context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cocoa drawing to core graphics context


  • Subject: cocoa drawing to core graphics context
  • From: Chris Meyer <email@hidden>
  • Date: Sun, 15 Feb 2004 15:18:39 -0800

Does anyone know a fast way to draw using Cocoa into an arbitrary core graphics context or a GWorld?

A slow way is to create a new NSImage, lock focus, draw, unlock focus, get a TIFF representation, then use core graphics or QuickTime to import the TIFF.

My final goal is to end up with an image suitable for use in QuickTime (i.e. an ImageDescriptionHandle and a pointer to some data).

P.S. This message is cross-posted to quartz and cocoa lists.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: cocoa drawing to core graphics context
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: [Slightly OT] Shareware donation collection
  • Next by Date: Re: What to do with a bad nib?
  • Previous by thread: Half-view scolling in NSTableView
  • Next by thread: Re: cocoa drawing to core graphics context
  • Index(es):
    • Date
    • Thread