Skip to content
  • Ell's avatar
    Issue #2405 - Rotation center shifts by half a pixel ... · 8a5ee944
    Ell authored
    ... the second time you do a 180 degrees rotation
    
    In gimp_transform_resize_adjust(), nudge the transformed layer
    boundary by EPSILON toward the center, to avoid enlarging the layer
    unnecessarily, as a result of numeric error amplified by rounding,
    when the tranformed boundary should land on integer coordinates.
    In particular, this avoids enlarging the layer when rotating by 180
    degrees.
    
    (cherry picked from commit c271992a)
    8a5ee944