traverso-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Traverso-devel] zoom factor, related interpolation


From: Remon Sijrier
Subject: Re: [Traverso-devel] zoom factor, related interpolation
Date: Fri, 9 Feb 2007 23:20:06 +0100 (CET)
User-agent: SquirrelMail/1.4.6

> Anoter approach would be to load a level at least 2 steps below the given
> one,
> load the data, and apply a matrix calculation, definately works, with very
> accurate interpolation I think, but might be a little expensive :-)

Just thinking about it, finding the nearest power of 2 for a given zoom
value, calculating the scale factor, and use that to set the matrix on the
painter will just do, if you follow me lol

I'm only unsure if the scale factor should be (unsigned) int or
float/double .....

Greetz,

Remon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]