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="CategorySurface.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_GetColorKey</title>
\r
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_GetColorKey
\r
14 <h1>SDL_GetColorKey</h1>
\r
15 \83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\83J
\83\89\81[
\83L
\81[(
\93§
\89ß
\83s
\83N
\83Z
\83\8b)
\82ð
\93¾
\82é
\r
17 <code>int SDL_GetColorKey(SDL_Surface* surface, Uint32* key)</code>
\r
19 <table border="1" summary="SDL_GetColorKey">
\r
20 <tr><td>surface</td><td>
\92²
\8d¸
\82·
\82é<a href="SDL_Surface.html">SDL_Surface</a></td></tr>
\r
21 <tr><td>key</td><td>
\93§
\89ß
\83s
\83N
\83Z
\83\8b\82Ì
\92l
\82ð
\91ã
\93ü
\82·
\82é
\83|
\83C
\83\93\83^</td></tr>
\r
23 <h2>
\96ß
\82è
\92l</h2>
\r
24 \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
25 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
26 surface
\82Å
\83J
\83\89\81[
\83L
\81[
\82ª
\96³
\8cø
\82Ì
\8fê
\8d\87\82Í
\82±
\82Ì
\8aÖ
\90\94\82Í-1
\82ð
\96ß
\82·.
\r
28 \83J
\83\89\81[
\83L
\81[
\82Ísurface
\82Ì
\83s
\83N
\83Z
\83\8b\8c`
\8e®
\82Å, <a href="SDL_MapRGB.html">SDL_MapRGB()</a>
\82Å
\90¶
\90¬
\82Å
\82«
\82é.
\r
29 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
30 <a href="SDL_BlitSurface.html">SDL_BlitSurface</a><br>
\r
31 <a href="SDL_SetColorKey.html">SDL_SetColorKey</a><br>
\r
32 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
33 <a href="https://wiki.libsdl.org/SDL_GetColorKey">SDL_GetColorKey - SDL Wiki</a>
\r