Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/32d52bf055dabb33e777a9ffa5ef918c4916adb9
...commit
http://git.netsurf-browser.org/netsurf.git/commit/32d52bf055dabb33e777a9ffa5ef918c4916adb9
...tree
http://git.netsurf-browser.org/netsurf.git/tree/32d52bf055dabb33e777a9ffa5ef918c4916adb9
The branch, master has been updated
via 32d52bf055dabb33e777a9ffa5ef918c4916adb9 (commit)
from 58fee8749ffe41b0bb7c71456eddb808cbde8821 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=32d52bf055dabb33e777a9ffa5ef918c4916adb9
commit 32d52bf055dabb33e777a9ffa5ef918c4916adb9
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
gtk: In path plotter, maintain cairo transformation offset
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/frontends/gtk/plotters.c b/frontends/gtk/plotters.c
index 4a5ef51..110dcff 100644
--- a/frontends/gtk/plotters.c
+++ b/frontends/gtk/plotters.c
@@ -432,8 +432,8 @@ nsgtk_plot_path(const struct redraw_context *ctx,
n_ctm.yx = transform[1];
n_ctm.xy = transform[2];
n_ctm.yy = transform[3];
- n_ctm.x0 = transform[4];
- n_ctm.y0 = transform[5];
+ n_ctm.x0 = transform[4] + old_ctm.x0;
+ n_ctm.y0 = transform[5] + old_ctm.y0;
cairo_set_matrix(current_cr, &n_ctm);
-----------------------------------------------------------------------
Summary of changes:
frontends/gtk/plotters.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontends/gtk/plotters.c b/frontends/gtk/plotters.c
index 4a5ef51..110dcff 100644
--- a/frontends/gtk/plotters.c
+++ b/frontends/gtk/plotters.c
@@ -432,8 +432,8 @@ nsgtk_plot_path(const struct redraw_context *ctx,
n_ctm.yx = transform[1];
n_ctm.xy = transform[2];
n_ctm.yy = transform[3];
- n_ctm.x0 = transform[4];
- n_ctm.y0 = transform[5];
+ n_ctm.x0 = transform[4] + old_ctm.x0;
+ n_ctm.y0 = transform[5] + old_ctm.y0;
cairo_set_matrix(current_cr, &n_ctm);
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]