Public Member Functions | Private Attributes

image::blit_modification Class Reference

Scale (BLIT) modification. More...

#include <image_modifications.hpp>

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

List of all members.

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

Private Attributes

surface surf_
int x_
int y_

Detailed Description

Scale (BLIT) modification.

Definition at line 215 of file image_modifications.hpp.


Constructor & Destructor Documentation

image::blit_modification::blit_modification ( const surface surf,
int  x,
int  y 
) [inline]

Definition at line 218 of file image_modifications.hpp.


Member Function Documentation

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

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

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 228 of file image_modifications.hpp.

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

Definition at line 229 of file image_modifications.hpp.

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

Definition at line 230 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