• Michael Natterer's avatar
    use gdouble instead of gfloat for x and y scale factors so gfloat's · d88c150c
    Michael Natterer authored
    2004-02-04  Michael Natterer  <mitch@gimp.org>
    
    	* app/display/gimpdisplayshell-render.c (struct RenderInfo)
    	(render_image_accelerate_scaling): use gdouble instead of gfloat
    	for x and y scale factors so gfloat's limited precision can't add
    	up to off-by-one pixel errors. Fixes display artefacts (missing
    	updates) at the bottom and right sides of updated areas at certain
    	irrational zoom factors like 1:3.
    d88c150c
gimpdisplayshell-render.c 21.2 KB