Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::paint::image_process::stretch_interface Class Referenceabstract

The interface of stretch algorithm. More...

Inheritance diagram for nana::paint::image_process::stretch_interface:
nana::paint::detail::algorithms::bilinear_interoplation nana::paint::detail::algorithms::proximal_interoplation

Public Member Functions

virtual ~stretch_interface ()=default
 
virtual void process (const paint::pixel_buffer &s_pixbuf, const nana::rectangle &source_rectangle, paint::pixel_buffer &d_pixbuf, const nana::rectangle &destination_rectangle) const =0
 Copies the image from a source rectangle into a destination rectangle, stretching or compressing the image to fit the dimensions of the destination rectangle in destination(d_pixbuf). More...
 

Detailed Description

The interface of stretch algorithm.

Constructor & Destructor Documentation

virtual nana::paint::image_process::stretch_interface::~stretch_interface ( )
virtualdefault

Member Function Documentation

virtual void nana::paint::image_process::stretch_interface::process ( const paint::pixel_buffer s_pixbuf,
const nana::rectangle source_rectangle,
paint::pixel_buffer d_pixbuf,
const nana::rectangle destination_rectangle 
) const
pure virtual

Copies the image from a source rectangle into a destination rectangle, stretching or compressing the image to fit the dimensions of the destination rectangle in destination(d_pixbuf).