Mask (MASK) modification. More...
#include <image_modifications.hpp>


Public Member Functions | |
| mask_modification (const surface &mask, int x, int y) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. | |
| const surface & | get_mask () const |
| int | get_x () const |
| int | get_y () const |
Private Attributes | |
| surface | mask_ |
| int | x_ |
| int | y_ |
Mask (MASK) modification.
Definition at line 237 of file image_modifications.hpp.
| image::mask_modification::mask_modification | ( | const surface & | mask, | |
| int | x, | |||
| int | y | |||
| ) | [inline] |
Definition at line 240 of file image_modifications.hpp.
| const surface & image::mask_modification::get_mask | ( | ) | const |
Definition at line 269 of file image_modifications.cpp.
References mask_.
| int image::mask_modification::get_x | ( | ) | const |
Definition at line 274 of file image_modifications.cpp.
References x_.
| int image::mask_modification::get_y | ( | ) | const |
Definition at line 279 of file image_modifications.cpp.
References y_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 259 of file image_modifications.cpp.
References blit_surface(), create_neutral_surface(), gui2::create_rect(), mask_, mask_surface(), x_, and y_.

surface image::mask_modification::mask_ [private] |
Definition at line 250 of file image_modifications.hpp.
Referenced by get_mask(), and operator()().
int image::mask_modification::x_ [private] |
Definition at line 251 of file image_modifications.hpp.
Referenced by get_x(), and operator()().
int image::mask_modification::y_ [private] |
Definition at line 252 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 |