comparison include/SDL_pixels.h @ 3483:a54df8e52333

Made the comment actually mean something. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 22 Nov 2009 20:00:00 +0000
parents d3baf5ac4e37
children 7549b986ccb1
comparison
equal deleted inserted replaced
3482:78db4f7ae2f3 3483:a54df8e52333
372 extern DECLSPEC Uint32 SDLCALL SDL_MapRGBA(const SDL_PixelFormat * format, 372 extern DECLSPEC Uint32 SDLCALL SDL_MapRGBA(const SDL_PixelFormat * format,
373 Uint8 r, Uint8 g, Uint8 b, 373 Uint8 r, Uint8 g, Uint8 b,
374 Uint8 a); 374 Uint8 a);
375 375
376 /** 376 /**
377 * \brief Maps a pixel value into the RGB components for a given pixel format. 377 * \brief Get the RGB components from a pixel of the specified format.
378 * 378 *
379 * \sa SDL_GetRGBA 379 * \sa SDL_GetRGBA
380 */ 380 */
381 extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel, 381 extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel,
382 const SDL_PixelFormat * format, 382 const SDL_PixelFormat * format,
383 Uint8 * r, Uint8 * g, Uint8 * b); 383 Uint8 * r, Uint8 * g, Uint8 * b);
384 384
385 /** 385 /**
386 * \brief Maps a pixel value into the RGBA components for a given pixel format. 386 * \brief Get the RGBA components from a pixel of the specified format.
387 * 387 *
388 * \sa SDL_GetRGB 388 * \sa SDL_GetRGB
389 */ 389 */
390 extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel, 390 extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel,
391 const SDL_PixelFormat * format, 391 const SDL_PixelFormat * format,