gosu 0.7.14 → 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +1 -2
- data/Gosu/Graphics.hpp +6 -0
- data/Gosu/Image.hpp +4 -0
- data/Gosu/Version.hpp +2 -2
- data/GosuImpl/Audio/ALChannelManagement.hpp +3 -3
- data/GosuImpl/Audio/AudioOpenAL.mm +11 -19
- data/GosuImpl/Audio/AudioToolboxFile.hpp +2 -1
- data/GosuImpl/Graphics/Common.hpp +3 -0
- data/GosuImpl/Graphics/DrawOp.hpp +105 -29
- data/GosuImpl/Graphics/GosuView.hpp +6 -0
- data/GosuImpl/Graphics/GosuView.mm +34 -1
- data/GosuImpl/Graphics/Graphics.cpp +57 -17
- data/GosuImpl/Graphics/Image.cpp +5 -0
- data/GosuImpl/Graphics/LargeImageData.cpp +1 -1
- data/GosuImpl/Graphics/Macro.hpp +79 -0
- data/GosuImpl/Graphics/TexChunk.cpp +3 -3
- data/GosuImpl/Graphics/TexChunk.hpp +2 -2
- data/GosuImpl/Graphics/TextMac.cpp +6 -0
- data/GosuImpl/Graphics/TextTouch.mm +49 -14
- data/GosuImpl/Graphics/Texture.cpp +2 -2
- data/GosuImpl/Graphics/Texture.hpp +3 -2
- data/GosuImpl/InputMac.mm +2 -0
- data/GosuImpl/RubyGosu.swg +15 -4
- data/GosuImpl/RubyGosu_wrap.cxx +85 -6
- data/GosuImpl/Sockets/CommSocket.cpp +304 -304
- data/GosuImpl/Sockets/Socket.cpp +1 -1
- data/GosuImpl/WindowMac.mm +3 -0
- data/GosuImpl/WindowTouch.mm +1 -0
- data/Rakefile +13 -5
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +292 -280
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +46 -48
- data/mac/Gosu.xcodeproj/project.pbxproj +58 -18
- data/reference/cpp/_audio_8hpp-source.html +2 -1
- data/reference/cpp/_audio_8hpp.html +11 -4
- data/reference/cpp/_audio_8hpp_source.html +178 -0
- data/reference/cpp/_auto_link_8hpp-source.html +1 -0
- data/reference/cpp/_auto_link_8hpp.html +5 -4
- data/reference/cpp/_auto_link_8hpp_source.html +85 -0
- data/reference/cpp/_bitmap_8hpp-source.html +9 -8
- data/reference/cpp/_bitmap_8hpp.html +11 -4
- data/reference/cpp/_bitmap_8hpp_source.html +131 -0
- data/reference/cpp/_buttons_mac_8hpp-source.html +124 -123
- data/reference/cpp/_buttons_mac_8hpp.html +10 -3
- data/reference/cpp/_buttons_mac_8hpp_source.html +206 -0
- data/reference/cpp/_color_8hpp-source.html +18 -17
- data/reference/cpp/_color_8hpp.html +16 -4
- data/reference/cpp/_color_8hpp_source.html +216 -0
- data/reference/cpp/_directories_8hpp-source.html +5 -4
- data/reference/cpp/_directories_8hpp.html +11 -4
- data/reference/cpp/_directories_8hpp_source.html +89 -0
- data/reference/cpp/_font_8hpp-source.html +8 -7
- data/reference/cpp/_font_8hpp.html +11 -4
- data/reference/cpp/_font_8hpp_source.html +116 -0
- data/reference/cpp/_fwd_8hpp-source.html +1 -0
- data/reference/cpp/_fwd_8hpp.html +11 -4
- data/reference/cpp/_fwd_8hpp_source.html +99 -0
- data/reference/cpp/_gosu_8hpp-source.html +1 -0
- data/reference/cpp/_gosu_8hpp.html +5 -4
- data/reference/cpp/_gosu_8hpp_source.html +97 -0
- data/reference/cpp/_graphics_8hpp-source.html +7 -6
- data/reference/cpp/_graphics_8hpp.html +11 -4
- data/reference/cpp/_graphics_8hpp_source.html +138 -0
- data/reference/cpp/_graphics_base_8hpp-source.html +22 -21
- data/reference/cpp/_graphics_base_8hpp.html +15 -8
- data/reference/cpp/_graphics_base_8hpp_source.html +116 -0
- data/reference/cpp/_i_o_8hpp-source.html +16 -15
- data/reference/cpp/_i_o_8hpp.html +13 -6
- data/reference/cpp/_i_o_8hpp_source.html +302 -0
- data/reference/cpp/_image_8hpp-source.html +23 -22
- data/reference/cpp/_image_8hpp.html +11 -4
- data/reference/cpp/_image_8hpp_source.html +176 -0
- data/reference/cpp/_image_data_8hpp-source.html +2 -1
- data/reference/cpp/_image_data_8hpp.html +11 -4
- data/reference/cpp/_image_data_8hpp_source.html +109 -0
- data/reference/cpp/_input_8hpp-source.html +6 -5
- data/reference/cpp/_input_8hpp.html +11 -4
- data/reference/cpp/_input_8hpp_source.html +183 -0
- data/reference/cpp/_math_8hpp-source.html +26 -25
- data/reference/cpp/_math_8hpp.html +11 -4
- data/reference/cpp/_math_8hpp_source.html +157 -0
- data/reference/cpp/_platform_8hpp-source.html +5 -4
- data/reference/cpp/_platform_8hpp.html +14 -7
- data/reference/cpp/_platform_8hpp_source.html +134 -0
- data/reference/cpp/_rot_flip_8hpp-source.html +30 -29
- data/reference/cpp/_rot_flip_8hpp.html +12 -5
- data/reference/cpp/_rot_flip_8hpp_source.html +185 -0
- data/reference/cpp/_sockets_8hpp-source.html +25 -24
- data/reference/cpp/_sockets_8hpp.html +14 -7
- data/reference/cpp/_sockets_8hpp_source.html +175 -0
- data/reference/cpp/_text_8hpp-source.html +7 -6
- data/reference/cpp/_text_8hpp.html +11 -4
- data/reference/cpp/_text_8hpp_source.html +103 -0
- data/reference/cpp/_text_input_8hpp-source.html +1 -0
- data/reference/cpp/_text_input_8hpp.html +11 -4
- data/reference/cpp/_text_input_8hpp_source.html +111 -0
- data/reference/cpp/_timing_8hpp-source.html +3 -2
- data/reference/cpp/_timing_8hpp.html +11 -4
- data/reference/cpp/_timing_8hpp_source.html +83 -0
- data/reference/cpp/_utility_8hpp-source.html +5 -4
- data/reference/cpp/_utility_8hpp.html +11 -4
- data/reference/cpp/_utility_8hpp_source.html +90 -0
- data/reference/cpp/_version_8hpp-source.html +1 -0
- data/reference/cpp/_version_8hpp.html +7 -6
- data/reference/cpp/_version_8hpp_source.html +78 -0
- data/reference/cpp/_win_utility_8hpp-source.html +13 -12
- data/reference/cpp/_win_utility_8hpp.html +18 -6
- data/reference/cpp/_win_utility_8hpp_source.html +126 -0
- data/reference/cpp/_window_8hpp-source.html +6 -5
- data/reference/cpp/_window_8hpp.html +12 -5
- data/reference/cpp/_window_8hpp_source.html +158 -0
- data/reference/cpp/annotated.html +3 -2
- data/reference/cpp/class_gosu_1_1_audio-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_audio.html +5 -4
- data/reference/cpp/class_gosu_1_1_bitmap-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_bitmap.html +17 -12
- data/reference/cpp/class_gosu_1_1_buffer-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_buffer.html +12 -13
- data/reference/cpp/class_gosu_1_1_button-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_button.html +13 -10
- data/reference/cpp/class_gosu_1_1_color-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_color.html +29 -26
- data/reference/cpp/class_gosu_1_1_comm_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_comm_socket.html +23 -22
- data/reference/cpp/class_gosu_1_1_file-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_file.html +7 -6
- data/reference/cpp/class_gosu_1_1_font-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_font.html +17 -16
- data/reference/cpp/class_gosu_1_1_graphics-members.html +4 -1
- data/reference/cpp/class_gosu_1_1_graphics.html +68 -19
- data/reference/cpp/class_gosu_1_1_image-members.html +3 -1
- data/reference/cpp/class_gosu_1_1_image.html +49 -23
- data/reference/cpp/class_gosu_1_1_image_data-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_image_data.html +9 -8
- data/reference/cpp/class_gosu_1_1_input-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_input.html +7 -6
- data/reference/cpp/class_gosu_1_1_listener_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_listener_socket.html +12 -11
- data/reference/cpp/class_gosu_1_1_message_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_message_socket.html +19 -18
- data/reference/cpp/class_gosu_1_1_reader-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_reader.html +18 -17
- data/reference/cpp/class_gosu_1_1_resource-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_resource.html +10 -9
- data/reference/cpp/class_gosu_1_1_rot_flip-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_rot_flip.html +24 -19
- data/reference/cpp/class_gosu_1_1_sample-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_sample.html +5 -4
- data/reference/cpp/class_gosu_1_1_sample_instance-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_sample_instance.html +5 -4
- data/reference/cpp/class_gosu_1_1_song-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_song.html +6 -5
- data/reference/cpp/class_gosu_1_1_text_input-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_text_input.html +6 -5
- data/reference/cpp/class_gosu_1_1_window-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_window.html +12 -11
- data/reference/cpp/class_gosu_1_1_writer-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_writer.html +15 -14
- data/reference/cpp/classes.html +11 -10
- data/reference/cpp/files.html +28 -27
- data/reference/cpp/functions.html +2 -1
- data/reference/cpp/functions_0x62.html +5 -2
- data/reference/cpp/functions_0x63.html +2 -1
- data/reference/cpp/functions_0x64.html +2 -1
- data/reference/cpp/functions_0x65.html +4 -1
- data/reference/cpp/functions_0x66.html +2 -1
- data/reference/cpp/functions_0x67.html +5 -2
- data/reference/cpp/functions_0x68.html +2 -1
- data/reference/cpp/functions_0x69.html +2 -1
- data/reference/cpp/functions_0x6b.html +2 -1
- data/reference/cpp/functions_0x6c.html +2 -1
- data/reference/cpp/functions_0x6d.html +2 -1
- data/reference/cpp/functions_0x6e.html +2 -1
- data/reference/cpp/functions_0x6f.html +2 -1
- data/reference/cpp/functions_0x70.html +2 -1
- data/reference/cpp/functions_0x72.html +2 -1
- data/reference/cpp/functions_0x73.html +2 -1
- data/reference/cpp/functions_0x74.html +4 -3
- data/reference/cpp/functions_0x75.html +2 -1
- data/reference/cpp/functions_0x76.html +2 -1
- data/reference/cpp/functions_0x77.html +2 -1
- data/reference/cpp/functions_0x78.html +2 -1
- data/reference/cpp/functions_0x79.html +2 -1
- data/reference/cpp/functions_0x7e.html +2 -1
- data/reference/cpp/functions_enum.html +2 -1
- data/reference/cpp/functions_eval.html +2 -1
- data/reference/cpp/functions_func.html +2 -1
- data/reference/cpp/functions_func_0x62.html +5 -2
- data/reference/cpp/functions_func_0x63.html +2 -1
- data/reference/cpp/functions_func_0x64.html +2 -1
- data/reference/cpp/functions_func_0x65.html +4 -1
- data/reference/cpp/functions_func_0x66.html +2 -1
- data/reference/cpp/functions_func_0x67.html +5 -2
- data/reference/cpp/functions_func_0x68.html +2 -1
- data/reference/cpp/functions_func_0x69.html +2 -1
- data/reference/cpp/functions_func_0x6b.html +2 -1
- data/reference/cpp/functions_func_0x6c.html +2 -1
- data/reference/cpp/functions_func_0x6d.html +2 -1
- data/reference/cpp/functions_func_0x6e.html +2 -1
- data/reference/cpp/functions_func_0x6f.html +2 -1
- data/reference/cpp/functions_func_0x70.html +2 -1
- data/reference/cpp/functions_func_0x72.html +2 -1
- data/reference/cpp/functions_func_0x73.html +2 -1
- data/reference/cpp/functions_func_0x74.html +4 -3
- data/reference/cpp/functions_func_0x75.html +2 -1
- data/reference/cpp/functions_func_0x76.html +2 -1
- data/reference/cpp/functions_func_0x77.html +2 -1
- data/reference/cpp/functions_func_0x7e.html +2 -1
- data/reference/cpp/functions_type.html +2 -1
- data/reference/cpp/functions_vars.html +2 -1
- data/reference/cpp/globals.html +2 -1
- data/reference/cpp/globals_defs.html +2 -1
- data/reference/cpp/hierarchy.html +2 -1
- data/reference/cpp/index.html +3 -2
- data/reference/cpp/namespace_gosu.html +3314 -0
- data/reference/cpp/namespace_gosu_1_1_colors.html +274 -0
- data/reference/cpp/namespace_gosu_1_1_win.html +354 -0
- data/reference/cpp/namespacemembers.html +135 -0
- data/reference/cpp/namespacemembers_0x62.html +143 -0
- data/reference/cpp/namespacemembers_0x63.html +125 -0
- data/reference/cpp/namespacemembers_0x64.html +119 -0
- data/reference/cpp/namespacemembers_0x66.html +129 -0
- data/reference/cpp/namespacemembers_0x67.html +165 -0
- data/reference/cpp/namespacemembers_0x68.html +113 -0
- data/reference/cpp/namespacemembers_0x69.html +117 -0
- data/reference/cpp/namespacemembers_0x6b.html +289 -0
- data/reference/cpp/namespacemembers_0x6c.html +119 -0
- data/reference/cpp/namespacemembers_0x6d.html +131 -0
- data/reference/cpp/namespacemembers_0x6e.html +127 -0
- data/reference/cpp/namespacemembers_0x6f.html +121 -0
- data/reference/cpp/namespacemembers_0x70.html +115 -0
- data/reference/cpp/namespacemembers_0x71.html +113 -0
- data/reference/cpp/namespacemembers_0x72.html +165 -0
- data/reference/cpp/namespacemembers_0x73.html +135 -0
- data/reference/cpp/namespacemembers_0x74.html +129 -0
- data/reference/cpp/namespacemembers_0x75.html +117 -0
- data/reference/cpp/namespacemembers_0x77.html +117 -0
- data/reference/cpp/namespacemembers_0x79.html +113 -0
- data/reference/cpp/namespacemembers_0x7a.html +115 -0
- data/reference/cpp/namespacemembers_enum.html +103 -0
- data/reference/cpp/namespacemembers_eval.html +443 -0
- data/reference/cpp/namespacemembers_func.html +269 -0
- data/reference/cpp/namespacemembers_type.html +93 -0
- data/reference/cpp/namespacemembers_vars.html +115 -0
- data/reference/cpp/namespaces.html +76 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +2 -1
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +10 -9
- data/reference/cpp/struct_gosu_1_1_touch-members.html +2 -1
- data/reference/cpp/struct_gosu_1_1_touch.html +8 -7
- data/reference/rdoc/classes/Gosu.html +16 -29
- data/reference/rdoc/classes/Gosu.src/M000003.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000004.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000005.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000006.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000007.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000008.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000009.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000010.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000011.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000012.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.html +16 -17
- data/reference/rdoc/classes/Gosu/Color.src/M000016.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000017.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000018.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000019.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.html +16 -19
- data/reference/rdoc/classes/Gosu/Font.src/M000029.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000030.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000031.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000032.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000033.html +0 -0
- data/reference/rdoc/classes/Gosu/GLTexInfo.html +24 -16
- data/reference/rdoc/classes/Gosu/Image.html +16 -27
- data/reference/rdoc/classes/Gosu/Image.src/M000020.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000021.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000022.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000023.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000024.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000025.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000026.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000027.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000028.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.html +16 -15
- data/reference/rdoc/classes/Gosu/Sample.src/M000013.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.src/M000014.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.src/M000015.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.html +16 -19
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000051.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000052.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000053.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000054.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000055.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.html +16 -23
- data/reference/rdoc/classes/Gosu/Song.src/M000056.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000057.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000058.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000059.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000060.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000061.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000062.html +0 -0
- data/reference/rdoc/classes/Gosu/TextInput.html +16 -9
- data/reference/rdoc/classes/Gosu/Window.html +16 -51
- data/reference/rdoc/classes/Gosu/Window.src/M000034.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000035.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000036.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000037.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000038.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000039.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000040.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000041.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000042.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000043.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000044.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000045.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000046.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000047.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000048.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000049.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000050.html +0 -0
- data/reference/rdoc/classes/Numeric.html +16 -13
- data/reference/rdoc/classes/Numeric.src/M000001.html +0 -0
- data/reference/rdoc/classes/Numeric.src/M000002.html +0 -0
- data/reference/rdoc/created.rid +1 -1
- data/reference/rdoc/files/COPYING_txt.html +17 -12
- data/reference/rdoc/files/README_txt.html +16 -10
- data/reference/rdoc/files/reference/{DeploymentOnOSX_rdoc.html → Deployment on OS X_rdoc.html } +17 -11
- data/reference/rdoc/files/reference/{DeploymentOnWindows_rdoc.html → Deployment on Windows_rdoc.html } +17 -11
- data/reference/rdoc/files/reference/{DrawingWithColors_rdoc.html → Drawing with Colors_rdoc.html } +23 -17
- data/reference/rdoc/files/reference/{OrderOfCorners_rdoc.html → Order of Corners_rdoc.html } +18 -12
- data/reference/rdoc/files/reference/Tileability_rdoc.html +16 -10
- data/reference/rdoc/files/reference/{ZOrdering_rdoc.html → Z Ordering_rdoc.html } +18 -12
- data/reference/rdoc/files/reference/gosu_rb.html +16 -10
- data/reference/rdoc/fr_file_index.html +5 -5
- data/reference/rdoc/index.html +1 -1
- data/reference/rdoc/rdoc-style.css +4 -0
- metadata +129 -9
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_file.html">File</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -83,7 +84,7 @@ Inheritance diagram for Gosu::File:</div>
|
|
83
84
|
<a href="class_gosu_1_1_file-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
84
85
|
<tr><td></td></tr>
|
85
86
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
86
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_file.html#ca8146e9a279ee5cdee72bf6997eb392">File</a> (const std::wstring &filename, FileMode mode=fmRead)</td></tr>
|
87
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_file.html#ca8146e9a279ee5cdee72bf6997eb392">File</a> (const std::wstring &filename, <a class="el" href="namespace_gosu.html#f3bd16cebaf102e43f576d0a0ca1fcc3">FileMode</a> mode=fmRead)</td></tr>
|
87
88
|
|
88
89
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_file.html#33c8932235e2b46945a767025dc02edc">~File</a> ()</td></tr>
|
89
90
|
|
@@ -98,7 +99,7 @@ Inheritance diagram for Gosu::File:</div>
|
|
98
99
|
</table>
|
99
100
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
100
101
|
<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="
|
102
|
+
<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
103
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
103
104
|
<a class="anchor" name="ca8146e9a279ee5cdee72bf6997eb392"></a><!-- doxytag: member="Gosu::File::File" ref="ca8146e9a279ee5cdee72bf6997eb392" args="(const std::wstring &filename, FileMode mode=fmRead)" -->
|
104
105
|
<div class="memitem">
|
@@ -113,7 +114,7 @@ Inheritance diagram for Gosu::File:</div>
|
|
113
114
|
<tr>
|
114
115
|
<td class="paramkey"></td>
|
115
116
|
<td></td>
|
116
|
-
<td class="paramtype">FileMode
|
117
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#f3bd16cebaf102e43f576d0a0ca1fcc3">FileMode</a> </td>
|
117
118
|
<td class="paramname"> <em>mode</em> = <code>fmRead</code></td><td> </td>
|
118
119
|
</tr>
|
119
120
|
<tr>
|
@@ -267,7 +268,7 @@ Inheritance diagram for Gosu::File:</div>
|
|
267
268
|
</div>
|
268
269
|
</div><p>
|
269
270
|
<hr>The documentation for this class was generated from the following file:<ul>
|
270
|
-
<li><a class="el" href="
|
271
|
+
<li><a class="el" href="_i_o_8hpp_source.html">IO.hpp</a></ul>
|
271
272
|
</div>
|
272
273
|
<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
274
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_font.html">Font</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -91,13 +92,13 @@ window.onload = initDynSections;
|
|
91
92
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#ee66d136e3b5b801d146cc1134a0635a">textWidth</a> (const std::wstring &text, double factorX=1) const </td></tr>
|
92
93
|
|
93
94
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the width, in pixels, the given text would occupy if drawn. <a href="#ee66d136e3b5b801d146cc1134a0635a"></a><br></td></tr>
|
94
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35">draw</a> (const std::wstring &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
|
95
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35">draw</a> (const std::wstring &text, double x, double y, <a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=<a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Colors::white</a>, <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
|
95
96
|
|
96
97
|
<tr><td class="mdescLeft"> </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>
|
97
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2">drawRel</a> (const std::wstring &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
|
98
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2">drawRel</a> (const std::wstring &text, double x, double y, <a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double relX, double relY, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=<a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Colors::white</a>, <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
|
98
99
|
|
99
100
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws text at a position relative to (x; y). <a href="#60b4c8d6c515ca09d6124a9dc5f3c2f2"></a><br></td></tr>
|
100
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#0771bb27561cefe3381fb36101ac7859">drawRot</a> (const std::wstring &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
|
101
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_font.html#0771bb27561cefe3381fb36101ac7859">drawRot</a> (const std::wstring &text, double x, double y, <a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, double angle, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=<a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Colors::white</a>, <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault) const </td></tr>
|
101
102
|
|
102
103
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Analogous to draw, but rotates the text by a given angle. <a href="#0771bb27561cefe3381fb36101ac7859"></a><br></td></tr>
|
103
104
|
</table>
|
@@ -105,7 +106,7 @@ window.onload = initDynSections;
|
|
105
106
|
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.
|
106
107
|
<p>
|
107
108
|
Fonts are ideal for small texts that change regularly. For large, static texts you should use createBitmap and turn the result into an image.
|
108
|
-
<p>Definition at line <a class="el" href="
|
109
|
+
<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>
|
109
110
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
110
111
|
<a class="anchor" name="e4c06910c2b655a0012d982ff4fde515"></a><!-- doxytag: member="Gosu::Font::Font" ref="e4c06910c2b655a0012d982ff4fde515" args="(Graphics &graphics, const std::wstring &fontName, unsigned fontHeight, unsigned fontFlags=ffBold)" -->
|
111
112
|
<div class="memitem">
|
@@ -202,7 +203,7 @@ Constructs a font that can be drawn onto the graphics object.
|
|
202
203
|
<tr>
|
203
204
|
<td class="paramkey"></td>
|
204
205
|
<td></td>
|
205
|
-
<td class="paramtype">ZPos
|
206
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> </td>
|
206
207
|
<td class="paramname"> <em>z</em>, </td>
|
207
208
|
</tr>
|
208
209
|
<tr>
|
@@ -221,12 +222,12 @@ Constructs a font that can be drawn onto the graphics object.
|
|
221
222
|
<td class="paramkey"></td>
|
222
223
|
<td></td>
|
223
224
|
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
224
|
-
<td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
|
225
|
+
<td class="paramname"> <em>c</em> = <code><a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Colors::white</a></code>, </td>
|
225
226
|
</tr>
|
226
227
|
<tr>
|
227
228
|
<td class="paramkey"></td>
|
228
229
|
<td></td>
|
229
|
-
<td class="paramtype">AlphaMode
|
230
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> </td>
|
230
231
|
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
231
232
|
</tr>
|
232
233
|
<tr>
|
@@ -269,7 +270,7 @@ Draws text so the top left corner of the text is at (x; y).
|
|
269
270
|
<tr>
|
270
271
|
<td class="paramkey"></td>
|
271
272
|
<td></td>
|
272
|
-
<td class="paramtype">ZPos
|
273
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> </td>
|
273
274
|
<td class="paramname"> <em>z</em>, </td>
|
274
275
|
</tr>
|
275
276
|
<tr>
|
@@ -300,12 +301,12 @@ Draws text so the top left corner of the text is at (x; y).
|
|
300
301
|
<td class="paramkey"></td>
|
301
302
|
<td></td>
|
302
303
|
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
303
|
-
<td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
|
304
|
+
<td class="paramname"> <em>c</em> = <code><a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Colors::white</a></code>, </td>
|
304
305
|
</tr>
|
305
306
|
<tr>
|
306
307
|
<td class="paramkey"></td>
|
307
308
|
<td></td>
|
308
|
-
<td class="paramtype">AlphaMode
|
309
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> </td>
|
309
310
|
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
310
311
|
</tr>
|
311
312
|
<tr>
|
@@ -354,7 +355,7 @@ Draws text at a position relative to (x; y).
|
|
354
355
|
<tr>
|
355
356
|
<td class="paramkey"></td>
|
356
357
|
<td></td>
|
357
|
-
<td class="paramtype">ZPos
|
358
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> </td>
|
358
359
|
<td class="paramname"> <em>z</em>, </td>
|
359
360
|
</tr>
|
360
361
|
<tr>
|
@@ -379,12 +380,12 @@ Draws text at a position relative to (x; y).
|
|
379
380
|
<td class="paramkey"></td>
|
380
381
|
<td></td>
|
381
382
|
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
382
|
-
<td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
|
383
|
+
<td class="paramname"> <em>c</em> = <code><a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Colors::white</a></code>, </td>
|
383
384
|
</tr>
|
384
385
|
<tr>
|
385
386
|
<td class="paramkey"></td>
|
386
387
|
<td></td>
|
387
|
-
<td class="paramtype">AlphaMode
|
388
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> </td>
|
388
389
|
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
389
390
|
</tr>
|
390
391
|
<tr>
|
@@ -497,7 +498,7 @@ Returns the width, in pixels, the given text would occupy if drawn.
|
|
497
498
|
</div>
|
498
499
|
</div><p>
|
499
500
|
<hr>The documentation for this class was generated from the following file:<ul>
|
500
|
-
<li><a class="el" href="
|
501
|
+
<li><a class="el" href="_font_8hpp_source.html">Font.hpp</a></ul>
|
501
502
|
</div>
|
502
503
|
<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>
|
503
504
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -68,6 +69,7 @@ window.onload = initDynSections;
|
|
68
69
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#5cf453663573a90f6709146cefe4b9cd">begin</a>(Color clearWithColor=Colors::black)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
69
70
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#8d6d2a3931fc062a7411c69cdee1c4a2">beginClipping</a>(int x, int y, unsigned width, unsigned height)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
70
71
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#207f436a09bd02e11ddc474565912135">beginGL</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
72
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#3cee913dc7dbc39972a522d9e1a28d6b">beginRecording</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
71
73
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#6b10629453eec979500179e4ceb11434">createImage</a>(const Bitmap &src, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, unsigned borderFlags)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
72
74
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#cccecf39a52c5a4307f76db0e5128494">drawLine</a>(double x1, double y1, Color c1, double x2, double y2, Color c2, ZPos z, AlphaMode mode=amDefault)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
73
75
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#21214cced892d42e1c482d86bec76ca9">drawQuad</a>(double x1, double y1, Color c1, double x2, double y2, Color c2, double x3, double y3, Color c3, double x4, double y4, Color c4, ZPos z, AlphaMode mode=amDefault)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
@@ -75,6 +77,7 @@ window.onload = initDynSections;
|
|
75
77
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#ddeab66c3a18c0a12df43067de841b71">end</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
76
78
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#b71d990078f8fb93ef5d93f625fec172">endClipping</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
77
79
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#3e37d9b17e55fa5f6d3ad6116759364f">endGL</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
80
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#c45e29952d26d8f69e04660d17e906ee">endRecording</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
78
81
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#710461bb379979d9e467898c494948b5">factorX</a>() const </td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
79
82
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#baf5d3b9795a97104d841bef7ecc6d88">factorY</a>() const </td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
80
83
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#730cc192034ee1070b2017d41fe7e89e">fullscreen</a>() const </td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -90,7 +91,7 @@ window.onload = initDynSections;
|
|
90
91
|
|
91
92
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#730cc192034ee1070b2017d41fe7e89e">fullscreen</a> () const </td></tr>
|
92
93
|
|
93
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#5cf453663573a90f6709146cefe4b9cd">begin</a> (<a class="el" href="class_gosu_1_1_color.html">Color</a> clearWithColor=Colors::black)</td></tr>
|
94
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#5cf453663573a90f6709146cefe4b9cd">begin</a> (<a class="el" href="class_gosu_1_1_color.html">Color</a> clearWithColor=<a class="el" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">Colors::black</a>)</td></tr>
|
94
95
|
|
95
96
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Prepares the graphics object for drawing. <a href="#5cf453663573a90f6709146cefe4b9cd"></a><br></td></tr>
|
96
97
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#ddeab66c3a18c0a12df43067de841b71">end</a> ()</td></tr>
|
@@ -98,22 +99,28 @@ window.onload = initDynSections;
|
|
98
99
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Every call to begin must have a matching call to end. <a href="#ddeab66c3a18c0a12df43067de841b71"></a><br></td></tr>
|
99
100
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#207f436a09bd02e11ddc474565912135">beginGL</a> ()</td></tr>
|
100
101
|
|
101
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finishes all pending Gosu drawing operations and executes the following OpenGL code in a clean environment. <a href="#207f436a09bd02e11ddc474565912135"></a><br></td></tr>
|
102
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finishes all pending <a class="el" href="namespace_gosu.html" title="The library's main namespace.">Gosu</a> drawing operations and executes the following OpenGL code in a clean environment. <a href="#207f436a09bd02e11ddc474565912135"></a><br></td></tr>
|
102
103
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#3e37d9b17e55fa5f6d3ad6116759364f">endGL</a> ()</td></tr>
|
103
104
|
|
104
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resets Gosu into its default rendering state. <a href="#3e37d9b17e55fa5f6d3ad6116759364f"></a><br></td></tr>
|
105
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resets <a class="el" href="namespace_gosu.html" title="The library's main namespace.">Gosu</a> into its default rendering state. <a href="#3e37d9b17e55fa5f6d3ad6116759364f"></a><br></td></tr>
|
105
106
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#8d6d2a3931fc062a7411c69cdee1c4a2">beginClipping</a> (int x, int y, unsigned width, unsigned height)</td></tr>
|
106
107
|
|
107
108
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enables clipping to a specified rectangle. <a href="#8d6d2a3931fc062a7411c69cdee1c4a2"></a><br></td></tr>
|
108
109
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#b71d990078f8fb93ef5d93f625fec172">endClipping</a> ()</td></tr>
|
109
110
|
|
110
111
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disables clipping. <a href="#b71d990078f8fb93ef5d93f625fec172"></a><br></td></tr>
|
111
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#
|
112
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#3cee913dc7dbc39972a522d9e1a28d6b">beginRecording</a> ()</td></tr>
|
113
|
+
|
114
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Starts recording a macro. Cannot be nested. <a href="#3cee913dc7dbc39972a522d9e1a28d6b"></a><br></td></tr>
|
115
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::auto_ptr< <a class="el" href="class_gosu_1_1_image_data.html">Gosu::ImageData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#c45e29952d26d8f69e04660d17e906ee">endRecording</a> ()</td></tr>
|
116
|
+
|
117
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finishes building the macro and returns it as a drawable object. <a href="#c45e29952d26d8f69e04660d17e906ee"></a><br></td></tr>
|
118
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#cccecf39a52c5a4307f76db0e5128494">drawLine</a> (double x1, double y1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, double x2, double y2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, <a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault)</td></tr>
|
112
119
|
|
113
120
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws a line from one point to another (last pixel exclusive). <a href="#cccecf39a52c5a4307f76db0e5128494"></a><br></td></tr>
|
114
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#019db9071f130d4a7c1a269065f54df7">drawTriangle</a> (double x1, double y1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, double x2, double y2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, double x3, double y3, <a class="el" href="class_gosu_1_1_color.html">Color</a> c3, ZPos z, AlphaMode mode=amDefault)</td></tr>
|
121
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#019db9071f130d4a7c1a269065f54df7">drawTriangle</a> (double x1, double y1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, double x2, double y2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, double x3, double y3, <a class="el" href="class_gosu_1_1_color.html">Color</a> c3, <a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault)</td></tr>
|
115
122
|
|
116
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#21214cced892d42e1c482d86bec76ca9">drawQuad</a> (double x1, double y1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, double x2, double y2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, double x3, double y3, <a class="el" href="class_gosu_1_1_color.html">Color</a> c3, double x4, double y4, <a class="el" href="class_gosu_1_1_color.html">Color</a> c4, ZPos z, AlphaMode mode=amDefault)</td></tr>
|
123
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#21214cced892d42e1c482d86bec76ca9">drawQuad</a> (double x1, double y1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, double x2, double y2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, double x3, double y3, <a class="el" href="class_gosu_1_1_color.html">Color</a> c3, double x4, double y4, <a class="el" href="class_gosu_1_1_color.html">Color</a> c4, <a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> z, <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> mode=amDefault)</td></tr>
|
117
124
|
|
118
125
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::auto_ptr< <a class="el" href="class_gosu_1_1_image_data.html">ImageData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#6b10629453eec979500179e4ceb11434">createImage</a> (const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> &src, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, unsigned borderFlags)</td></tr>
|
119
126
|
|
@@ -123,7 +130,7 @@ window.onload = initDynSections;
|
|
123
130
|
Serves as the target of all drawing and provides basic drawing functionality.
|
124
131
|
<p>
|
125
132
|
Usually created by <a class="el" href="class_gosu_1_1_window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Gosu::Window</a>.
|
126
|
-
<p>Definition at line <a class="el" href="
|
133
|
+
<p>Definition at line <a class="el" href="_graphics_8hpp_source.html#l00024">24</a> of file <a class="el" href="_graphics_8hpp_source.html">Graphics.hpp</a>.</p>
|
127
134
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
128
135
|
<a class="anchor" name="2c81cc2bde977fdce58fd353b3d4a6c0"></a><!-- doxytag: member="Gosu::Graphics::Graphics" ref="2c81cc2bde977fdce58fd353b3d4a6c0" args="(unsigned physicalWidth, unsigned physicalHeight, bool fullscreen)" -->
|
129
136
|
<div class="memitem">
|
@@ -188,7 +195,7 @@ Usually created by <a class="el" href="class_gosu_1_1_window.html" title="Conven
|
|
188
195
|
<td class="memname">bool Gosu::Graphics::begin </td>
|
189
196
|
<td>(</td>
|
190
197
|
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
191
|
-
<td class="paramname"> <em>clearWithColor</em> = <code>Colors::black</code> </td>
|
198
|
+
<td class="paramname"> <em>clearWithColor</em> = <code><a class="el" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">Colors::black</a></code> </td>
|
192
199
|
<td> ) </td>
|
193
200
|
<td></td>
|
194
201
|
</tr>
|
@@ -261,7 +268,28 @@ Enables clipping to a specified rectangle.
|
|
261
268
|
<div class="memdoc">
|
262
269
|
|
263
270
|
<p>
|
264
|
-
Finishes all pending Gosu drawing operations and executes the following OpenGL code in a clean environment.
|
271
|
+
Finishes all pending <a class="el" href="namespace_gosu.html" title="The library's main namespace.">Gosu</a> drawing operations and executes the following OpenGL code in a clean environment.
|
272
|
+
<p>
|
273
|
+
|
274
|
+
</div>
|
275
|
+
</div><p>
|
276
|
+
<a class="anchor" name="3cee913dc7dbc39972a522d9e1a28d6b"></a><!-- doxytag: member="Gosu::Graphics::beginRecording" ref="3cee913dc7dbc39972a522d9e1a28d6b" args="()" -->
|
277
|
+
<div class="memitem">
|
278
|
+
<div class="memproto">
|
279
|
+
<table class="memname">
|
280
|
+
<tr>
|
281
|
+
<td class="memname">void Gosu::Graphics::beginRecording </td>
|
282
|
+
<td>(</td>
|
283
|
+
<td class="paramname"> </td>
|
284
|
+
<td> ) </td>
|
285
|
+
<td></td>
|
286
|
+
</tr>
|
287
|
+
</table>
|
288
|
+
</div>
|
289
|
+
<div class="memdoc">
|
290
|
+
|
291
|
+
<p>
|
292
|
+
Starts recording a macro. Cannot be nested.
|
265
293
|
<p>
|
266
294
|
|
267
295
|
</div>
|
@@ -364,13 +392,13 @@ Turns a portion of a bitmap into something that can be drawn on this graphics ob
|
|
364
392
|
<tr>
|
365
393
|
<td class="paramkey"></td>
|
366
394
|
<td></td>
|
367
|
-
<td class="paramtype">ZPos
|
395
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> </td>
|
368
396
|
<td class="paramname"> <em>z</em>, </td>
|
369
397
|
</tr>
|
370
398
|
<tr>
|
371
399
|
<td class="paramkey"></td>
|
372
400
|
<td></td>
|
373
|
-
<td class="paramtype">AlphaMode
|
401
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> </td>
|
374
402
|
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
375
403
|
</tr>
|
376
404
|
<tr>
|
@@ -467,13 +495,13 @@ Draws a line from one point to another (last pixel exclusive).
|
|
467
495
|
<tr>
|
468
496
|
<td class="paramkey"></td>
|
469
497
|
<td></td>
|
470
|
-
<td class="paramtype">ZPos
|
498
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> </td>
|
471
499
|
<td class="paramname"> <em>z</em>, </td>
|
472
500
|
</tr>
|
473
501
|
<tr>
|
474
502
|
<td class="paramkey"></td>
|
475
503
|
<td></td>
|
476
|
-
<td class="paramtype">AlphaMode
|
504
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> </td>
|
477
505
|
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
478
506
|
</tr>
|
479
507
|
<tr>
|
@@ -550,13 +578,13 @@ Draws a line from one point to another (last pixel exclusive).
|
|
550
578
|
<tr>
|
551
579
|
<td class="paramkey"></td>
|
552
580
|
<td></td>
|
553
|
-
<td class="paramtype">ZPos
|
581
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a> </td>
|
554
582
|
<td class="paramname"> <em>z</em>, </td>
|
555
583
|
</tr>
|
556
584
|
<tr>
|
557
585
|
<td class="paramkey"></td>
|
558
586
|
<td></td>
|
559
|
-
<td class="paramtype">AlphaMode
|
587
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> </td>
|
560
588
|
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
561
589
|
</tr>
|
562
590
|
<tr>
|
@@ -630,9 +658,30 @@ Disables clipping.
|
|
630
658
|
<div class="memdoc">
|
631
659
|
|
632
660
|
<p>
|
633
|
-
Resets Gosu into its default rendering state.
|
661
|
+
Resets <a class="el" href="namespace_gosu.html" title="The library's main namespace.">Gosu</a> into its default rendering state.
|
634
662
|
<p>
|
635
663
|
|
664
|
+
</div>
|
665
|
+
</div><p>
|
666
|
+
<a class="anchor" name="c45e29952d26d8f69e04660d17e906ee"></a><!-- doxytag: member="Gosu::Graphics::endRecording" ref="c45e29952d26d8f69e04660d17e906ee" args="()" -->
|
667
|
+
<div class="memitem">
|
668
|
+
<div class="memproto">
|
669
|
+
<table class="memname">
|
670
|
+
<tr>
|
671
|
+
<td class="memname">std::auto_ptr<<a class="el" href="class_gosu_1_1_image_data.html">Gosu::ImageData</a>> Gosu::Graphics::endRecording </td>
|
672
|
+
<td>(</td>
|
673
|
+
<td class="paramname"> </td>
|
674
|
+
<td> ) </td>
|
675
|
+
<td></td>
|
676
|
+
</tr>
|
677
|
+
</table>
|
678
|
+
</div>
|
679
|
+
<div class="memdoc">
|
680
|
+
|
681
|
+
<p>
|
682
|
+
Finishes building the macro and returns it as a drawable object.
|
683
|
+
<p>
|
684
|
+
Most usually, the return value is passed to <a class="el" href="class_gosu_1_1_image.html#c055237e043f147da45132de80b2caa0" title="Loads an image from a given filename that can be drawn onto graphics.">Image::Image()</a>.
|
636
685
|
</div>
|
637
686
|
</div><p>
|
638
687
|
<a class="anchor" name="710461bb379979d9e467898c494948b5"></a><!-- doxytag: member="Gosu::Graphics::factorX" ref="710461bb379979d9e467898c494948b5" args="() const " -->
|
@@ -760,7 +809,7 @@ Resets Gosu into its default rendering state.
|
|
760
809
|
</div>
|
761
810
|
</div><p>
|
762
811
|
<hr>The documentation for this class was generated from the following file:<ul>
|
763
|
-
<li><a class="el" href="
|
812
|
+
<li><a class="el" href="_graphics_8hpp_source.html">Graphics.hpp</a></ul>
|
764
813
|
</div>
|
765
814
|
<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>
|
766
815
|
</div>
|