display::tblit Struct Reference

Helper structure for rendering the terrains. More...

#include <display.hpp>

Collaboration diagram for display::tblit:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tblit (const int x, const int y)
 tblit (const int x, const int y, const surface &surf, const SDL_Rect &clip=SDL_Rect())
 tblit (const int x, const int y, const std::vector< surface > &surf, const SDL_Rect &clip=SDL_Rect())

Public Attributes

int x
 x screen coordinate to render at.
int y
 y screen coordinate to render at.
std::vector< surfacesurf
 surface(s) to render.
SDL_Rect clip
 The clipping area of the source if ommitted the entire source is used.


Detailed Description

Helper structure for rendering the terrains.

Definition at line 430 of file display.hpp.


Constructor & Destructor Documentation

display::tblit::tblit ( const int  x,
const int  y 
) [inline]

Definition at line 431 of file display.hpp.

display::tblit::tblit ( const int  x,
const int  y,
const surface surf,
const SDL_Rect &  clip = SDL_Rect() 
) [inline]

Definition at line 438 of file display.hpp.

display::tblit::tblit ( const int  x,
const int  y,
const std::vector< surface > &  surf,
const SDL_Rect &  clip = SDL_Rect() 
) [inline]

Definition at line 446 of file display.hpp.


Member Data Documentation

x screen coordinate to render at.

Definition at line 455 of file display.hpp.

y screen coordinate to render at.

Definition at line 456 of file display.hpp.

surface(s) to render.

Definition at line 457 of file display.hpp.

Referenced by game_display::draw().

The clipping area of the source if ommitted the entire source is used.

Definition at line 458 of file display.hpp.


The documentation for this struct was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs