Helper structure for rendering the terrains.
More...
#include <display.hpp>
|
| blit_helper (const blit_helper &)=delete |
|
| blit_helper (const drawing_layer layer, const map_location &loc, const int x, const int y, const surface &surf, const SDL_Rect &clip) |
|
| blit_helper (const drawing_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 blit_helper &rhs) const |
|
Helper structure for rendering the terrains.
Definition at line 937 of file display.hpp.
◆ blit_helper() [1/3]
display::blit_helper::blit_helper |
( |
const blit_helper & |
| ) |
|
|
delete |
◆ blit_helper() [2/3]
display::blit_helper::blit_helper |
( |
const drawing_layer |
layer, |
|
|
const map_location & |
loc, |
|
|
const int |
x, |
|
|
const int |
y, |
|
|
const surface & |
surf, |
|
|
const SDL_Rect & |
clip |
|
) |
| |
|
inline |
◆ blit_helper() [3/3]
display::blit_helper::blit_helper |
( |
const drawing_layer |
layer, |
|
|
const map_location & |
loc, |
|
|
const int |
x, |
|
|
const int |
y, |
|
|
const std::vector< surface > & |
surf, |
|
|
const SDL_Rect & |
clip |
|
) |
| |
|
inline |
◆ clip()
const SDL_Rect& display::blit_helper::clip |
( |
| ) |
const |
|
inline |
◆ operator<()
bool display::blit_helper::operator< |
( |
const blit_helper & |
rhs | ) |
const |
|
inline |
◆ surf()
const std::vector<surface>& display::blit_helper::surf |
( |
| ) |
const |
|
inline |
◆ x()
int display::blit_helper::x |
( |
| ) |
const |
|
inline |
◆ y()
int display::blit_helper::y |
( |
| ) |
const |
|
inline |
◆ clip_
SDL_Rect display::blit_helper::clip_ |
|
private |
The clipping area of the source if omitted the entire source is used.
Definition at line 969 of file display.hpp.
◆ key_
◆ surf_
std::vector<surface> display::blit_helper::surf_ |
|
private |
◆ x_
int display::blit_helper::x_ |
|
private |
x screen coordinate to render at.
Definition at line 966 of file display.hpp.
◆ y_
int display::blit_helper::y_ |
|
private |
y screen coordinate to render at.
Definition at line 967 of file display.hpp.
The documentation for this class was generated from the following file: