Author: Carlos Lopez <genet...@gmail.com> Date: Fri Aug 10 11:46:42 2012 +0200
Circle Layer: fix to paint with correct alpha --- synfig-core/src/modules/mod_geometry/circle.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-core/src/modules/mod_geometry/circle.cpp b/synfig-core/src/modules/mod_geometry/circle.cpp index 3570476..aaa343b 100644 --- a/synfig-core/src/modules/mod_geometry/circle.cpp +++ b/synfig-core/src/modules/mod_geometry/circle.cpp @@ -1004,8 +1004,8 @@ Circle::accelerated_cairorender(Context context,cairo_surface_t *surface,int qua cairo_arc(cr, origin[0], origin[1], out_radius, 0., 2*M_PI); cairo_clip(cr); cairo_set_operator(cr, CAIRO_OPERATOR_OVER); // TODO: this has to be the real operator - cairo_set_source_rgba(cr, r, g, b, a); // a=1.0 - cairo_paint(cr); + cairo_set_source_rgba(cr, r, g, b, a); + cairo_paint_with_alpha(cr, get_amount()); cairo_restore(cr); cairo_destroy(cr); return true; ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl