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

Re: Can't cache image


  • Subject: Re: Can't cache image
  • From: Greg Titus <email@hidden>
  • Date: Fri, 21 Mar 2003 14:37:00 -0800

On Friday, March 21, 2003, at 12:51 PM, Jan Van Tol wrote:

Ok, thanks for the response. I need this image in order to draw it into a view. Is it possible that I could draw it in pieces into my view, or do views have a limitation on size too?

No, views do not have any size limitations. (Well, they do, but only because they use "float"s for coordinates. The resolution of 32-bit floating point numbers loses individual integer resolution on a scale of about 10 million or so. So if you have a view that is more than 10 million pixels wide or tall, you'll start getting off-by-one drawing errors at the high-end of those coordinates. In practice this isn't much of a limitation.)

So yes, you should be able to draw pieces of it into your view without difficulty.

Hope this helps,
- Greg
_______________________________________________
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: 
 >Re: Can't cache image (From: Jan Van Tol <email@hidden>)

  • Prev by Date: Re: object instance names generated on the fly?
  • Next by Date: Re: The best way to hide views.
  • Previous by thread: Re: Can't cache image
  • Next by thread: Separation of TextFieldCell and TextField subclasses
  • Index(es):
    • Date
    • Thread