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. More... | |
| const surface & | get_surface () const |
| int | get_x () const |
| int | get_y () const |
Public Member Functions inherited from image::modification | |
| virtual | ~modification () |
| virtual int | priority () const |
| Specifies the priority of the modification. More... | |
Private Attributes | |
| surface | surf_ |
| int | x_ |
| int | y_ |
Additional Inherited Members | |
Static Public Member Functions inherited from image::modification | |
| static modification_queue | decode (const std::string &) |
| Decodes modifications from a modification string. More... | |
Scale (BLIT) modification.
Definition at line 312 of file image_modifications.hpp.
Definition at line 315 of file image_modifications.hpp.
| const surface & image::blit_modification::get_surface | ( | ) | const |
Definition at line 303 of file image_modifications.cpp.
| int image::blit_modification::get_x | ( | ) | const |
Definition at line 308 of file image_modifications.cpp.
References x_.
| int image::blit_modification::get_y | ( | ) | const |
Definition at line 313 of file image_modifications.cpp.
References y_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 257 of file image_modifications.cpp.
References blit_surface(), sdl::create_rect(), make_neutral_surface(), x_, and y_.
|
private |
Definition at line 325 of file image_modifications.hpp.
|
private |
Definition at line 326 of file image_modifications.hpp.
|
private |
Definition at line 327 of file image_modifications.hpp.
1.8.8