• 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: Offscreen drawing again ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Offscreen drawing again ...


  • Subject: Re: Offscreen drawing again ...
  • From: John Hörnkvist <email@hidden>
  • Date: Fri, 8 Feb 2002 07:36:36 +0100

On Friday, February 8, 2002, at 07:21 AM, email@hidden wrote:

Well, you can do the same thing again: lock focus on your image, and then make a bitmapImageRep from the focussed area.
That said, I'm a bit mystified by NSBitmapImageRep versus NSCachedImageRep, and why they are separate classes, and how one is intended to use NSImage to do this sort of thing (a combination of drawing using Quartz and direct manipulation of bits). I generally have to flail about by trial and error until I find a way that works. The doc in this area could stand improvement too.
So is there an NSImage guru out there who could enlighten Manfred and I as to the One True Way of NSImage?

Have you tried lockFocusOnRepresentation:?

Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com
_______________________________________________
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: 
 >Offscreen drawing again ... (From: email@hidden)

  • Prev by Date: Re: Memory Mania Revisted
  • Next by Date: Re: Memory Mania Revisted
  • Previous by thread: Offscreen drawing again ...
  • Next by thread: Re: Offscreen drawing again ...
  • Index(es):
    • Date
    • Thread