• 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
lockFocus on large images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lockFocus on large images


  • Subject: lockFocus on large images
  • From: Chris Meyer <email@hidden>
  • Date: Sat, 22 Feb 2003 08:14:40 -0800

The following code fails with a "Can't cache image" assertion. What are
the limitations on using lockFocus? Why are there limitations? Is there
any way to draw into large images?

NSImage *image = [[[NSImage alloc]
initWithSize:NSMakeSize(14000,500)] autorelease];

[image lockFocus];
[image unlockFocus];
_______________________________________________
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.

  • Prev by Date: Trouble
  • Next by Date: How to debug a screensaver
  • Previous by thread: Re: Trouble
  • Next by thread: How to debug a screensaver
  • Index(es):
    • Date
    • Thread