OSDN Git Service

SDL_EventState 関連項目(関数)にSDL_GetEventStateを追加 https://wiki.libsdl.org/SDL_EventState...
[sdl2referencejp/sdl2referencejp.git] / SDL_Rect.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html lang="ja-JP">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">\r
7 <link rel="top" href="index.html" title="\83z\81[\83\80">\r
8 <link rel="parent" href="CategoryRect.html" title="1\82Â\8fã">\r
9 <title>SDL_Rect</title>\r
10 </head>\r
11 <body>\r
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryRect.html">\97Ì\88æ</a> - SDL_Rect\r
13 <hr>\r
14 <h1>SDL_Rect</h1>\r
15 \8d\8fã\82ð\8aî\93_\82Æ\82µ\82½\92·\95û\8c`\82ð\92è\8b`\82·\82é\8d\\91¢\91Ì\r
16 <h2>\83t\83B\81[\83\8b\83h</h2>\r
17 <table border="1" summary="SDL_Rect">\r
18 <tr><td>int</td><td>x</td><td>\92·\95û\8c`\82Ì\8d\8fã\82ÌX\8dÀ\95W</td></tr>\r
19 <tr><td>int</td><td>y</td><td>\92·\95û\8c`\82Ì\8d\8fã\82ÌY\8dÀ\95W</td></tr>\r
20 <tr><td>int</td><td>w</td><td>\92·\95û\8c`\82Ì\95\9d</td></tr>\r
21 <tr><td>int</td><td>h</td><td>\92·\95û\8c`\82Ì\8d\82\82³</td></tr>\r
22 </table>\r
23 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
24 <p>\r
25 <code>\r
26 <pre>\r
27 SDL_Rect srcrect;\r
28 SDL_Rect dstrect;\r
29 \r
30 srcrect.x = 0;\r
31 srcrect.y = 0;\r
32 srcrect.w = 32;\r
33 srcrect.h = 32;\r
34 dstrect.x = 640/2;\r
35 dstrect.y = 480/2;\r
36 dstrect.w = 32;\r
37 dstrect.h = 32;\r
38 \r
39 SDL_BlitSurface(src, &amp;srcrect, dst, &amp;dstrect);\r
40 </pre>\r
41 </code>\r
42 </p>\r
43 <h2>\8fÚ\8d×</h2>\r
44 <a href="SDL_Rect.html">SDL_Rect</a>\82Í\83X\83N\83\8a\81[\83\93\8fã\82Ì\92·\95û\8c`\82Ì\97Ì\88æ\82ð\92è\8b`\82·\82é.\r
45 <a href="SDL_BlitSurface.html">SDL_BlitSurface()</a>\82Å\82Í\93]\91\97\82Ì\97Ì\88æ\82ð\92è\8b`\82µ, \91¼\82Ì\83r\83f\83I\8aÖ\90\94\82Å\82à\8eg\82í\82ê\82é.\r
46 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>\r
47 <a href="SDL_BlitSurface.html">SDL_BlitSurface</a><br>\r
48 <a href="SDL_EnclosePoints.html">SDL_EnclosePoints</a><br>\r
49 <a href="SDL_GetDisplayBounds.html">SDL_GetDisplayBounds</a><br>\r
50 <a href="SDL_HasIntersection.html">SDL_HasIntersection</a><br>\r
51 <a href="SDL_IntersectRect.html">SDL_IntersectRect</a><br>\r
52 <a href="SDL_LockTexture.html">SDL_LockTexture</a><br>\r
53 <a href="SDL_RenderCopy.html">SDL_RenderCopy</a><br>\r
54 <a href="SDL_RenderDrawRect.html">SDL_RenderDrawRect</a><br>\r
55 <a href="SDL_RenderDrawRects.html">SDL_RenderDrawRects</a><br>\r
56 <a href="SDL_RenderReadPixels.html">SDL_RenderReadPixels</a><br>\r
57 <a href="SDL_UnionRect.html">SDL_UnionRect</a><br>\r
58 <a href="SDL_UpdateTexture.html">SDL_UpdateTexture</a><br>\r
59 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>\r
60 <a href="https://wiki.libsdl.org/SDL_Rect">SDL_Rect - SDL Wiki</a><br>\r
61 <hr>\r
62 </body>\r
63 </html>\r