[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-154-gc8e058b |
Date: |
Tue, 01 Mar 2011 19:27:52 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via c8e058bcaeacd71052801c2d58e2c838a4e7cbae (commit)
from 7a8b0660f9e60942097001ee7a19b576b8a0f7ce (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=c8e058bcaeacd71052801c2d58e2c838a4e7cbae
commit c8e058bcaeacd71052801c2d58e2c838a4e7cbae
Author: Bastiaan Jacques <address@hidden>
Date: Tue Mar 1 20:25:42 2011 +0100
Stop pixel snapping filled shapes, which is unnecessary and makes small
shapes like text look bad.
diff --git a/librender/cairo/Renderer_cairo.cpp
b/librender/cairo/Renderer_cairo.cpp
index f7bc12a..17cfa56 100644
--- a/librender/cairo/Renderer_cairo.cpp
+++ b/librender/cairo/Renderer_cairo.cpp
@@ -364,10 +364,7 @@ public:
void moveTo(const point& ap)
{
- double x = ap.x, y = ap.y;
- snap_to_half_pixel(_cr, x, y);
-
- cairo_move_to(_cr, x, y);
+ cairo_move_to(_cr, ap.x, ap.y);
}
virtual void curveTo(const Edge& cur_edge)
@@ -387,19 +384,13 @@ public:
x = cur_edge.ap.x;
y = cur_edge.ap.y;
- snap_to_half_pixel(_cr, x1, y1);
- snap_to_half_pixel(_cr, x2, y2);
- snap_to_half_pixel(_cr, x, y);
-
- cairo_curve_to(_cr, x1, y1, x2, y2, x, y);
-
+ cairo_curve_to(_cr, x1, y1, x2, y2, x, y);
}
void lineTo(const point& ap)
{
double x = ap.x;
double y = ap.y;
- snap_to_half_pixel(_cr, x, y);
cairo_line_to(_cr, x, y);
}
-----------------------------------------------------------------------
Summary of changes:
librender/cairo/Renderer_cairo.cpp | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-154-gc8e058b,
Bastiaan Jacques <=