Mercurial > sdl-ios-xcode
comparison docs/man3/SDL_GetRGB.3 @ 2283:546f7c1eb755
Merged revision 3472 from SDL 1.2, fixing bug #493
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 03:25:11 +0000 |
parents | e5bc29de3f0a |
children | 1238da4a7112 |
comparison
equal
deleted
inserted
replaced
2282:ff3b47d22a6d | 2283:546f7c1eb755 |
---|---|
1 .TH "SDL_GetRGB" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" | 1 .TH "SDL_GetRGB" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" |
2 .SH "NAME" | 2 .SH "NAME" |
3 SDL_GetRGB\- Get RGB values from a pixel in the specified pixel format\&. | 3 SDL_GetRGB \- Get RGB values from a pixel in the specified pixel format\&. |
4 .SH "SYNOPSIS" | 4 .SH "SYNOPSIS" |
5 .PP | 5 .PP |
6 \fB#include "SDL\&.h" | 6 \fB#include "SDL\&.h" |
7 .sp | 7 .sp |
8 \fBvoid \fBSDL_GetRGB\fP\fR(\fBUint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b\fR); | 8 \fBvoid \fBSDL_GetRGB\fP\fR(\fBUint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b\fR); |