Scale (SCALE) modification. More...
#include <image_modifications.hpp>


Public Member Functions | |
| scale_modification (int width, int height) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. | |
| int | get_w () const |
| int | get_h () const |
Private Attributes | |
| int | w_ |
| int | h_ |
Scale (SCALE) modification.
Definition at line 276 of file image_modifications.hpp.
| image::scale_modification::scale_modification | ( | int | width, | |
| int | height | |||
| ) | [inline] |
Definition at line 279 of file image_modifications.hpp.
| int image::scale_modification::get_h | ( | ) | const |
Definition at line 329 of file image_modifications.cpp.
References h_.
| int image::scale_modification::get_w | ( | ) | const |
Definition at line 324 of file image_modifications.cpp.
References w_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 301 of file image_modifications.cpp.
References ERR_DP, h, h_, scale_surface(), w, and w_.

int image::scale_modification::h_ [private] |
Definition at line 287 of file image_modifications.hpp.
Referenced by get_h(), and operator()().
int image::scale_modification::w_ [private] |
Definition at line 287 of file image_modifications.hpp.
Referenced by get_w(), and operator()().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |