Nana C++ Library. Reference for users.
What we need to use nana
|
The interface of a blend algorithm. More...
Public Member Functions | |
virtual | ~blend_interface ()=default |
virtual void | process (const paint::pixel_buffer &src_pixbuf, const nana::rectangle &src_area, paint::pixel_buffer &dest_pixbuf, const nana::point &dest_pos, double fade_rate) const =0 |
Blends two images with specified area and blend rate. More... | |
The interface of a blend algorithm.
|
virtualdefault |
|
pure virtual |
Blends two images with specified area and blend rate.
Semantics:
The area is always valid, it is calculated by Nana before passing to the algorithm. So the area could be applied without a check.
fade_rate | blend rate in the range of [0, 1] |