basic-graphics.H File Reference

#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
Include dependency graph for basic-graphics.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SDL_Surface * load_image (std::string filename)
SDL_Surface * getABlankSurface (int w, int h)
void dumpSurface (SDL_Surface *surface)
void apply_surface (int x, int y, SDL_Surface &source, SDL_Surface &destination, SDL_Rect &clip)
void fillRectangle (SDL_Surface *surface, const Uint32 pc, uint offX, uint offY, const uint w, const uint h)
void fillOval (SDL_Surface *surface, const Uint32 pc, int offX, uint offY, const int w, const int h)
void fillLinearRadiant (SDL_Surface *surface, const Uint32 pc, uint offX, uint offY, const int R)
void fillQuadricRadiant (SDL_Surface *surface, const Uint32 pc, uint offX, uint offY, const int R)
void fillCubicRadiant (SDL_Surface *surface, const Uint32 pc, uint offX, uint offY, const int R)
void drawRectangle (SDL_Surface *surface, const Uint32 pc, uint offX, uint offY, const uint w, const uint h, const uint f=1)
void drawCircle (SDL_Surface *surface, const Uint32 pc, uint offX, uint offY, const uint r, const uint d=1)
void drawRectangleFromImage (SDL_Surface *surface, SDL_Surface *patch, uint offX, uint offY, const uint w, const uint h, const uint f=1)
Uint32 get_pixel32 (SDL_Surface *surface, int x, int y)
void put_pixel32 (SDL_Surface *surface, int x, int y, Uint32 pixel)
void putpixel (SDL_Surface *surface, int x, int y, Uint32 pixel)

Detailed Description

some utilities for displaying stimuli

Definition in file basic-graphics.H.

Generated on Sun May 8 08:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3