Re: [PATCH] Fix rect position when trasnforming to view coordinates

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


On 26 May 2012 13:11, Jordi Fita <jfita@xxxxxxxxxxxxxxxxx> wrote:
> Hello,
> I sent attached to this letter a patch to view-helper's
> model_rect_to_view_rect() function that computes the position of view
> rectangle correctly--instead of subtracting the rectangle's coordinate
> from the scaled position, it subtracts the widget's position.
> With this patch, gegl-gtk-paint works better.


I've now applied the patch, and also added some tests for redraws with

Thanks a lot for your contribution!

commit f3bce7aecaf408168b24cb460983f5dca326cda0
Author: Jordi Fita <jfita@xxxxxxxxxxxxxxxxx>
Date:   Sun May 6 13:28:54 2012 +0200

    Fixed rect pos in model_rect_to_view_rect

Jon Nordby -
gegl-developer-list mailing list

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux