• 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
Can't cache image...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't cache image...


  • Subject: Can't cache image...
  • From: Ruben Westerberg <email@hidden>
  • Date: Sun, 11 Nov 2001 10:56:40 +1000

Hi all,

i have managed to render bezier paths to an image, isn't difficult at all. Well that's what I thought... I am trying to render more than one.

The first image works fine,I used lock focus and unlock focus to compose it.

But at a later position in my program, the same code gives me a "can't cache image" in the run dialog of PB.

The first image is created from an NSView subclass (but is not created in the drawRect method,just draws the bezier path in to the image), and the second one is created in NSObject subclass. Is there something from NSView that the NSImage needs? or should the lockfocus and unlockFocus calls be enough, from any class?Am i missing some thing.


Thanks


Ruben


  • Prev by Date: Re: Threading, save panels, and segfaults
  • Next by Date: Re: Controlling selection in NSTextFields
  • Previous by thread: Re: Controlling selection in NSTextFields
  • Next by thread: can't cache image REPOST... Solution
  • Index(es):
    • Date
    • Thread