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
@@ -0,0 +1,81 @@
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.8 -->
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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ </div>
66
+ <div class="contents">
67
+ <h1>Gosu::File Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_file.html">Gosu::File</a>, including all inherited members.<p><table>
68
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_resource.html#8383c59af78d8b90b4f28cd10c6a368f">backWriter</a>()</td><td><a class="el" href="class_gosu_1_1_resource.html">Gosu::Resource</a></td><td></td></tr>
69
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_file.html#ca8146e9a279ee5cdee72bf6997eb392">File</a>(const std::wstring &amp;filename, FileMode mode=fmRead)</td><td><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td><code> [explicit]</code></td></tr>
70
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_resource.html#1487016df4be48aa67e4596d5436dab6">frontReader</a>() const </td><td><a class="el" href="class_gosu_1_1_resource.html">Gosu::Resource</a></td><td></td></tr>
71
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_file.html#65d51811adfa8909e325a52c79903c78">read</a>(std::size_t offset, std::size_t length, void *destBuffer) const </td><td><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td><code> [virtual]</code></td></tr>
72
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_file.html#e8e557bc658ba2f2caca51517d461ee3">resize</a>(std::size_t newSize)</td><td><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td><code> [virtual]</code></td></tr>
73
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_file.html#d3cb0b3153253936f11ae51da9032532">size</a>() const </td><td><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td><code> [virtual]</code></td></tr>
74
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_file.html#3ed021544dfd296370219744cc71c61e">write</a>(std::size_t offset, std::size_t length, const void *sourceBuffer)</td><td><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td><code> [virtual]</code></td></tr>
75
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_file.html#33c8932235e2b46945a767025dc02edc">~File</a>()</td><td><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td></td></tr>
76
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_resource.html#ca3a40cc85122a50869ea8930264c365">~Resource</a>()</td><td><a class="el" href="class_gosu_1_1_resource.html">Gosu::Resource</a></td><td><code> [virtual]</code></td></tr>
77
+ </table></div>
78
+ <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>
79
+ </div>
80
+ </body>
81
+ </html>
@@ -0,0 +1,275 @@
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.8 -->
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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ <div class="navpath"><b>Gosu</b>::<a class="el" href="class_gosu_1_1_file.html">File</a>
66
+ </div>
67
+ </div>
68
+ <div class="contents">
69
+ <h1>Gosu::File Class Reference</h1><!-- doxytag: class="Gosu::File" --><!-- doxytag: inherits="Gosu::Resource" --><a class="el" href="class_gosu_1_1_file.html" title="File with the Resource interface.">File</a> with the <a class="el" href="class_gosu_1_1_resource.html" title="Base class for resources.">Resource</a> interface.
70
+ <a href="#_details">More...</a>
71
+ <p>
72
+ <div class="dynheader">
73
+ Inheritance diagram for Gosu::File:</div>
74
+ <div class="dynsection">
75
+
76
+ <p><center><img src="class_gosu_1_1_file.png" usemap="#Gosu::File_map" border="0" alt=""></center>
77
+ <map name="Gosu::File_map">
78
+ <area href="class_gosu_1_1_resource.html" alt="Gosu::Resource" shape="rect" coords="0,0,101,24">
79
+ </map>
80
+ </div>
81
+
82
+ <p>
83
+ <a href="class_gosu_1_1_file-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
84
+ <tr><td></td></tr>
85
+ <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
86
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_file.html#ca8146e9a279ee5cdee72bf6997eb392">File</a> (const std::wstring &amp;filename, FileMode mode=fmRead)</td></tr>
87
+
88
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_file.html#33c8932235e2b46945a767025dc02edc">~File</a> ()</td></tr>
89
+
90
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">std::size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_file.html#d3cb0b3153253936f11ae51da9032532">size</a> () const </td></tr>
91
+
92
+ <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_file.html#e8e557bc658ba2f2caca51517d461ee3">resize</a> (std::size_t newSize)</td></tr>
93
+
94
+ <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_file.html#65d51811adfa8909e325a52c79903c78">read</a> (std::size_t offset, std::size_t length, void *destBuffer) const </td></tr>
95
+
96
+ <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_file.html#3ed021544dfd296370219744cc71c61e">write</a> (std::size_t offset, std::size_t length, const void *sourceBuffer)</td></tr>
97
+
98
+ </table>
99
+ <hr><a name="_details"></a><h2>Detailed Description</h2>
100
+ <a class="el" href="class_gosu_1_1_file.html" title="File with the Resource interface.">File</a> with the <a class="el" href="class_gosu_1_1_resource.html" title="Base class for resources.">Resource</a> interface.
101
+ <p>Definition at line <a class="el" href="_i_o_8hpp-source.html#l00236">236</a> of file <a class="el" href="_i_o_8hpp-source.html">IO.hpp</a>.</p>
102
+ <hr><h2>Constructor &amp; Destructor Documentation</h2>
103
+ <a class="anchor" name="ca8146e9a279ee5cdee72bf6997eb392"></a><!-- doxytag: member="Gosu::File::File" ref="ca8146e9a279ee5cdee72bf6997eb392" args="(const std::wstring &amp;filename, FileMode mode=fmRead)" -->
104
+ <div class="memitem">
105
+ <div class="memproto">
106
+ <table class="memname">
107
+ <tr>
108
+ <td class="memname">Gosu::File::File </td>
109
+ <td>(</td>
110
+ <td class="paramtype">const std::wstring &amp;&nbsp;</td>
111
+ <td class="paramname"> <em>filename</em>, </td>
112
+ </tr>
113
+ <tr>
114
+ <td class="paramkey"></td>
115
+ <td></td>
116
+ <td class="paramtype">FileMode&nbsp;</td>
117
+ <td class="paramname"> <em>mode</em> = <code>fmRead</code></td><td>&nbsp;</td>
118
+ </tr>
119
+ <tr>
120
+ <td></td>
121
+ <td>)</td>
122
+ <td></td><td></td><td><code> [explicit]</code></td>
123
+ </tr>
124
+ </table>
125
+ </div>
126
+ <div class="memdoc">
127
+
128
+ <p>
129
+
130
+ </div>
131
+ </div><p>
132
+ <a class="anchor" name="33c8932235e2b46945a767025dc02edc"></a><!-- doxytag: member="Gosu::File::~File" ref="33c8932235e2b46945a767025dc02edc" args="()" -->
133
+ <div class="memitem">
134
+ <div class="memproto">
135
+ <table class="memname">
136
+ <tr>
137
+ <td class="memname">Gosu::File::~File </td>
138
+ <td>(</td>
139
+ <td class="paramname"> </td>
140
+ <td>&nbsp;)&nbsp;</td>
141
+ <td></td>
142
+ </tr>
143
+ </table>
144
+ </div>
145
+ <div class="memdoc">
146
+
147
+ <p>
148
+
149
+ </div>
150
+ </div><p>
151
+ <hr><h2>Member Function Documentation</h2>
152
+ <a class="anchor" name="65d51811adfa8909e325a52c79903c78"></a><!-- doxytag: member="Gosu::File::read" ref="65d51811adfa8909e325a52c79903c78" args="(std::size_t offset, std::size_t length, void *destBuffer) const " -->
153
+ <div class="memitem">
154
+ <div class="memproto">
155
+ <table class="memname">
156
+ <tr>
157
+ <td class="memname">void Gosu::File::read </td>
158
+ <td>(</td>
159
+ <td class="paramtype">std::size_t&nbsp;</td>
160
+ <td class="paramname"> <em>offset</em>, </td>
161
+ </tr>
162
+ <tr>
163
+ <td class="paramkey"></td>
164
+ <td></td>
165
+ <td class="paramtype">std::size_t&nbsp;</td>
166
+ <td class="paramname"> <em>length</em>, </td>
167
+ </tr>
168
+ <tr>
169
+ <td class="paramkey"></td>
170
+ <td></td>
171
+ <td class="paramtype">void *&nbsp;</td>
172
+ <td class="paramname"> <em>destBuffer</em></td><td>&nbsp;</td>
173
+ </tr>
174
+ <tr>
175
+ <td></td>
176
+ <td>)</td>
177
+ <td></td><td></td><td> const<code> [virtual]</code></td>
178
+ </tr>
179
+ </table>
180
+ </div>
181
+ <div class="memdoc">
182
+
183
+ <p>
184
+
185
+ <p>Implements <a class="el" href="class_gosu_1_1_resource.html#64b661506cb7e17af4d957a368149b11">Gosu::Resource</a>.</p>
186
+
187
+ </div>
188
+ </div><p>
189
+ <a class="anchor" name="e8e557bc658ba2f2caca51517d461ee3"></a><!-- doxytag: member="Gosu::File::resize" ref="e8e557bc658ba2f2caca51517d461ee3" args="(std::size_t newSize)" -->
190
+ <div class="memitem">
191
+ <div class="memproto">
192
+ <table class="memname">
193
+ <tr>
194
+ <td class="memname">void Gosu::File::resize </td>
195
+ <td>(</td>
196
+ <td class="paramtype">std::size_t&nbsp;</td>
197
+ <td class="paramname"> <em>newSize</em> </td>
198
+ <td>&nbsp;)&nbsp;</td>
199
+ <td><code> [virtual]</code></td>
200
+ </tr>
201
+ </table>
202
+ </div>
203
+ <div class="memdoc">
204
+
205
+ <p>
206
+
207
+ <p>Implements <a class="el" href="class_gosu_1_1_resource.html#ae13c54d269781b8f05dd281bdd3d9f6">Gosu::Resource</a>.</p>
208
+
209
+ </div>
210
+ </div><p>
211
+ <a class="anchor" name="d3cb0b3153253936f11ae51da9032532"></a><!-- doxytag: member="Gosu::File::size" ref="d3cb0b3153253936f11ae51da9032532" args="() const " -->
212
+ <div class="memitem">
213
+ <div class="memproto">
214
+ <table class="memname">
215
+ <tr>
216
+ <td class="memname">std::size_t Gosu::File::size </td>
217
+ <td>(</td>
218
+ <td class="paramname"> </td>
219
+ <td>&nbsp;)&nbsp;</td>
220
+ <td> const<code> [virtual]</code></td>
221
+ </tr>
222
+ </table>
223
+ </div>
224
+ <div class="memdoc">
225
+
226
+ <p>
227
+
228
+ <p>Implements <a class="el" href="class_gosu_1_1_resource.html#1211e148be764e0b78e3d7133da4a9f0">Gosu::Resource</a>.</p>
229
+
230
+ </div>
231
+ </div><p>
232
+ <a class="anchor" name="3ed021544dfd296370219744cc71c61e"></a><!-- doxytag: member="Gosu::File::write" ref="3ed021544dfd296370219744cc71c61e" args="(std::size_t offset, std::size_t length, const void *sourceBuffer)" -->
233
+ <div class="memitem">
234
+ <div class="memproto">
235
+ <table class="memname">
236
+ <tr>
237
+ <td class="memname">void Gosu::File::write </td>
238
+ <td>(</td>
239
+ <td class="paramtype">std::size_t&nbsp;</td>
240
+ <td class="paramname"> <em>offset</em>, </td>
241
+ </tr>
242
+ <tr>
243
+ <td class="paramkey"></td>
244
+ <td></td>
245
+ <td class="paramtype">std::size_t&nbsp;</td>
246
+ <td class="paramname"> <em>length</em>, </td>
247
+ </tr>
248
+ <tr>
249
+ <td class="paramkey"></td>
250
+ <td></td>
251
+ <td class="paramtype">const void *&nbsp;</td>
252
+ <td class="paramname"> <em>sourceBuffer</em></td><td>&nbsp;</td>
253
+ </tr>
254
+ <tr>
255
+ <td></td>
256
+ <td>)</td>
257
+ <td></td><td></td><td><code> [virtual]</code></td>
258
+ </tr>
259
+ </table>
260
+ </div>
261
+ <div class="memdoc">
262
+
263
+ <p>
264
+
265
+ <p>Implements <a class="el" href="class_gosu_1_1_resource.html#b2dac3b2c7a34372051231b5bb4b8969">Gosu::Resource</a>.</p>
266
+
267
+ </div>
268
+ </div><p>
269
+ <hr>The documentation for this class was generated from the following file:<ul>
270
+ <li><a class="el" href="_i_o_8hpp-source.html">IO.hpp</a></ul>
271
+ </div>
272
+ <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>
273
+ </div>
274
+ </body>
275
+ </html>
@@ -0,0 +1,79 @@
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.8 -->
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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ </div>
66
+ <div class="contents">
67
+ <h1>Gosu::Font Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a>, including all inherited members.<p><table>
68
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35">draw</a>(const std::wstring &amp;text, double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
69
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2">drawRel</a>(const std::wstring &amp;text, double x, double y, ZPos z, double relX, double relY, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
70
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#0771bb27561cefe3381fb36101ac7859">drawRot</a>(const std::wstring &amp;text, double x, double y, ZPos z, double angle, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
71
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#d0ddfe95679f6caaae82dceba9ce3b70">Font</a>(Graphics &amp;graphics, const std::wstring &amp;fontName, unsigned height)</td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
72
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#9357299749e270dbd01e7fb9f841ae54">height</a>() const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
73
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#ee66d136e3b5b801d146cc1134a0635a">textWidth</a>(const std::wstring &amp;text, double factorX=1) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
74
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#d8de4608a9daba264e1d99f3f8c27e3a">~Font</a>()</td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
75
+ </table></div>
76
+ <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>
77
+ </div>
78
+ </body>
79
+ </html>
@@ -1,15 +1,56 @@
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::Font 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 -->
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.8 -->
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>
8
50
  <div class="navigation" id="top">
