Author: Carlos Lopez <[email protected]>
Date: Thu Nov 29 18:59:51 2012 +0100
Target_Cairo: Before start render process pass to the context the render method
to use.
---
synfig-core/src/synfig/target_cairo.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/synfig-core/src/synfig/target_cairo.cpp
b/synfig-core/src/synfig/target_cairo.cpp
index 6329217..42fa556 100644
--- a/synfig-core/src/synfig/target_cairo.cpp
+++ b/synfig-core/src/synfig/target_cairo.cpp
@@ -36,6 +36,7 @@
#include "render.h"
#include "canvas.h"
#include "context.h"
+#include "rendermethod.h"
#endif
@@ -132,6 +133,8 @@ synfig::Target_Cairo::render(ProgressCallback *cb)
#else
context=canvas->get_context();
#endif
+ // pass the Render Method to the context
+ context.set_render_method(CAIRO);
// Obtain a pointer to the cairo_surface_t given by the
Target instance.
cairo_surface_t* surface;
if(obtain_surface(surface))
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
VERIFY Test and improve your parallel project with help from experts
and peers. http://goparallel.sourceforge.net
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl