SDL_test_images.h 792 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef _SDL_test_images_h
  2. #define _SDL_test_images_h
  3. #include "SDL.h"
  4. #include "begin_code.h"
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. typedef struct SDLTest_SurfaceImage_s {
  9. int width;
  10. int height;
  11. unsigned int bytes_per_pixel;
  12. const char *pixel_data;
  13. } SDLTest_SurfaceImage_t;
  14. SDL_Surface *SDLTest_ImageBlit();
  15. SDL_Surface *SDLTest_ImageBlitColor();
  16. SDL_Surface *SDLTest_ImageBlitAlpha();
  17. SDL_Surface *SDLTest_ImageBlitBlendAdd();
  18. SDL_Surface *SDLTest_ImageBlitBlend();
  19. SDL_Surface *SDLTest_ImageBlitBlendMod();
  20. SDL_Surface *SDLTest_ImageBlitBlendNone();
  21. SDL_Surface *SDLTest_ImageBlitBlendAll();
  22. SDL_Surface *SDLTest_ImageFace();
  23. SDL_Surface *SDLTest_ImagePrimitives();
  24. SDL_Surface *SDLTest_ImagePrimitivesBlend();
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #include "close_code.h"
  29. #endif