OSDN Git Service

SDL_CreateRGBSurfaceWithFormatFrom 新規追加 https://wiki.libsdl.org/SDL_CreateRGBSurfaceW...
[sdl2referencejp/sdl2referencejp.git] / SDL_CreateRGBSurfaceWithFormatFrom.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja-JP">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
7 <link rel="top" href="index.html" title="\83z\81[\83\80">
8 <link rel="parent" href="CategorySurface.html" title="1\82Â\8fã">
9 <title>SDL_CreateRGBSurfaceWithFormatFrom</title>
10 </head>
11 <body>
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategorySurface.html">\83T\81[\83t\83F\83C\83X\82Ì\90\90¬\82Æ\92P\8f\83\82È\95`\89æ</a> - SDL_CreateRGBSurfaceWithFormatFrom
13 <hr>
14 <h1>SDL_CreateRGBSurfaceWithFormatFrom</h1>
15 \8aù\91\82Ì\83s\83N\83Z\83\8b\83f\81[\83^\82©\82ç\90V\82µ\82¢RGB\83T\81[\83t\83F\83C\83X\82ð\90\90¬\82·\82é
16 <h2>\8d\\95¶</h2>
17 <code>SDL_Surface* SDL_CreateRGBSurfaceWithFormatFrom(void* pixels, int width, int height, int depth, int pitch, Uint32 format)</code>
18 <h2>\88ø\90\94</h2>
19 <table border="1" summary="SDL_CreateRGBSurfaceWithFormatFrom">
20 <tr><td>pixels</td><td>\8aù\91\82Ì\83s\83N\83Z\83\8b\83f\81[\83^\82Ö\82Ì\83|\83C\83\93\83^</td></tr>
21 <tr><td>width</td><td>\83T\81[\83t\83F\83C\83X\82Ì\95\9d</td></tr>
22 <tr><td>height</td><td>\83T\81[\83t\83F\83C\83X\82Ì\8d\82\82³</td></tr>
23 <tr><td>depth</td><td>\83T\81[\83t\83F\83C\83X\82Ì\83r\83b\83g\90[\93x</td></tr>
24 <tr><td>pitch</td><td>pixels\82Ì\90\85\95½\95û\8cü\82Ì\83o\83C\83g\90\94</td></tr>
25 <tr><td>format</td><td>\83T\81[\83t\83F\83C\83X\82Ì\83t\83H\81[\83}\83b\83g</td></tr>
26 </table>
27 <h2>\96ß\82è\92l</h2>
28 \90¬\8c÷\82Ì\82Æ\82«\90\90¬\82³\82ê\82½<a href="SDL_Surface.html">SDL_Surface</a>, \8e¸\94s\82Ì\82Æ\82«NULL\82ð\96ß\82·.
29 <a href="SDL_GetError.html">SDL_GetError()</a>\82ð\8cÄ\82ñ\82Å\8fÚ\8d×\82ð\92m\82é\82±\82Æ\82ª\82Å\82«\82é.
30 <h2>\8fÚ\8d×</h2>
31 <p>
32 \83\81\83\82\83\8a\82ð\8am\95Û\82Å\82«\82È\82©\82Á\82½\82Æ\82«\82ÍNULL\82ð\96ß\82·.
33 </p>
34 <h2>\83o\81[\83W\83\87\83\93</h2>
35 <p>
36 \82±\82Ì\8aÖ\90\94\82ÍSDL 2.0.5\88È\8d~\82Å\8eg\82¦\82é.
37 </p>
38 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>
39 <a href="SDL_CreateRGBSurfaceWithFormat.html">SDL_CreateRGBSurfaceWithFormat</a><br>
40 <a href="SDL_FreeSurface.html">SDL_FreeSurface</a><br>
41 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>
42 <a href="https://wiki.libsdl.org/SDL_CreateRGBSurfaceWithFormatFrom">SDL_CreateRGBSurfaceWithFormatFrom - SDL Wiki</a>
43 <hr>
44 </body>
45 </html>