gosu 0.7.19 → 0.7.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/Gosu/Input.hpp +12 -8
  2. data/Gosu/Math.hpp +13 -0
  3. data/Gosu/TextInput.hpp +5 -0
  4. data/Gosu/Version.hpp +2 -2
  5. data/GosuImpl/Graphics/TextUnix.cpp +253 -0
  6. data/GosuImpl/InputMac.mm +4 -4
  7. data/GosuImpl/InputWin.cpp +4 -4
  8. data/GosuImpl/InputX.cpp +15 -15
  9. data/GosuImpl/Math.cpp +28 -4
  10. data/GosuImpl/RubyGosu.swg +14 -3
  11. data/GosuImpl/RubyGosuStub.mm +8 -15
  12. data/GosuImpl/RubyGosu_wrap.cxx +113 -6
  13. data/GosuImpl/TextInputMac.mm +10 -1
  14. data/GosuImpl/TextInputWin.cpp +10 -0
  15. data/GosuImpl/TextInputX.cpp +10 -0
  16. data/GosuImpl/WindowMac.mm +15 -4
  17. data/GosuImpl/WindowWin.cpp +16 -7
  18. data/examples/TextInput.rb +15 -0
  19. data/lib/gosu.rb +5 -8
  20. data/linux/extconf.rb +34 -9
  21. metadata +13 -272
  22. data/GosuImpl/Graphics/TextPangoFT.cpp +0 -186
  23. data/Rakefile +0 -314
  24. data/examples/TextInput.cpp +0 -192
  25. data/examples/Tutorial.cpp +0 -215
  26. data/linux/Makefile.in +0 -99
  27. data/linux/configure +0 -5850
  28. data/linux/configure.ac +0 -110
  29. data/reference/cpp/_audio_8hpp-source.html +0 -178
  30. data/reference/cpp/_audio_8hpp.html +0 -100
  31. data/reference/cpp/_audio_8hpp_source.html +0 -170
  32. data/reference/cpp/_auto_link_8hpp-source.html +0 -85
  33. data/reference/cpp/_auto_link_8hpp.html +0 -84
  34. data/reference/cpp/_auto_link_8hpp_source.html +0 -85
  35. data/reference/cpp/_bitmap_8hpp-source.html +0 -131
  36. data/reference/cpp/_bitmap_8hpp.html +0 -114
  37. data/reference/cpp/_bitmap_8hpp_source.html +0 -131
  38. data/reference/cpp/_buttons_mac_8hpp-source.html +0 -206
  39. data/reference/cpp/_buttons_mac_8hpp.html +0 -240
  40. data/reference/cpp/_buttons_mac_8hpp_source.html +0 -206
  41. data/reference/cpp/_color_8hpp-source.html +0 -216
  42. data/reference/cpp/_color_8hpp.html +0 -130
  43. data/reference/cpp/_color_8hpp_source.html +0 -232
  44. data/reference/cpp/_directories_8hpp-source.html +0 -89
  45. data/reference/cpp/_directories_8hpp.html +0 -103
  46. data/reference/cpp/_directories_8hpp_source.html +0 -89
  47. data/reference/cpp/_font_8hpp-source.html +0 -116
  48. data/reference/cpp/_font_8hpp.html +0 -94
  49. data/reference/cpp/_font_8hpp_source.html +0 -116
  50. data/reference/cpp/_fwd_8hpp-source.html +0 -99
  51. data/reference/cpp/_fwd_8hpp.html +0 -90
  52. data/reference/cpp/_fwd_8hpp_source.html +0 -99
  53. data/reference/cpp/_gosu_8hpp-source.html +0 -97
  54. data/reference/cpp/_gosu_8hpp.html +0 -84
  55. data/reference/cpp/_gosu_8hpp_source.html +0 -97
  56. data/reference/cpp/_graphics_8hpp-source.html +0 -135
  57. data/reference/cpp/_graphics_8hpp.html +0 -101
  58. data/reference/cpp/_graphics_8hpp_source.html +0 -144
  59. data/reference/cpp/_graphics_base_8hpp-source.html +0 -116
  60. data/reference/cpp/_graphics_base_8hpp.html +0 -128
  61. data/reference/cpp/_graphics_base_8hpp_source.html +0 -117
  62. data/reference/cpp/_i_o_8hpp-source.html +0 -302
  63. data/reference/cpp/_i_o_8hpp.html +0 -129
  64. data/reference/cpp/_i_o_8hpp_source.html +0 -295
  65. data/reference/cpp/_image_8hpp-source.html +0 -173
  66. data/reference/cpp/_image_8hpp.html +0 -103
  67. data/reference/cpp/_image_8hpp_source.html +0 -176
  68. data/reference/cpp/_image_data_8hpp-source.html +0 -109
  69. data/reference/cpp/_image_data_8hpp.html +0 -97
  70. data/reference/cpp/_image_data_8hpp_source.html +0 -109
  71. data/reference/cpp/_input_8hpp-source.html +0 -183
  72. data/reference/cpp/_input_8hpp.html +0 -109
  73. data/reference/cpp/_input_8hpp_source.html +0 -183
  74. data/reference/cpp/_math_8hpp-source.html +0 -157
  75. data/reference/cpp/_math_8hpp.html +0 -152
  76. data/reference/cpp/_math_8hpp_source.html +0 -157
  77. data/reference/cpp/_platform_8hpp-source.html +0 -134
  78. data/reference/cpp/_platform_8hpp.html +0 -162
  79. data/reference/cpp/_platform_8hpp_source.html +0 -134
  80. data/reference/cpp/_rot_flip_8hpp-source.html +0 -185
  81. data/reference/cpp/_rot_flip_8hpp.html +0 -130
  82. data/reference/cpp/_rot_flip_8hpp_source.html +0 -185
  83. data/reference/cpp/_sockets_8hpp-source.html +0 -175
  84. data/reference/cpp/_sockets_8hpp.html +0 -124
  85. data/reference/cpp/_sockets_8hpp_source.html +0 -175
  86. data/reference/cpp/_text_8hpp-source.html +0 -103
  87. data/reference/cpp/_text_8hpp.html +0 -106
  88. data/reference/cpp/_text_8hpp_source.html +0 -103
  89. data/reference/cpp/_text_input_8hpp-source.html +0 -111
  90. data/reference/cpp/_text_input_8hpp.html +0 -94
  91. data/reference/cpp/_text_input_8hpp_source.html +0 -116
  92. data/reference/cpp/_timing_8hpp-source.html +0 -83
  93. data/reference/cpp/_timing_8hpp.html +0 -97
  94. data/reference/cpp/_timing_8hpp_source.html +0 -83
  95. data/reference/cpp/_utility_8hpp-source.html +0 -90
  96. data/reference/cpp/_utility_8hpp.html +0 -103
  97. data/reference/cpp/_utility_8hpp_source.html +0 -90
  98. data/reference/cpp/_version_8hpp-source.html +0 -78
  99. data/reference/cpp/_version_8hpp.html +0 -154
  100. data/reference/cpp/_version_8hpp_source.html +0 -78
  101. data/reference/cpp/_win_utility_8hpp-source.html +0 -126
  102. data/reference/cpp/_win_utility_8hpp.html +0 -128
  103. data/reference/cpp/_win_utility_8hpp_source.html +0 -126
  104. data/reference/cpp/_window_8hpp-source.html +0 -158
  105. data/reference/cpp/_window_8hpp.html +0 -94
  106. data/reference/cpp/_window_8hpp_source.html +0 -159
  107. data/reference/cpp/annotated.html +0 -98
  108. data/reference/cpp/class_gosu_1_1_audio-members.html +0 -76
  109. data/reference/cpp/class_gosu_1_1_audio.html +0 -155
  110. data/reference/cpp/class_gosu_1_1_bitmap-members.html +0 -86
  111. data/reference/cpp/class_gosu_1_1_bitmap.html +0 -506
  112. data/reference/cpp/class_gosu_1_1_buffer-members.html +0 -85
  113. data/reference/cpp/class_gosu_1_1_buffer.html +0 -341
  114. data/reference/cpp/class_gosu_1_1_buffer.png +0 -0
  115. data/reference/cpp/class_gosu_1_1_button-members.html +0 -77
  116. data/reference/cpp/class_gosu_1_1_button.html +0 -198
  117. data/reference/cpp/class_gosu_1_1_color-members.html +0 -108
  118. data/reference/cpp/class_gosu_1_1_color.html +0 -972
  119. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +0 -91
  120. data/reference/cpp/class_gosu_1_1_comm_socket.html +0 -506
  121. data/reference/cpp/class_gosu_1_1_file-members.html +0 -82
  122. data/reference/cpp/class_gosu_1_1_file.html +0 -276
  123. data/reference/cpp/class_gosu_1_1_file.png +0 -0
  124. data/reference/cpp/class_gosu_1_1_font-members.html +0 -82
  125. data/reference/cpp/class_gosu_1_1_font.html +0 -506
  126. data/reference/cpp/class_gosu_1_1_graphics-members.html +0 -93
  127. data/reference/cpp/class_gosu_1_1_graphics.html +0 -817
  128. data/reference/cpp/class_gosu_1_1_image-members.html +0 -87
  129. data/reference/cpp/class_gosu_1_1_image.html +0 -797
  130. data/reference/cpp/class_gosu_1_1_image_data-members.html +0 -78
  131. data/reference/cpp/class_gosu_1_1_image_data.html +0 -282
  132. data/reference/cpp/class_gosu_1_1_input-members.html +0 -86
  133. data/reference/cpp/class_gosu_1_1_input.html +0 -418
  134. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +0 -79
  135. data/reference/cpp/class_gosu_1_1_listener_socket.html +0 -222
  136. data/reference/cpp/class_gosu_1_1_message_socket-members.html +0 -81
  137. data/reference/cpp/class_gosu_1_1_message_socket.html +0 -306
  138. data/reference/cpp/class_gosu_1_1_reader-members.html +0 -81
  139. data/reference/cpp/class_gosu_1_1_reader.html +0 -323
  140. data/reference/cpp/class_gosu_1_1_resource-members.html +0 -80
  141. data/reference/cpp/class_gosu_1_1_resource.html +0 -306
  142. data/reference/cpp/class_gosu_1_1_resource.png +0 -0
  143. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +0 -84
  144. data/reference/cpp/class_gosu_1_1_rot_flip.html +0 -352
  145. data/reference/cpp/class_gosu_1_1_sample-members.html +0 -80
  146. data/reference/cpp/class_gosu_1_1_sample.html +0 -324
  147. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +0 -82
  148. data/reference/cpp/class_gosu_1_1_sample_instance.html +0 -318
  149. data/reference/cpp/class_gosu_1_1_song-members.html +0 -90
  150. data/reference/cpp/class_gosu_1_1_song.html +0 -493
  151. data/reference/cpp/class_gosu_1_1_text_input-members.html +0 -80
  152. data/reference/cpp/class_gosu_1_1_text_input.html +0 -255
  153. data/reference/cpp/class_gosu_1_1_window-members.html +0 -91
  154. data/reference/cpp/class_gosu_1_1_window.html +0 -534
  155. data/reference/cpp/class_gosu_1_1_writer-members.html +0 -80
  156. data/reference/cpp/class_gosu_1_1_writer.html +0 -293
  157. data/reference/cpp/classes.html +0 -86
  158. data/reference/cpp/closed.gif +0 -0
  159. data/reference/cpp/cpp.css +0 -155
  160. data/reference/cpp/doxygen.png +0 -0
  161. data/reference/cpp/files.html +0 -99
  162. data/reference/cpp/functions.html +0 -128
  163. data/reference/cpp/functions_0x62.html +0 -144
  164. data/reference/cpp/functions_0x63.html +0 -143
  165. data/reference/cpp/functions_0x64.html +0 -143
  166. data/reference/cpp/functions_0x65.html +0 -122
  167. data/reference/cpp/functions_0x66.html +0 -144
  168. data/reference/cpp/functions_0x67.html +0 -136
  169. data/reference/cpp/functions_0x68.html +0 -122
  170. data/reference/cpp/functions_0x69.html +0 -124
  171. data/reference/cpp/functions_0x6b.html +0 -116
  172. data/reference/cpp/functions_0x6c.html +0 -118
  173. data/reference/cpp/functions_0x6d.html +0 -126
  174. data/reference/cpp/functions_0x6e.html +0 -121
  175. data/reference/cpp/functions_0x6f.html +0 -127
  176. data/reference/cpp/functions_0x70.html +0 -137
  177. data/reference/cpp/functions_0x72.html +0 -157
  178. data/reference/cpp/functions_0x73.html +0 -180
  179. data/reference/cpp/functions_0x74.html +0 -128
  180. data/reference/cpp/functions_0x75.html +0 -123
  181. data/reference/cpp/functions_0x76.html +0 -118
  182. data/reference/cpp/functions_0x77.html +0 -132
  183. data/reference/cpp/functions_0x78.html +0 -116
  184. data/reference/cpp/functions_0x79.html +0 -118
  185. data/reference/cpp/functions_0x7e.html +0 -142
  186. data/reference/cpp/functions_enum.html +0 -88
  187. data/reference/cpp/functions_eval.html +0 -90
  188. data/reference/cpp/functions_func.html +0 -124
  189. data/reference/cpp/functions_func_0x62.html +0 -136
  190. data/reference/cpp/functions_func_0x63.html +0 -137
  191. data/reference/cpp/functions_func_0x64.html +0 -141
  192. data/reference/cpp/functions_func_0x65.html +0 -120
  193. data/reference/cpp/functions_func_0x66.html +0 -140
  194. data/reference/cpp/functions_func_0x67.html +0 -130
  195. data/reference/cpp/functions_func_0x68.html +0 -120
  196. data/reference/cpp/functions_func_0x69.html +0 -120
  197. data/reference/cpp/functions_func_0x6b.html +0 -114
  198. data/reference/cpp/functions_func_0x6c.html +0 -114
  199. data/reference/cpp/functions_func_0x6d.html +0 -124
  200. data/reference/cpp/functions_func_0x6e.html +0 -117
  201. data/reference/cpp/functions_func_0x6f.html +0 -114
  202. data/reference/cpp/functions_func_0x70.html +0 -135
  203. data/reference/cpp/functions_func_0x72.html +0 -151
  204. data/reference/cpp/functions_func_0x73.html +0 -174
  205. data/reference/cpp/functions_func_0x74.html +0 -120
  206. data/reference/cpp/functions_func_0x75.html +0 -121
  207. data/reference/cpp/functions_func_0x76.html +0 -116
  208. data/reference/cpp/functions_func_0x77.html +0 -128
  209. data/reference/cpp/functions_func_0x7e.html +0 -140
  210. data/reference/cpp/functions_type.html +0 -88
  211. data/reference/cpp/functions_vars.html +0 -135
  212. data/reference/cpp/globals.html +0 -95
  213. data/reference/cpp/globals_defs.html +0 -95
  214. data/reference/cpp/hierarchy.html +0 -100
  215. data/reference/cpp/index.html +0 -67
  216. data/reference/cpp/namespace_gosu.html +0 -3311
  217. data/reference/cpp/namespace_gosu_1_1_colors.html +0 -287
  218. data/reference/cpp/namespace_gosu_1_1_win.html +0 -354
  219. data/reference/cpp/namespacemembers.html +0 -139
  220. data/reference/cpp/namespacemembers_0x62.html +0 -143
  221. data/reference/cpp/namespacemembers_0x63.html +0 -125
  222. data/reference/cpp/namespacemembers_0x64.html +0 -121
  223. data/reference/cpp/namespacemembers_0x66.html +0 -129
  224. data/reference/cpp/namespacemembers_0x67.html +0 -163
  225. data/reference/cpp/namespacemembers_0x68.html +0 -113
  226. data/reference/cpp/namespacemembers_0x69.html +0 -117
  227. data/reference/cpp/namespacemembers_0x6b.html +0 -289
  228. data/reference/cpp/namespacemembers_0x6c.html +0 -119
  229. data/reference/cpp/namespacemembers_0x6d.html +0 -131
  230. data/reference/cpp/namespacemembers_0x6e.html +0 -127
  231. data/reference/cpp/namespacemembers_0x6f.html +0 -121
  232. data/reference/cpp/namespacemembers_0x70.html +0 -115
  233. data/reference/cpp/namespacemembers_0x71.html +0 -113
  234. data/reference/cpp/namespacemembers_0x72.html +0 -165
  235. data/reference/cpp/namespacemembers_0x73.html +0 -135
  236. data/reference/cpp/namespacemembers_0x74.html +0 -129
  237. data/reference/cpp/namespacemembers_0x75.html +0 -117
  238. data/reference/cpp/namespacemembers_0x77.html +0 -117
  239. data/reference/cpp/namespacemembers_0x79.html +0 -113
  240. data/reference/cpp/namespacemembers_0x7a.html +0 -115
  241. data/reference/cpp/namespacemembers_enum.html +0 -103
  242. data/reference/cpp/namespacemembers_eval.html +0 -445
  243. data/reference/cpp/namespacemembers_func.html +0 -269
  244. data/reference/cpp/namespacemembers_type.html +0 -93
  245. data/reference/cpp/namespacemembers_vars.html +0 -117
  246. data/reference/cpp/namespaces.html +0 -76
  247. data/reference/cpp/open.gif +0 -0
  248. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +0 -78
  249. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +0 -186
  250. data/reference/cpp/struct_gosu_1_1_touch-members.html +0 -76
  251. data/reference/cpp/struct_gosu_1_1_touch.html +0 -154
  252. data/reference/cpp/tab_b.gif +0 -0
  253. data/reference/cpp/tab_l.gif +0 -0
  254. data/reference/cpp/tab_r.gif +0 -0
  255. data/reference/cpp/tabs.css +0 -105
  256. data/reference/rdoc/classes/Gosu.html +0 -1546
  257. data/reference/rdoc/classes/Gosu/Color.html +0 -660
  258. data/reference/rdoc/classes/Gosu/Font.html +0 -545
  259. data/reference/rdoc/classes/Gosu/GLTexInfo.html +0 -412
  260. data/reference/rdoc/classes/Gosu/Image.html +0 -706
  261. data/reference/rdoc/classes/Gosu/Sample.html +0 -476
  262. data/reference/rdoc/classes/Gosu/SampleInstance.html +0 -523
  263. data/reference/rdoc/classes/Gosu/Song.html +0 -568
  264. data/reference/rdoc/classes/Gosu/TextInput.html +0 -444
  265. data/reference/rdoc/classes/Gosu/Window.html +0 -911
  266. data/reference/rdoc/classes/Numeric.html +0 -479
  267. data/reference/rdoc/created.rid +0 -1
  268. data/reference/rdoc/files/COPYING_txt.html +0 -391
  269. data/reference/rdoc/files/README_txt.html +0 -387
  270. data/reference/rdoc/files/reference/Deployment on OS X_rdoc.html +0 -381
  271. data/reference/rdoc/files/reference/Deployment on Windows_rdoc.html +0 -385
  272. data/reference/rdoc/files/reference/Drawing with Colors_rdoc.html +0 -363
  273. data/reference/rdoc/files/reference/Order of Corners_rdoc.html +0 -358
  274. data/reference/rdoc/files/reference/Tileability_rdoc.html +0 -374
  275. data/reference/rdoc/files/reference/Z Ordering_rdoc.html +0 -361
  276. data/reference/rdoc/files/reference/gosu_rb.html +0 -348
  277. data/reference/rdoc/fr_class_index.html +0 -12
  278. data/reference/rdoc/fr_file_index.html +0 -10
  279. data/reference/rdoc/fr_method_index.html +0 -66
  280. data/reference/rdoc/index.html +0 -1
  281. data/reference/rdoc/rdoc-style.css +0 -320
@@ -1,306 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56
- <li><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64
- </ul>
65
- </div>
66
- <div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_resource.html">Resource</a>
67
- </div>
68
- </div>
69
- <div class="contents">
70
- <h1>Gosu::Resource Class Reference</h1><!-- doxytag: class="Gosu::Resource" -->Base class for resources.
71
- <a href="#_details">More...</a>
72
- <p>
73
- <div class="dynheader">
74
- Inheritance diagram for Gosu::Resource:</div>
75
- <div class="dynsection">
76
-
77
- <p><center><img src="class_gosu_1_1_resource.png" usemap="#Gosu::Resource_map" border="0" alt=""></center>
78
- <map name="Gosu::Resource_map">
79
- <area href="class_gosu_1_1_buffer.html" alt="Gosu::Buffer" shape="rect" coords="0,56,101,80">
80
- <area href="class_gosu_1_1_file.html" alt="Gosu::File" shape="rect" coords="111,56,212,80">
81
- </map>
82
- </div>
83
-
84
- <p>
85
- <a href="class_gosu_1_1_resource-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
86
- <tr><td></td></tr>
87
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
88
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#ca3a40cc85122a50869ea8930264c365">~Resource</a> ()</td></tr>
89
-
90
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_reader.html">Reader</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#1487016df4be48aa67e4596d5436dab6">frontReader</a> () const </td></tr>
91
-
92
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience: Creates a new <a class="el" href="class_gosu_1_1_reader.html" title="Utility class that points to a specific position in a resource and offers an interface...">Reader</a> that reads from the start of the resource. <a href="#1487016df4be48aa67e4596d5436dab6"></a><br></td></tr>
93
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_writer.html">Writer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#8383c59af78d8b90b4f28cd10c6a368f">backWriter</a> ()</td></tr>
94
-
95
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience: Creates a new <a class="el" href="class_gosu_1_1_writer.html" title="Utility class that points to a specific position in a resource and offers an interface...">Writer</a> that appends data at the end of the resource. <a href="#8383c59af78d8b90b4f28cd10c6a368f"></a><br></td></tr>
96
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#1211e148be764e0b78e3d7133da4a9f0">size</a> () const =0</td></tr>
97
-
98
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#ae13c54d269781b8f05dd281bdd3d9f6">resize</a> (std::size_t newSize)=0</td></tr>
99
-
100
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#64b661506cb7e17af4d957a368149b11">read</a> (std::size_t offset, std::size_t length, void *destBuffer) const =0</td></tr>
101
-
102
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_resource.html#b2dac3b2c7a34372051231b5bb4b8969">write</a> (std::size_t offset, std::size_t length, const void *sourceBuffer)=0</td></tr>
103
-
104
- </table>
105
- <hr><a name="_details"></a><h2>Detailed Description</h2>
106
- Base class for resources.
107
- <p>
108
- A resource in <a class="el" href="namespace_gosu.html" title="The library&#39;s main namespace.">Gosu</a> is nothing more but a piece of binary data that can be read or written, for example files or simply areas of allocated memory. A resource always knows its size and can resize itself, thereby either truncating its content or allocating room for more data.
109
- <p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00142">142</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
110
- <hr><h2>Constructor &amp; Destructor Documentation</h2>
111
- <a class="anchor" name="ca3a40cc85122a50869ea8930264c365"></a><!-- doxytag: member="Gosu::Resource::~Resource" ref="ca3a40cc85122a50869ea8930264c365" args="()" -->
112
- <div class="memitem">
113
- <div class="memproto">
114
- <table class="memname">
115
- <tr>
116
- <td class="memname">virtual Gosu::Resource::~Resource </td>
117
- <td>(</td>
118
- <td class="paramname"> </td>
119
- <td>&nbsp;)&nbsp;</td>
120
- <td><code> [virtual]</code></td>
121
- </tr>
122
- </table>
123
- </div>
124
- <div class="memdoc">
125
-
126
- <p>
127
-
128
- <p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00145">145</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
129
-
130
- </div>
131
- </div><p>
132
- <hr><h2>Member Function Documentation</h2>
133
- <a class="anchor" name="8383c59af78d8b90b4f28cd10c6a368f"></a><!-- doxytag: member="Gosu::Resource::backWriter" ref="8383c59af78d8b90b4f28cd10c6a368f" args="()" -->
134
- <div class="memitem">
135
- <div class="memproto">
136
- <table class="memname">
137
- <tr>
138
- <td class="memname"><a class="el" href="class_gosu_1_1_writer.html">Writer</a> Gosu::Resource::backWriter </td>
139
- <td>(</td>
140
- <td class="paramname"> </td>
141
- <td>&nbsp;)&nbsp;</td>
142
- <td></td>
143
- </tr>
144
- </table>
145
- </div>
146
- <div class="memdoc">
147
-
148
- <p>
149
- Convenience: Creates a new <a class="el" href="class_gosu_1_1_writer.html" title="Utility class that points to a specific position in a resource and offers an interface...">Writer</a> that appends data at the end of the resource.
150
- <p>
151
-
152
- <p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00158">158</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
153
-
154
- <p>References <a class="el" href="class_gosu_1_1_resource.html#1211e148be764e0b78e3d7133da4a9f0">size()</a>.</p>
155
-
156
- </div>
157
- </div><p>
158
- <a class="anchor" name="1487016df4be48aa67e4596d5436dab6"></a><!-- doxytag: member="Gosu::Resource::frontReader" ref="1487016df4be48aa67e4596d5436dab6" args="() const " -->
159
- <div class="memitem">
160
- <div class="memproto">
161
- <table class="memname">
162
- <tr>
163
- <td class="memname"><a class="el" href="class_gosu_1_1_reader.html">Reader</a> Gosu::Resource::frontReader </td>
164
- <td>(</td>
165
- <td class="paramname"> </td>
166
- <td>&nbsp;)&nbsp;</td>
167
- <td> const</td>
168
- </tr>
169
- </table>
170
- </div>
171
- <div class="memdoc">
172
-
173
- <p>
174
- Convenience: Creates a new <a class="el" href="class_gosu_1_1_reader.html" title="Utility class that points to a specific position in a resource and offers an interface...">Reader</a> that reads from the start of the resource.
175
- <p>
176
-
177
- <p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00151">151</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
178
-
179
- </div>
180
- </div><p>
181
- <a class="anchor" name="64b661506cb7e17af4d957a368149b11"></a><!-- doxytag: member="Gosu::Resource::read" ref="64b661506cb7e17af4d957a368149b11" args="(std::size_t offset, std::size_t length, void *destBuffer) const =0" -->
182
- <div class="memitem">
183
- <div class="memproto">
184
- <table class="memname">
185
- <tr>
186
- <td class="memname">virtual void Gosu::Resource::read </td>
187
- <td>(</td>
188
- <td class="paramtype">std::size_t&nbsp;</td>
189
- <td class="paramname"> <em>offset</em>, </td>
190
- </tr>
191
- <tr>
192
- <td class="paramkey"></td>
193
- <td></td>
194
- <td class="paramtype">std::size_t&nbsp;</td>
195
- <td class="paramname"> <em>length</em>, </td>
196
- </tr>
197
- <tr>
198
- <td class="paramkey"></td>
199
- <td></td>
200
- <td class="paramtype">void *&nbsp;</td>
201
- <td class="paramname"> <em>destBuffer</em></td><td>&nbsp;</td>
202
- </tr>
203
- <tr>
204
- <td></td>
205
- <td>)</td>
206
- <td></td><td></td><td> const<code> [pure virtual]</code></td>
207
- </tr>
208
- </table>
209
- </div>
210
- <div class="memdoc">
211
-
212
- <p>
213
-
214
- <p>Implemented in <a class="el" href="class_gosu_1_1_buffer.html#663043ae5ef683670989dfa2fc71c189">Gosu::Buffer</a>, and <a class="el" href="class_gosu_1_1_file.html#65d51811adfa8909e325a52c79903c78">Gosu::File</a>.</p>
215
-
216
- </div>
217
- </div><p>
218
- <a class="anchor" name="ae13c54d269781b8f05dd281bdd3d9f6"></a><!-- doxytag: member="Gosu::Resource::resize" ref="ae13c54d269781b8f05dd281bdd3d9f6" args="(std::size_t newSize)=0" -->
219
- <div class="memitem">
220
- <div class="memproto">
221
- <table class="memname">
222
- <tr>
223
- <td class="memname">virtual void Gosu::Resource::resize </td>
224
- <td>(</td>
225
- <td class="paramtype">std::size_t&nbsp;</td>
226
- <td class="paramname"> <em>newSize</em> </td>
227
- <td>&nbsp;)&nbsp;</td>
228
- <td><code> [pure virtual]</code></td>
229
- </tr>
230
- </table>
231
- </div>
232
- <div class="memdoc">
233
-
234
- <p>
235
-
236
- <p>Implemented in <a class="el" href="class_gosu_1_1_buffer.html#a2ba0896aa3e51d2d8ae30551288fabc">Gosu::Buffer</a>, and <a class="el" href="class_gosu_1_1_file.html#e8e557bc658ba2f2caca51517d461ee3">Gosu::File</a>.</p>
237
-
238
- </div>
239
- </div><p>
240
- <a class="anchor" name="1211e148be764e0b78e3d7133da4a9f0"></a><!-- doxytag: member="Gosu::Resource::size" ref="1211e148be764e0b78e3d7133da4a9f0" args="() const =0" -->
241
- <div class="memitem">
242
- <div class="memproto">
243
- <table class="memname">
244
- <tr>
245
- <td class="memname">virtual std::size_t Gosu::Resource::size </td>
246
- <td>(</td>
247
- <td class="paramname"> </td>
248
- <td>&nbsp;)&nbsp;</td>
249
- <td> const<code> [pure virtual]</code></td>
250
- </tr>
251
- </table>
252
- </div>
253
- <div class="memdoc">
254
-
255
- <p>
256
-
257
- <p>Implemented in <a class="el" href="class_gosu_1_1_buffer.html#87dc8af05b5c5073ef12bdf3368dcfe3">Gosu::Buffer</a>, and <a class="el" href="class_gosu_1_1_file.html#d3cb0b3153253936f11ae51da9032532">Gosu::File</a>.</p>
258
-
259
- <p>Referenced by <a class="el" href="_i_o_8hpp_source.html#l00158">backWriter()</a>.</p>
260
-
261
- </div>
262
- </div><p>
263
- <a class="anchor" name="b2dac3b2c7a34372051231b5bb4b8969"></a><!-- doxytag: member="Gosu::Resource::write" ref="b2dac3b2c7a34372051231b5bb4b8969" args="(std::size_t offset, std::size_t length, const void *sourceBuffer)=0" -->
264
- <div class="memitem">
265
- <div class="memproto">
266
- <table class="memname">
267
- <tr>
268
- <td class="memname">virtual void Gosu::Resource::write </td>
269
- <td>(</td>
270
- <td class="paramtype">std::size_t&nbsp;</td>
271
- <td class="paramname"> <em>offset</em>, </td>
272
- </tr>
273
- <tr>
274
- <td class="paramkey"></td>
275
- <td></td>
276
- <td class="paramtype">std::size_t&nbsp;</td>
277
- <td class="paramname"> <em>length</em>, </td>
278
- </tr>
279
- <tr>
280
- <td class="paramkey"></td>
281
- <td></td>
282
- <td class="paramtype">const void *&nbsp;</td>
283
- <td class="paramname"> <em>sourceBuffer</em></td><td>&nbsp;</td>
284
- </tr>
285
- <tr>
286
- <td></td>
287
- <td>)</td>
288
- <td></td><td></td><td><code> [pure virtual]</code></td>
289
- </tr>
290
- </table>
291
- </div>
292
- <div class="memdoc">
293
-
294
- <p>
295
-
296
- <p>Implemented in <a class="el" href="class_gosu_1_1_buffer.html#6fb20591d430230c854aaa9ff5f29bc3">Gosu::Buffer</a>, and <a class="el" href="class_gosu_1_1_file.html#3ed021544dfd296370219744cc71c61e">Gosu::File</a>.</p>
297
-
298
- </div>
299
- </div><p>
300
- <hr>The documentation for this class was generated from the following file:<ul>
301
- <li><a class="el" href="_i_o_8hpp_source.html">IO.hpp</a></ul>
302
- </div>
303
- <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
304
- </div>
305
- </body>
306
- </html>
@@ -1,84 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56
- <li><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64
- </ul>
65
- </div>
66
- </div>
67
- <div class="contents">
68
- <h1>Gosu::RotFlip Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a>, including all inherited members.<p><table>
69
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#f3ba518395cf6e27293e1c16b83d3498">flipped</a>() const </td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
70
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#a5fd7bae1d53c7463583cb09cc57ad67">flipX</a>()</td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
71
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#c3dbcf4ab91b10c87486a4d163d34ad8">flipY</a>()</td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
72
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#298667fafd03f96271a36defe8550798">mapCorner</a>(unsigned n) const </td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
73
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#3129da4cddf7ae6d87b5234747f048b7">name</a>() const </td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
74
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#d236117a2fcff3a31eb36f71bc254612">realCorner</a>(unsigned n) const </td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
75
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#3772988db6083987d5ce694426ff56b8">rotate180</a>()</td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
76
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#3d6f66fcdf9596b77e425af5b2114d9d">rotate270</a>()</td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
77
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#df6ceab061cbc04acea46f081a0bd100">rotate90</a>()</td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
78
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#49d19e886fba21e75fc643977ce0535c">rotated</a>() const </td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
79
- <tr class="memlist"><td><a class="el" href="class_gosu_1_1_rot_flip.html#5ae8685fbe53fded5c71c2d3dbecc36e">RotFlip</a>(RotFlipName name=rfDefault)</td><td><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td></td></tr>
80
- </table></div>
81
- <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
82
- </div>
83
- </body>
84
- </html>
@@ -1,352 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56
- <li><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64
- </ul>
65
- </div>
66
- <div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_rot_flip.html">RotFlip</a>
67
- </div>
68
- </div>
69
- <div class="contents">
70
- <h1>Gosu::RotFlip Class Reference</h1><!-- doxytag: class="Gosu::RotFlip" -->Light-weight class that encodes a rotation by 0, 90, 180, or 270 degrees as well as optional horizontal and/or vertical flips.
71
- <a href="#_details">More...</a>
72
- <p>
73
-
74
- <p>
75
- <a href="class_gosu_1_1_rot_flip-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
76
- <tr><td></td></tr>
77
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
78
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#5ae8685fbe53fded5c71c2d3dbecc36e">RotFlip</a> (<a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a> name=rfDefault)</td></tr>
79
-
80
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#3129da4cddf7ae6d87b5234747f048b7">name</a> () const </td></tr>
81
-
82
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#a5fd7bae1d53c7463583cb09cc57ad67">flipX</a> ()</td></tr>
83
-
84
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#c3dbcf4ab91b10c87486a4d163d34ad8">flipY</a> ()</td></tr>
85
-
86
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#df6ceab061cbc04acea46f081a0bd100">rotate90</a> ()</td></tr>
87
-
88
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#3772988db6083987d5ce694426ff56b8">rotate180</a> ()</td></tr>
89
-
90
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#3d6f66fcdf9596b77e425af5b2114d9d">rotate270</a> ()</td></tr>
91
-
92
- <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#f3ba518395cf6e27293e1c16b83d3498">flipped</a> () const </td></tr>
93
-
94
- <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#49d19e886fba21e75fc643977ce0535c">rotated</a> () const </td></tr>
95
-
96
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#298667fafd03f96271a36defe8550798">mapCorner</a> (unsigned n) const </td></tr>
97
-
98
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#d236117a2fcff3a31eb36f71bc254612">realCorner</a> (unsigned n) const </td></tr>
99
-
100
- </table>
101
- <hr><a name="_details"></a><h2>Detailed Description</h2>
102
- Light-weight class that encodes a rotation by 0, 90, 180, or 270 degrees as well as optional horizontal and/or vertical flips.
103
- <p>
104
- In short, this convieniently encodes the eight ways in which a aligned rectangle can be linearly transformed to result in an aligned rectangle again. Especially useful for games with tile-based maps.
105
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00043">43</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
106
- <hr><h2>Constructor &amp; Destructor Documentation</h2>
107
- <a class="anchor" name="5ae8685fbe53fded5c71c2d3dbecc36e"></a><!-- doxytag: member="Gosu::RotFlip::RotFlip" ref="5ae8685fbe53fded5c71c2d3dbecc36e" args="(RotFlipName name=rfDefault)" -->
108
- <div class="memitem">
109
- <div class="memproto">
110
- <table class="memname">
111
- <tr>
112
- <td class="memname">Gosu::RotFlip::RotFlip </td>
113
- <td>(</td>
114
- <td class="paramtype"><a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a>&nbsp;</td>
115
- <td class="paramname"> <em>name</em> = <code>rfDefault</code> </td>
116
- <td>&nbsp;)&nbsp;</td>
117
- <td></td>
118
- </tr>
119
- </table>
120
- </div>
121
- <div class="memdoc">
122
-
123
- <p>
124
-
125
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00055">55</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
126
-
127
- </div>
128
- </div><p>
129
- <hr><h2>Member Function Documentation</h2>
130
- <a class="anchor" name="f3ba518395cf6e27293e1c16b83d3498"></a><!-- doxytag: member="Gosu::RotFlip::flipped" ref="f3ba518395cf6e27293e1c16b83d3498" args="() const " -->
131
- <div class="memitem">
132
- <div class="memproto">
133
- <table class="memname">
134
- <tr>
135
- <td class="memname">bool Gosu::RotFlip::flipped </td>
136
- <td>(</td>
137
- <td class="paramname"> </td>
138
- <td>&nbsp;)&nbsp;</td>
139
- <td> const</td>
140
- </tr>
141
- </table>
142
- </div>
143
- <div class="memdoc">
144
-
145
- <p>
146
-
147
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00090">90</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
148
-
149
- <p>References <a class="el" href="_rot_flip_8hpp_source.html#l00018">Gosu::rfFlipX</a>.</p>
150
-
151
- </div>
152
- </div><p>
153
- <a class="anchor" name="a5fd7bae1d53c7463583cb09cc57ad67"></a><!-- doxytag: member="Gosu::RotFlip::flipX" ref="a5fd7bae1d53c7463583cb09cc57ad67" args="()" -->
154
- <div class="memitem">
155
- <div class="memproto">
156
- <table class="memname">
157
- <tr>
158
- <td class="memname">void Gosu::RotFlip::flipX </td>
159
- <td>(</td>
160
- <td class="paramname"> </td>
161
- <td>&nbsp;)&nbsp;</td>
162
- <td></td>
163
- </tr>
164
- </table>
165
- </div>
166
- <div class="memdoc">
167
-
168
- <p>
169
-
170
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00065">65</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
171
-
172
- </div>
173
- </div><p>
174
- <a class="anchor" name="c3dbcf4ab91b10c87486a4d163d34ad8"></a><!-- doxytag: member="Gosu::RotFlip::flipY" ref="c3dbcf4ab91b10c87486a4d163d34ad8" args="()" -->
175
- <div class="memitem">
176
- <div class="memproto">
177
- <table class="memname">
178
- <tr>
179
- <td class="memname">void Gosu::RotFlip::flipY </td>
180
- <td>(</td>
181
- <td class="paramname"> </td>
182
- <td>&nbsp;)&nbsp;</td>
183
- <td></td>
184
- </tr>
185
- </table>
186
- </div>
187
- <div class="memdoc">
188
-
189
- <p>
190
-
191
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00070">70</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
192
-
193
- </div>
194
- </div><p>
195
- <a class="anchor" name="298667fafd03f96271a36defe8550798"></a><!-- doxytag: member="Gosu::RotFlip::mapCorner" ref="298667fafd03f96271a36defe8550798" args="(unsigned n) const " -->
196
- <div class="memitem">
197
- <div class="memproto">
198
- <table class="memname">
199
- <tr>
200
- <td class="memname">unsigned Gosu::RotFlip::mapCorner </td>
201
- <td>(</td>
202
- <td class="paramtype">unsigned&nbsp;</td>
203
- <td class="paramname"> <em>n</em> </td>
204
- <td>&nbsp;)&nbsp;</td>
205
- <td> const</td>
206
- </tr>
207
- </table>
208
- </div>
209
- <div class="memdoc">
210
-
211
- <p>
212
-
213
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00100">100</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
214
-
215
- </div>
216
- </div><p>
217
- <a class="anchor" name="3129da4cddf7ae6d87b5234747f048b7"></a><!-- doxytag: member="Gosu::RotFlip::name" ref="3129da4cddf7ae6d87b5234747f048b7" args="() const " -->
218
- <div class="memitem">
219
- <div class="memproto">
220
- <table class="memname">
221
- <tr>
222
- <td class="memname"><a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a> Gosu::RotFlip::name </td>
223
- <td>(</td>
224
- <td class="paramname"> </td>
225
- <td>&nbsp;)&nbsp;</td>
226
- <td> const</td>
227
- </tr>
228
- </table>
229
- </div>
230
- <div class="memdoc">
231
-
232
- <p>
233
-
234
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00060">60</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
235
-
236
- <p>Referenced by <a class="el" href="_rot_flip_8hpp_source.html#l00116">Gosu::operator!=()</a>, and <a class="el" href="_rot_flip_8hpp_source.html#l00111">Gosu::operator==()</a>.</p>
237
-
238
- </div>
239
- </div><p>
240
- <a class="anchor" name="d236117a2fcff3a31eb36f71bc254612"></a><!-- doxytag: member="Gosu::RotFlip::realCorner" ref="d236117a2fcff3a31eb36f71bc254612" args="(unsigned n) const " -->
241
- <div class="memitem">
242
- <div class="memproto">
243
- <table class="memname">
244
- <tr>
245
- <td class="memname">unsigned Gosu::RotFlip::realCorner </td>
246
- <td>(</td>
247
- <td class="paramtype">unsigned&nbsp;</td>
248
- <td class="paramname"> <em>n</em> </td>
249
- <td>&nbsp;)&nbsp;</td>
250
- <td> const</td>
251
- </tr>
252
- </table>
253
- </div>
254
- <div class="memdoc">
255
-
256
- <p>
257
-
258
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00105">105</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
259
-
260
- </div>
261
- </div><p>
262
- <a class="anchor" name="3772988db6083987d5ce694426ff56b8"></a><!-- doxytag: member="Gosu::RotFlip::rotate180" ref="3772988db6083987d5ce694426ff56b8" args="()" -->
263
- <div class="memitem">
264
- <div class="memproto">
265
- <table class="memname">
266
- <tr>
267
- <td class="memname">void Gosu::RotFlip::rotate180 </td>
268
- <td>(</td>
269
- <td class="paramname"> </td>
270
- <td>&nbsp;)&nbsp;</td>
271
- <td></td>
272
- </tr>
273
- </table>
274
- </div>
275
- <div class="memdoc">
276
-
277
- <p>
278
-
279
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00080">80</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
280
-
281
- </div>
282
- </div><p>
283
- <a class="anchor" name="3d6f66fcdf9596b77e425af5b2114d9d"></a><!-- doxytag: member="Gosu::RotFlip::rotate270" ref="3d6f66fcdf9596b77e425af5b2114d9d" args="()" -->
284
- <div class="memitem">
285
- <div class="memproto">
286
- <table class="memname">
287
- <tr>
288
- <td class="memname">void Gosu::RotFlip::rotate270 </td>
289
- <td>(</td>
290
- <td class="paramname"> </td>
291
- <td>&nbsp;)&nbsp;</td>
292
- <td></td>
293
- </tr>
294
- </table>
295
- </div>
296
- <div class="memdoc">
297
-
298
- <p>
299
-
300
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00085">85</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
301
-
302
- </div>
303
- </div><p>
304
- <a class="anchor" name="df6ceab061cbc04acea46f081a0bd100"></a><!-- doxytag: member="Gosu::RotFlip::rotate90" ref="df6ceab061cbc04acea46f081a0bd100" args="()" -->
305
- <div class="memitem">
306
- <div class="memproto">
307
- <table class="memname">
308
- <tr>
309
- <td class="memname">void Gosu::RotFlip::rotate90 </td>
310
- <td>(</td>
311
- <td class="paramname"> </td>
312
- <td>&nbsp;)&nbsp;</td>
313
- <td></td>
314
- </tr>
315
- </table>
316
- </div>
317
- <div class="memdoc">
318
-
319
- <p>
320
-
321
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00075">75</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
322
-
323
- </div>
324
- </div><p>
325
- <a class="anchor" name="49d19e886fba21e75fc643977ce0535c"></a><!-- doxytag: member="Gosu::RotFlip::rotated" ref="49d19e886fba21e75fc643977ce0535c" args="() const " -->
326
- <div class="memitem">
327
- <div class="memproto">
328
- <table class="memname">
329
- <tr>
330
- <td class="memname">bool Gosu::RotFlip::rotated </td>
331
- <td>(</td>
332
- <td class="paramname"> </td>
333
- <td>&nbsp;)&nbsp;</td>
334
- <td> const</td>
335
- </tr>
336
- </table>
337
- </div>
338
- <div class="memdoc">
339
-
340
- <p>
341
-
342
- <p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00095">95</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
343
-
344
- </div>
345
- </div><p>
346
- <hr>The documentation for this class was generated from the following file:<ul>
347
- <li><a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a></ul>
348
- </div>
349
- <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
350
- </div>
351
- </body>
352
- </html>