Helper structure for rendering the terrains. More...
#include <display.hpp>

Public Member Functions | |
| tblit (const tdrawing_layer layer, const map_location &loc, const int x, const int y, const surface &surf, const SDL_Rect &clip) | |
| tblit (const tdrawing_layer layer, const map_location &loc, const int x, const int y, const std::vector< surface > &surf, const SDL_Rect &clip) | |
| int | x () const |
| int | y () const |
| const std::vector< surface > & | surf () const |
| const SDL_Rect & | clip () const |
| bool | operator< (const tblit &rhs) const |
Private Attributes | |
| int | x_ |
| x screen coordinate to render at. | |
| int | y_ |
| y screen coordinate to render at. | |
| std::vector< surface > | surf_ |
| surface(s) to render. | |
| SDL_Rect | clip_ |
| The clipping area of the source if ommitted the entire source is used. | |
| drawing_buffer_key | key_ |
Helper structure for rendering the terrains.
Definition at line 837 of file display.hpp.
| display::tblit::tblit | ( | const tdrawing_layer | layer, | |
| const map_location & | loc, | |||
| const int | x, | |||
| const int | y, | |||
| const surface & | surf, | |||
| const SDL_Rect & | clip | |||
| ) | [inline] |
Definition at line 840 of file display.hpp.
| display::tblit::tblit | ( | const tdrawing_layer | layer, | |
| const map_location & | loc, | |||
| const int | x, | |||
| const int | y, | |||
| const std::vector< surface > & | surf, | |||
| const SDL_Rect & | clip | |||
| ) | [inline] |
Definition at line 847 of file display.hpp.
| const SDL_Rect& display::tblit::clip | ( | ) | const [inline] |
Definition at line 857 of file display.hpp.
References clip_.
Referenced by display::drawing_buffer_commit().

| bool display::tblit::operator< | ( | const tblit & | rhs | ) | const [inline] |
Definition at line 859 of file display.hpp.
References key_.
| const std::vector<surface>& display::tblit::surf | ( | ) | const [inline] |
Definition at line 856 of file display.hpp.
References surf_.
Referenced by display::drawing_buffer_commit().

| int display::tblit::x | ( | ) | const [inline] |
Definition at line 854 of file display.hpp.
References x_.
Referenced by display::drawing_buffer_commit().

| int display::tblit::y | ( | ) | const [inline] |
Definition at line 855 of file display.hpp.
References y_.
Referenced by display::drawing_buffer_commit().

SDL_Rect display::tblit::clip_ [private] |
The clipping area of the source if ommitted the entire source is used.
Definition at line 865 of file display.hpp.
Referenced by clip().
drawing_buffer_key display::tblit::key_ [private] |
Definition at line 869 of file display.hpp.
Referenced by operator<().
std::vector<surface> display::tblit::surf_ [private] |
int display::tblit::x_ [private] |
int display::tblit::y_ [private] |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:13:46 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |