synfig-core  1.0.3
Functions
cairo_operators.h File Reference

Helper functions that use Cairo operators to do Synfig blending. More...

#include "color.h"
#include "cairo.h"

Go to the source code of this file.

Functions

void cairo_paint_with_alpha_operator (cairo_t *cr, float alpha, synfig::Color::BlendMethod method)
void cairo_copy_surface (cairo_surface_t *source, cairo_surface_t *dest, float alpha=1.0)
cairo_surface_t * cairo_copy_target_image (cairo_surface_t *target, float alpha=1.0)
void cairo_surface_mask_alpha (cairo_surface_t *image, float alpha)

Detailed Description

Helper functions that use Cairo operators to do Synfig blending.

$Id$

Function Documentation

void cairo_paint_with_alpha_operator ( cairo_t *  cr,
float  alpha,
synfig::Color::BlendMethod  method 
)
void cairo_copy_surface ( cairo_surface_t *  source,
cairo_surface_t *  dest,
float  alpha = 1.0 
)

Referenced by cairo_copy_target_image().

cairo_surface_t* cairo_copy_target_image ( cairo_surface_t *  target,
float  alpha = 1.0 
)

References cairo_copy_surface().

void cairo_surface_mask_alpha ( cairo_surface_t *  image,
float  alpha 
)