gschem: Fix rendering with zoomed out dashed lines. Bug #2876373
commit18fc37097a266ecdb70560524e6c161f0807d36e
authorWerner Hoch <werner.ho@gmx.de>
Fri, 20 Nov 2009 06:58:55 +0000 (20 06:58 +0000)
committerPeter TB Brett <peter@peter-b.co.uk>
Fri, 20 Nov 2009 06:58:55 +0000 (20 06:58 +0000)
tree5834e224dc3d4f6e7db50a56c04b289bbdb1df35
parent923a59b1f9c6399f9cb280da57d5eaa6edd26f74
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).
gschem/src/gschem_cairo.c