Re: Can't cache image
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.