Scale exact modification. More...
#include <image_modifications.hpp>
Public Member Functions | |
scale_exact_modification (int width, int height, std::string fn, bool use_nn) | |
virtual std::pair< int, int > | calculate_size (const surface &src) const |
Public Member Functions inherited from image::scale_modification | |
scale_modification (int width, int height, std::string fn, bool use_nn) | |
virtual surface | operator() (const surface &src) const |
Applies the image-path modification on the specified surface. More... | |
int | get_w () const |
int | get_h () const |
Public Member Functions inherited from image::modification | |
virtual | ~modification () |
virtual int | priority () const |
Specifies the priority of the modification. More... | |
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... | |
Protected Attributes inherited from image::scale_modification | |
const std::string | fn_ |
Scale exact modification.
(SCALE, SCALE_SHARP)
Definition at line 394 of file image_modifications.hpp.
|
inline |
Definition at line 397 of file image_modifications.hpp.
|
virtual |
Implements image::scale_modification.
Definition at line 381 of file image_modifications.cpp.
References ERR_DP.