diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-04 07:03:18 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-06-04 07:03:18 +1000 |
commit | 360f87b2176300e4aafd27936d1f4dc4cf1e48ee (patch) | |
tree | 235b0fccba4b51cc748a597290e2717bd4044872 /libs | |
parent | 1eb8216408b4684b9f93c90b30ac3adee0724d15 (diff) |
Fix FramedCurve Outside fill for curve.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/canvas/framed_curve.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/framed_curve.cc b/libs/canvas/framed_curve.cc index c539a50150..748fb03ebd 100644 --- a/libs/canvas/framed_curve.cc +++ b/libs/canvas/framed_curve.cc @@ -241,9 +241,9 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) c break; case Outside: context->stroke_preserve (); - window_space = item_to_window (last_sample); + window_space = item_to_window (Duple (last_sample.x, 0.0)); context->line_to (window_space.x, window_space.y); - window_space = item_to_window (first_sample); + window_space = item_to_window (Duple (first_sample.x, 0.0)); context->line_to (window_space.x, window_space.y); context->close_path(); setup_fill_context(context); |