2001-09-14 02:41:09 +00:00
.TH "SDL_Color" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
2001-04-26 16:45:43 +00:00
.SH "NAME"
SDL_Color\- Format independent color description
.SH "STRUCTURE DEFINITION"
.PP
.nf
\f (CWtypedef struct{
Uint8 r;
Uint8 g;
Uint8 b;
Uint8 unused;
} SDL_Color;\fR
.fi
.PP
.SH "STRUCTURE DATA"
.TP 20
\fB r\fR
Red intensity
.TP 20
\fB g\fR
Green intensity
.TP 20
\fB b\fR
Blue intensity
.TP 20
\fB unused\fR
Unused
.SH "DESCRIPTION"
.PP
\fB SDL_Color\fR describes a color in a format independent way\& . You can convert a \fB SDL_Color\fR to a pixel value for a certain pixel format using \fI \fB SDL_MapRGB\fP \fR \& .
.SH "SEE ALSO"
.PP
\fI \fB SDL_PixelFormat\fR \fR , \fI \fB SDL_SetColors\fP \fR , \fI \fB SDL_Palette\fP \fR
2001-09-14 02:41:09 +00:00
. ..\" created by instant / docbook-to-man, Tue 11 Sep 2001 , 23 :01