9
51
  <div class="tabs">
10
52
  <ul>
11
53
  <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
54
  <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
55
  <li><a href="files.html"><span>Files</span></a></li>
15
56
  </ul>
@@ -21,36 +62,45 @@
21
62
  <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
63
  </ul>
23
64
  </div>
24
- <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Font.html">Font</a>
65
+ <div class="navpath"><b>Gosu</b>::<a class="el" href="class_gosu_1_1_font.html">Font</a>
25
66
  </div>
26
67
  </div>
27
68
  <div class="contents">
28
- <h1>Gosu::Font Class Reference</h1><!-- doxytag: class="Gosu::Font" -->A font can be used to draw text on a <a class="el" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a> object very flexibly.
69
+ <h1>Gosu::Font Class Reference</h1><!-- doxytag: class="Gosu::Font" -->A font can be used to draw text on a <a class="el" href="class_gosu_1_1_graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a> object very flexibly.
29
70
  <a href="#_details">More...</a>
30
71
  <p>
31
72
 
32
73
  <p>
33
- <a href="classGosu_1_1Font-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
74
+ <a href="class_gosu_1_1_font-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
75
  <tr><td></td></tr>
35
76
  <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_1Font.html#d0ddfe95679f6caaae82dceba9ce3b70">Font</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const std::wstring &amp;fontName, unsigned height)</td></tr>
