[Cuis-dev] Fix for VectorCanvas>>image:at:sourceRect:

Juan Vuletich juan at cuis.st
Fri Nov 28 08:20:02 PST 2025


Hi Luciano,

On 2025-11-27 2:24 PM, Luciano Notarfrancesco via Cuis-dev wrote:
> This fixes a little problem. I thought we fixed it before, but there 
> was still an inconsistency that showed up when starting unzoomed and 
> then zooming in or out.
>
This method has had many iterations. The real reason is that WarpBlt has 
integer arguments. The geometrically correct result requires Float 
arguments. Besides, a better image resampling algorithm would help too. 
Some day...

I just pushed a slightly different version of your fix, that should give 
identical results. I also updated two other related methods for consistency.

Thanks!

-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich



More information about the Cuis-dev mailing list