Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

surface.cpp File Reference

#include "pgdraw.h"
#include "pglog.h"

Include dependency graph for libs/paragui/src/draw/surface.cpp:

Go to the source code of this file.

Functions

SDL_Surface * PG_Draw::CreateRGBSurface (Uint16 w, Uint16 h, int flags)
static void Draw3TileH (SDL_Surface *src, const PG_Rect &r, SDL_Surface *dst, Uint8 blend=0)
static void Draw3TileV (SDL_Surface *src, const PG_Rect &r, SDL_Surface *dst, Uint8 blend=0)
static void DrawTileSurface (SDL_Surface *src, const PG_Rect &r, SDL_Surface *dst, Uint8 blend=0)
static void Draw9Tile (SDL_Surface *src, const PG_Rect &r, SDL_Surface *dst, Uint8 blend=0)
void PG_Draw::DrawThemedSurface (SDL_Surface *surface, const PG_Rect &r, PG_Gradient *gradient, SDL_Surface *background, BkMode bkmode, Uint8 blend)


Function Documentation

static void Draw3TileH SDL_Surface *  src,
const PG_Rect r,
SDL_Surface *  dst,
Uint8  blend = 0
[static]
 

Definition at line 53 of file libs/paragui/src/draw/surface.cpp.

References PG_Draw::BlitSurface(), PG_Draw::ScaleSurface(), and PG_Rect::SetRect().

Referenced by Draw9Tile(), and PG_Draw::DrawThemedSurface().

static void Draw3TileV SDL_Surface *  src,
const PG_Rect r,
SDL_Surface *  dst,
Uint8  blend = 0
[static]
 

Definition at line 117 of file libs/paragui/src/draw/surface.cpp.

References PG_Draw::BlitSurface(), PG_Draw::ScaleSurface(), and PG_Rect::SetRect().

Referenced by PG_Draw::DrawThemedSurface().

static void Draw9Tile SDL_Surface *  src,
const PG_Rect r,
SDL_Surface *  dst,
Uint8  blend = 0
[static]
 

Definition at line 234 of file libs/paragui/src/draw/surface.cpp.

References PG_Draw::BlitSurface(), Draw3TileH(), DrawTileSurface(), and PG_Rect::SetRect().

Referenced by PG_Draw::DrawThemedSurface().

static void DrawTileSurface SDL_Surface *  src,
const PG_Rect r,
SDL_Surface *  dst,
Uint8  blend = 0
[static]
 

Definition at line 182 of file libs/paragui/src/draw/surface.cpp.

References PG_Draw::BlitSurface(), PG_Rect::my_height, PG_Rect::my_width, PG_Rect::my_xpos, PG_Rect::my_ypos, and PG_Rect::SetRect().

Referenced by Draw9Tile(), and PG_Draw::DrawThemedSurface().

SDL_Surface* PG_Draw::CreateRGBSurface Uint16  w,
Uint16  h,
int  flags
 

Definition at line 34 of file libs/paragui/src/draw/surface.cpp.

References PG_LogWRN(), and screen.

void PG_Draw::DrawThemedSurface SDL_Surface *  surface,
const PG_Rect r,
PG_Gradient gradient,
SDL_Surface *  background,
BkMode  bkmode,
Uint8  blend
 

Definition at line 316 of file libs/paragui/src/draw/surface.cpp.

References Draw3TileH(), Draw3TileV(), Draw9Tile(), PG_Draw::DrawGradient(), DrawTileSurface(), PG_Color::MapRGB(), PG_Draw::ScaleSurface(), PG_Draw::STRETCH, PG_Draw::TILE, PG_Draw::TILE3H, PG_Draw::TILE3V, and PG_Draw::TILE9.


Generated on Tue Jun 24 02:10:27 2008 for Advanced Strategic Command by  doxygen 1.4.2