1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
\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="CategoryVideo.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_GetDisplayBounds</title>
\r
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="ApiByCategory.html">API(
\8b@
\94\
\95Ê)</a> - <a href="CategoryVideo.html">
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E</a> - SDL_GetDisplayBounds
\r
14 <h1>SDL_GetDisplayBounds</h1>
\r
15 \83f
\83B
\83X
\83v
\83\8c\83C
\82É
\95\
\8e¦
\82³
\82ê
\82é
\83f
\83X
\83N
\83g
\83b
\83v
\82Ì
\97Ì
\88æ
\82ð
\93¾
\82é
\r
17 <code>int SDL_GetDisplayBounds(int displayIndex, SDL_Rect* rect)
\r
20 <table border="1" summary="SDL_GetDisplayBounds">
\r
21 <tr><td>displayIndex</td><td>
\92²
\8d¸
\82·
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
22 <tr><td>rect</td><td>
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\95\
\8e¦
\97Ì
\88æ
\82ð
\91ã
\93ü
\82·
\82é<a href="SDL_Rect.html">SDL_Rect</a>
\83|
\83C
\83\93\83^</td></tr>
\r
24 <h2>
\96ß
\82è
\92l</h2>
\r
25 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
26 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
27 <h2>
\83T
\83\93\83v
\83\8b\83R
\81[
\83h</h2>
\r
32 if (SDL_GetDisplayBounds(0, &r) != 0) {
\r
33 SDL_Log("SDL_GetDisplayBounds
\8e¸
\94s: %s", SDL_GetError());
\r
41 \8eå
\83f
\83B
\83X
\83v
\83\8c\83C(
\83f
\83B
\83X
\83v
\83\8c\83C
\94Ô
\8d\860)
\82Ì
\88Ê
\92u
\82Í
\8fí
\82É(0,0)
\82Å
\82 \82é.
\r
43 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
\r
45 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
46 <a href="SDL_GetNumVideoDisplays.html">SDL_GetNumVideoDisplays</a><br>
\r
47 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
48 <a href="https://wiki.libsdl.org/SDL_GetDisplayBounds">SDL_GetDisplayBounds - SDL Wiki</a>
\r