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="CategoryRect.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_IntersectRectAndLine</title>
\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_IntersectRectAndLine
\r
14 <h1>SDL_IntersectRectAndLine</h1>
\r
15 \92·
\95û
\8c`
\82Æ
\92¼
\90ü
\82Ì
\8cð
\93_
\82ð
\8b\81\82ß
\82é
\r
17 <code>SDL_bool SDL_IntersectRectAndLine(const SDL_Rect* rect, int* X1, int* Y1, int* X2, int* Y2)</code>
\r
19 <table border="1" summary="SDL_IntersectRectAndLine">
\r
20 <tr><td>rect</td><td>
\8cð
\93_
\82ð
\8b\81\82ß
\82é
\92·
\95û
\8c`
\82Ì<a href="SDL_Rect.html">SDL_Rect</a></td></tr>
\r
21 <tr><td>X1</td><td>
\92¼
\90ü
\82Ì
\8en
\93_
\82ÌX
\8dÀ
\95W</td></tr>
\r
22 <tr><td>Y1</td><td>
\92¼
\90ü
\82Ì
\8en
\93_
\82ÌY
\8dÀ
\95W</td></tr>
\r
23 <tr><td>X2</td><td>
\92¼
\90ü
\82Ì
\8fI
\93_
\82ÌX
\8dÀ
\95W</td></tr>
\r
24 <tr><td>Y2</td><td>
\92¼
\90ü
\82Ì
\8fI
\93_
\82ÌY
\8dÀ
\95W</td></tr>
\r
26 <h2>
\96ß
\82è
\92l</h2>
\r
27 \8cð
\93_
\82ª
\82 \82é
\82Æ
\82«SDL_TRUE,
\82È
\82¢
\82Æ
\82«SDL_FALSE
\82ð
\96ß
\82·.
\r
29 \82±
\82Ì
\8aÖ
\90\94\82Í
\92·
\95û
\8c`
\82Å
\92¼
\90ü
\82ð
\83N
\83\8a\83b
\83v
\82·
\82é
\82Æ
\82«
\82É
\8eg
\82¤.
\r
30 \92¼
\90ü
\82ª
\92·
\95û
\8c`
\82Ì
\92\86\82É
\82 \82é,
\82Ü
\82½
\82Í
\8cð
\93_
\82ª
\82È
\82¢
\8fê
\8d\87\82Í,
\92[
\93_
\82Ì
\8dÀ
\95W
\82Í
\95Ï
\82í
\82ç
\82È
\82¢.
\r
31 \92¼
\90ü
\82ª
\92·
\95û
\8c`
\82Ì
\95Ð
\95û
\82Ü
\82½
\82Í
\97¼
\95û
\82ª
\8cð
\82í
\82é
\82Æ,
\92·
\95û
\8c`
\82Å
\83N
\83\8a\83b
\83v
\82³
\82ê
\82½
\90V
\82µ
\82¢
\92l
\82ªX1, Y1, X2, Y2
\82É
\95K
\97v
\82È
\82ç
\82Î
\91ã
\93ü
\82³
\82ê
\82é.
\r
32 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
\r
34 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
35 <a href="https://wiki.libsdl.org/SDL_IntersectRectAndLine">SDL_IntersectRectAndLine - SDL Wiki</a>
\r