• 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: Quartz 2d and Colour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz 2d and Colour


  • Subject: Re: Quartz 2d and Colour
  • From: David Burnett <email@hidden>
  • Date: Thu, 12 Jun 2003 18:50:59 +0100

On Thursday, June 12, 2003, at 12:46 am, John C. Randolph wrote:

It looks to me like you're doing a lot more work here than you need to. Why not just create an NSImage, lockFocus on it, do your drawing, and then composite it in whenever you want?

I'd tried setting focus on an NSImage then getting the currentContext
to draw on first but that was grayscale too.

The trouble with that is that there's a lot less
to work with. As I'm fairly new to Cocoa and had necer used Quartz before
I figured that I was getting a grayscale image because I was being
provided with a grayscale context for the NSImage. So I tied it the hard
way :-) where I would have more control over the colourspaces.
And still its grayscale.

Dave
_______________________________________________
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.

References: 
 >Re: Quartz 2d and Colour (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: RE: dBase file reading code
  • Next by Date: Re: [OT] Mouse buttons (was Re: troubling article)
  • Previous by thread: Re: Quartz 2d and Colour
  • Next by thread: Scanner bug
  • Index(es):
    • Date
    • Thread