FW: Cocoa wizard & gurus, Help!!
FW: Cocoa wizard & gurus, Help!!
- Subject: FW: Cocoa wizard & gurus, Help!!
- From: <email@hidden>
- Date: Thu, 12 Feb 2004 00:22:43 +0100
- Thread-topic: Cocoa wizard & gurus, Help!!
Hi Andrew,
I guess I noticed indeed ;-) It's a pitty it is this way, but I'm afraid there's nothing else to do to go for the tiled caching. The problem is a quite a bit of rewriting draw methods, but not impossible.
Would you perhaps know of any source examples using such a technique? Splitting the view up is not a problem, I'm just wondering if I would not get a lot of trouble at the boundaries of the tiles. But I guess that is something I have to think about when rewriting my methods. At least I have the confirmation there is not much else to consider... Drawing obviously always HAS to occur in a window then...
Thanks,
Alex
-----Original Message-----
From: Andrew Platzer [
mailto:email@hidden]
Sent: Wed 2/11/2004 11:53 PM
To: Alexander Griekspoor
Cc: email@hidden
Subject: Re: Cocoa wizard & gurus, Help!!
On Feb 11, 2004, at 10:53 AM, Alexander Griekspoor wrote:
>
I haven't received many responses to my previous posting (one to be
>
precise), so I'll try it one more time. At least some people must be
>
able to help this poor soul. It's again about this NSImage caching
>
problem I have. It's quite a showstopper for our app on Jaguar. It all
>
comes down to one simple question: how do I draw a large NSImage
>
offscreen. I simply can't get it to work because of the sizelimit that
>
is present on the window that is created behind the scene and I get a
>
Can't create cache error. It's definitely a problem on Jaguar, but
>
also on Panther, although the limit seems to be higher there. The
>
reason to do this all, is to have my custom view in some cached form
>
to prevent unnecessary redrawing. Please help me with a solution to
>
the problem, or alternative ways for caching or ways to prevent
>
redrawing. Isn't there really a way to prevent the need of the
>
temporary window? I don't get it, you can have large NSImages, but you
>
can't draw one!?!? Help!
Is there any reason you can't break up your offscreen cache into
separate images and render the view in parts from the different cached
images?
As you noticed, the limit on offscreen image cache size was upped in
Panther. The limit is now based on Quartz limitations.
Andrew
_______________________________
Andrew Platzer
Application Frameworks
Apple Computer, Inc.
_______________________________________________
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.