Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release > by-pkgid > dabbad934aa2b21dfdf7cadba1bf877f > files > 38

libSDL_gfx-devel-2.0.22-1.mga1.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SDL_gfx: SDL_gfxPrimitives.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>SDL_gfxPrimitives.h</h1><a href="_s_d_l__gfx_primitives_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* </span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">SDL_gfxPrimitives: graphics primitives for SDL</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">LGPL (c) A. Schiffler</span>
<a name="l00006"></a>00006 <span class="comment"></span>
<a name="l00007"></a>00007 <span class="comment">*/</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef _SDL_gfxPrimitives_h</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define _SDL_gfxPrimitives_h</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef M_PI</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define M_PI    3.1415926535897932384626433832795</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;SDL.h&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="comment">/* Set up for C function definitions, even when using C++ */</span>
<a name="l00020"></a>00020 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00022"></a>00022 <span class="preprocessor">#endif</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024         <span class="comment">/* ----- Versioning */</span>
<a name="l00025"></a>00025 
<a name="l00026"></a><a class="code" href="_s_d_l__gfx_primitives_8h.html#a2a585f5832061010155d87737ef5bf88">00026</a> <span class="preprocessor">#define SDL_GFXPRIMITIVES_MAJOR 2</span>
<a name="l00027"></a><a class="code" href="_s_d_l__gfx_primitives_8h.html#abd0939b1856bbb822b37b68755dc9ee5">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define SDL_GFXPRIMITIVES_MINOR 0</span>
<a name="l00028"></a><a class="code" href="_s_d_l__gfx_primitives_8h.html#a06ea681a295987b8b8ec3fcdb04713df">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define SDL_GFXPRIMITIVES_MICRO 22</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031         <span class="comment">/* ---- Function Prototypes */</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="preprocessor">#if defined(WIN32) || defined(WIN64)</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#  if defined(DLL_EXPORT) &amp;&amp; !defined(LIBSDL_GFX_DLL_IMPORT)</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#    define SDL_GFXPRIMITIVES_SCOPE __declspec(dllexport)</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#  else</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#    ifdef LIBSDL_GFX_DLL_IMPORT</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#      define SDL_GFXPRIMITIVES_SCOPE __declspec(dllimport)</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#    endif</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#ifndef SDL_GFXPRIMITIVES_SCOPE</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#  define SDL_GFXPRIMITIVES_SCOPE extern</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a>00046         <span class="comment">/* Note: all ___Color routines expect the color to be in format 0xRRGGBBAA */</span>
<a name="l00047"></a>00047 
<a name="l00048"></a>00048         <span class="comment">/* Pixel */</span>
<a name="l00049"></a>00049 
<a name="l00050"></a>00050         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#ae6f8690e5c5a85d3263c8e16727b34ef" title="Pixel draw with blending enabled if a&amp;lt;255.">pixelColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Uint32 color);
<a name="l00051"></a>00051         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a7b6f83bdef72f6b356664a93841381c0" title="Pixel draw with blending enabled if a&amp;lt;255.">pixelRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00052"></a>00052 
<a name="l00053"></a>00053         <span class="comment">/* Horizontal line */</span>
<a name="l00054"></a>00054 
<a name="l00055"></a>00055         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#ac211a904dce45093315e15b10c80d8ac" title="Draw horizontal line with blending.">hlineColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 x2, Sint16 y, Uint32 color);
<a name="l00056"></a>00056         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a6608a0d1d4c7e16fa1afcbd3eb5c3850" title="Draw horizontal line with blending.">hlineRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 x2, Sint16 y, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00057"></a>00057 
<a name="l00058"></a>00058         <span class="comment">/* Vertical line */</span>
<a name="l00059"></a>00059 
<a name="l00060"></a>00060         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a9b45060155a19fee24f998d7790f1d67" title="Draw vertical line with blending.">vlineColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y1, Sint16 y2, Uint32 color);
<a name="l00061"></a>00061         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a8b79ac1e779755aee92b04f3a6cfc5d7" title="Draw vertical line with blending.">vlineRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y1, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00062"></a>00062 
<a name="l00063"></a>00063         <span class="comment">/* Rectangle */</span>
<a name="l00064"></a>00064 
<a name="l00065"></a>00065         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a6ab25c393f6e5f8d68ea3365f6ea98d2" title="Draw rectangle with blending.">rectangleColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color);
<a name="l00066"></a>00066         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a40991c6eeb936d35d0a8e8aa95268f72" title="Draw rectangle with blending.">rectangleRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1,
<a name="l00067"></a>00067                 Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00068"></a>00068 
<a name="l00069"></a>00069         <span class="comment">/* Rounded-Corner Rectangle */</span>
<a name="l00070"></a>00070 
<a name="l00071"></a>00071         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a830dd9dcfa39f4718aa2c269060326d0" title="Draw rounded-corner rectangle with blending.">roundedRectangleColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 rad, Uint32 color);
<a name="l00072"></a>00072         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a300272b3b799f09ca6cd5c541b19f07a" title="Draw rounded-corner rectangle with blending.">roundedRectangleRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1,
<a name="l00073"></a>00073                 Sint16 x2, Sint16 y2, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00074"></a>00074 
<a name="l00075"></a>00075         <span class="comment">/* Filled rectangle (Box) */</span>
<a name="l00076"></a>00076 
<a name="l00077"></a>00077         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a6bb30dfc32d0aee20271a0356a2e2fd0" title="Draw box (filled rectangle) with blending.">boxColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color);
<a name="l00078"></a>00078         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a1864b3062793a7f7dd81aaf8c8abd6b0" title="Draw box (filled rectangle) with blending.">boxRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2,
<a name="l00079"></a>00079                 Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00080"></a>00080 
<a name="l00081"></a>00081         <span class="comment">/* Rounded-Corner Filled rectangle (Box) */</span>
<a name="l00082"></a>00082 
<a name="l00083"></a>00083         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a718c4f31d1e145106959c2a77d5fee9d" title="Draw rounded-corner box (filled rectangle) with blending.">roundedBoxColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 rad, Uint32 color);
<a name="l00084"></a>00084         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#aad706348fec18631d7bc48a2d91f5b4d" title="Draw rounded-corner box (filled rectangle) with blending.">roundedBoxRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2,
<a name="l00085"></a>00085                 Sint16 y2, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00086"></a>00086 
<a name="l00087"></a>00087         <span class="comment">/* Line */</span>
<a name="l00088"></a>00088 
<a name="l00089"></a>00089         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#ad44c550fab3cb736eb049713ede94052" title="Draw line with alpha blending.">lineColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color);
<a name="l00090"></a>00090         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a760139e11a9ae5defeb755ca0c794f5f" title="Draw line with alpha blending.">lineRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1,
<a name="l00091"></a>00091                 Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00092"></a>00092 
<a name="l00093"></a>00093         <span class="comment">/* AA Line */</span>
<a name="l00094"></a>00094 
<a name="l00095"></a>00095         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a25c56f2def855db01dcf7ff7f7356182" title="Ddraw anti-aliased line with alpha blending.">aalineColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color);
<a name="l00096"></a>00096         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a716b29af8cfc638fad0cfa0f1af15f23" title="Draw anti-aliased line with alpha blending.">aalineRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1,
<a name="l00097"></a>00097                 Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00098"></a>00098 
<a name="l00099"></a>00099         <span class="comment">/* Thick Line */</span>
<a name="l00100"></a>00100         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a1494109358b4e4b7ec300d83e3f90300" title="Draw a thick line with alpha blending.">thickLineColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, 
<a name="l00101"></a>00101                 Uint8 width, Uint32 color);
<a name="l00102"></a>00102         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a8b24d64b51e23592c93abc2aa50c818e" title="Draw a thick line with alpha blending.">thickLineRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, 
<a name="l00103"></a>00103                 Uint8 width, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00104"></a>00104         
<a name="l00105"></a>00105         <span class="comment">/* Circle */</span>
<a name="l00106"></a>00106 
<a name="l00107"></a>00107         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#aa99bd361cc947b448142720f2ca3320e" title="Draw circle with blending.">circleColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Uint32 color);
<a name="l00108"></a>00108         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a7fe51d4c9426c8795e58c7ddd313b0a4" title="Draw circle with blending.">circleRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00109"></a>00109 
<a name="l00110"></a>00110         <span class="comment">/* Arc */</span>
<a name="l00111"></a>00111 
<a name="l00112"></a>00112         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a461b8ac31e00306aee5f8a4c242671d2" title="Arc with blending.">arcColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint32 color);
<a name="l00113"></a>00113         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a2aff993d0d8d64564e16145f401d3cf1" title="Arc with blending.">arcRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, 
<a name="l00114"></a>00114                 Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00115"></a>00115 
<a name="l00116"></a>00116         <span class="comment">/* AA Circle */</span>
<a name="l00117"></a>00117 
<a name="l00118"></a>00118         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#aad64361b01181e6aff940add96d23c61" title="Draw anti-aliased circle with blending.">aacircleColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Uint32 color);
<a name="l00119"></a>00119         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a332780885aa2cfdc2de34dcff8d67e8b" title="Draw anti-aliased circle with blending.">aacircleRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y,
<a name="l00120"></a>00120                 Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00121"></a>00121 
<a name="l00122"></a>00122         <span class="comment">/* Filled Circle */</span>
<a name="l00123"></a>00123 
<a name="l00124"></a>00124         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a39147d1282ec814a1b9e31243aad0359" title="Draw filled circle with blending.">filledCircleColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 r, Uint32 color);
<a name="l00125"></a>00125         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a562ba6b18fb70547cd50cb3bb0f70272" title="Draw filled circle with blending.">filledCircleRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y,
<a name="l00126"></a>00126                 Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00127"></a>00127 
<a name="l00128"></a>00128         <span class="comment">/* Ellipse */</span>
<a name="l00129"></a>00129 
<a name="l00130"></a>00130         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a476cff7702f4be9090871e35859782f0" title="Draw ellipse with blending.">ellipseColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color);
<a name="l00131"></a>00131         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a18c8a26c9009482eec40f9f4a6945fd1" title="Draw ellipse with blending.">ellipseRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y,
<a name="l00132"></a>00132                 Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00133"></a>00133 
<a name="l00134"></a>00134         <span class="comment">/* AA Ellipse */</span>
<a name="l00135"></a>00135 
<a name="l00136"></a>00136         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a1c7d20dcba8e0d7ce483f4c854c438be" title="Draw anti-aliased ellipse with blending.">aaellipseColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color);
<a name="l00137"></a>00137         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#ab9f0f00d7fb2f04aa9ba1630e31a27bf" title="Draw anti-aliased ellipse with blending.">aaellipseRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y,
<a name="l00138"></a>00138                 Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00139"></a>00139 
<a name="l00140"></a>00140         <span class="comment">/* Filled Ellipse */</span>
<a name="l00141"></a>00141 
<a name="l00142"></a>00142         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a8fed50800f2f1bdfaa048698f5052f25" title="Draw filled ellipse with blending.">filledEllipseColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color);
<a name="l00143"></a>00143         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a33595ad996dd0dcccde3abbcef540eec" title="Draw filled ellipse with blending.">filledEllipseRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y,
<a name="l00144"></a>00144                 Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00145"></a>00145 
<a name="l00146"></a>00146         <span class="comment">/* Pie */</span>
<a name="l00147"></a>00147 
<a name="l00148"></a>00148         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a3c2bc64deabda74933f31daba6bed7be" title="Draw pie (outline) with alpha blending.">pieColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad,
<a name="l00149"></a>00149                 Sint16 start, Sint16 end, Uint32 color);
<a name="l00150"></a>00150         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a8442f2c2bedbe27c96d8d44319981992" title="Draw pie (outline) with alpha blending.">pieRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad,
<a name="l00151"></a>00151                 Sint16 start, Sint16 end, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00152"></a>00152 
<a name="l00153"></a>00153         <span class="comment">/* Filled Pie */</span>
<a name="l00154"></a>00154 
<a name="l00155"></a>00155         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a2c30ee985b2513dc58d9b19d4e71562b" title="Draw filled pie with alpha blending.">filledPieColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad,
<a name="l00156"></a>00156                 Sint16 start, Sint16 end, Uint32 color);
<a name="l00157"></a>00157         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a4ffdfd2834f3ef0fd0ee622b5f1d16b8" title="Draw filled pie with alpha blending.">filledPieRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad,
<a name="l00158"></a>00158                 Sint16 start, Sint16 end, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00159"></a>00159 
<a name="l00160"></a>00160         <span class="comment">/* Trigon */</span>
<a name="l00161"></a>00161 
<a name="l00162"></a>00162         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a7465d08ef930ebb5442c7dd246fed4b5" title="Draw trigon (triangle outline) with alpha blending.">trigonColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color);
<a name="l00163"></a>00163         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a45d6a7edcd8b25e1a60e39b7f60bda3f" title="Draw trigon (triangle outline) with alpha blending.">trigonRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3,
<a name="l00164"></a>00164                 Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00165"></a>00165 
<a name="l00166"></a>00166         <span class="comment">/* AA-Trigon */</span>
<a name="l00167"></a>00167 
<a name="l00168"></a>00168         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a4f928dfaef530c83e304a452d2e55190" title="Draw anti-aliased trigon (triangle outline) with alpha blending.">aatrigonColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color);
<a name="l00169"></a>00169         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#ab53a84faa65b68e40cb68b8cacbb4b7d" title="Draw anti-aliased trigon (triangle outline) with alpha blending.">aatrigonRGBA</a>(SDL_Surface * dst,  Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3,
<a name="l00170"></a>00170                 Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00171"></a>00171 
<a name="l00172"></a>00172         <span class="comment">/* Filled Trigon */</span>
<a name="l00173"></a>00173 
<a name="l00174"></a>00174         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a78d4ed2372527f3b78f5893928b0f519" title="Draw filled trigon (triangle) with alpha blending.">filledTrigonColor</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color);
<a name="l00175"></a>00175         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a8f318d776ff1e3c6790405e0e59e5356" title="Draw filled trigon (triangle) with alpha blending.">filledTrigonRGBA</a>(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3,
<a name="l00176"></a>00176                 Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00177"></a>00177 
<a name="l00178"></a>00178         <span class="comment">/* Polygon */</span>
<a name="l00179"></a>00179 
<a name="l00180"></a>00180         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a2d692dc25f3b579b386dff8dcd9cbc00" title="Draw polygon with alpha blending.">polygonColor</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, Uint32 color);
<a name="l00181"></a>00181         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#ae55541ec58990420dc6dc6b9d61f33d6" title="Draw polygon with alpha blending.">polygonRGBA</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy,
<a name="l00182"></a>00182                 <span class="keywordtype">int</span> n, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00183"></a>00183 
<a name="l00184"></a>00184         <span class="comment">/* AA-Polygon */</span>
<a name="l00185"></a>00185 
<a name="l00186"></a>00186         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a09950a50e8806e88bb20c543c58cc6a8" title="Draw anti-aliased polygon with alpha blending.">aapolygonColor</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, Uint32 color);
<a name="l00187"></a>00187         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a7d08522e52d8290c5c498ce435fa51f0" title="Draw anti-aliased polygon with alpha blending.">aapolygonRGBA</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy,
<a name="l00188"></a>00188                 <span class="keywordtype">int</span> n, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00189"></a>00189 
<a name="l00190"></a>00190         <span class="comment">/* Filled Polygon */</span>
<a name="l00191"></a>00191 
<a name="l00192"></a>00192         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#af22692175cb73329410cbcc7d7491c4d" title="Draw filled polygon with alpha blending.">filledPolygonColor</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, Uint32 color);
<a name="l00193"></a>00193         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a40ef0b898905c190c193f0f55deb5a6c" title="Draw filled polygon with alpha blending.">filledPolygonRGBA</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx,
<a name="l00194"></a>00194                 <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00195"></a>00195         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a65137af308ea878f28abc95419e8aef5" title="Draws a polygon filled with the given texture.">texturedPolygon</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, SDL_Surface * texture,<span class="keywordtype">int</span> texture_dx,<span class="keywordtype">int</span> texture_dy);
<a name="l00196"></a>00196 
<a name="l00197"></a>00197         <span class="comment">/* (Note: These MT versions are required for multi-threaded operation.) */</span>
<a name="l00198"></a>00198 
<a name="l00199"></a>00199         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a1f3a2dcda741a2c29b5dacce4ffe0271" title="Draw filled polygon with alpha blending (multi-threaded capable).">filledPolygonColorMT</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, Uint32 color, <span class="keywordtype">int</span> **polyInts, <span class="keywordtype">int</span> *polyAllocated);
<a name="l00200"></a>00200         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a586d64a80ac67de184e33609509d45a9" title="Draw filled polygon with alpha blending (multi-threaded capable).">filledPolygonRGBAMT</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx,
<a name="l00201"></a>00201                 <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, Uint8 r, Uint8 g, Uint8 b, Uint8 a,
<a name="l00202"></a>00202                 <span class="keywordtype">int</span> **polyInts, <span class="keywordtype">int</span> *polyAllocated);
<a name="l00203"></a>00203         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a28ae354c6272da21b5753ae4ab9e1e84" title="Draws a polygon filled with the given texture (Multi-Threading Capable).">texturedPolygonMT</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, SDL_Surface * texture,<span class="keywordtype">int</span> texture_dx,<span class="keywordtype">int</span> texture_dy, <span class="keywordtype">int</span> **polyInts, <span class="keywordtype">int</span> *polyAllocated);
<a name="l00204"></a>00204 
<a name="l00205"></a>00205         <span class="comment">/* Bezier */</span>
<a name="l00206"></a>00206 
<a name="l00207"></a>00207         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#adfe8f9c42d29a090aae15eeb19b80d51" title="Draw a bezier curve with alpha blending.">bezierColor</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy, <span class="keywordtype">int</span> n, <span class="keywordtype">int</span> s, Uint32 color);
<a name="l00208"></a>00208         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a4b7fbf6cc366abdf345a25308d53e125" title="Draw a bezier curve with alpha blending.">bezierRGBA</a>(SDL_Surface * dst, <span class="keyword">const</span> Sint16 * vx, <span class="keyword">const</span> Sint16 * vy,
<a name="l00209"></a>00209                 <span class="keywordtype">int</span> n, <span class="keywordtype">int</span> s, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00210"></a>00210 
<a name="l00211"></a>00211         <span class="comment">/* Characters/Strings */</span>
<a name="l00212"></a>00212 
<a name="l00213"></a>00213         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">void</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#afacd57651ec0e0ccab60753636862cd0" title="Sets or resets the current global font data.">gfxPrimitivesSetFont</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *fontdata, Uint32 cw, Uint32 ch);
<a name="l00214"></a>00214         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">void</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#aef6796a883f07d31bbf7c7df6d1153d2" title="Sets current global font character rotation steps.">gfxPrimitivesSetFontRotation</a>(Uint32 rotation);
<a name="l00215"></a>00215         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#aef5fdeb16c4578d8cd50e106299e993e" title="Draw a character of the currently set font.">characterColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, <span class="keywordtype">char</span> c, Uint32 color);
<a name="l00216"></a>00216         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a96379d2ce808aa642afb57bced0c670e" title="Draw a character of the currently set font.">characterRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, <span class="keywordtype">char</span> c, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00217"></a>00217         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a62d2ba55abc7673f2dfa29e6bbffefdf" title="Draw a string in the currently set font.">stringColor</a>(SDL_Surface * dst, Sint16 x, Sint16 y, <span class="keyword">const</span> <span class="keywordtype">char</span> *s, Uint32 color);
<a name="l00218"></a>00218         SDL_GFXPRIMITIVES_SCOPE <span class="keywordtype">int</span> <a class="code" href="_s_d_l__gfx_primitives_8c.html#a6ca71826e311bdd9acf13b009256aa1c" title="Draw a string in the currently set font.">stringRGBA</a>(SDL_Surface * dst, Sint16 x, Sint16 y, <span class="keyword">const</span> <span class="keywordtype">char</span> *s, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
<a name="l00219"></a>00219 
<a name="l00220"></a>00220         <span class="comment">/* Ends C function definitions when using C++ */</span>
<a name="l00221"></a>00221 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00222"></a>00222 <span class="preprocessor"></span>}
<a name="l00223"></a>00223 <span class="preprocessor">#endif</span>
<a name="l00224"></a>00224 <span class="preprocessor"></span>
<a name="l00225"></a>00225 <span class="preprocessor">#endif                          </span><span class="comment">/* _SDL_gfxPrimitives_h */</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>