Re: Creating multiple images on the fly
Re: Creating multiple images on the fly
- Subject: Re: Creating multiple images on the fly
- From: Donald Brown <email@hidden>
- Date: Sat, 18 Jan 2003 20:32:49 -0600
Unfortunately, recache didn't help. It says that lockfocus creates an
NSView to draw into, I wonder if that NSView is being reused?
Interestingly, it's only when I have multiple images of the same size,
and all the images are the last image. When the size changes, then it
creates a different image.
Donald
On Saturday, January 18, 2003, at 07:55 AM, Andreas Mayer wrote:
Am Samstag, 18.01.03 um 05:43 Uhr schrieb Donald Brown:
Any idea what might cause this? Do I have to set a representation
manually, is it reusing the representation?
Try [outImage recache]
From the documentation:
"Invalidates the offscreen caches of all representations and frees
them. The next time any representation is composited, it will first be
asked to redraw itself in the cache."
bye. Andreas.
_______________________________________________
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.
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
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.