Atlas - testautomation_images.h
Home / ext / SDL / test Lines: 1 | Size: 1230 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1/* 2 Copyright (C) 1997-2025 Sam Lantinga <[email protected]> 3 4 This software is provided 'as-is', without any express or implied 5 warranty. In no event will the authors be held liable for any damages 6 arising from the use of this software. 7 8 Permission is granted to anyone to use this software for any purpose, 9 including commercial applications, and to alter it and redistribute it 10 freely. 11*/ 12 13/* Defines some images for tests */ 14 15#ifndef testautomation_images_h_ 16#define testautomation_images_h_ 17 18/** 19 * Type for test images. 20 */ 21typedef struct SDLTest_SurfaceImage_s { 22 int width; 23 int height; 24 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ 25 char *pixel_data; 26} SDLTest_SurfaceImage_t; 27 28/* Test images */ 29extern SDL_Surface *SDLTest_ImageBlit(void); 30extern SDL_Surface *SDLTest_ImageBlitTiled(void); 31extern SDL_Surface *SDLTest_ImageBlitColor(void); 32extern SDL_Surface *SDLTest_ImageClampedSprite(void); 33extern SDL_Surface *SDLTest_ImageFace(void); 34extern SDL_Surface *SDLTest_ImagePrimitives(void); 35extern SDL_Surface *SDLTest_ImageBlendingBackground(void); 36extern SDL_Surface *SDLTest_ImageBlendingSprite(void); 37extern SDL_Surface *SDLTest_ImageWrappingSprite(void); 38 39#endif /* testautomation_images_h_ */ 40[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.