Channel swap (SWAP). More...
#include <image_modifications.hpp>
Public Member Functions | |
swap_modification (channel r, channel g, channel b, channel a) | |
virtual surface | operator() (const surface &src) const |
Applies the image-path modification on the specified surface. More... | |
![]() | |
virtual | ~modification () |
virtual int | priority () const |
Specifies the priority of the modification. More... | |
Private Attributes | |
channel | red_ |
channel | green_ |
channel | blue_ |
channel | alpha_ |
Additional Inherited Members | |
![]() | |
static modification_queue | decode (const std::string &) |
Decodes modifications from a modification string. More... | |
Channel swap (SWAP).
Definition at line 600 of file image_modifications.hpp.
Definition at line 603 of file image_modifications.hpp.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 602 of file image_modifications.cpp.
References swap_channels_image().
|
private |
Definition at line 609 of file image_modifications.hpp.
|
private |
Definition at line 608 of file image_modifications.hpp.
|
private |
Definition at line 607 of file image_modifications.hpp.
|
private |
Definition at line 606 of file image_modifications.hpp.