Results 1 - 13 of 13 results out of about 6839 pages. (4.41 seconds)
- SDL_MapRGBA . . . 4 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(c...
- SDL_MapRGB . . . 4 matches
- ...
= SDL_MapRGB =
Use this function to map an RGB triple to an opaque pixel value for a given pixel format.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
Uint32 SDL_MapRGB...
- SDL_FillRect . . . 3 matches
- ...t, 32, 0, 0, 0, 0);
/* Filling the surface with red color. */
SDL_FillRect(s, NULL, SDL_MapRGB(s->format, 255, 0, 0));
}}}
== Remarks ==
'''color''' should be a pixel of the form...
- SDL_PixelFormat . . . 2 matches
- ...[[SDL_Surface]]
== Related Functions ==
.[[SDL_ConvertSurface]]
.[[SDL_GetRGB]]
.[[SDL_GetRGBA]]
.[[SDL_MapRGB]]
.[[SDL_MapRGBA]]
----
[[CategoryStruct]], [[CategoryPixels]]...
- SDL_GetRGBA . . . 2 matches
- ... component, the alpha will be returned as 0xff (100% opaque).
== Related Functions ==
.[[SDL_GetRGB]]
.[[SDL_MapRGB]]
.[[SDL_MapRGBA]]
----
[[CategoryAPI]], [[CategoryPixels]]...
- SDL_GetRGB . . . 2 matches
- ...at would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).
== Related Functions ==
.[[SDL_GetRGBA]]
.[[SDL_MapRGB]]
.[[SDL_MapRGBA]]
----
[[CategoryAPI]], [[CategoryPixels]]...
- SDL_FillRects . . . 2 matches
- ...or''' should be a pixel 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 d...
- 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_SetColorKey . . . 1 match
- ...arent in a blit. It is a pixel of the format used by the surface, as generated by [[SDL_MapRGB]]().
RLE acceleration can substantially speed up blitting of images with large hor...
- SDL_GetColorKey . . . 1 match
- ...rks ==
The color key is a pixel of the format used by the surface, as generated by [[SDL_MapRGB]]().
== Related Functions ==
.[[SDL_BlitSurface]]
.[[SDL_SetColorKey]]
----
[[Ca...
- SDL_Color . . . 1 match
- ...You can convert an [[SDL_Color]] to a pixel value for a certain pixel format using [[SDL_MapRGB]]().
== Related Structures ==
.[[SDL_Palette]]
== Related Functions ==
.[[SDL_Se...
- 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...
