Results 1 - 10 of 10 results out of about 6838 pages. (3.72 seconds)
- SDL_MapRGBA . . . 3 matches
- ...
= SDL_MapRGBA =
Use this function to map an RGBA quadruple to a pixel value for a given pixel format.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
Uint32 SDL_MapRGBA(...
- SGFunctions . . . 1 match
- ...`<something>` with a brief, appropriate description of the Uint.||
||''Example'': [[SDL_MapRGBA]](), [[SDL_WasInit]]()||
||''Note'': Very rarely the Uint that is returned is a mas...
- SDL_PixelFormat . . . 1 match
- ...[SDL_Surface]]
== Related Functions ==
.[[SDL_ConvertSurface]]
.[[SDL_GetRGB]]
.[[SDL_GetRGBA]]
.[[SDL_MapRGB]]
.[[SDL_MapRGBA]]
----
[[CategoryStruct]], [[CategoryPixels]]...
- SDL_MapRGB . . . 1 match
- ...ed to a Uint16, and similarly a Uint8 for an 8-bpp format).
== Related Functions ==
.[[SDL_GetRGB]]
.[[SDL_GetRGBA]]
.[[SDL_MapRGBA]]
----
[[CategoryAPI]], [[CategoryPixels]]...
- SDL_GetRGBA . . . 1 match
- ...component, the alpha will be returned as 0xff (100% opaque).
== Related Functions ==
.[[SDL_GetRGB]]
.[[SDL_MapRGB]]
.[[SDL_MapRGBA]]
----
[[CategoryAPI]], [[CategoryPixels]]...
- SDL_GetRGB . . . 1 match
- ...t would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).
== Related Functions ==
.[[SDL_GetRGBA]]
.[[SDL_MapRGB]]
.[[SDL_MapRGBA]]
----
[[CategoryAPI]], [[CategoryPixels]]...
- SDL_FillRects . . . 1 match
- ...el of the format used by the surface, and can be generated by [[SDL_MapRGB]]() or [[SDL_MapRGBA]](). If the color value contains an alpha component then the destination is simply...
- SDL_FillRect . . . 1 match
- ...el of the format used by the surface, and can be generated by [[SDL_MapRGB]]() or [[SDL_MapRGBA]](). If the color value contains an alpha component then the destination is simply...
- CategoryPixels . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= Pixel Formats and Conversion Routines =
'''Include File(s):''' [[http://hg.libsdl.org/SDL/fil...
- CategoryAPI . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= SDL 2.0 API by Name =
<<TableOfContents()>>
== Hints ==
<<FullSearchCached(category:Catego...
