comparison src/video/SDL_sysvideo.h @ 2901:133601e3b255

Added RenderPiont() API Merged the drawing tests into a single test program
author Sam Lantinga <slouken@libsdl.org>
date Sun, 21 Dec 2008 17:39:41 +0000
parents 9dde605c7540
children e4a469d6ddab
comparison
equal deleted inserted replaced
2900:3a9636c83849 2901:133601e3b255
88 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture); 88 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
89 void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 89 void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
90 int numrects, const SDL_Rect * rects); 90 int numrects, const SDL_Rect * rects);
91 int (*SetDrawColor) (SDL_Renderer * renderer); 91 int (*SetDrawColor) (SDL_Renderer * renderer);
92 int (*SetDrawBlendMode) (SDL_Renderer * renderer); 92 int (*SetDrawBlendMode) (SDL_Renderer * renderer);
93 int (*RenderPoint) (SDL_Renderer * renderer, int x, int y);
93 int (*RenderLine) (SDL_Renderer * renderer, int x1, int y1, int x2, 94 int (*RenderLine) (SDL_Renderer * renderer, int x1, int y1, int x2,
94 int y2); 95 int y2);
95 int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect); 96 int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect);
96 int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture, 97 int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture,
97 const SDL_Rect * srcrect, const SDL_Rect * dstrect); 98 const SDL_Rect * srcrect, const SDL_Rect * dstrect);