Annotated edit history of
SDL_CreateRGBSurfaceFrom(3) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SDL_CreateRGBSurfaceFrom |
|
|
2 |
!!!SDL_CreateRGBSurfaceFrom |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
---- |
|
|
8 |
!!NAME |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
SDL_CreateRGBSurfaceFrom- Create an SDL_Surface from pixel data |
|
|
12 |
!!SYNOPSIS |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
__#include __ |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__SDL_Surface *SDL_CreateRGBSurfaceFrom__(__void |
|
|
19 |
*pixels, int width, int height, int depth, int pitch, Uint32 |
|
|
20 |
Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 |
|
|
21 |
Amask__); |
|
|
22 |
!!DESCRIPTION |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
Creates an SDL_Surface from the provided pixel |
|
|
26 |
data. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
The data stored in __pixels__ is assumed to be of the |
|
|
30 |
__depth__ specified in the parameter list. The pixel data |
|
|
31 |
is not copied into the __SDL_Surface__ structure so it |
|
|
32 |
should no be freed until the surface has been freed with a |
2 |
perry |
33 |
called to ''SDL_!FreeSurface''. __pitch__ is the length |
1 |
perry |
34 |
of each scanline in bytes. |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
See __SDL_CreateRGBSurface__ for a more detailed |
|
|
38 |
description of the other parameters. |
|
|
39 |
!!SEE ALSO |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
__SDL_CreateRGBSurface__, |
2 |
perry |
43 |
__SDL_!FreeSurface__ |
1 |
perry |
44 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.