Re: Scrolling NSScrollView by fractional amounts - why would values get rounded?
Re: Scrolling NSScrollView by fractional amounts - why would values get rounded?
- Subject: Re: Scrolling NSScrollView by fractional amounts - why would values get rounded?
- From: Graham Cox <email@hidden>
- Date: Fri, 11 Sep 2009 14:16:48 +1000
On 11/09/2009, at 4:41 AM, Jens Alfke wrote:
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by fractional
amount (e.g. .25 or .5 of a pixel).
Are you sure you want to scroll by fractional pixels? It will be
slower, because the view has to re-render from scratch, instead of
letting the video card scroll the pixels.
Is one set to copy on scroll and the other not?
But yes, it's a bad idea, IMO.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden