gosu 0.7.13 → 0.7.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. data/COPYING.txt +4 -2
  2. data/Gosu/Audio.hpp +8 -5
  3. data/Gosu/Font.hpp +5 -3
  4. data/Gosu/Gosu.hpp +6 -0
  5. data/Gosu/Graphics.hpp +6 -13
  6. data/Gosu/GraphicsBase.hpp +14 -3
  7. data/Gosu/IO.hpp +259 -255
  8. data/Gosu/Image.hpp +12 -12
  9. data/Gosu/ImageData.hpp +3 -0
  10. data/Gosu/Input.hpp +14 -2
  11. data/Gosu/Math.hpp +3 -2
  12. data/Gosu/RotFlip.hpp +125 -116
  13. data/Gosu/Sockets.hpp +139 -129
  14. data/Gosu/Text.hpp +4 -4
  15. data/Gosu/WinUtility.hpp +1 -1
  16. data/Gosu/Window.hpp +9 -5
  17. data/GosuImpl/Graphics/BitmapUtils.cpp +8 -8
  18. data/GosuImpl/Graphics/DrawOp.hpp +13 -14
  19. data/GosuImpl/Graphics/Graphics.cpp +3 -2
  20. data/GosuImpl/Graphics/Image.cpp +8 -8
  21. data/GosuImpl/Graphics/LargeImageData.cpp +8 -8
  22. data/GosuImpl/Graphics/Text.cpp +15 -3
  23. data/GosuImpl/{TextTTFWin.cpp → Graphics/TextTTFWin.cpp} +0 -0
  24. data/GosuImpl/Graphics/TextWin.cpp +36 -25
  25. data/GosuImpl/Graphics/Texture.cpp +2 -0
  26. data/GosuImpl/Iconv.hpp +1 -3
  27. data/GosuImpl/RubyGosu.swg +19 -10
  28. data/GosuImpl/RubyGosuStub.mm +40 -8
  29. data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +126 -0
  30. data/GosuImpl/RubyGosu_wrap.cxx +1601 -247
  31. data/GosuImpl/RubyGosu_wrap.h +1 -1
  32. data/GosuImpl/WindowWin.cpp +18 -6
  33. data/README.txt +5 -5
  34. data/Rakefile +27 -7
  35. data/linux/Makefile.in +1 -1
  36. data/mac/Gosu.xcodeproj/jlnr.pbxuser +939 -350
  37. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +66 -61
  38. data/mac/Gosu.xcodeproj/project.pbxproj +474 -92
  39. data/mac/RubyGosu Template-Info.plist b/data/mac/RubyGosu → App-Info.plist +0 -0
  40. data/reference/cpp/_audio_8hpp-source.html +171 -0
  41. data/reference/cpp/_audio_8hpp.html +96 -0
  42. data/reference/cpp/_auto_link_8hpp-source.html +84 -0
  43. data/reference/cpp/_auto_link_8hpp.html +83 -0
  44. data/reference/cpp/_bitmap_8hpp-source.html +130 -0
  45. data/reference/cpp/_bitmap_8hpp.html +107 -0
  46. data/reference/{ButtonsMac_8hpp-source.html → cpp/_buttons_mac_8hpp-source.html} +60 -14
  47. data/reference/cpp/_buttons_mac_8hpp.html +233 -0
  48. data/reference/cpp/_color_8hpp-source.html +215 -0
  49. data/reference/cpp/_color_8hpp.html +119 -0
  50. data/reference/cpp/_directories_8hpp-source.html +88 -0
  51. data/reference/cpp/_directories_8hpp.html +96 -0
  52. data/reference/cpp/_font_8hpp-source.html +111 -0
  53. data/reference/cpp/_font_8hpp.html +87 -0
  54. data/reference/{Fwd_8hpp-source.html → cpp/_fwd_8hpp-source.html} +59 -13
  55. data/reference/cpp/_fwd_8hpp.html +83 -0
  56. data/reference/cpp/_gosu_8hpp-source.html +96 -0
  57. data/reference/cpp/_gosu_8hpp.html +83 -0
  58. data/reference/cpp/_graphics_8hpp-source.html +134 -0
  59. data/reference/cpp/_graphics_8hpp.html +94 -0
  60. data/reference/cpp/_graphics_base_8hpp-source.html +115 -0
  61. data/reference/cpp/_graphics_base_8hpp.html +120 -0
  62. data/reference/cpp/_i_o_8hpp-source.html +301 -0
  63. data/reference/cpp/_i_o_8hpp.html +122 -0
  64. data/reference/cpp/_image_8hpp-source.html +172 -0
  65. data/reference/cpp/_image_8hpp.html +96 -0
  66. data/reference/cpp/_image_data_8hpp-source.html +108 -0
  67. data/reference/cpp/_image_data_8hpp.html +90 -0
  68. data/reference/cpp/_input_8hpp-source.html +182 -0
  69. data/reference/cpp/_input_8hpp.html +102 -0
  70. data/reference/cpp/_math_8hpp-source.html +147 -0
  71. data/reference/cpp/_math_8hpp.html +139 -0
  72. data/reference/{Platform_8hpp-source.html → cpp/_platform_8hpp-source.html} +61 -15
  73. data/reference/cpp/_platform_8hpp.html +136 -0
  74. data/reference/cpp/_rot_flip_8hpp-source.html +184 -0
  75. data/reference/cpp/_rot_flip_8hpp.html +123 -0
  76. data/reference/cpp/_sockets_8hpp-source.html +174 -0
  77. data/reference/cpp/_sockets_8hpp.html +117 -0
  78. data/reference/cpp/_text_8hpp-source.html +102 -0
  79. data/reference/cpp/_text_8hpp.html +99 -0
  80. data/reference/cpp/_text_input_8hpp-source.html +110 -0
  81. data/reference/cpp/_text_input_8hpp.html +87 -0
  82. data/reference/cpp/_timing_8hpp-source.html +82 -0
  83. data/reference/cpp/_timing_8hpp.html +90 -0
  84. data/reference/cpp/_utility_8hpp-source.html +89 -0
  85. data/reference/cpp/_utility_8hpp.html +96 -0
  86. data/reference/cpp/_win_utility_8hpp-source.html +125 -0
  87. data/reference/cpp/_win_utility_8hpp.html +116 -0
  88. data/reference/cpp/_window_8hpp-source.html +157 -0
  89. data/reference/cpp/_window_8hpp.html +87 -0
  90. data/reference/cpp/annotated.html +98 -0
  91. data/reference/cpp/class_gosu_1_1_audio-members.html +74 -0
  92. data/reference/cpp/class_gosu_1_1_audio.html +132 -0
  93. data/reference/cpp/class_gosu_1_1_bitmap-members.html +85 -0
  94. data/reference/cpp/class_gosu_1_1_bitmap.html +501 -0
  95. data/reference/cpp/class_gosu_1_1_buffer-members.html +84 -0
  96. data/reference/cpp/class_gosu_1_1_buffer.html +346 -0
  97. data/reference/{classGosu_1_1Buffer.png → cpp/class_gosu_1_1_buffer.png} +0 -0
  98. data/reference/cpp/class_gosu_1_1_button-members.html +76 -0
  99. data/reference/cpp/class_gosu_1_1_button.html +195 -0
  100. data/reference/cpp/class_gosu_1_1_color-members.html +96 -0
  101. data/reference/cpp/class_gosu_1_1_color.html +758 -0
  102. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +90 -0
  103. data/reference/cpp/class_gosu_1_1_comm_socket.html +505 -0
  104. data/reference/cpp/class_gosu_1_1_file-members.html +81 -0
  105. data/reference/cpp/class_gosu_1_1_file.html +275 -0
  106. data/reference/{classGosu_1_1File.png → cpp/class_gosu_1_1_file.png} +0 -0
  107. data/reference/cpp/class_gosu_1_1_font-members.html +79 -0
  108. data/reference/{classGosu_1_1Font.html → cpp/class_gosu_1_1_font.html} +207 -66
  109. data/reference/cpp/class_gosu_1_1_graphics-members.html +90 -0
  110. data/reference/cpp/class_gosu_1_1_graphics.html +768 -0
  111. data/reference/cpp/class_gosu_1_1_image-members.html +85 -0
  112. data/reference/cpp/class_gosu_1_1_image.html +771 -0
  113. data/reference/cpp/class_gosu_1_1_image_data-members.html +77 -0
  114. data/reference/cpp/class_gosu_1_1_image_data.html +281 -0
  115. data/reference/cpp/class_gosu_1_1_input-members.html +85 -0
  116. data/reference/cpp/class_gosu_1_1_input.html +417 -0
  117. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +78 -0
  118. data/reference/cpp/class_gosu_1_1_listener_socket.html +221 -0
  119. data/reference/cpp/class_gosu_1_1_message_socket-members.html +80 -0
  120. data/reference/{classGosu_1_1MessageSocket.html → cpp/class_gosu_1_1_message_socket.html} +115 -43
  121. data/reference/cpp/class_gosu_1_1_reader-members.html +80 -0
  122. data/reference/cpp/class_gosu_1_1_reader.html +322 -0
  123. data/reference/cpp/class_gosu_1_1_resource-members.html +79 -0
  124. data/reference/cpp/class_gosu_1_1_resource.html +305 -0
  125. data/reference/{classGosu_1_1Resource.png → cpp/class_gosu_1_1_resource.png} +0 -0
  126. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +83 -0
  127. data/reference/cpp/class_gosu_1_1_rot_flip.html +347 -0
  128. data/reference/cpp/class_gosu_1_1_sample-members.html +77 -0
  129. data/reference/{classGosu_1_1Sample.html → cpp/class_gosu_1_1_sample.html} +99 -32
  130. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +81 -0
  131. data/reference/cpp/class_gosu_1_1_sample_instance.html +317 -0
  132. data/reference/cpp/class_gosu_1_1_song-members.html +86 -0
  133. data/reference/{classGosu_1_1Song.html → cpp/class_gosu_1_1_song.html} +152 -68
  134. data/reference/cpp/class_gosu_1_1_text_input-members.html +78 -0
  135. data/reference/cpp/class_gosu_1_1_text_input.html +227 -0
  136. data/reference/cpp/class_gosu_1_1_window-members.html +90 -0
  137. data/reference/cpp/class_gosu_1_1_window.html +533 -0
  138. data/reference/cpp/class_gosu_1_1_writer-members.html +79 -0
  139. data/reference/cpp/class_gosu_1_1_writer.html +292 -0
  140. data/reference/cpp/classes.html +86 -0
  141. data/reference/cpp/closed.gif +0 -0
  142. data/reference/cpp/cpp.css +155 -0
  143. data/reference/{doxygen.png → cpp/doxygen.png} +0 -0
  144. data/reference/cpp/files.html +97 -0
  145. data/reference/cpp/functions.html +127 -0
  146. data/reference/cpp/functions_0x62.html +137 -0
  147. data/reference/cpp/functions_0x63.html +140 -0
  148. data/reference/cpp/functions_0x64.html +142 -0
  149. data/reference/cpp/functions_0x65.html +119 -0
  150. data/reference/cpp/functions_0x66.html +137 -0
  151. data/reference/cpp/functions_0x67.html +131 -0
  152. data/reference/cpp/functions_0x68.html +121 -0
  153. data/reference/cpp/functions_0x69.html +123 -0
  154. data/reference/cpp/functions_0x6b.html +115 -0
  155. data/reference/cpp/functions_0x6c.html +117 -0
  156. data/reference/cpp/functions_0x6d.html +125 -0
  157. data/reference/cpp/functions_0x6e.html +117 -0
  158. data/reference/cpp/functions_0x6f.html +126 -0
  159. data/reference/cpp/functions_0x70.html +136 -0
  160. data/reference/cpp/functions_0x72.html +154 -0
  161. data/reference/cpp/functions_0x73.html +179 -0
  162. data/reference/cpp/functions_0x74.html +127 -0
  163. data/reference/cpp/functions_0x75.html +121 -0
  164. data/reference/cpp/functions_0x76.html +117 -0
  165. data/reference/cpp/functions_0x77.html +129 -0
  166. data/reference/cpp/functions_0x78.html +115 -0
  167. data/reference/cpp/functions_0x79.html +115 -0
  168. data/reference/cpp/functions_0x7e.html +143 -0
  169. data/reference/cpp/functions_enum.html +87 -0
  170. data/reference/cpp/functions_eval.html +89 -0
  171. data/reference/cpp/functions_func.html +125 -0
  172. data/reference/cpp/functions_func_0x62.html +133 -0
  173. data/reference/cpp/functions_func_0x63.html +136 -0
  174. data/reference/cpp/functions_func_0x64.html +140 -0
  175. data/reference/cpp/functions_func_0x65.html +117 -0
  176. data/reference/cpp/functions_func_0x66.html +135 -0
  177. data/reference/cpp/functions_func_0x67.html +129 -0
  178. data/reference/cpp/functions_func_0x68.html +119 -0
  179. data/reference/cpp/functions_func_0x69.html +119 -0
  180. data/reference/cpp/functions_func_0x6b.html +113 -0
  181. data/reference/cpp/functions_func_0x6c.html +113 -0
  182. data/reference/cpp/functions_func_0x6d.html +123 -0
  183. data/reference/cpp/functions_func_0x6e.html +115 -0
  184. data/reference/cpp/functions_func_0x6f.html +113 -0
  185. data/reference/cpp/functions_func_0x70.html +134 -0
  186. data/reference/cpp/functions_func_0x72.html +150 -0
  187. data/reference/cpp/functions_func_0x73.html +173 -0
  188. data/reference/cpp/functions_func_0x74.html +119 -0
  189. data/reference/cpp/functions_func_0x75.html +119 -0
  190. data/reference/cpp/functions_func_0x76.html +115 -0
  191. data/reference/cpp/functions_func_0x77.html +127 -0
  192. data/reference/cpp/functions_func_0x7e.html +141 -0
  193. data/reference/cpp/functions_type.html +87 -0
  194. data/reference/cpp/functions_vars.html +112 -0
  195. data/reference/cpp/globals.html +84 -0
  196. data/reference/cpp/globals_defs.html +84 -0
  197. data/reference/cpp/hierarchy.html +100 -0
  198. data/reference/cpp/index.html +66 -0
  199. data/reference/cpp/open.gif +0 -0
  200. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +77 -0
  201. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +185 -0
  202. data/reference/cpp/struct_gosu_1_1_touch-members.html +75 -0
  203. data/reference/cpp/struct_gosu_1_1_touch.html +153 -0
  204. data/reference/{tab_b.gif → cpp/tab_b.gif} +0 -0
  205. data/reference/{tab_l.gif → cpp/tab_l.gif} +0 -0
  206. data/reference/{tab_r.gif → cpp/tab_r.gif} +0 -0
  207. data/reference/{tabs.css → cpp/tabs.css} +5 -2
  208. data/windows/Gosu.sln +5 -0
  209. data/windows/Gosu.vcproj +3 -3
  210. data/windows/RubyGosu.vcproj +103 -1
  211. metadata +178 -176
  212. data/reference/Async_8hpp-source.html +0 -70
  213. data/reference/Audio_8hpp-source.html +0 -125
  214. data/reference/Audio_8hpp.html +0 -50
  215. data/reference/AutoLink_8hpp-source.html +0 -38
  216. data/reference/AutoLink_8hpp.html +0 -34
  217. data/reference/Bitmap_8hpp-source.html +0 -84
  218. data/reference/Bitmap_8hpp.html +0 -58
  219. data/reference/ButtonsWin_8hpp-source.html +0 -159
  220. data/reference/ButtonsX_8hpp-source.html +0 -160
  221. data/reference/Color_8hpp-source.html +0 -169
  222. data/reference/Color_8hpp.html +0 -85
  223. data/reference/Directories_8hpp-source.html +0 -42
  224. data/reference/Directories_8hpp.html +0 -46
  225. data/reference/Font_8hpp-source.html +0 -65
  226. data/reference/Font_8hpp.html +0 -41
  227. data/reference/Fwd_8hpp.html +0 -37
  228. data/reference/Gosu_8hpp-source.html +0 -49
  229. data/reference/Gosu_8hpp.html +0 -34
  230. data/reference/GraphicsBase_8hpp-source.html +0 -59
  231. data/reference/GraphicsBase_8hpp.html +0 -59
  232. data/reference/Graphics_8hpp-source.html +0 -99
  233. data/reference/Graphics_8hpp.html +0 -60
  234. data/reference/IO_8hpp-source.html +0 -255
  235. data/reference/IO_8hpp.html +0 -74
  236. data/reference/ImageData_8hpp-source.html +0 -62
  237. data/reference/ImageData_8hpp.html +0 -43
  238. data/reference/Image_8hpp-source.html +0 -126
  239. data/reference/Image_8hpp.html +0 -48
  240. data/reference/Input_8hpp-source.html +0 -131
  241. data/reference/Input_8hpp.html +0 -56
  242. data/reference/Math_8hpp-source.html +0 -101
  243. data/reference/Math_8hpp.html +0 -78
  244. data/reference/Platform_8hpp.html +0 -73
  245. data/reference/RotFlip_8hpp-source.html +0 -138
  246. data/reference/RotFlip_8hpp.html +0 -77
  247. data/reference/Sockets_8hpp-source.html +0 -130
  248. data/reference/Sockets_8hpp.html +0 -66
  249. data/reference/TextInput_8hpp-source.html +0 -64
  250. data/reference/TextInput_8hpp.html +0 -41
  251. data/reference/Text_8hpp-source.html +0 -56
  252. data/reference/Text_8hpp.html +0 -48
  253. data/reference/Timing_8hpp-source.html +0 -36
  254. data/reference/Timing_8hpp.html +0 -42
  255. data/reference/Utility_8hpp-source.html +0 -43
  256. data/reference/Utility_8hpp.html +0 -46
  257. data/reference/WinUtility_8hpp-source.html +0 -79
  258. data/reference/WinUtility_8hpp.html +0 -64
  259. data/reference/Window_8hpp-source.html +0 -110
  260. data/reference/Window_8hpp.html +0 -41
  261. data/reference/annotated.html +0 -51
  262. data/reference/classGosu_1_1Audio-members.html +0 -34
  263. data/reference/classGosu_1_1Audio.html +0 -46
  264. data/reference/classGosu_1_1Bitmap-members.html +0 -45
  265. data/reference/classGosu_1_1Bitmap.html +0 -266
  266. data/reference/classGosu_1_1Buffer-members.html +0 -44
  267. data/reference/classGosu_1_1Buffer.html +0 -78
  268. data/reference/classGosu_1_1Button-members.html +0 -36
  269. data/reference/classGosu_1_1Button.html +0 -143
  270. data/reference/classGosu_1_1Color-members.html +0 -56
  271. data/reference/classGosu_1_1Color.html +0 -387
  272. data/reference/classGosu_1_1File-members.html +0 -41
  273. data/reference/classGosu_1_1File.html +0 -69
  274. data/reference/classGosu_1_1Font-members.html +0 -39
  275. data/reference/classGosu_1_1Graphics-members.html +0 -50
  276. data/reference/classGosu_1_1Graphics.html +0 -234
  277. data/reference/classGosu_1_1Image-members.html +0 -45
  278. data/reference/classGosu_1_1Image.html +0 -518
  279. data/reference/classGosu_1_1ImageData-members.html +0 -37
  280. data/reference/classGosu_1_1ImageData.html +0 -60
  281. data/reference/classGosu_1_1Input-members.html +0 -45
  282. data/reference/classGosu_1_1Input.html +0 -256
  283. data/reference/classGosu_1_1MessageSocket-members.html +0 -40
  284. data/reference/classGosu_1_1Resource-members.html +0 -39
  285. data/reference/classGosu_1_1Resource.html +0 -116
  286. data/reference/classGosu_1_1Sample-members.html +0 -37
  287. data/reference/classGosu_1_1SampleInstance-members.html +0 -41
  288. data/reference/classGosu_1_1SampleInstance.html +0 -178
  289. data/reference/classGosu_1_1Song-members.html +0 -46
  290. data/reference/classGosu_1_1TextInput-members.html +0 -38
  291. data/reference/classGosu_1_1TextInput.html +0 -121
  292. data/reference/classGosu_1_1Window-members.html +0 -50
  293. data/reference/classGosu_1_1Window.html +0 -289
  294. data/reference/doxyfile +0 -233
  295. data/reference/doxygen.css +0 -433
  296. data/reference/files.html +0 -54
  297. data/reference/functions.html +0 -249
  298. data/reference/functions_enum.html +0 -45
  299. data/reference/functions_func.html +0 -240
  300. data/reference/functions_vars.html +0 -47
  301. data/reference/hierarchy.html +0 -53
  302. data/reference/index.html +0 -26
  303. data/reference/namespaceGosu.html +0 -3363
  304. data/reference/namespaceGosu_1_1Colors.html +0 -70
  305. data/reference/namespaceGosu_1_1Win.html +0 -275
  306. data/reference/namespacemembers.html +0 -229
  307. data/reference/namespacemembers_enum.html +0 -52
  308. data/reference/namespacemembers_eval.html +0 -54
  309. data/reference/namespacemembers_func.html +0 -196
  310. data/reference/namespacemembers_type.html +0 -46
  311. data/reference/namespacemembers_vars.html +0 -48
  312. data/reference/namespaces.html +0 -35
