SDL
2.0
|
A collection of pixels used in software blitting. More...
#include <SDL_surface.h>
Data Fields | |
Uint32 | flags |
SDL_PixelFormat * | format |
int | w |
int | h |
int | pitch |
void * | pixels |
void * | userdata |
int | locked |
void * | lock_data |
SDL_Rect | clip_rect |
struct SDL_BlitMap * | map |
int | refcount |
A collection of pixels used in software blitting.
pixels
, which, if not NULL, contains the raw pixel data for the surface. Definition at line 69 of file SDL_surface.h.
SDL_Rect SDL_Surface::clip_rect |
clipping information Read-only
Definition at line 85 of file SDL_surface.h.
Referenced by SDL_ConvertSurface().
Uint32 SDL_Surface::flags |
Read-only
Definition at line 71 of file SDL_surface.h.
SDL_PixelFormat* SDL_Surface::format |
Read-only
Definition at line 72 of file SDL_surface.h.
Referenced by _clearTestSurface(), LoadSprite(), LoadTexture(), main(), RLEAlphaClipBlit(), RLEAlphaSurface(), RLEClipBlit(), SDL_CalculateShapeBitmap(), SDL_ConvertSurface(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SaveBMP_RW(), SDLgfx_rotateSurface(), SDLTest_CompareSurfaces(), SDLTest_LoadIcon(), setpix(), and surface_testSurfaceConversion().
int SDL_Surface::h |
Read-only
Definition at line 73 of file SDL_surface.h.
Referenced by _Redraw(), _surfaceSetUp(), _testBlitBlendMode(), drawKnob(), DrawScreen(), LoadSprite(), main(), SDL_CalculateShapeBitmap(), SDL_CalculateShapeTree(), SDL_SW_CopyYUVToRGB(), SDLgfx_rotateSurface(), SDLTest_CompareSurfaces(), setpix(), and surface_testSaveLoadBitmap().
void* SDL_Surface::lock_data |
Read-only
Definition at line 82 of file SDL_surface.h.
int SDL_Surface::locked |
information needed for surfaces requiring locks Read-only
Definition at line 81 of file SDL_surface.h.
struct SDL_BlitMap* SDL_Surface::map |
info for fast blit mapping to other surfaces Private
Definition at line 88 of file SDL_surface.h.
Referenced by RLEAlphaSurface(), SDL_ConvertSurface(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), and SDL_SaveBMP_RW().
int SDL_Surface::pitch |
Read-only
Definition at line 74 of file SDL_surface.h.
Referenced by main(), SDL_CalculateShapeBitmap(), SDL_CreateTextureFromSurface(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SW_CopyYUVToRGB(), SDLTest_CompareSurfaces(), SDLTest_DrawCharacter(), setpix(), and SW_LockTexture().
void* SDL_Surface::pixels |
Read-write
Definition at line 75 of file SDL_surface.h.
Referenced by LoadSprite(), LoadTexture(), main(), SDL_CalculateShapeBitmap(), SDL_ConvertSurface(), SDL_CreateTextureFromSurface(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SW_CopyYUVToRGB(), SDLTest_CompareSurfaces(), SDLTest_DrawCharacter(), SDLTest_LoadIcon(), and setpix().
int SDL_Surface::refcount |
Reference count – used when freeing surface Read-mostly
Definition at line 91 of file SDL_surface.h.
void* SDL_Surface::userdata |
Application data associated with the surface Read-write
Definition at line 78 of file SDL_surface.h.
int SDL_Surface::w |
Definition at line 73 of file SDL_surface.h.
Referenced by _Redraw(), _surfaceSetUp(), _testBlitBlendMode(), drawKnob(), DrawScreen(), LoadSprite(), main(), SDL_CalculateShapeBitmap(), SDL_CalculateShapeTree(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SW_CopyYUVToRGB(), SDLTest_CompareSurfaces(), setpix(), and surface_testSaveLoadBitmap().