1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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_PremultiplyAlpha</title>
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_PremultiplyAlpha
14 <h1>SDL_PremultiplyAlpha</h1>
15 \83s
\83N
\83Z
\83\8b\8cS
\82Ì
\83A
\83\8b\83t
\83@
\92l
\82É
\83v
\83\8a\83}
\83\8b\83`
\83v
\83\89\83C
\82ð
\8ds
\82¤
17 <code>int SDL_PremultiplyAlpha(int width, int height, Uint32 src_format, const void *src, int src_pitch, Uint32 dst_format, void *dst, int dst_pitch)</code>
19 <table border="1" summary="SDL_PremultiplyAlpha">
20 <tr><td>width</td><td>
\83s
\83N
\83Z
\83\8b\8cQ
\82Ì
\95\9d</td></tr>
21 <tr><td>height</td><td>
\83s
\83N
\83Z
\83\8b\8cQ
\82Ì
\8d\82\82³</td></tr>
22 <tr><td>src_format</td><td>
\83R
\83s
\81[
\8c³
\82Ì
\83s
\83N
\83Z
\83\8b\8c`
\8e®
\82Ì<a href="SDL_PixelFormatEnum.html">SDL_PixelFormatEnum</a>
\82Ì
\92l</td></tr>
23 <tr><td>src</td><td>
\83R
\83s
\81[
\8c³
\82Ì
\83s
\83N
\83Z
\83\8b\8cQ</td></tr>
24 <tr><td>src_pitch</td><td>
\83R
\83s
\81[
\8c³
\82Ì
\83s
\83N
\83Z
\83\8b\8cQ
\82Ì
\90\85\95½
\95û
\8cü
\82Ì
\83o
\83C
\83g
\90\94</td></tr>
25 <tr><td>dst_format</td><td>
\83R
\83s
\81[
\90æ
\82Ì
\83s
\83N
\83Z
\83\8b\8c`
\8e®
\82Ì<a href="SDL_PixelFormatEnum.html">SDL_PixelFormatEnum</a>
\82Ì
\92l</td></tr>
26 <tr><td>dst</td><td>
\83v
\83\8a\83}
\83\8b\83`
\83v
\83\89\83C
\82³
\82ê
\82½
\83s
\83N
\83Z
\83\8b\8cQ
\82ð
\8f\91\82«
\8d\9e\82Þ
\83|
\83C
\83\93\83^</td></tr>
27 <tr><td>dst_pitch</td><td>
\83R
\83s
\81[
\90æ
\82Ì
\83s
\83N
\83Z
\83\8b\8cQ
\82Ì
\90\85\95½
\95û
\8cü
\82Ì
\83o
\83C
\83g
\90\94</td></tr>
30 \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·.
31 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
34 \82±
\82Ì
\8aÖ
\90\94\82Ísrc == dst
\82Ì
\8fê
\8d\87\82Å
\82à
\88À
\91S
\82¾
\82ª,
\97Ì
\88æ
\82ª
\8fd
\82È
\82Á
\82Ä
\82¢
\82Ä
\82Í
\82È
\82ç
\82È
\82¢.
37 \82±
\82Ì
\8aÖ
\90\94\82Í,
\8c»
\8dÝ
\82ÍSDL_PIXELFORMAT_ARGB8888
\82Ì
\82Ý
\8eÀ
\91\95\82³
\82ê
\82Ä
\82¢
\82é.
39 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
41 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
42 <a href="https://wiki.libsdl.org/SDL_PremultiplyAlpha">SDL_PremultiplyAlpha - SDL Wiki</a>