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


Public Member Functions | |
| blit_modification (const surface &surf, int x, int y) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. | |
| const surface & | get_surface () const |
| int | get_x () const |
| int | get_y () const |
Private Attributes | |
| surface | surf_ |
| int | x_ |
| int | y_ |
Scale (BLIT) modification.
Definition at line 215 of file image_modifications.hpp.
| image::blit_modification::blit_modification | ( | const surface & | surf, | |
| int | x, | |||
| int | y | |||
| ) | [inline] |
Definition at line 218 of file image_modifications.hpp.
| const surface & image::blit_modification::get_surface | ( | ) | const |
Definition at line 244 of file image_modifications.cpp.
References surf_.
| int image::blit_modification::get_x | ( | ) | const |
Definition at line 249 of file image_modifications.cpp.
References x_.
| int image::blit_modification::get_y | ( | ) | const |
Definition at line 254 of file image_modifications.cpp.
References y_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 198 of file image_modifications.cpp.
References blit_surface(), gui2::create_rect(), make_neutral_surface(), surf_, x_, and y_.

surface image::blit_modification::surf_ [private] |
Definition at line 228 of file image_modifications.hpp.
Referenced by get_surface(), and operator()().
int image::blit_modification::x_ [private] |
Definition at line 229 of file image_modifications.hpp.
Referenced by get_x(), and operator()().
int image::blit_modification::y_ [private] |
Definition at line 230 of file image_modifications.hpp.
Referenced by get_y(), 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 |