77
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#d0ddfe95679f6caaae82dceba9ce3b70">Font</a> (<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> &amp;graphics, const std::wstring &amp;fontName, unsigned height)</td></tr>
37
78
 
38
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Font.html#9357299749e270dbd01e7fb9f841ae54">height</a> () const </td></tr>
79
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a font that can be drawn onto the graphics object. <a href="#d0ddfe95679f6caaae82dceba9ce3b70"></a><br></td></tr>
80
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#d8de4608a9daba264e1d99f3f8c27e3a">~Font</a> ()</td></tr>
39
81
 
40
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Font.html#ee66d136e3b5b801d146cc1134a0635a">textWidth</a> (const std::wstring &amp;text, double factorX=1) const </td></tr>
82
+ <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_font.html#9357299749e270dbd01e7fb9f841ae54">height</a> () const </td></tr>
41
83
 
42
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35">draw</a> (const std::wstring &amp;text, 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>
84
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the height of the font, in pixels. <a href="#9357299749e270dbd01e7fb9f841ae54"></a><br></td></tr>
85
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#ee66d136e3b5b801d146cc1134a0635a">textWidth</a> (const std::wstring &amp;text, double factorX=1) const </td></tr>
43
86
 
44
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2">drawRel</a> (const std::wstring &amp;text, double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double relX, double relY, 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>
87
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the width, in pixels, the given text would occupy if drawn. <a href="#ee66d136e3b5b801d146cc1134a0635a"></a><br></td></tr>
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_font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35">draw</a> (const std::wstring &amp;text, double x, double y, ZPos z, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=Colors::white, AlphaMode mode=amDefault) const </td></tr>
45
89
 
