Make an image negative (NEG) More...
#include <image_modifications.hpp>

Public Member Functions | |
| negative_modification (int r, int g, int b) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. More... | |
Public Member Functions inherited from image::modification | |
| virtual | ~modification () |
| virtual int | priority () const |
| Specifies the priority of the modification. More... | |
Private Attributes | |
| int | red_ |
| int | green_ |
| int | blue_ |
Additional Inherited Members | |
Static Public Member Functions inherited from image::modification | |
| static modification_queue | decode (const std::string &) |
| Decodes modifications from a modification string. More... | |
Make an image negative (NEG)
Definition at line 248 of file image_modifications.hpp.
Definition at line 251 of file image_modifications.hpp.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 210 of file image_modifications.cpp.
References negative_image().
|
private |
Definition at line 254 of file image_modifications.hpp.
|
private |
Definition at line 254 of file image_modifications.hpp.
|
private |
Definition at line 254 of file image_modifications.hpp.
1.8.8