[dia] [cairo] comment on cairo_close_path() in _bezier()
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [cairo] comment on cairo_close_path() in _bezier()
- Date: Wed, 3 Oct 2012 20:04:02 +0000 (UTC)
commit 91c23846eb47708f8095dfe97c7483976511481b
Author: Hans Breuer <hans breuer org>
Date: Tue Oct 2 21:15:26 2012 +0200
[cairo] comment on cairo_close_path() in _bezier()
plug-ins/cairo/diacairo-renderer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/cairo/diacairo-renderer.c b/plug-ins/cairo/diacairo-renderer.c
index 3e731f3..97f800f 100644
--- a/plug-ins/cairo/diacairo-renderer.c
+++ b/plug-ins/cairo/diacairo-renderer.c
@@ -721,6 +721,10 @@ _bezier(DiaRenderer *self,
}
}
+ /* The stroke would benefit by an explicit cairo_close_path() but we can not do it.
+ * At this point there is not enough information left, i.e. if it comes from a Beziergon
+ * and should be closed or if it was a Bezierline which happens to end in the start point.
+ */
if (fill)
cairo_fill (renderer->cr);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]