46
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0771bb27561cefe3381fb36101ac7859"></a><!-- doxytag: member="Gosu::Font::drawRot" ref="0771bb27561cefe3381fb36101ac7859" args="(const std::wstring &amp;text, double x, double y, ZPos z, double angle, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
47
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawRot</b> (const std::wstring &amp;text, double x, double y, <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double angle, 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>
90
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws text so the top left corner of the text is at (x; y). <a href="#5a67d1a1745e1d2eb1b7ec7d12f40e35"></a><br></td></tr>
91
+ <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_font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2">drawRel</a> (const std::wstring &amp;text, double x, double y, ZPos z, double relX, double relY, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=Colors::white, AlphaMode mode=amDefault) const </td></tr>
48
92
 
93
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws text at a position relative to (x; y). <a href="#60b4c8d6c515ca09d6124a9dc5f3c2f2"></a><br></td></tr>
94
+ <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_font.html#0771bb27561cefe3381fb36101ac7859">drawRot</a> (const std::wstring &amp;text, double x, double y, ZPos z, double angle, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=Colors::white, AlphaMode mode=amDefault) const </td></tr>
95
+
96
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Analogous to draw, but rotates the text by a given angle. <a href="#0771bb27561cefe3381fb36101ac7859"></a><br></td></tr>
49
97
  </table>
50
98
  <hr><a name="_details"></a><h2>Detailed Description</h2>
51
- A font can be used to draw text on a <a class="el" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a> object very flexibly.
99
+ A font can be used to draw text on a <a class="el" href="class_gosu_1_1_graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a> object very flexibly.
52
100
  <p>
53
- Fonts are ideal for small texts that change regularly. For large, static texts you should use createBitmap and turn the result into an image. <hr><h2>Constructor &amp; Destructor Documentation</h2>
101
+ Fonts are ideal for small texts that change regularly. For large, static texts you should use createBitmap and turn the result into an image.
102
+ <p>Definition at line <a class="el" href="_font_8hpp-source.html#l00019">19</a> of file <a class="el" href="_font_8hpp-source.html">Font.hpp</a>.</p>
103
+ <hr><h2>Constructor &amp; Destructor Documentation</h2>
54
104
  <a class="anchor" name="d0ddfe95679f6caaae82dceba9ce3b70"></a><!-- doxytag: member="Gosu::Font::Font" ref="d0ddfe95679f6caaae82dceba9ce3b70" args="(Graphics &amp;graphics, const std::wstring &amp;fontName, unsigned height)" -->
55
105
  <div class="memitem">
56
106
  <div class="memproto">
@@ -58,7 +108,7 @@ Fonts are ideal for small texts that change regularly. For large, static texts y
58
108
  <tr>
59
109
  <td class="memname">Gosu::Font::Font </td>
60
110
  <td>(</td>
61
- <td class="paramtype"><a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td>
111
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> &amp;&nbsp;</td>
62
112
  <td class="paramname"> <em>graphics</em>, </td>
63
113
  </tr>
64
114
  <tr>
@@ -76,7 +126,7 @@ Fonts are ideal for small texts that change regularly. For large, static texts y
76
126
  <tr>
77
127
  <td></td>
78
128
  <td>)</td>
79
- <td></td><td></td><td width="100%"></td>
129
+ <td></td><td></td><td></td>
80
130
  </tr>
81
131
  </table>
82
132
  </div>
@@ -87,41 +137,39 @@ Constructs a font that can be drawn onto the graphics object.
87
137
  <p>
88
138
  <dl compact><dt><b>Parameters:</b></dt><dd>
89
139
  <table border="0" cellspacing="2" cellpadding="0">
90
- <tr><td valign="top"></td><td valign="top"><em>fontName</em>&nbsp;</td><td>Name of a system font, or a filename to a TTF file (must contain '/'). </td></tr>
140
+ <tr><td valign="top"></td><td valign="top"><em>fontName</em>&nbsp;</td><td>Name of a system font, or a filename to a TTF file (must contain '/', does not work on Linux). </td></tr>
91
141
  <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>Height of the font, in pixels. </td></tr>
92
142
  </table>
93
143
  </dl>
94
144
 
95
145
  </div>
96
146
  </div><p>
97
- <hr><h2>Member Function Documentation</h2>
98
- <a class="anchor" name="9357299749e270dbd01e7fb9f841ae54"></a><!-- doxytag: member="Gosu::Font::height" ref="9357299749e270dbd01e7fb9f841ae54" args="() const " -->
147
+ <a class="anchor" name="d8de4608a9daba264e1d99f3f8c27e3a"></a><!-- doxytag: member="Gosu::Font::~Font" ref="d8de4608a9daba264e1d99f3f8c27e3a" args="()" -->
99
148
  <div class="memitem">
100
149
  <div class="memproto">
101
150
  <table class="memname">
102
151
  <tr>
103
- <td class="memname">unsigned Gosu::Font::height </td>
152
+ <td class="memname">Gosu::Font::~Font </td>
104
153
  <td>(</td>
105
154
  <td class="paramname"> </td>
106
155
  <td>&nbsp;)&nbsp;</td>
107
- <td width="100%"> const</td>
156
+ <td></td>
108
157
  </tr>
109
158
  </table>
110
159
  </div>
111
160
  <div class="memdoc">
112
161
 
113
- <p>
114
- Returns the height of the font, in pixels.
115
162
  <p>
116
163
 
117
164
  </div>
118
165
  </div><p>
119
- <a class="anchor" name="ee66d136e3b5b801d146cc1134a0635a"></a><!-- doxytag: member="Gosu::Font::textWidth" ref="ee66d136e3b5b801d146cc1134a0635a" args="(const std::wstring &amp;text, double factorX=1) const " -->
166
+ <hr><h2>Member Function Documentation</h2>
167
+ <a class="anchor" name="5a67d1a1745e1d2eb1b7ec7d12f40e35"></a><!-- doxytag: member="Gosu::Font::draw" ref="5a67d1a1745e1d2eb1b7ec7d12f40e35" args="(const std::wstring &amp;text, double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
120
168
  <div class="memitem">
121
169
  <div class="memproto">
122
170
  <table class="memname">
123
171
  <tr>
124
- <td class="memname">double Gosu::Font::textWidth </td>
172
+ <td class="memname">void Gosu::Font::draw </td>
125
173
  <td>(</td>
126
174
  <td class="paramtype">const std::wstring &amp;&nbsp;</td>
127
175
  <td class="paramname"> <em>text</em>, </td>
@@ -130,29 +178,65 @@ Returns the height of the font, in pixels.
130
178
  <td class="paramkey"></td>
131
179
  <td></td>
132
180
  <td class="paramtype">double&nbsp;</td>
133
- <td class="paramname"> <em>factorX</em> = <code>1</code></td><td>&nbsp;</td>
181
+ <td class="paramname"> <em>x</em>, </td>
182
+ </tr>
183
+ <tr>
184
+ <td class="paramkey"></td>
185
+ <td></td>
186
+ <td class="paramtype">double&nbsp;</td>
187
+ <td class="paramname"> <em>y</em>, </td>
188
+ </tr>
189
+ <tr>
190
+ <td class="paramkey"></td>
191
+ <td></td>
192
+ <td class="paramtype">ZPos&nbsp;</td>
193
+ <td class="paramname"> <em>z</em>, </td>
194
+ </tr>
195
+ <tr>
196
+ <td class="paramkey"></td>
197
+ <td></td>
198
+ <td class="paramtype">double&nbsp;</td>
199
+ <td class="paramname"> <em>factorX</em> = <code>1</code>, </td>
200
+ </tr>
201
+ <tr>
202
+ <td class="paramkey"></td>
203
+ <td></td>
204
+ <td class="paramtype">double&nbsp;</td>
205
+ <td class="paramname"> <em>factorY</em> = <code>1</code>, </td>
206
+ </tr>
207
+ <tr>
208
+ <td class="paramkey"></td>
209
+ <td></td>
210
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td>
211
+ <td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
212
+ </tr>
213
+ <tr>
214
+ <td class="paramkey"></td>
215
+ <td></td>
216
+ <td class="paramtype">AlphaMode&nbsp;</td>
217
+ <td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td>&nbsp;</td>
134
218
  </tr>
135
219
  <tr>
136
220
  <td></td>
137
221
  <td>)</td>
138
- <td></td><td></td><td width="100%"> const</td>
222
+ <td></td><td></td><td> const</td>
139
223
  </tr>
140
224
  </table>
141
225
  </div>
142
226
  <div class="memdoc">
143
227
 
144
228
  <p>
145
- Returns the width the given text would occupy if drawn.
229
+ Draws text so the top left corner of the text is at (x; y).
146
230
  <p>
147
231
 
148
232
  </div>
149
233
  </div><p>
150
- <a class="anchor" name="5a67d1a1745e1d2eb1b7ec7d12f40e35"></a><!-- doxytag: member="Gosu::Font::draw" ref="5a67d1a1745e1d2eb1b7ec7d12f40e35" args="(const std::wstring &amp;text, double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
234
+ <a class="anchor" name="60b4c8d6c515ca09d6124a9dc5f3c2f2"></a><!-- doxytag: member="Gosu::Font::drawRel" ref="60b4c8d6c515ca09d6124a9dc5f3c2f2" args="(const std::wstring &amp;text, double x, double y, ZPos z, double relX, double relY, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
151
235
  <div class="memitem">
152
236
  <div class="memproto">
153
237
  <table class="memname">
154
238
  <tr>
155
- <td class="memname">void Gosu::Font::draw </td>
239
+ <td class="memname">void Gosu::Font::drawRel </td>
156
240
  <td>(</td>
157
241
  <td class="paramtype">const std::wstring &amp;&nbsp;</td>
158
242
  <td class="paramname"> <em>text</em>, </td>
@@ -172,9 +256,21 @@ Returns the width the given text would occupy if drawn.
172
256
  <tr>
173
257
  <td class="paramkey"></td>
174
258
  <td></td>
175
- <td class="paramtype"><a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a>&nbsp;</td>
259
+ <td class="paramtype">ZPos&nbsp;</td>
176
260
  <td class="paramname"> <em>z</em>, </td>
177
261
  </tr>
262
+ <tr>
263
+ <td class="paramkey"></td>
264
+ <td></td>
265
+ <td class="paramtype">double&nbsp;</td>
266
+ <td class="paramname"> <em>relX</em>, </td>
267
+ </tr>
268
+ <tr>
269
+ <td class="paramkey"></td>
270
+ <td></td>
271
+ <td class="paramtype">double&nbsp;</td>
272
+ <td class="paramname"> <em>relY</em>, </td>
273
+ </tr>
178
274
  <tr>
179
275
  <td class="paramkey"></td>
180
276
  <td></td>
@@ -190,36 +286,42 @@ Returns the width the given text would occupy if drawn.
190
286
  <tr>
191
287
  <td class="paramkey"></td>
192
288
  <td></td>
193
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
289
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td>
194
290
  <td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
195
291
  </tr>
196
292
  <tr>
197
293
  <td class="paramkey"></td>
198
294
  <td></td>
199
- <td class="paramtype"><a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a>&nbsp;</td>
295
+ <td class="paramtype">AlphaMode&nbsp;</td>
200
296
  <td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td>&nbsp;</td>
201
297
  </tr>
202
298
  <tr>
203
299
  <td></td>
204
300
  <td>)</td>
205
- <td></td><td></td><td width="100%"> const</td>
301
+ <td></td><td></td><td> const</td>
206
302
  </tr>
207
303
  </table>
208
304
  </div>
209
305
  <div class="memdoc">
210
306
 
211
307
  <p>
212
- Draws text so the top left corner of the text is at (x; y).
308
+ Draws text at a position relative to (x; y).
213
309
  <p>
310
+ <dl compact><dt><b>Parameters:</b></dt><dd>
311
+ <table border="0" cellspacing="2" cellpadding="0">
312
+ <tr><td valign="top"></td><td valign="top"><em>relX</em>&nbsp;</td><td>Determines where the text is drawn horizontally. If relX is 0.0, the text will be to the right of x, if it is 1.0, the text will be to the left of x, if it is 0.5, it will be centered on x. Of course, all real numbers are possible values. </td></tr>
313
+ <tr><td valign="top"></td><td valign="top"><em>relY</em>&nbsp;</td><td>See relX. </td></tr>
314
+ </table>
315
+ </dl>
214
316
 
215
317
  </div>
216
318
  </div><p>
217
- <a class="anchor" name="60b4c8d6c515ca09d6124a9dc5f3c2f2"></a><!-- doxytag: member="Gosu::Font::drawRel" ref="60b4c8d6c515ca09d6124a9dc5f3c2f2" args="(const std::wstring &amp;text, double x, double y, ZPos z, double relX, double relY, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
319
+ <a class="anchor" name="0771bb27561cefe3381fb36101ac7859"></a><!-- doxytag: member="Gosu::Font::drawRot" ref="0771bb27561cefe3381fb36101ac7859" args="(const std::wstring &amp;text, double x, double y, ZPos z, double angle, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
218
320
  <div class="memitem">
219
321
  <div class="memproto">
220
322
  <table class="memname">
221
323
  <tr>
222
- <td class="memname">void Gosu::Font::drawRel </td>
324
+ <td class="memname">void Gosu::Font::drawRot </td>
223
325
  <td>(</td>
224
326
  <td class="paramtype">const std::wstring &amp;&nbsp;</td>
225
327
  <td class="paramname"> <em>text</em>, </td>
@@ -239,20 +341,14 @@ Draws text so the top left corner of the text is at (x; y).
239
341
  <tr>
240
342
  <td class="paramkey"></td>
241
343
  <td></td>
242
- <td class="paramtype"><a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a>&nbsp;</td>
344
+ <td class="paramtype">ZPos&nbsp;</td>
243
345
  <td class="paramname"> <em>z</em>, </td>
244
346
  </tr>
245
347
  <tr>
246
348
  <td class="paramkey"></td>
247
349
  <td></td>
248
350
  <td class="paramtype">double&nbsp;</td>
249
- <td class="paramname"> <em>relX</em>, </td>
250
- </tr>
251
- <tr>
252
- <td class="paramkey"></td>
253
- <td></td>
254
- <td class="paramtype">double&nbsp;</td>
255
- <td class="paramname"> <em>relY</em>, </td>
351
+ <td class="paramname"> <em>angle</em>, </td>
256
352
  </tr>
257
353
  <tr>
258
354
  <td class="paramkey"></td>
@@ -269,41 +365,86 @@ Draws text so the top left corner of the text is at (x; y).
269
365
  <tr>
270
366
  <td class="paramkey"></td>
271
367
  <td></td>
272
- <td class="paramtype"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td>
368
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td>
273
369
  <td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
274
370
  </tr>
275
371
  <tr>
276
372
  <td class="paramkey"></td>
277
373
  <td></td>
278
- <td class="paramtype"><a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a>&nbsp;</td>
374
+ <td class="paramtype">AlphaMode&nbsp;</td>
279
375
  <td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td>&nbsp;</td>
280
376
  </tr>
281
377
  <tr>
282
378
  <td></td>
283
379
  <td>)</td>
284
- <td></td><td></td><td width="100%"> const</td>
380
+ <td></td><td></td><td> const</td>
285
381
  </tr>
286
382
  </table>
287
383
  </div>
288
384
  <div class="memdoc">
289
385
 
290
386
  <p>
291
- Draws text at a position relative to (x; y).
387
+ Analogous to draw, but rotates the text by a given angle.
388
+ <p>
389
+
390
+ </div>
391
+ </div><p>
392
+ <a class="anchor" name="9357299749e270dbd01e7fb9f841ae54"></a><!-- doxytag: member="Gosu::Font::height" ref="9357299749e270dbd01e7fb9f841ae54" args="() const " -->
393
+ <div class="memitem">
394
+ <div class="memproto">
395
+ <table class="memname">
396
+ <tr>
397
+ <td class="memname">unsigned Gosu::Font::height </td>
398
+ <td>(</td>
399
+ <td class="paramname"> </td>
400
+ <td>&nbsp;)&nbsp;</td>
401
+ <td> const</td>
402
+ </tr>
403
+ </table>
404
+ </div>
405
+ <div class="memdoc">
406
+
407
+ <p>
408
+ Returns the height of the font, in pixels.
409
+ <p>
410
+
411
+ </div>
412
+ </div><p>
413
+ <a class="anchor" name="ee66d136e3b5b801d146cc1134a0635a"></a><!-- doxytag: member="Gosu::Font::textWidth" ref="ee66d136e3b5b801d146cc1134a0635a" args="(const std::wstring &amp;text, double factorX=1) const " -->
414
+ <div class="memitem">
415
+ <div class="memproto">
416
+ <table class="memname">
417
+ <tr>
418
+ <td class="memname">double Gosu::Font::textWidth </td>
419
+ <td>(</td>
420
+ <td class="paramtype">const std::wstring &amp;&nbsp;</td>
421
+ <td class="paramname"> <em>text</em>, </td>
422
+ </tr>
423
+ <tr>
424
+ <td class="paramkey"></td>
425
+ <td></td>
426
+ <td class="paramtype">double&nbsp;</td>
427
+ <td class="paramname"> <em>factorX</em> = <code>1</code></td><td>&nbsp;</td>
428
+ </tr>
429
+ <tr>
430
+ <td></td>
431
+ <td>)</td>
432
+ <td></td><td></td><td> const</td>
433
+ </tr>
434
+ </table>
435
+ </div>
436
+ <div class="memdoc">
437
+
438
+ <p>
439
+ Returns the width, in pixels, the given text would occupy if drawn.
292
440
  <p>
293
- <dl compact><dt><b>Parameters:</b></dt><dd>
294
- <table border="0" cellspacing="2" cellpadding="0">
295
- <tr><td valign="top"></td><td valign="top"><em>relX</em>&nbsp;</td><td>Determines where the text is drawn horizontally. If relX is 0.0, the text will be to the right of x, if it is 1.0, the text will be to the left of x, if it is 0.5, it will be centered on x. Of course, all real numbers are possible values. </td></tr>
296
- <tr><td valign="top"></td><td valign="top"><em>relY</em>&nbsp;</td><td>See relX. </td></tr>
297
- </table>
298
- </dl>
299
441
 
300
442
  </div>
301
443
  </div><p>
302
444
  <hr>The documentation for this class was generated from the following file:<ul>
303
- <li><a class="el" href="Font_8hpp-source.html">Font.hpp</a></ul>
445
+ <li><a class="el" href="_font_8hpp-source.html">Font.hpp</a></ul>
304
446
  </div>
305
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
306
- <a href="http://www.doxygen.org/index.html">
307
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
308
- </body>
447
+ <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>
448
+ </div>
449
+ </body>
309
450
  </html>