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

On 26 May 2012 13:11, Jordi Fita <jfita geishastudios com> wrote:

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 geishastudios com>
Date:   Sun May 6 13:28:54 2012 +0200

    Fixed rect pos in model_rect_to_view_rect

Jon Nordby -

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