]> git.cworth.org Git - acre/commitdiff
Use cairo_clip to trim out any out-of-view data
authorCarl Worth <cworth@cworth.org>
Thu, 7 Nov 2013 03:30:28 +0000 (19:30 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 7 Nov 2013 03:30:28 +0000 (19:30 -0800)
Previously, we were simply not drawing line segments where one
endpoint of the segment was outside the bounds of the chart. This had
the problem of omitting a (potentially large) portion of the line
segment that should be visible.

We get the correct result, and more easily, by simply calling
cairo_clip.


No differences found