Public Member Functions | Private Attributes

image::mask_modification Class Reference

Mask (MASK) modification. More...

#include <image_modifications.hpp>

Inheritance diagram for image::mask_modification:
Inheritance graph
[legend]
Collaboration diagram for image::mask_modification:
Collaboration graph
[legend]

List of all members.

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 surfaceget_mask () const
int get_x () const
int get_y () const

Private Attributes

surface mask_
int x_
int y_

Detailed Description

Mask (MASK) modification.

Definition at line 237 of file image_modifications.hpp.


Constructor & Destructor Documentation

image::mask_modification::mask_modification ( const surface mask,
int  x,
int  y 
) [inline]

Definition at line 240 of file image_modifications.hpp.


Member Function Documentation

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_.

surface image::mask_modification::operator() ( const surface src  )  const [virtual]

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_.

Here is the call graph for this function:


Member Data Documentation

Definition at line 250 of file image_modifications.hpp.

Referenced by get_mask(), and operator()().

Definition at line 251 of file image_modifications.hpp.

Referenced by get_x(), and operator()().

Definition at line 252 of file image_modifications.hpp.

Referenced by get_y(), and operator()().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:42 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs