[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.6.0-20091004-9-ga7c7e96)
The branch, master has been updated
via a7c7e96e17937ea0780261101a4c45383df71134 (commit)
from 015c118098009694068c481be704de2078e53e00 (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.
=========
Summary
=========
gschem/src/gschem_cairo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit a7c7e96e17937ea0780261101a4c45383df71134
Author: Werner Hoch <werner.ho@xxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
gschem: Fix rendering with zoomed out dashed lines. Bug #2876373
Rather than using SCREENabs, use the screen_width function to
determine the on-screen size of dash elements. This clamps the
width at a rendereable size, so cairo does not get tripped into
an error state (and stop drawing other objects on the schematic).
:100644 100644 e9a8e5c... 2e7882d... M gschem/src/gschem_cairo.c
=========
Changes
=========
commit a7c7e96e17937ea0780261101a4c45383df71134
Author: Werner Hoch <werner.ho@xxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
gschem: Fix rendering with zoomed out dashed lines. Bug #2876373
Rather than using SCREENabs, use the screen_width function to
determine the on-screen size of dash elements. This clamps the
width at a rendereable size, so cairo does not get tripped into
an error state (and stop drawing other objects on the schematic).
diff --git a/gschem/src/gschem_cairo.c b/gschem/src/gschem_cairo.c
index e9a8e5c..2e7882d 100644
--- a/gschem/src/gschem_cairo.c
+++ b/gschem/src/gschem_cairo.c
@@ -292,8 +292,8 @@ void gschem_cairo_stroke (GSCHEM_TOPLEVEL *w_current, int line_type, int line_en
int width, length, space;
width = screen_width (w_current, wwidth);
- length = SCREENabs (w_current, wlength);
- space = SCREENabs (w_current, wspace);
+ length = screen_width (w_current, wlength);
+ space = screen_width (w_current, wspace);
offset = ((width % 2) == 0) ? 0 : 0.5;
cairo_set_line_width (w_current->cr, width);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs