synfig-core  1.0.3
cairo_operators.h
Go to the documentation of this file.
1 /* === S Y N F I G ========================================================= */
21 /* ========================================================================= */
22 
23 /* === S T A R T =========================================================== */
24 
25 #ifndef __SYNFIG_CAIRO_OPERATORS_H
26 #define __SYNFIG_CAIRO_OPERATORS_H
27 
28 /* === H E A D E R S ======================================================= */
29 #include "color.h"
30 #include "cairo.h"
31 
32 /* === M A C R O S ========================================================= */
33 
34 /* === T Y P E D E F S ===================================================== */
35 
36 /* === C L A S S E S & S T R U C T S ======================================= */
37 void cairo_paint_with_alpha_operator(cairo_t* cr, float alpha, synfig::Color::BlendMethod method);
38 void cairo_copy_surface(cairo_surface_t* source, cairo_surface_t* dest, float alpha=1.0);
39 cairo_surface_t* cairo_copy_target_image(cairo_surface_t* target, float alpha=1.0);
40 void cairo_surface_mask_alpha(cairo_surface_t* image, float alpha);
41 
42 
43 //void cairo_paint_operator(cairo_t* cr, Color::BlendMethod method);
44 //void cairo_stroke_operator(cairo_t* cr, Color::BlendMethod method);
45 //void cairo_fill_operator(cairo_t* cr, Color::BlendMethod method);
46 //void cairo_mask_operator(cairo_t* cr, cairo_pattern_t* pattern, Color::BlendMethod method);
47 /* === E N D =============================================================== */
48 
49 #endif