|
Nana C++ Library. Reference for users.
What we need to use nana
|
The interface of line algorithm. More...
Public Member Functions | |
| virtual | ~line_interface ()=default |
| virtual void | process (paint::pixel_buffer &pixbuf, const point &pos_beg, const point &pos_end, const ::nana::color &, double fade_rate) const =0 |
| Draws a line. More... | |
The interface of line algorithm.
|
virtualdefault |
|
pure virtual |
Draws a line.
Semantics:
The two points are calculated by Nana, they are always valid, and pos_beg.x <= pos_end.x
| pos_beg | left point |
| pos_end | right point |
| fade_rate | blend rate in the range of [0, 1] If not 0, the line is blended to the pixbuf |