Re: [Gegl-developer] [PATCH] Fix rect position when trasnforming to view coordinates
- From: Jon Nordby <jononor gmail com>
- To: Jordi Fita <jfita geishastudios com>
- Cc: gegl-developer-list gnome org
- Subject: Re: [Gegl-developer] [PATCH] Fix rect position when trasnforming to view coordinates
- Date: Tue, 19 Jun 2012 10:27:53 +0200
On 26 May 2012 13:11, Jordi Fita <jfita geishastudios com> 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.
Hi,
I've now applied the patch, and also added some tests for redraws with
scaling+translations.
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 - www.jonnor.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]