Author: Carlos Lopez <[email protected]>
Date:   Thu Nov  1 10:49:31 2012 +0100

Layer_Composite: tell the surface layer (Layer_Bitmap) that it must use CAIRO 
method for render. It might be needed when calculate width and height when 
trimmed.

---

 synfig-core/src/synfig/layer_composite.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/synfig-core/src/synfig/layer_composite.cpp 
b/synfig-core/src/synfig/layer_composite.cpp
index d5281f1..083ca24 100644
--- a/synfig-core/src/synfig/layer_composite.cpp
+++ b/synfig-core/src/synfig/layer_composite.cpp
@@ -184,6 +184,7 @@ Layer_Composite::accelerated_cairorender(Context 
context,cairo_surface_t *surfac
        surfacelayer->br=renddesc.get_br();
        // Sets the blend method to straight. See below
        surfacelayer->set_blend_method(Color::BLEND_STRAIGHT);
+       surfacelayer->set_render_method(context, CAIRO);
        // Push this layer on the image. The blending result is only this layer
        // and the surface layer. The rest of the context is ignored by the 
straight
        // blend method of surface layer


------------------------------------------------------------------------------
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

Reply via email to