• 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: Cocoa wizard & gurus, Help!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa wizard & gurus, Help!!


  • Subject: Re: Cocoa wizard & gurus, Help!!
  • From: John Timmer <email@hidden>
  • Date: Wed, 11 Feb 2004 15:43:55 -0500

Just to warn you, I haven't actually done any work with this, but....

I'm not sure what's creating the limit (or if you've even discovered that).
If it's simply an offscreen window that's too large, you could either create
a subclass of the window in order to override the size limits or make an
NSView that's not contained by a window (that's how I typically do my
offscreen drawing, but I don't know if it winds up caching the image).

If these don't work, can you split the image into several overlapping
chunks, cache each, and grab the one you need for a given view?

Those are the things that come immediately to mind.

Cheers,

John


> 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!
>
> Many thanks in advance,
> Alex
_______________________________________________
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: 
 >Cocoa wizard & gurus, Help!! (From: Alexander Griekspoor <email@hidden>)

  • Prev by Date: Pascal String Woes ...
  • Next by Date: Re: Method declaration conflict with NSURLConnection.
  • Previous by thread: Cocoa wizard & gurus, Help!!
  • Next by thread: Re: Cocoa wizard & gurus, Help!!
  • Index(es):
    • Date
    • Thread