On Sep 10, 2009, at 7:01 AM, Martin Redington 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. And a lot of things don't render very well at non-integer coordinates unless they've been tuned to do so (the most common problems are that lines that are supposed to be one pixel wide get smeared across two pixels, and images get blurred because every image pixel gets interpolated between four screen pixels.)
—Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com