@@ -1,518 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Gosu::Image Class Reference</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.5.5 -->
8
- <div class="navigation" id="top">
9
- <div class="tabs">
10
- <ul>
11
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
- <li><a href="files.html"><span>Files</span></a></li>
15
- </ul>
16
- </div>
17
- <div class="tabs">
18
- <ul>
19
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Image.html">Image</a>
25
- </div>
26
- </div>
27
- <div class="contents">
28
- <h1>Gosu::Image Class Reference</h1><!-- doxytag: class="Gosu::Image" -->Provides functionality for drawing rectangular images.
29
- <a href="#_details">More...</a>
30
- <p>
31
-
32
- <p>
33
- <a href="classGosu_1_1Image-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
- <tr><td></td></tr>
35
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#b7d4a07a578bc751f446bd60954ed0cd">Image</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const std::wstring &amp;filename, bool hardBorders=false)</td></tr>
37
-
38
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#ba2d3153073dd3ddeae934f6e2d9935b">Image</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const std::wstring &amp;filename, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool hardBorders=false)</td></tr>
39
-
40
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#cfaa17279bc44eaee7f52c66ad667bdc">Image</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;source, bool hardBorders=false)</td></tr>
41
-
42
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#07e1f50f52004c344bc27317ebe9a678">Image</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool hardBorders=false)</td></tr>
43
-
44
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d9eb15c02f9bb1136a7bb4b988696a97"></a><!-- doxytag: member="Gosu::Image::width" ref="d9eb15c02f9bb1136a7bb4b988696a97" args="() const " -->
45
- unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>width</b> () const </td></tr>
46
-
47
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a9153540e0da81a46f0262c50195c04"></a><!-- doxytag: member="Gosu::Image::height" ref="5a9153540e0da81a46f0262c50195c04" args="() const " -->
48
- unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>height</b> () const </td></tr>
49
-
50
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#7e6de0cae934109ba6c96434767f9540">draw</a> (double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double factorX=1, double factorY=1, <a class="el" href="classGosu_1_1Color.html">Color</a> c=Colors::white, <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
51
-
52
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#6ee7e13d1def74cbf5e974fdc3b045a1">drawMod</a> (double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double factorX, double factorY, <a class="el" href="classGosu_1_1Color.html">Color</a> c1, <a class="el" href="classGosu_1_1Color.html">Color</a> c2, <a class="el" href="classGosu_1_1Color.html">Color</a> c3, <a class="el" href="classGosu_1_1Color.html">Color</a> c4, <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
53
-
54
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#9333d4cb15b761020a82a41357ccb674">drawRot</a> (double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double angle, double centerX=0.5, double centerY=0.5, double factorX=1, double factorY=1, <a class="el" href="classGosu_1_1Color.html">Color</a> c=Colors::white, <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
55
-
56
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07c83052d6a269c893cdc0b5f5d1329f"></a><!-- doxytag: member="Gosu::Image::drawRotFlip" ref="07c83052d6a269c893cdc0b5f5d1329f" args="(double x, double y, ZPos z, RotFlip rf, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
57
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawRotFlip</b> (double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, RotFlip rf, double factorX=1, double factorY=1, <a class="el" href="classGosu_1_1Color.html">Color</a> c=Colors::white, <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
58
-
59
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ed4e6ba8c9ac296ff8550c0036f093d"></a><!-- doxytag: member="Gosu::Image::drawRotFlipMod" ref="9ed4e6ba8c9ac296ff8550c0036f093d" args="(double x, double y, ZPos z, RotFlip rf, double factorX, double factorY, Color c1, Color c2, Color c3, Color c4, AlphaMode mode=amDefault) const " -->
60
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawRotFlipMod</b> (double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, RotFlip rf, double factorX, double factorY, <a class="el" href="classGosu_1_1Color.html">Color</a> c1, <a class="el" href="classGosu_1_1Color.html">Color</a> c2, <a class="el" href="classGosu_1_1Color.html">Color</a> c3, <a class="el" href="classGosu_1_1Color.html">Color</a> c4, <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
61
-
62
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGosu_1_1ImageData.html">ImageData</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html#cbd542bae8e42ccc72442326e578c2c2">getData</a> () const </td></tr>
63
-
64
- </table>
65
- <hr><a name="_details"></a><h2>Detailed Description</h2>
66
- Provides functionality for drawing rectangular images. <hr><h2>Constructor &amp; Destructor Documentation</h2>
67
- <a class="anchor" name="b7d4a07a578bc751f446bd60954ed0cd"></a><!-- doxytag: member="Gosu::Image::Image" ref="b7d4a07a578bc751f446bd60954ed0cd" args="(Graphics &amp;graphics, const std::wstring &amp;filename, bool hardBorders=false)" -->
68
- <div class="memitem">
69
- <div class="memproto">
70
- <table class="memname">
71
- <tr>
72
- <td class="memname">Gosu::Image::Image </td>
73
- <td>(</td>
74
- <td class="paramtype"><a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td>
75
- <td class="paramname"> <em>graphics</em>, </td>
76
- </tr>
77
- <tr>
78
- <td class="paramkey"></td>
79
- <td></td>
80
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
81
- <td class="paramname"> <em>filename</em>, </td>
82
- </tr>
83
- <tr>
84
- <td class="paramkey"></td>
85
- <td></td>
86
- <td class="paramtype">bool&nbsp;</td>
87
- <td class="paramname"> <em>hardBorders</em> = <code>false</code></td><td>&nbsp;</td>
88
- </tr>
89
- <tr>
90
- <td></td>
91
- <td>)</td>
92
- <td></td><td></td><td width="100%"></td>
93
- </tr>
94
- </table>
95
- </div>
96
- <div class="memdoc">
97
-
98
- <p>
99
- Loads an image from a given filename that can be drawn onto graphics.
100
- <p>
101
- This constructor can handle PNG and BMP images. A color key of ff00ff is automatically applied to BMP type images. For more flexibility, use the corresponding constructor that uses a <a class="el" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a> object.
102
- </div>
103
- </div><p>
104
- <a class="anchor" name="ba2d3153073dd3ddeae934f6e2d9935b"></a><!-- doxytag: member="Gosu::Image::Image" ref="ba2d3153073dd3ddeae934f6e2d9935b" args="(Graphics &amp;graphics, const std::wstring &amp;filename, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool hardBorders=false)" -->
105
- <div class="memitem">
106
- <div class="memproto">
107
- <table class="memname">
108
- <tr>
109
- <td class="memname">Gosu::Image::Image </td>
110
- <td>(</td>
111
- <td class="paramtype"><a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td>
112
- <td class="paramname"> <em>graphics</em>, </td>
113
- </tr>
114
- <tr>
115
- <td class="paramkey"></td>
116
- <td></td>
117
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
118
- <td class="paramname"> <em>filename</em>, </td>
119
- </tr>
120
- <tr>
121
- <td class="paramkey"></td>
122
- <td></td>
123
- <td class="paramtype">unsigned&nbsp;</td>
124
- <td class="paramname"> <em>srcX</em>, </td>
125
- </tr>
126
- <tr>
127
- <td class="paramkey"></td>
128
- <td></td>
129
- <td class="paramtype">unsigned&nbsp;</td>
130
- <td class="paramname"> <em>srcY</em>, </td>
131
- </tr>
132
- <tr>
133
- <td class="paramkey"></td>
134
- <td></td>
135
- <td class="paramtype">unsigned&nbsp;</td>
136
- <td class="paramname"> <em>srcWidth</em>, </td>
137
- </tr>
138
- <tr>
139
- <td class="paramkey"></td>
140
- <td></td>
141
- <td class="paramtype">unsigned&nbsp;</td>
142
- <td class="paramname"> <em>srcHeight</em>, </td>
143
- </tr>
144
- <tr>
145
- <td class="paramkey"></td>
146
- <td></td>
147
- <td class="paramtype">bool&nbsp;</td>
148
- <td class="paramname"> <em>hardBorders</em> = <code>false</code></td><td>&nbsp;</td>
149
- </tr>
150
- <tr>
151
- <td></td>
152
- <td>)</td>
153
- <td></td><td></td><td width="100%"></td>
154
- </tr>
155
- </table>
156
- </div>
157
- <div class="memdoc">
158
-
159
- <p>
160
- Loads a portion of the the image at the given filename that can be drawn onto graphics.
161
- <p>
162
- This constructor can handle PNG and BMP images. A color key of ff00ff is automatically applied to BMP type images. For more flexibility, use the corresponding constructor that uses a <a class="el" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a> object.
163
- </div>
164
- </div><p>
165
- <a class="anchor" name="cfaa17279bc44eaee7f52c66ad667bdc"></a><!-- doxytag: member="Gosu::Image::Image" ref="cfaa17279bc44eaee7f52c66ad667bdc" args="(Graphics &amp;graphics, const Bitmap &amp;source, bool hardBorders=false)" -->
166
- <div class="memitem">
167
- <div class="memproto">
168
- <table class="memname">
169
- <tr>
170
- <td class="memname">Gosu::Image::Image </td>
171
- <td>(</td>
172
- <td class="paramtype"><a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td>
173
- <td class="paramname"> <em>graphics</em>, </td>
174
- </tr>
175
- <tr>
176
- <td class="paramkey"></td>
177
- <td></td>
178
- <td class="paramtype">const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;&nbsp;</td>
179
- <td class="paramname"> <em>source</em>, </td>
180
- </tr>
181
- <tr>
182
- <td class="paramkey"></td>
183
- <td></td>
184
- <td class="paramtype">bool&nbsp;</td>
185
- <td class="paramname"> <em>hardBorders</em> = <code>false</code></td><td>&nbsp;</td>
186
- </tr>
187
- <tr>
188
- <td></td>
189
- <td>)</td>
190
- <td></td><td></td><td width="100%"></td>
191
- </tr>
192
- </table>
193
- </div>
194
- <div class="memdoc">
195
-
196
- <p>
197
- Converts the given bitmap into an image that can be drawn onto graphics.
198
- <p>
199
-
200
- </div>
201
- </div><p>
202
- <a class="anchor" name="07e1f50f52004c344bc27317ebe9a678"></a><!-- doxytag: member="Gosu::Image::Image" ref="07e1f50f52004c344bc27317ebe9a678" args="(Graphics &amp;graphics, const Bitmap &amp;source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool hardBorders=false)" -->
203
- <div class="memitem">
204
- <div class="memproto">
205
- <table class="memname">
206
- <tr>
207
- <td class="memname">Gosu::Image::Image </td>
208
- <td>(</td>
209
- <td class="paramtype"><a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td>
210
- <td class="paramname"> <em>graphics</em>, </td>
211
- </tr>
212
- <tr>
213
- <td class="paramkey"></td>
214
- <td></td>
215
- <td class="paramtype">const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;&nbsp;</td>
216
- <td class="paramname"> <em>source</em>, </td>
217
- </tr>
218
- <tr>
219
- <td class="paramkey"></td>
220
- <td></td>
221
- <td class="paramtype">unsigned&nbsp;</td>
222
- <td class="paramname"> <em>srcX</em>, </td>
223
- </tr>
224
- <tr>
225
- <td class="paramkey"></td>
226
- <td></td>
227
- <td class="paramtype">unsigned&nbsp;</td>
228
- <td class="paramname"> <em>srcY</em>, </td>
229
- </tr>
230
- <tr>
231
- <td class="paramkey"></td>
232
- <td></td>
233
- <td class="paramtype">unsigned&nbsp;</td>
234
- <td class="paramname"> <em>srcWidth</em>, </td>
235
- </tr>
236
- <tr>
237
- <td class="paramkey"></td>
238
- <td></td>
239
- <td class="paramtype">unsigned&nbsp;</td>
240
- <td class="paramname"> <em>srcHeight</em>, </td>
241
- </tr>
242
- <tr>
243
- <td class="paramkey"></td>
244
- <td></td>
245
- <td class="paramtype">bool&nbsp;</td>
246
- <td class="paramname"> <em>hardBorders</em> = <code>false</code></td><td>&nbsp;</td>
247
- </tr>
248
- <tr>
249
- <td></td>
250
- <td>)</td>
251
- <td></td><td></td><td width="100%"></td>
252
- </tr>
253
- </table>
254
- </div>
255
- <div class="memdoc">
256
-
257
- <p>
258
- Converts a portion of the given bitmap into an image that can be drawn onto graphics.
259
- <p>
260
-
261
- </div>
262
- </div><p>
263
- <hr><h2>Member Function Documentation</h2>
264
- <a class="anchor" name="7e6de0cae934109ba6c96434767f9540"></a><!-- doxytag: member="Gosu::Image::draw" ref="7e6de0cae934109ba6c96434767f9540" args="(double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
265
- <div class="memitem">
266
- <div class="memproto">
267
- <table class="memname">
268
- <tr>
269
- <td class="memname">void Gosu::Image::draw </td>
270
- <td>(</td>
271
- <td class="paramtype">double&nbsp;</td>
272
- <td class="paramname"> <em>x</em>, </td>
273
- </tr>
274
- <tr>
275
- <td class="paramkey"></td>
276
- <td></td>
277
- <td class="paramtype">double&nbsp;</td>
278
- <td class="paramname"> <em>y</em>, </td>
279
- </tr>
280
- <tr>
281
- <td class="paramkey"></td>
282
- <td></td>
283
- <td class="paramtype"><a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a>&nbsp;</td>
284
- <td class="paramname"> <em>z</em>, </td>
285
- </tr>
286
- <tr>
287
- <td class="paramkey"></td>
288
- <td></td>
289
- <td class="paramtype">double&nbsp;</td>
290
- <td class="paramname"> <em>factorX</em> = <code>1</code>, </td>
291
- </tr>
292
- <tr>
293
- <td class="paramkey"></td>
294
- <td></td>
295
- <td class="paramtype">double&nbsp;</td>
296
- <td class="paramname"> <em>factorY</em> = <code>1</code>, </td>
297
- </tr>
298
- <tr>
299
- <td class="paramkey"></td>
300
- <td></td>
301
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
302
- <td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
303
- </tr>
304
- <tr>
305
- <td class="paramkey"></td>
306
- <td></td>
307
- <td class="paramtype"><a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a>&nbsp;</td>
308
- <td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td>&nbsp;</td>
309
- </tr>
310
- <tr>
311
- <td></td>
312
- <td>)</td>
313
- <td></td><td></td><td width="100%"> const</td>
314
- </tr>
315
- </table>
316
- </div>
317
- <div class="memdoc">
318
-
319
- <p>
320
- Draws the image so its upper left corner is at (x; y).
321
- <p>
322
-
323
- </div>
324
- </div><p>
325
- <a class="anchor" name="6ee7e13d1def74cbf5e974fdc3b045a1"></a><!-- doxytag: member="Gosu::Image::drawMod" ref="6ee7e13d1def74cbf5e974fdc3b045a1" args="(double x, double y, ZPos z, double factorX, double factorY, Color c1, Color c2, Color c3, Color c4, AlphaMode mode=amDefault) const " -->
326
- <div class="memitem">
327
- <div class="memproto">
328
- <table class="memname">
329
- <tr>
330
- <td class="memname">void Gosu::Image::drawMod </td>
331
- <td>(</td>
332
- <td class="paramtype">double&nbsp;</td>
333
- <td class="paramname"> <em>x</em>, </td>
334
- </tr>
335
- <tr>
336
- <td class="paramkey"></td>
337
- <td></td>
338
- <td class="paramtype">double&nbsp;</td>
339
- <td class="paramname"> <em>y</em>, </td>
340
- </tr>
341
- <tr>
342
- <td class="paramkey"></td>
343
- <td></td>
344
- <td class="paramtype"><a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a>&nbsp;</td>
345
- <td class="paramname"> <em>z</em>, </td>
346
- </tr>
347
- <tr>
348
- <td class="paramkey"></td>
349
- <td></td>
350
- <td class="paramtype">double&nbsp;</td>
351
- <td class="paramname"> <em>factorX</em>, </td>
352
- </tr>
353
- <tr>
354
- <td class="paramkey"></td>
355
- <td></td>
356
- <td class="paramtype">double&nbsp;</td>
357
- <td class="paramname"> <em>factorY</em>, </td>
358
- </tr>
359
- <tr>
360
- <td class="paramkey"></td>
361
- <td></td>
362
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
363
- <td class="paramname"> <em>c1</em>, </td>
364
- </tr>
365
- <tr>
366
- <td class="paramkey"></td>
367
- <td></td>
368
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
369
- <td class="paramname"> <em>c2</em>, </td>
370
- </tr>
371
- <tr>
372
- <td class="paramkey"></td>
373
- <td></td>
374
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
375
- <td class="paramname"> <em>c3</em>, </td>
376
- </tr>
377
- <tr>
378
- <td class="paramkey"></td>
379
- <td></td>
380
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
381
- <td class="paramname"> <em>c4</em>, </td>
382
- </tr>
383
- <tr>
384
- <td class="paramkey"></td>
385
- <td></td>
386
- <td class="paramtype"><a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a>&nbsp;</td>
387
- <td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td>&nbsp;</td>
388
- </tr>
389
- <tr>
390
- <td></td>
391
- <td>)</td>
392
- <td></td><td></td><td width="100%"> const</td>
393
- </tr>
394
- </table>
395
- </div>
396
- <div class="memdoc">
397
-
398
- <p>
399
- Like <a class="el" href="classGosu_1_1Image.html#7e6de0cae934109ba6c96434767f9540" title="Draws the image so its upper left corner is at (x; y).">draw()</a>, but allows to give modulation colors for all four corners.
400
- <p>
401
-
402
- </div>
403
- </div><p>
404
- <a class="anchor" name="9333d4cb15b761020a82a41357ccb674"></a><!-- doxytag: member="Gosu::Image::drawRot" ref="9333d4cb15b761020a82a41357ccb674" args="(double x, double y, ZPos z, double angle, double centerX=0.5, double centerY=0.5, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
405
- <div class="memitem">
406
- <div class="memproto">
407
- <table class="memname">
408
- <tr>
409
- <td class="memname">void Gosu::Image::drawRot </td>
410
- <td>(</td>
411
- <td class="paramtype">double&nbsp;</td>
412
- <td class="paramname"> <em>x</em>, </td>
413
- </tr>
414
- <tr>
415
- <td class="paramkey"></td>
416
- <td></td>
417
- <td class="paramtype">double&nbsp;</td>
418
- <td class="paramname"> <em>y</em>, </td>
419
- </tr>
420
- <tr>
421
- <td class="paramkey"></td>
422
- <td></td>
423
- <td class="paramtype"><a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a>&nbsp;</td>
424
- <td class="paramname"> <em>z</em>, </td>
425
- </tr>
426
- <tr>
427
- <td class="paramkey"></td>
428
- <td></td>
429
- <td class="paramtype">double&nbsp;</td>
430
- <td class="paramname"> <em>angle</em>, </td>
431
- </tr>
432
- <tr>
433
- <td class="paramkey"></td>
434
- <td></td>
435
- <td class="paramtype">double&nbsp;</td>
436
- <td class="paramname"> <em>centerX</em> = <code>0.5</code>, </td>
437
- </tr>
438
- <tr>
439
- <td class="paramkey"></td>
440
- <td></td>
441
- <td class="paramtype">double&nbsp;</td>
442
- <td class="paramname"> <em>centerY</em> = <code>0.5</code>, </td>
443
- </tr>
444
- <tr>
445
- <td class="paramkey"></td>
446
- <td></td>
447
- <td class="paramtype">double&nbsp;</td>
448
- <td class="paramname"> <em>factorX</em> = <code>1</code>, </td>
449
- </tr>
450
- <tr>
451
- <td class="paramkey"></td>
452
- <td></td>
453
- <td class="paramtype">double&nbsp;</td>
454
- <td class="paramname"> <em>factorY</em> = <code>1</code>, </td>
455
- </tr>
456
- <tr>
457
- <td class="paramkey"></td>
458
- <td></td>
459
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
460
- <td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
461
- </tr>
462
- <tr>
463
- <td class="paramkey"></td>
464
- <td></td>
465
- <td class="paramtype"><a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a>&nbsp;</td>
466
- <td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td>&nbsp;</td>
467
- </tr>
468
- <tr>
469
- <td></td>
470
- <td>)</td>
471
- <td></td><td></td><td width="100%"> const</td>
472
- </tr>
473
- </table>
474
- </div>
475
- <div class="memdoc">
476
-
477
- <p>
478
- Draws the image rotated by the given angle so that its rotation center is at (x; y).
479
- <p>
480
- Note that this is different from how all the other drawing functions work! <dl compact><dt><b>Parameters:</b></dt><dd>
481
- <table border="0" cellspacing="2" cellpadding="0">
482
- <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>See <a class="el" href="Math_8hpp.html" title="Contains simple math functionality.">Math.hpp</a> for an explanation of how <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> interprets angles. </td></tr>
483
- <tr><td valign="top"></td><td valign="top"><em>centerX</em>&nbsp;</td><td>Relative horizontal position of the rotation center on the image. 0 is the left border, 1 is the right border, 0.5 is the center (and default). </td></tr>
484
- <tr><td valign="top"></td><td valign="top"><em>centerY</em>&nbsp;</td><td>See centerX. </td></tr>
485
- </table>
486
- </dl>
487
-
488
- </div>
489
- </div><p>
490
- <a class="anchor" name="cbd542bae8e42ccc72442326e578c2c2"></a><!-- doxytag: member="Gosu::Image::getData" ref="cbd542bae8e42ccc72442326e578c2c2" args="() const " -->
491
- <div class="memitem">
492
- <div class="memproto">
493
- <table class="memname">
494
- <tr>
495
- <td class="memname">const <a class="el" href="classGosu_1_1ImageData.html">ImageData</a>&amp; Gosu::Image::getData </td>
496
- <td>(</td>
497
- <td class="paramname"> </td>
498
- <td>&nbsp;)&nbsp;</td>
499
- <td width="100%"> const</td>
500
- </tr>
501
- </table>
502
- </div>
503
- <div class="memdoc">
504
-
505
- <p>
506
- Provides access to the underlying image data object.
507
- <p>
508
-
509
- </div>
510
- </div><p>
511
- <hr>The documentation for this class was generated from the following file:<ul>
512
- <li><a class="el" href="Image_8hpp-source.html">Image.hpp</a></ul>
513
- </div>
514
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
515
- <a href="http://www.doxygen.org/index.html">
516
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
517
- </body>
518
- </html>