Author: Nikita Kitaev <[email protected]>
Date:   Sun Mar 20 15:53:44 2011 -0700

Use CAIRO_OPERATOR_DIFFERENCE without c++ wrappers

---

 .../src/gui/workarearenderer/renderer_ducks.cpp    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/src/gui/workarearenderer/renderer_ducks.cpp 
b/synfig-studio/src/gui/workarearenderer/renderer_ducks.cpp
index 8b0e6f2..51c1c26 100644
--- a/synfig-studio/src/gui/workarearenderer/renderer_ducks.cpp
+++ b/synfig-studio/src/gui/workarearenderer/renderer_ducks.cpp
@@ -408,8 +408,9 @@ Renderer_Ducks::render_vfunc(
                        else
                        {
                                cr->set_source_rgb(1.0,1.0,1.0);
-                               // \todo OPERATOR_DIFFERENCE is supported by 
cairo, but not by cairomm
+                               // OPERATOR_DIFFERENCE does not currently have 
a C++ wrapper
                                //cr->set_operator(Cairo::OPERATOR_DIFFERENCE);
+                               cairo_set_operator(cr->cobj(), 
CAIRO_OPERATOR_DIFFERENCE);
                        }
 
                        cr->set_line_width(1.0);


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to