[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Timgdiff zoom patch

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: 2006-05-31 08:59:06 CEST

Hi all!
Here comes a small patch for Timgdiff that changes the zoom behaviour to be more like what could be expected from a professional application.
Interpolation method is now selected depending on zoom level, where zoom ratios that are "pixel true" use closest neighbor and arbitrary zoom ratios use bicubic (zoomed out) or bilinar (zoomed in).
A new method (Zoom(bool in)) is introduced that produces a deterministic zoom behaviour that will try to hit "pixel true" zoom ratios.
The Zoom-method leaves room for improvement, but I think it's fairly OK.
And hey! This is the first tried-and-tested patch from me! Maybe it's time to request developer status for TortoiseSVN on Tigris?

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Wed May 31 08:59:10 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.