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
@@ -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><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -75,9 +76,9 @@ window.onload = initDynSections;
|
|
75
76
|
<a name="l00012"></a>00012
|
76
77
|
<a name="l00013"></a>00013 <span class="keyword">namespace </span>Gosu
|
77
78
|
<a name="l00014"></a>00014 {
|
78
|
-
<a name="l00016"></a>00016 <span class="keywordtype">unsigned</span> screenWidth();
|
79
|
+
<a name="l00016"></a>00016 <span class="keywordtype">unsigned</span> <a class="code" href="namespace_gosu.html#5dcc0658209b7c8523f00e58ccb663b7" title="Returns the width, in pixels, of the user&#39;s primary screen.">screenWidth</a>();
|
79
80
|
<a name="l00017"></a>00017
|
80
|
-
<a name="l00019"></a>00019 <span class="keywordtype">unsigned</span> screenHeight();
|
81
|
+
<a name="l00019"></a>00019 <span class="keywordtype">unsigned</span> <a class="code" href="namespace_gosu.html#2934a7df026d36a3b8793e8097f701c5" title="Returns the height, in pixels, of the user&#39;s primary screen.">screenHeight</a>();
|
81
82
|
<a name="l00020"></a>00020
|
82
83
|
<a name="l00024"></a><a class="code" href="class_gosu_1_1_graphics.html">00024</a> <span class="keyword">class </span><a class="code" href="class_gosu_1_1_graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>
|
83
84
|
<a name="l00025"></a>00025 {
|
@@ -98,7 +99,7 @@ window.onload = initDynSections;
|
|
98
99
|
<a name="l00040"></a>00040 <span class="keywordtype">unsigned</span> <a class="code" href="class_gosu_1_1_graphics.html#f1db946f6dba8e88d7239e523382c98a">height</a>() <span class="keyword">const</span>;
|
99
100
|
<a name="l00041"></a>00041 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_graphics.html#730cc192034ee1070b2017d41fe7e89e">fullscreen</a>() <span class="keyword">const</span>;
|
100
101
|
<a name="l00042"></a>00042
|
101
|
-
<a name="l00045"></a>00045 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_graphics.html#5cf453663573a90f6709146cefe4b9cd" title="Prepares the graphics object for drawing.">begin</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> clearWithColor = Colors::black);
|
102
|
+
<a name="l00045"></a>00045 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_graphics.html#5cf453663573a90f6709146cefe4b9cd" title="Prepares the graphics object for drawing.">begin</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> clearWithColor = <a class="code" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">Colors::black</a>);
|
102
103
|
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#ddeab66c3a18c0a12df43067de841b71" title="Every call to begin must have a matching call to end.">end</a>();
|
103
104
|
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#207f436a09bd02e11ddc474565912135" title="Finishes all pending Gosu drawing operations and executes the following OpenGL code...">beginGL</a>();
|
104
105
|
<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#3e37d9b17e55fa5f6d3ad6116759364f" title="Resets Gosu into its default rendering state.">endGL</a>();
|
@@ -107,18 +108,18 @@ window.onload = initDynSections;
|
|
107
108
|
<a name="l00057"></a>00057
|
108
109
|
<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#cccecf39a52c5a4307f76db0e5128494" title="Draws a line from one point to another (last pixel exclusive).">drawLine</a>(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
109
110
|
<a name="l00060"></a>00060 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
110
|
-
<a name="l00061"></a>00061 ZPos z, AlphaMode mode = amDefault);
|
111
|
+
<a name="l00061"></a>00061 <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
111
112
|
<a name="l00062"></a>00062
|
112
113
|
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#019db9071f130d4a7c1a269065f54df7">drawTriangle</a>(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
113
114
|
<a name="l00064"></a>00064 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
114
115
|
<a name="l00065"></a>00065 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
|
115
|
-
<a name="l00066"></a>00066 ZPos z, AlphaMode mode = amDefault);
|
116
|
+
<a name="l00066"></a>00066 <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
116
117
|
<a name="l00067"></a>00067
|
117
118
|
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#21214cced892d42e1c482d86bec76ca9">drawQuad</a>(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
118
119
|
<a name="l00069"></a>00069 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
119
120
|
<a name="l00070"></a>00070 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
|
120
121
|
<a name="l00071"></a>00071 <span class="keywordtype">double</span> x4, <span class="keywordtype">double</span> y4, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c4,
|
121
|
-
<a name="l00072"></a>00072 ZPos z, AlphaMode mode = amDefault);
|
122
|
+
<a name="l00072"></a>00072 <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
122
123
|
<a name="l00073"></a>00073
|
123
124
|
<a name="l00076"></a>00076 std::auto_ptr<ImageData> <a class="code" href="class_gosu_1_1_graphics.html#6b10629453eec979500179e4ceb11434" title="Turns a portion of a bitmap into something that can be drawn on this graphics object...">createImage</a>(<span class="keyword">const</span> <a class="code" href="class_gosu_1_1_bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>& src,
|
124
125
|
<a name="l00077"></a>00077 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
|
@@ -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><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -68,12 +69,18 @@ window.onload = initDynSections;
|
|
68
69
|
<p>
|
69
70
|
|
70
71
|
<p>
|
71
|
-
<a href="
|
72
|
+
<a href="_graphics_8hpp_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
72
73
|
<tr><td></td></tr>
|
73
74
|
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
|
74
75
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td></tr>
|
75
76
|
|
76
77
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Serves as the target of all drawing and provides basic drawing functionality. <a href="class_gosu_1_1_graphics.html#_details">More...</a><br></td></tr>
|
78
|
+
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
|
79
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html">Gosu</a></td></tr>
|
80
|
+
|
81
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">The library's main namespace. <br></td></tr>
|
82
|
+
|
83
|
+
<p>
|
77
84
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
78
85
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#5dcc0658209b7c8523f00e58ccb663b7">Gosu::screenWidth</a> ()</td></tr>
|
79
86
|
|
@@ -82,11 +89,11 @@ window.onload = initDynSections;
|
|
82
89
|
|
83
90
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the height, in pixels, of the user's primary screen. <a href="#2934a7df026d36a3b8793e8097f701c5"></a><br></td></tr>
|
84
91
|
</table>
|
85
|
-
<hr><
|
92
|
+
<hr><h2>Detailed Description</h2>
|
86
93
|
Interface of the Graphics class.
|
87
94
|
<p>
|
88
95
|
|
89
|
-
<p>Definition in file <a class="el" href="
|
96
|
+
<p>Definition in file <a class="el" href="_graphics_8hpp_source.html">Graphics.hpp</a>.</p>
|
90
97
|
</div>
|
91
98
|
<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>
|
92
99
|
</div>
|
@@ -0,0 +1,138 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Gosu C++ Reference</title>
|
4
|
+
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div class="everything">
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
<!--
|
11
|
+
function changeDisplayState (e){
|
12
|
+
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
+
var button=this.firstChild;
|
14
|
+
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
+
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
+
sectionDiv.style.display='block';
|
17
|
+
button.src='open.gif';
|
18
|
+
}else{
|
19
|
+
sectionDiv.style.display='none';
|
20
|
+
button.src='closed.gif';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function initDynSections(){
|
24
|
+
var divs=document.getElementsByTagName('div');
|
25
|
+
var sectionCounter=1;
|
26
|
+
for(var i=0;i<divs.length-1;i++){
|
27
|
+
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
+
var header=divs[i];
|
29
|
+
var section=divs[i+1];
|
30
|
+
var button=header.firstChild;
|
31
|
+
if (button!='IMG'){
|
32
|
+
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
+
button=document.createElement('img');
|
34
|
+
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
+
}
|
36
|
+
header.style.cursor='pointer';
|
37
|
+
header.onclick=changeDisplayState;
|
38
|
+
header.id='dynheader'+sectionCounter;
|
39
|
+
button.src='closed.gif';
|
40
|
+
section.id='dynsection'+sectionCounter;
|
41
|
+
section.style.display='none';
|
42
|
+
section.style.marginLeft='14px';
|
43
|
+
sectionCounter++;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
window.onload = initDynSections;
|
48
|
+
-->
|
49
|
+
</script>
|
50
|
+
<div class="navigation" id="top">
|
51
|
+
<div class="tabs">
|
52
|
+
<ul>
|
53
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
+
<li><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
+
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
57
|
+
</ul>
|
58
|
+
</div>
|
59
|
+
<div class="tabs">
|
60
|
+
<ul>
|
61
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
62
|
+
<li><a href="globals.html"><span>File Members</span></a></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
<h1>Graphics.hpp</h1><a href="_graphics_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
|
66
|
+
<a name="l00002"></a>00002
|
67
|
+
<a name="l00003"></a>00003
|
68
|
+
<a name="l00004"></a>00004 <span class="preprocessor">#ifndef GOSU_GRAPHICS_HPP</span>
|
69
|
+
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_GRAPHICS_HPP</span>
|
70
|
+
<a name="l00006"></a>00006 <span class="preprocessor"></span>
|
71
|
+
<a name="l00007"></a>00007 <span class="preprocessor">#include <<a class="code" href="_fwd_8hpp.html" title="Contains declarations of all of Gosu&#39;s available classes.">Gosu/Fwd.hpp</a>></span>
|
72
|
+
<a name="l00008"></a>00008 <span class="preprocessor">#include <<a class="code" href="_color_8hpp.html" title="Interface of the Color class.">Gosu/Color.hpp</a>></span>
|
73
|
+
<a name="l00009"></a>00009 <span class="preprocessor">#include <<a class="code" href="_graphics_base_8hpp.html" title="Contains general typedefs and enums related to graphics.">Gosu/GraphicsBase.hpp</a>></span>
|
74
|
+
<a name="l00010"></a>00010 <span class="preprocessor">#include <boost/scoped_ptr.hpp></span>
|
75
|
+
<a name="l00011"></a>00011 <span class="preprocessor">#include <memory></span>
|
76
|
+
<a name="l00012"></a>00012
|
77
|
+
<a name="l00013"></a>00013 <span class="keyword">namespace </span>Gosu
|
78
|
+
<a name="l00014"></a>00014 {
|
79
|
+
<a name="l00016"></a>00016 <span class="keywordtype">unsigned</span> <a class="code" href="namespace_gosu.html#5dcc0658209b7c8523f00e58ccb663b7" title="Returns the width, in pixels, of the user&#39;s primary screen.">screenWidth</a>();
|
80
|
+
<a name="l00017"></a>00017
|
81
|
+
<a name="l00019"></a>00019 <span class="keywordtype">unsigned</span> <a class="code" href="namespace_gosu.html#2934a7df026d36a3b8793e8097f701c5" title="Returns the height, in pixels, of the user&#39;s primary screen.">screenHeight</a>();
|
82
|
+
<a name="l00020"></a>00020
|
83
|
+
<a name="l00024"></a><a class="code" href="class_gosu_1_1_graphics.html">00024</a> <span class="keyword">class </span><a class="code" href="class_gosu_1_1_graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>
|
84
|
+
<a name="l00025"></a>00025 {
|
85
|
+
<a name="l00026"></a>00026 <span class="keyword">struct </span>Impl;
|
86
|
+
<a name="l00027"></a>00027 boost::scoped_ptr<Impl> pimpl;
|
87
|
+
<a name="l00028"></a>00028
|
88
|
+
<a name="l00029"></a>00029 <span class="keyword">public</span>:
|
89
|
+
<a name="l00030"></a>00030 <a class="code" href="class_gosu_1_1_graphics.html#2c81cc2bde977fdce58fd353b3d4a6c0">Graphics</a>(<span class="keywordtype">unsigned</span> physicalWidth, <span class="keywordtype">unsigned</span> physicalHeight, <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_graphics.html#730cc192034ee1070b2017d41fe7e89e">fullscreen</a>);
|
90
|
+
<a name="l00031"></a>00031 <a class="code" href="class_gosu_1_1_graphics.html#6010e7c7473d73bffe1e3239f07e6395">~Graphics</a>();
|
91
|
+
<a name="l00032"></a>00032
|
92
|
+
<a name="l00033"></a>00033 <span class="comment">// Undocumented until I have thought about this...</span>
|
93
|
+
<a name="l00034"></a>00034 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_graphics.html#710461bb379979d9e467898c494948b5">factorX</a>() <span class="keyword">const</span>;
|
94
|
+
<a name="l00035"></a>00035 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_graphics.html#baf5d3b9795a97104d841bef7ecc6d88">factorY</a>() <span class="keyword">const</span>;
|
95
|
+
<a name="l00036"></a>00036 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#325c631eb7e8ec63171c803d2cd59f26">setResolution</a>(<span class="keywordtype">unsigned</span> virtualWidth, <span class="keywordtype">unsigned</span> virtualHeight);
|
96
|
+
<a name="l00037"></a>00037 <span class="comment">// End of Undocumented</span>
|
97
|
+
<a name="l00038"></a>00038
|
98
|
+
<a name="l00039"></a>00039 <span class="keywordtype">unsigned</span> <a class="code" href="class_gosu_1_1_graphics.html#1e06d6eea03677546dd637e9b5b0b6bf">width</a>() <span class="keyword">const</span>;
|
99
|
+
<a name="l00040"></a>00040 <span class="keywordtype">unsigned</span> <a class="code" href="class_gosu_1_1_graphics.html#f1db946f6dba8e88d7239e523382c98a">height</a>() <span class="keyword">const</span>;
|
100
|
+
<a name="l00041"></a>00041 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_graphics.html#730cc192034ee1070b2017d41fe7e89e">fullscreen</a>() <span class="keyword">const</span>;
|
101
|
+
<a name="l00042"></a>00042
|
102
|
+
<a name="l00045"></a>00045 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_graphics.html#5cf453663573a90f6709146cefe4b9cd" title="Prepares the graphics object for drawing.">begin</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> clearWithColor = <a class="code" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">Colors::black</a>);
|
103
|
+
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#ddeab66c3a18c0a12df43067de841b71" title="Every call to begin must have a matching call to end.">end</a>();
|
104
|
+
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#207f436a09bd02e11ddc474565912135" title="Finishes all pending Gosu drawing operations and executes the following OpenGL code...">beginGL</a>();
|
105
|
+
<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#3e37d9b17e55fa5f6d3ad6116759364f" title="Resets Gosu into its default rendering state.">endGL</a>();
|
106
|
+
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#8d6d2a3931fc062a7411c69cdee1c4a2" title="Enables clipping to a specified rectangle.">beginClipping</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height);
|
107
|
+
<a name="l00056"></a>00056 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#b71d990078f8fb93ef5d93f625fec172" title="Disables clipping.">endClipping</a>();
|
108
|
+
<a name="l00057"></a>00057
|
109
|
+
<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#3cee913dc7dbc39972a522d9e1a28d6b" title="Starts recording a macro. Cannot be nested.">beginRecording</a>();
|
110
|
+
<a name="l00062"></a>00062 std::auto_ptr<Gosu::ImageData> <a class="code" href="class_gosu_1_1_graphics.html#c45e29952d26d8f69e04660d17e906ee" title="Finishes building the macro and returns it as a drawable object.">endRecording</a>();
|
111
|
+
<a name="l00063"></a>00063
|
112
|
+
<a name="l00065"></a>00065 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#cccecf39a52c5a4307f76db0e5128494" title="Draws a line from one point to another (last pixel exclusive).">drawLine</a>(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
113
|
+
<a name="l00066"></a>00066 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
114
|
+
<a name="l00067"></a>00067 <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
115
|
+
<a name="l00068"></a>00068
|
116
|
+
<a name="l00069"></a>00069 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#019db9071f130d4a7c1a269065f54df7">drawTriangle</a>(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
117
|
+
<a name="l00070"></a>00070 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
118
|
+
<a name="l00071"></a>00071 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
|
119
|
+
<a name="l00072"></a>00072 <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
120
|
+
<a name="l00073"></a>00073
|
121
|
+
<a name="l00074"></a>00074 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_graphics.html#21214cced892d42e1c482d86bec76ca9">drawQuad</a>(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
122
|
+
<a name="l00075"></a>00075 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
123
|
+
<a name="l00076"></a>00076 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
|
124
|
+
<a name="l00077"></a>00077 <span class="keywordtype">double</span> x4, <span class="keywordtype">double</span> y4, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c4,
|
125
|
+
<a name="l00078"></a>00078 <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
126
|
+
<a name="l00079"></a>00079
|
127
|
+
<a name="l00082"></a>00082 std::auto_ptr<ImageData> <a class="code" href="class_gosu_1_1_graphics.html#6b10629453eec979500179e4ceb11434" title="Turns a portion of a bitmap into something that can be drawn on this graphics object...">createImage</a>(<span class="keyword">const</span> <a class="code" href="class_gosu_1_1_bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>& src,
|
128
|
+
<a name="l00083"></a>00083 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
|
129
|
+
<a name="l00084"></a>00084 <span class="keywordtype">unsigned</span> borderFlags);
|
130
|
+
<a name="l00085"></a>00085 };
|
131
|
+
<a name="l00086"></a>00086 }
|
132
|
+
<a name="l00087"></a>00087
|
133
|
+
<a name="l00088"></a>00088 <span class="preprocessor">#endif</span>
|
134
|
+
</pre></div></div>
|
135
|
+
<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>
|
136
|
+
</div>
|
137
|
+
</body>
|
138
|
+
</html>
|
@@ -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><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -71,39 +72,39 @@ window.onload = initDynSections;
|
|
71
72
|
<a name="l00008"></a>00008
|
72
73
|
<a name="l00009"></a>00009 <span class="keyword">namespace </span>Gosu
|
73
74
|
<a name="l00010"></a>00010 {
|
74
|
-
<a name="l00014"></a>00014 <span class="keyword">typedef</span> <span class="keywordtype">double</span> ZPos
|
75
|
+
<a name="l00014"></a><a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">00014</a> <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a>;
|
75
76
|
<a name="l00015"></a>00015
|
76
|
-
<a name="l00019"></a>00019 <span class="keyword">const</span> <span class="keywordtype">double</span> zImmediate = -std::numeric_limits<double>::infinity();
|
77
|
+
<a name="l00019"></a><a class="code" href="namespace_gosu.html#66e372da7f9b1ce440cc35da4b16b027">00019</a> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="namespace_gosu.html#66e372da7f9b1ce440cc35da4b16b027" title="The lowest possible Z position.">zImmediate</a> = -std::numeric_limits<double>::infinity();
|
77
78
|
<a name="l00020"></a>00020
|
78
|
-
<a name="l00023"></a>00023 <span class="keyword">enum</span> AlphaMode
|
79
|
+
<a name="l00023"></a><a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">00023</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a>
|
79
80
|
<a name="l00024"></a>00024 {
|
80
|
-
<a name="l00027"></a>00027 amDefault
|
81
|
-
<a name="l00031"></a>00031 amAdditive
|
81
|
+
<a name="l00027"></a><a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0">00027</a> <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>,
|
82
|
+
<a name="l00031"></a><a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b">00031</a> <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b" title="The colors&#39; channels will be added.">amAdditive</a>
|
82
83
|
<a name="l00032"></a>00032 };
|
83
84
|
<a name="l00033"></a>00033
|
84
|
-
<a name="l00034"></a>00034 <span class="keyword">enum</span> FontFlags
|
85
|
+
<a name="l00034"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62">00034</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62">FontFlags</a>
|
85
86
|
<a name="l00035"></a>00035 {
|
86
|
-
<a name="l00036"></a>00036 ffBold = 1,
|
87
|
-
<a name="l00037"></a>00037 ffItalic = 2,
|
88
|
-
<a name="l00038"></a>00038 ffUnderline = 4
|
87
|
+
<a name="l00036"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62da182ed25a89bbc7d45fda9de06b116b">00036</a> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62da182ed25a89bbc7d45fda9de06b116b">ffBold</a> = 1,
|
88
|
+
<a name="l00037"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe626072b85a2eb251fce7571122d359f67a">00037</a> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe626072b85a2eb251fce7571122d359f67a">ffItalic</a> = 2,
|
89
|
+
<a name="l00038"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62a9d38282e9b20e83de9809e91ee1debb">00038</a> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62a9d38282e9b20e83de9809e91ee1debb">ffUnderline</a> = 4
|
89
90
|
<a name="l00039"></a>00039 };
|
90
91
|
<a name="l00040"></a>00040
|
91
|
-
<a name="l00041"></a>00041 <span class="keyword">enum</span> TextAlign
|
92
|
+
<a name="l00041"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76">00041</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76">TextAlign</a>
|
92
93
|
<a name="l00042"></a>00042 {
|
93
|
-
<a name="l00043"></a>00043 taLeft
|
94
|
-
<a name="l00044"></a>00044 taRight
|
95
|
-
<a name="l00045"></a>00045 taCenter
|
96
|
-
<a name="l00046"></a>00046 taJustify
|
94
|
+
<a name="l00043"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c7618d3a7ccb2096af75fa830e2027db0e3">00043</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c7618d3a7ccb2096af75fa830e2027db0e3">taLeft</a>,
|
95
|
+
<a name="l00044"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c766467bfa7cd1b3aadb5388acc6cebec4b">00044</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c766467bfa7cd1b3aadb5388acc6cebec4b">taRight</a>,
|
96
|
+
<a name="l00045"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76252ee035c25da51aef6d13f03b894520">00045</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76252ee035c25da51aef6d13f03b894520">taCenter</a>,
|
97
|
+
<a name="l00046"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76ecfc2cbb13997bda64bff3be1f2e957f">00046</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76ecfc2cbb13997bda64bff3be1f2e957f">taJustify</a>
|
97
98
|
<a name="l00047"></a>00047 };
|
98
99
|
<a name="l00048"></a>00048
|
99
|
-
<a name="l00050"></a>00050 <span class="keyword">enum</span> BorderFlags
|
100
|
+
<a name="l00050"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82">00050</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82" title="Flags that affect the tileability of an image.">BorderFlags</a>
|
100
101
|
<a name="l00051"></a>00051 {
|
101
|
-
<a name="l00052"></a>00052 bfSoft = 0,
|
102
|
-
<a name="l00053"></a>00053 bfTileableLeft = 1,
|
103
|
-
<a name="l00054"></a>00054 bfTileableTop = 2,
|
104
|
-
<a name="l00055"></a>00055 bfTileableRight = 4,
|
105
|
-
<a name="l00056"></a>00056 bfTileableBottom = 8,
|
106
|
-
<a name="l00057"></a>00057 bfTileable = bfTileableLeft | bfTileableTop | bfTileableRight | bfTileableBottom
|
102
|
+
<a name="l00052"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829ac43f03f1674539ef273f32ca937435">00052</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829ac43f03f1674539ef273f32ca937435">bfSoft</a> = 0,
|
103
|
+
<a name="l00053"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">00053</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">bfTileableLeft</a> = 1,
|
104
|
+
<a name="l00054"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">00054</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">bfTileableTop</a> = 2,
|
105
|
+
<a name="l00055"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef825cffa52bde527c98e8a650e7c4fcf69b">00055</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef825cffa52bde527c98e8a650e7c4fcf69b">bfTileableRight</a> = 4,
|
106
|
+
<a name="l00056"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef823b1e203829e9cea96fed5b2497237e78">00056</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef823b1e203829e9cea96fed5b2497237e78">bfTileableBottom</a> = 8,
|
107
|
+
<a name="l00057"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829b7a4a2b58a5166aa501c86dd98a2e9b">00057</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829b7a4a2b58a5166aa501c86dd98a2e9b">bfTileable</a> = <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">bfTileableLeft</a> | <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">bfTileableTop</a> | <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef825cffa52bde527c98e8a650e7c4fcf69b">bfTileableRight</a> | <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef823b1e203829e9cea96fed5b2497237e78">bfTileableBottom</a>
|
107
108
|
<a name="l00058"></a>00058 };
|
108
109
|
<a name="l00059"></a>00059 }
|
109
110
|
<a name="l00060"></a>00060
|
@@ -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><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -68,30 +69,36 @@ window.onload = initDynSections;
|
|
68
69
|
<p>
|
69
70
|
|
70
71
|
<p>
|
71
|
-
<a href="
|
72
|
+
<a href="_graphics_base_8hpp_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
72
73
|
<tr><td></td></tr>
|
74
|
+
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
|
75
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html">Gosu</a></td></tr>
|
76
|
+
|
77
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">The library's main namespace. <br></td></tr>
|
78
|
+
|
79
|
+
<p>
|
73
80
|
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
|
74
81
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">Gosu::ZPos</a></td></tr>
|
75
82
|
|
76
83
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Represents the Z position of something drawn with Gosu's graphics system. <a href="#a2fd8fe9574c0ad3fd52557cb160be49"></a><br></td></tr>
|
77
84
|
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
|
78
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><
|
85
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">Gosu::AlphaMode</a> { <a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0">Gosu::amDefault</a>,
|
79
86
|
<a class="el" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b">Gosu::amAdditive</a>
|
80
87
|
}</td></tr>
|
81
88
|
|
82
89
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determines the way colors are combined when one is drawn onto another. <a href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">More...</a><br></td></tr>
|
83
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><
|
90
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62">Gosu::FontFlags</a> { <a class="el" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62da182ed25a89bbc7d45fda9de06b116b">Gosu::ffBold</a> = 1,
|
84
91
|
<a class="el" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe626072b85a2eb251fce7571122d359f67a">Gosu::ffItalic</a> = 2,
|
85
92
|
<a class="el" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62a9d38282e9b20e83de9809e91ee1debb">Gosu::ffUnderline</a> = 4
|
86
93
|
}</td></tr>
|
87
94
|
|
88
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><
|
95
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76">Gosu::TextAlign</a> { <a class="el" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c7618d3a7ccb2096af75fa830e2027db0e3">Gosu::taLeft</a>,
|
89
96
|
<a class="el" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c766467bfa7cd1b3aadb5388acc6cebec4b">Gosu::taRight</a>,
|
90
97
|
<a class="el" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76252ee035c25da51aef6d13f03b894520">Gosu::taCenter</a>,
|
91
98
|
<a class="el" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76ecfc2cbb13997bda64bff3be1f2e957f">Gosu::taJustify</a>
|
92
99
|
}</td></tr>
|
93
100
|
|
94
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><
|
101
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82">Gosu::BorderFlags</a> { <br>
|
95
102
|
<a class="el" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829ac43f03f1674539ef273f32ca937435">Gosu::bfSoft</a> = 0,
|
96
103
|
<a class="el" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">Gosu::bfTileableLeft</a> = 1,
|
97
104
|
<a class="el" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">Gosu::bfTileableTop</a> = 2,
|
@@ -108,11 +115,11 @@ window.onload = initDynSections;
|
|
108
115
|
|
109
116
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The lowest possible Z position. <a href="#66e372da7f9b1ce440cc35da4b16b027"></a><br></td></tr>
|
110
117
|
</table>
|
111
|
-
<hr><
|
118
|
+
<hr><h2>Detailed Description</h2>
|
112
119
|
Contains general typedefs and enums related to graphics.
|
113
120
|
<p>
|
114
121
|
|
115
|
-
<p>Definition in file <a class="el" href="
|
122
|
+
<p>Definition in file <a class="el" href="_graphics_base_8hpp_source.html">GraphicsBase.hpp</a>.</p>
|
116
123
|
</div>
|
117
124
|
<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>
|
118
125
|
</div>
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Gosu C++ Reference</title>
|
4
|
+
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div class="everything">
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
<!--
|
11
|
+
function changeDisplayState (e){
|
12
|
+
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
+
var button=this.firstChild;
|
14
|
+
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
+
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
+
sectionDiv.style.display='block';
|
17
|
+
button.src='open.gif';
|
18
|
+
}else{
|
19
|
+
sectionDiv.style.display='none';
|
20
|
+
button.src='closed.gif';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function initDynSections(){
|
24
|
+
var divs=document.getElementsByTagName('div');
|
25
|
+
var sectionCounter=1;
|
26
|
+
for(var i=0;i<divs.length-1;i++){
|
27
|
+
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
+
var header=divs[i];
|
29
|
+
var section=divs[i+1];
|
30
|
+
var button=header.firstChild;
|
31
|
+
if (button!='IMG'){
|
32
|
+
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
+
button=document.createElement('img');
|
34
|
+
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
+
}
|
36
|
+
header.style.cursor='pointer';
|
37
|
+
header.onclick=changeDisplayState;
|
38
|
+
header.id='dynheader'+sectionCounter;
|
39
|
+
button.src='closed.gif';
|
40
|
+
section.id='dynsection'+sectionCounter;
|
41
|
+
section.style.display='none';
|
42
|
+
section.style.marginLeft='14px';
|
43
|
+
sectionCounter++;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
window.onload = initDynSections;
|
48
|
+
-->
|
49
|
+
</script>
|
50
|
+
<div class="navigation" id="top">
|
51
|
+
<div class="tabs">
|
52
|
+
<ul>
|
53
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
+
<li><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
+
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
57
|
+
</ul>
|
58
|
+
</div>
|
59
|
+
<div class="tabs">
|
60
|
+
<ul>
|
61
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
62
|
+
<li><a href="globals.html"><span>File Members</span></a></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
<h1>GraphicsBase.hpp</h1><a href="_graphics_base_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
|
66
|
+
<a name="l00002"></a>00002
|
67
|
+
<a name="l00003"></a>00003
|
68
|
+
<a name="l00004"></a>00004 <span class="preprocessor">#ifndef GOSU_GRAPHICSBASE_HPP</span>
|
69
|
+
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_GRAPHICSBASE_HPP</span>
|
70
|
+
<a name="l00006"></a>00006 <span class="preprocessor"></span>
|
71
|
+
<a name="l00007"></a>00007 <span class="preprocessor">#include <limits></span>
|
72
|
+
<a name="l00008"></a>00008
|
73
|
+
<a name="l00009"></a>00009 <span class="keyword">namespace </span>Gosu
|
74
|
+
<a name="l00010"></a>00010 {
|
75
|
+
<a name="l00014"></a><a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49">00014</a> <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="namespace_gosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a>;
|
76
|
+
<a name="l00015"></a>00015
|
77
|
+
<a name="l00019"></a><a class="code" href="namespace_gosu.html#66e372da7f9b1ce440cc35da4b16b027">00019</a> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="namespace_gosu.html#66e372da7f9b1ce440cc35da4b16b027" title="The lowest possible Z position.">zImmediate</a> = -std::numeric_limits<double>::infinity();
|
78
|
+
<a name="l00020"></a>00020
|
79
|
+
<a name="l00023"></a><a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">00023</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a>
|
80
|
+
<a name="l00024"></a>00024 {
|
81
|
+
<a name="l00027"></a><a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0">00027</a> <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>,
|
82
|
+
<a name="l00031"></a><a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b">00031</a> <a class="code" href="namespace_gosu.html#769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b" title="The colors&#39; channels will be added.">amAdditive</a>
|
83
|
+
<a name="l00032"></a>00032 };
|
84
|
+
<a name="l00033"></a>00033
|
85
|
+
<a name="l00034"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62">00034</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62">FontFlags</a>
|
86
|
+
<a name="l00035"></a>00035 {
|
87
|
+
<a name="l00036"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62da182ed25a89bbc7d45fda9de06b116b">00036</a> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62da182ed25a89bbc7d45fda9de06b116b">ffBold</a> = 1,
|
88
|
+
<a name="l00037"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe626072b85a2eb251fce7571122d359f67a">00037</a> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe626072b85a2eb251fce7571122d359f67a">ffItalic</a> = 2,
|
89
|
+
<a name="l00038"></a><a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62a9d38282e9b20e83de9809e91ee1debb">00038</a> <a class="code" href="namespace_gosu.html#08da397ed09e759ba3392b7361cabe62a9d38282e9b20e83de9809e91ee1debb">ffUnderline</a> = 4
|
90
|
+
<a name="l00039"></a>00039 };
|
91
|
+
<a name="l00040"></a>00040
|
92
|
+
<a name="l00041"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76">00041</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76">TextAlign</a>
|
93
|
+
<a name="l00042"></a>00042 {
|
94
|
+
<a name="l00043"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c7618d3a7ccb2096af75fa830e2027db0e3">00043</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c7618d3a7ccb2096af75fa830e2027db0e3">taLeft</a>,
|
95
|
+
<a name="l00044"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c766467bfa7cd1b3aadb5388acc6cebec4b">00044</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c766467bfa7cd1b3aadb5388acc6cebec4b">taRight</a>,
|
96
|
+
<a name="l00045"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76252ee035c25da51aef6d13f03b894520">00045</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76252ee035c25da51aef6d13f03b894520">taCenter</a>,
|
97
|
+
<a name="l00046"></a><a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76ecfc2cbb13997bda64bff3be1f2e957f">00046</a> <a class="code" href="namespace_gosu.html#6dc1926b8de6c2fb6bde3aa79ca42c76ecfc2cbb13997bda64bff3be1f2e957f">taJustify</a>
|
98
|
+
<a name="l00047"></a>00047 };
|
99
|
+
<a name="l00048"></a>00048
|
100
|
+
<a name="l00050"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82">00050</a> <span class="keyword">enum</span> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82" title="Flags that affect the tileability of an image.">BorderFlags</a>
|
101
|
+
<a name="l00051"></a>00051 {
|
102
|
+
<a name="l00052"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829ac43f03f1674539ef273f32ca937435">00052</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829ac43f03f1674539ef273f32ca937435">bfSoft</a> = 0,
|
103
|
+
<a name="l00053"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">00053</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">bfTileableLeft</a> = 1,
|
104
|
+
<a name="l00054"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">00054</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">bfTileableTop</a> = 2,
|
105
|
+
<a name="l00055"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef825cffa52bde527c98e8a650e7c4fcf69b">00055</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef825cffa52bde527c98e8a650e7c4fcf69b">bfTileableRight</a> = 4,
|
106
|
+
<a name="l00056"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef823b1e203829e9cea96fed5b2497237e78">00056</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef823b1e203829e9cea96fed5b2497237e78">bfTileableBottom</a> = 8,
|
107
|
+
<a name="l00057"></a><a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829b7a4a2b58a5166aa501c86dd98a2e9b">00057</a> <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef829b7a4a2b58a5166aa501c86dd98a2e9b">bfTileable</a> = <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82590455ca5e98fcf73c1790b9f3b263d9">bfTileableLeft</a> | <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef82aea82bb0ad82263bb710045eb5c7d42f">bfTileableTop</a> | <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef825cffa52bde527c98e8a650e7c4fcf69b">bfTileableRight</a> | <a class="code" href="namespace_gosu.html#3b7f4d1f697d86c584543e455faeef823b1e203829e9cea96fed5b2497237e78">bfTileableBottom</a>
|
108
|
+
<a name="l00058"></a>00058 };
|
109
|
+
<a name="l00059"></a>00059 }
|
110
|
+
<a name="l00060"></a>00060
|
111
|
+
<a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
|
112
|
+
</pre></div></div>
|
113
|
+
<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>
|
114
|
+
</div>
|
115
|
+
</body>
|
116
|
+
</html>
|