Author: Carlos Lopez <[email protected]>
Date: Thu Nov 8 20:54:29 2012 +0100
Outline: When quality is 6 or less then draw the outline using the variable
width, otherwise the outline is rendered with constant average width
---
synfig-core/src/modules/mod_geometry/outline.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/synfig-core/src/modules/mod_geometry/outline.cpp
b/synfig-core/src/modules/mod_geometry/outline.cpp
index 0828dc4..8fe3819 100644
--- a/synfig-core/src/modules/mod_geometry/outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/outline.cpp
@@ -1021,7 +1021,7 @@ Outline::accelerated_cairorender(Context
context,cairo_surface_t *surface,int qu
p2y=iter->p2[1];
cairo_curve_to(subcr, p1x+t1x/3, p1y+t1y/3, p2x-t2x/3,
p2y-t2y/3, p2x, p2y);
}
-
+
if(loop_) cairo_close_path(subcr);
cairo_set_line_width(subcr, average_width*width+expand);
if(sharp_cusps)
@@ -1038,7 +1038,9 @@ Outline::accelerated_cairorender(Context
context,cairo_surface_t *surface,int qu
}
else
{
- synfig::info("quality less than 6!");
+ Layer_Shape::shape_to_cairo(subcr);
+ cairo_clip(subcr);
+ cairo_paint(subcr);
}
cairo_restore(subcr);
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl