synfig-core
1.0.3
|
Alpha-Blending Pen. More...
#include <surface.h>
Public Member Functions | |
alpha_pen () | |
alpha_pen (const etl::alpha_pen< etl::generic_pen< Color, ColorAccumulator >, Color::value_type, _BlendFunc< Color > > &x) | |
alpha_pen (const etl::generic_pen< Color, ColorAccumulator > &pen, const Color::value_type &a=1, const _BlendFunc< Color > &func=_BlendFunc< Color >()) | |
void | set_blend_method (Color::BlendMethod method) |
Sets the blend method to that described by method. | |
Color::BlendMethod | get_blend_method () const |
Returns the blend method being used for this pen. |
Alpha-Blending Pen.
This pen works like a normal alpha pen, except that it supports a variety of blending methods. Use set_blend_method() to select which blending method you want to use. The default blending method is Color::BLEND_COMPOSITE.
|
inline |
|
inline |
|
inline |
|
inline |
Sets the blend method to that described by method.
Referenced by Blur_Layer::accelerated_render(), synfig::Layer_Duplicate::accelerated_render(), synfig::Layer_SolidColor::accelerated_render(), RadialBlur::accelerated_render(), CheckerBoard::accelerated_render(), synfig::Layer_Bitmap::accelerated_render(), synfig::Context::accelerated_render(), and synfig::Layer_PasteCanvas::accelerated_render().
|
inline |
Returns the blend method being used for this pen.
Referenced by synfig::Surface::blit_to().