1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00
VVVVVV/desktop_version/src/GraphicsUtil.h

18 lines
459 B
C
Raw Normal View History

2020-01-01 21:29:24 +01:00
#ifndef GRAPHICSUTIL_H
#define GRAPHICSUTIL_H
#include <SDL.h>
2020-01-01 21:29:24 +01:00
void setRect(SDL_Rect& _r, int x, int y, int w, int h);
SDL_Surface* GetSubSurface( SDL_Surface* metaSurface, int x, int y, int width, int height );
void DrawPixel(SDL_Surface* surface, int x, int y, SDL_Color color);
2020-01-01 21:29:24 +01:00
SDL_Color ReadPixel(const SDL_Surface* surface, int x, int y);
2020-01-01 21:29:24 +01:00
void UpdateFilter(void);
void ApplyFilter(SDL_Surface* src, SDL_Surface* dest);
2020-01-01 21:29:24 +01:00
#endif /* GRAPHICSUTIL_H */