gosu 0.7.13 → 0.7.13.2
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +4 -2
- data/Gosu/Audio.hpp +8 -5
- data/Gosu/Font.hpp +5 -3
- data/Gosu/Gosu.hpp +6 -0
- data/Gosu/Graphics.hpp +6 -13
- data/Gosu/GraphicsBase.hpp +14 -3
- data/Gosu/IO.hpp +259 -255
- data/Gosu/Image.hpp +12 -12
- data/Gosu/ImageData.hpp +3 -0
- data/Gosu/Input.hpp +14 -2
- data/Gosu/Math.hpp +3 -2
- data/Gosu/RotFlip.hpp +125 -116
- data/Gosu/Sockets.hpp +139 -129
- data/Gosu/Text.hpp +4 -4
- data/Gosu/WinUtility.hpp +1 -1
- data/Gosu/Window.hpp +9 -5
- data/GosuImpl/Graphics/BitmapUtils.cpp +8 -8
- data/GosuImpl/Graphics/DrawOp.hpp +13 -14
- data/GosuImpl/Graphics/Graphics.cpp +3 -2
- data/GosuImpl/Graphics/Image.cpp +8 -8
- data/GosuImpl/Graphics/LargeImageData.cpp +8 -8
- data/GosuImpl/Graphics/Text.cpp +15 -3
- data/GosuImpl/{TextTTFWin.cpp → Graphics/TextTTFWin.cpp} +0 -0
- data/GosuImpl/Graphics/TextWin.cpp +36 -25
- data/GosuImpl/Graphics/Texture.cpp +2 -0
- data/GosuImpl/Iconv.hpp +1 -3
- data/GosuImpl/RubyGosu.swg +19 -10
- data/GosuImpl/RubyGosuStub.mm +40 -8
- data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +126 -0
- data/GosuImpl/RubyGosu_wrap.cxx +1601 -247
- data/GosuImpl/RubyGosu_wrap.h +1 -1
- data/GosuImpl/WindowWin.cpp +18 -6
- data/README.txt +5 -5
- data/Rakefile +27 -7
- data/linux/Makefile.in +1 -1
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +939 -350
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +66 -61
- data/mac/Gosu.xcodeproj/project.pbxproj +474 -92
- data/mac/RubyGosu Template-Info.plist b/data/mac/RubyGosu → App-Info.plist +0 -0
- data/reference/cpp/_audio_8hpp-source.html +171 -0
- data/reference/cpp/_audio_8hpp.html +96 -0
- data/reference/cpp/_auto_link_8hpp-source.html +84 -0
- data/reference/cpp/_auto_link_8hpp.html +83 -0
- data/reference/cpp/_bitmap_8hpp-source.html +130 -0
- data/reference/cpp/_bitmap_8hpp.html +107 -0
- data/reference/{ButtonsMac_8hpp-source.html → cpp/_buttons_mac_8hpp-source.html} +60 -14
- data/reference/cpp/_buttons_mac_8hpp.html +233 -0
- data/reference/cpp/_color_8hpp-source.html +215 -0
- data/reference/cpp/_color_8hpp.html +119 -0
- data/reference/cpp/_directories_8hpp-source.html +88 -0
- data/reference/cpp/_directories_8hpp.html +96 -0
- data/reference/cpp/_font_8hpp-source.html +111 -0
- data/reference/cpp/_font_8hpp.html +87 -0
- data/reference/{Fwd_8hpp-source.html → cpp/_fwd_8hpp-source.html} +59 -13
- data/reference/cpp/_fwd_8hpp.html +83 -0
- data/reference/cpp/_gosu_8hpp-source.html +96 -0
- data/reference/cpp/_gosu_8hpp.html +83 -0
- data/reference/cpp/_graphics_8hpp-source.html +134 -0
- data/reference/cpp/_graphics_8hpp.html +94 -0
- data/reference/cpp/_graphics_base_8hpp-source.html +115 -0
- data/reference/cpp/_graphics_base_8hpp.html +120 -0
- data/reference/cpp/_i_o_8hpp-source.html +301 -0
- data/reference/cpp/_i_o_8hpp.html +122 -0
- data/reference/cpp/_image_8hpp-source.html +172 -0
- data/reference/cpp/_image_8hpp.html +96 -0
- data/reference/cpp/_image_data_8hpp-source.html +108 -0
- data/reference/cpp/_image_data_8hpp.html +90 -0
- data/reference/cpp/_input_8hpp-source.html +182 -0
- data/reference/cpp/_input_8hpp.html +102 -0
- data/reference/cpp/_math_8hpp-source.html +147 -0
- data/reference/cpp/_math_8hpp.html +139 -0
- data/reference/{Platform_8hpp-source.html → cpp/_platform_8hpp-source.html} +61 -15
- data/reference/cpp/_platform_8hpp.html +136 -0
- data/reference/cpp/_rot_flip_8hpp-source.html +184 -0
- data/reference/cpp/_rot_flip_8hpp.html +123 -0
- data/reference/cpp/_sockets_8hpp-source.html +174 -0
- data/reference/cpp/_sockets_8hpp.html +117 -0
- data/reference/cpp/_text_8hpp-source.html +102 -0
- data/reference/cpp/_text_8hpp.html +99 -0
- data/reference/cpp/_text_input_8hpp-source.html +110 -0
- data/reference/cpp/_text_input_8hpp.html +87 -0
- data/reference/cpp/_timing_8hpp-source.html +82 -0
- data/reference/cpp/_timing_8hpp.html +90 -0
- data/reference/cpp/_utility_8hpp-source.html +89 -0
- data/reference/cpp/_utility_8hpp.html +96 -0
- data/reference/cpp/_win_utility_8hpp-source.html +125 -0
- data/reference/cpp/_win_utility_8hpp.html +116 -0
- data/reference/cpp/_window_8hpp-source.html +157 -0
- data/reference/cpp/_window_8hpp.html +87 -0
- data/reference/cpp/annotated.html +98 -0
- data/reference/cpp/class_gosu_1_1_audio-members.html +74 -0
- data/reference/cpp/class_gosu_1_1_audio.html +132 -0
- data/reference/cpp/class_gosu_1_1_bitmap-members.html +85 -0
- data/reference/cpp/class_gosu_1_1_bitmap.html +501 -0
- data/reference/cpp/class_gosu_1_1_buffer-members.html +84 -0
- data/reference/cpp/class_gosu_1_1_buffer.html +346 -0
- data/reference/{classGosu_1_1Buffer.png → cpp/class_gosu_1_1_buffer.png} +0 -0
- data/reference/cpp/class_gosu_1_1_button-members.html +76 -0
- data/reference/cpp/class_gosu_1_1_button.html +195 -0
- data/reference/cpp/class_gosu_1_1_color-members.html +96 -0
- data/reference/cpp/class_gosu_1_1_color.html +758 -0
- data/reference/cpp/class_gosu_1_1_comm_socket-members.html +90 -0
- data/reference/cpp/class_gosu_1_1_comm_socket.html +505 -0
- data/reference/cpp/class_gosu_1_1_file-members.html +81 -0
- data/reference/cpp/class_gosu_1_1_file.html +275 -0
- data/reference/{classGosu_1_1File.png → cpp/class_gosu_1_1_file.png} +0 -0
- data/reference/cpp/class_gosu_1_1_font-members.html +79 -0
- data/reference/{classGosu_1_1Font.html → cpp/class_gosu_1_1_font.html} +207 -66
- data/reference/cpp/class_gosu_1_1_graphics-members.html +90 -0
- data/reference/cpp/class_gosu_1_1_graphics.html +768 -0
- data/reference/cpp/class_gosu_1_1_image-members.html +85 -0
- data/reference/cpp/class_gosu_1_1_image.html +771 -0
- data/reference/cpp/class_gosu_1_1_image_data-members.html +77 -0
- data/reference/cpp/class_gosu_1_1_image_data.html +281 -0
- data/reference/cpp/class_gosu_1_1_input-members.html +85 -0
- data/reference/cpp/class_gosu_1_1_input.html +417 -0
- data/reference/cpp/class_gosu_1_1_listener_socket-members.html +78 -0
- data/reference/cpp/class_gosu_1_1_listener_socket.html +221 -0
- data/reference/cpp/class_gosu_1_1_message_socket-members.html +80 -0
- data/reference/{classGosu_1_1MessageSocket.html → cpp/class_gosu_1_1_message_socket.html} +115 -43
- data/reference/cpp/class_gosu_1_1_reader-members.html +80 -0
- data/reference/cpp/class_gosu_1_1_reader.html +322 -0
- data/reference/cpp/class_gosu_1_1_resource-members.html +79 -0
- data/reference/cpp/class_gosu_1_1_resource.html +305 -0
- data/reference/{classGosu_1_1Resource.png → cpp/class_gosu_1_1_resource.png} +0 -0
- data/reference/cpp/class_gosu_1_1_rot_flip-members.html +83 -0
- data/reference/cpp/class_gosu_1_1_rot_flip.html +347 -0
- data/reference/cpp/class_gosu_1_1_sample-members.html +77 -0
- data/reference/{classGosu_1_1Sample.html → cpp/class_gosu_1_1_sample.html} +99 -32
- data/reference/cpp/class_gosu_1_1_sample_instance-members.html +81 -0
- data/reference/cpp/class_gosu_1_1_sample_instance.html +317 -0
- data/reference/cpp/class_gosu_1_1_song-members.html +86 -0
- data/reference/{classGosu_1_1Song.html → cpp/class_gosu_1_1_song.html} +152 -68
- data/reference/cpp/class_gosu_1_1_text_input-members.html +78 -0
- data/reference/cpp/class_gosu_1_1_text_input.html +227 -0
- data/reference/cpp/class_gosu_1_1_window-members.html +90 -0
- data/reference/cpp/class_gosu_1_1_window.html +533 -0
- data/reference/cpp/class_gosu_1_1_writer-members.html +79 -0
- data/reference/cpp/class_gosu_1_1_writer.html +292 -0
- data/reference/cpp/classes.html +86 -0
- data/reference/cpp/closed.gif +0 -0
- data/reference/cpp/cpp.css +155 -0
- data/reference/{doxygen.png → cpp/doxygen.png} +0 -0
- data/reference/cpp/files.html +97 -0
- data/reference/cpp/functions.html +127 -0
- data/reference/cpp/functions_0x62.html +137 -0
- data/reference/cpp/functions_0x63.html +140 -0
- data/reference/cpp/functions_0x64.html +142 -0
- data/reference/cpp/functions_0x65.html +119 -0
- data/reference/cpp/functions_0x66.html +137 -0
- data/reference/cpp/functions_0x67.html +131 -0
- data/reference/cpp/functions_0x68.html +121 -0
- data/reference/cpp/functions_0x69.html +123 -0
- data/reference/cpp/functions_0x6b.html +115 -0
- data/reference/cpp/functions_0x6c.html +117 -0
- data/reference/cpp/functions_0x6d.html +125 -0
- data/reference/cpp/functions_0x6e.html +117 -0
- data/reference/cpp/functions_0x6f.html +126 -0
- data/reference/cpp/functions_0x70.html +136 -0
- data/reference/cpp/functions_0x72.html +154 -0
- data/reference/cpp/functions_0x73.html +179 -0
- data/reference/cpp/functions_0x74.html +127 -0
- data/reference/cpp/functions_0x75.html +121 -0
- data/reference/cpp/functions_0x76.html +117 -0
- data/reference/cpp/functions_0x77.html +129 -0
- data/reference/cpp/functions_0x78.html +115 -0
- data/reference/cpp/functions_0x79.html +115 -0
- data/reference/cpp/functions_0x7e.html +143 -0
- data/reference/cpp/functions_enum.html +87 -0
- data/reference/cpp/functions_eval.html +89 -0
- data/reference/cpp/functions_func.html +125 -0
- data/reference/cpp/functions_func_0x62.html +133 -0
- data/reference/cpp/functions_func_0x63.html +136 -0
- data/reference/cpp/functions_func_0x64.html +140 -0
- data/reference/cpp/functions_func_0x65.html +117 -0
- data/reference/cpp/functions_func_0x66.html +135 -0
- data/reference/cpp/functions_func_0x67.html +129 -0
- data/reference/cpp/functions_func_0x68.html +119 -0
- data/reference/cpp/functions_func_0x69.html +119 -0
- data/reference/cpp/functions_func_0x6b.html +113 -0
- data/reference/cpp/functions_func_0x6c.html +113 -0
- data/reference/cpp/functions_func_0x6d.html +123 -0
- data/reference/cpp/functions_func_0x6e.html +115 -0
- data/reference/cpp/functions_func_0x6f.html +113 -0
- data/reference/cpp/functions_func_0x70.html +134 -0
- data/reference/cpp/functions_func_0x72.html +150 -0
- data/reference/cpp/functions_func_0x73.html +173 -0
- data/reference/cpp/functions_func_0x74.html +119 -0
- data/reference/cpp/functions_func_0x75.html +119 -0
- data/reference/cpp/functions_func_0x76.html +115 -0
- data/reference/cpp/functions_func_0x77.html +127 -0
- data/reference/cpp/functions_func_0x7e.html +141 -0
- data/reference/cpp/functions_type.html +87 -0
- data/reference/cpp/functions_vars.html +112 -0
- data/reference/cpp/globals.html +84 -0
- data/reference/cpp/globals_defs.html +84 -0
- data/reference/cpp/hierarchy.html +100 -0
- data/reference/cpp/index.html +66 -0
- data/reference/cpp/open.gif +0 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +77 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +185 -0
- data/reference/cpp/struct_gosu_1_1_touch-members.html +75 -0
- data/reference/cpp/struct_gosu_1_1_touch.html +153 -0
- data/reference/{tab_b.gif → cpp/tab_b.gif} +0 -0
- data/reference/{tab_l.gif → cpp/tab_l.gif} +0 -0
- data/reference/{tab_r.gif → cpp/tab_r.gif} +0 -0
- data/reference/{tabs.css → cpp/tabs.css} +5 -2
- data/windows/Gosu.sln +5 -0
- data/windows/Gosu.vcproj +3 -3
- data/windows/RubyGosu.vcproj +103 -1
- metadata +178 -176
- data/reference/Async_8hpp-source.html +0 -70
- data/reference/Audio_8hpp-source.html +0 -125
- data/reference/Audio_8hpp.html +0 -50
- data/reference/AutoLink_8hpp-source.html +0 -38
- data/reference/AutoLink_8hpp.html +0 -34
- data/reference/Bitmap_8hpp-source.html +0 -84
- data/reference/Bitmap_8hpp.html +0 -58
- data/reference/ButtonsWin_8hpp-source.html +0 -159
- data/reference/ButtonsX_8hpp-source.html +0 -160
- data/reference/Color_8hpp-source.html +0 -169
- data/reference/Color_8hpp.html +0 -85
- data/reference/Directories_8hpp-source.html +0 -42
- data/reference/Directories_8hpp.html +0 -46
- data/reference/Font_8hpp-source.html +0 -65
- data/reference/Font_8hpp.html +0 -41
- data/reference/Fwd_8hpp.html +0 -37
- data/reference/Gosu_8hpp-source.html +0 -49
- data/reference/Gosu_8hpp.html +0 -34
- data/reference/GraphicsBase_8hpp-source.html +0 -59
- data/reference/GraphicsBase_8hpp.html +0 -59
- data/reference/Graphics_8hpp-source.html +0 -99
- data/reference/Graphics_8hpp.html +0 -60
- data/reference/IO_8hpp-source.html +0 -255
- data/reference/IO_8hpp.html +0 -74
- data/reference/ImageData_8hpp-source.html +0 -62
- data/reference/ImageData_8hpp.html +0 -43
- data/reference/Image_8hpp-source.html +0 -126
- data/reference/Image_8hpp.html +0 -48
- data/reference/Input_8hpp-source.html +0 -131
- data/reference/Input_8hpp.html +0 -56
- data/reference/Math_8hpp-source.html +0 -101
- data/reference/Math_8hpp.html +0 -78
- data/reference/Platform_8hpp.html +0 -73
- data/reference/RotFlip_8hpp-source.html +0 -138
- data/reference/RotFlip_8hpp.html +0 -77
- data/reference/Sockets_8hpp-source.html +0 -130
- data/reference/Sockets_8hpp.html +0 -66
- data/reference/TextInput_8hpp-source.html +0 -64
- data/reference/TextInput_8hpp.html +0 -41
- data/reference/Text_8hpp-source.html +0 -56
- data/reference/Text_8hpp.html +0 -48
- data/reference/Timing_8hpp-source.html +0 -36
- data/reference/Timing_8hpp.html +0 -42
- data/reference/Utility_8hpp-source.html +0 -43
- data/reference/Utility_8hpp.html +0 -46
- data/reference/WinUtility_8hpp-source.html +0 -79
- data/reference/WinUtility_8hpp.html +0 -64
- data/reference/Window_8hpp-source.html +0 -110
- data/reference/Window_8hpp.html +0 -41
- data/reference/annotated.html +0 -51
- data/reference/classGosu_1_1Audio-members.html +0 -34
- data/reference/classGosu_1_1Audio.html +0 -46
- data/reference/classGosu_1_1Bitmap-members.html +0 -45
- data/reference/classGosu_1_1Bitmap.html +0 -266
- data/reference/classGosu_1_1Buffer-members.html +0 -44
- data/reference/classGosu_1_1Buffer.html +0 -78
- data/reference/classGosu_1_1Button-members.html +0 -36
- data/reference/classGosu_1_1Button.html +0 -143
- data/reference/classGosu_1_1Color-members.html +0 -56
- data/reference/classGosu_1_1Color.html +0 -387
- data/reference/classGosu_1_1File-members.html +0 -41
- data/reference/classGosu_1_1File.html +0 -69
- data/reference/classGosu_1_1Font-members.html +0 -39
- data/reference/classGosu_1_1Graphics-members.html +0 -50
- data/reference/classGosu_1_1Graphics.html +0 -234
- data/reference/classGosu_1_1Image-members.html +0 -45
- data/reference/classGosu_1_1Image.html +0 -518
- data/reference/classGosu_1_1ImageData-members.html +0 -37
- data/reference/classGosu_1_1ImageData.html +0 -60
- data/reference/classGosu_1_1Input-members.html +0 -45
- data/reference/classGosu_1_1Input.html +0 -256
- data/reference/classGosu_1_1MessageSocket-members.html +0 -40
- data/reference/classGosu_1_1Resource-members.html +0 -39
- data/reference/classGosu_1_1Resource.html +0 -116
- data/reference/classGosu_1_1Sample-members.html +0 -37
- data/reference/classGosu_1_1SampleInstance-members.html +0 -41
- data/reference/classGosu_1_1SampleInstance.html +0 -178
- data/reference/classGosu_1_1Song-members.html +0 -46
- data/reference/classGosu_1_1TextInput-members.html +0 -38
- data/reference/classGosu_1_1TextInput.html +0 -121
- data/reference/classGosu_1_1Window-members.html +0 -50
- data/reference/classGosu_1_1Window.html +0 -289
- data/reference/doxyfile +0 -233
- data/reference/doxygen.css +0 -433
- data/reference/files.html +0 -54
- data/reference/functions.html +0 -249
- data/reference/functions_enum.html +0 -45
- data/reference/functions_func.html +0 -240
- data/reference/functions_vars.html +0 -47
- data/reference/hierarchy.html +0 -53
- data/reference/index.html +0 -26
- data/reference/namespaceGosu.html +0 -3363
- data/reference/namespaceGosu_1_1Colors.html +0 -70
- data/reference/namespaceGosu_1_1Win.html +0 -275
- data/reference/namespacemembers.html +0 -229
- data/reference/namespacemembers_enum.html +0 -52
- data/reference/namespacemembers_eval.html +0 -54
- data/reference/namespacemembers_func.html +0 -196
- data/reference/namespacemembers_type.html +0 -46
- data/reference/namespacemembers_vars.html +0 -48
- data/reference/namespaces.html +0 -35
@@ -0,0 +1,90 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Gosu C++ Reference</title>
|
4
|
+
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div class="everything">
|
8
|
+
<!-- Generated by Doxygen 1.5.8 -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
<!--
|
11
|
+
function changeDisplayState (e){
|
12
|
+
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
+
var button=this.firstChild;
|
14
|
+
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
+
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
+
sectionDiv.style.display='block';
|
17
|
+
button.src='open.gif';
|
18
|
+
}else{
|
19
|
+
sectionDiv.style.display='none';
|
20
|
+
button.src='closed.gif';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function initDynSections(){
|
24
|
+
var divs=document.getElementsByTagName('div');
|
25
|
+
var sectionCounter=1;
|
26
|
+
for(var i=0;i<divs.length-1;i++){
|
27
|
+
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
+
var header=divs[i];
|
29
|
+
var section=divs[i+1];
|
30
|
+
var button=header.firstChild;
|
31
|
+
if (button!='IMG'){
|
32
|
+
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
+
button=document.createElement('img');
|
34
|
+
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
+
}
|
36
|
+
header.style.cursor='pointer';
|
37
|
+
header.onclick=changeDisplayState;
|
38
|
+
header.id='dynheader'+sectionCounter;
|
39
|
+
button.src='closed.gif';
|
40
|
+
section.id='dynsection'+sectionCounter;
|
41
|
+
section.style.display='none';
|
42
|
+
section.style.marginLeft='14px';
|
43
|
+
sectionCounter++;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
window.onload = initDynSections;
|
48
|
+
-->
|
49
|
+
</script>
|
50
|
+
<div class="navigation" id="top">
|
51
|
+
<div class="tabs">
|
52
|
+
<ul>
|
53
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
56
|
+
</ul>
|
57
|
+
</div>
|
58
|
+
<div class="tabs">
|
59
|
+
<ul>
|
60
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
61
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
62
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
<div class="contents">
|
67
|
+
<h1>Gosu::Graphics Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a>, including all inherited members.<p><table>
|
68
|
+
<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
|
+
<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
|
+
<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>
|
71
|
+
<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
|
+
<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
|
+
<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>
|
74
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#019db9071f130d4a7c1a269065f54df7">drawTriangle</a>(double x1, double y1, Color c1, double x2, double y2, Color c2, double x3, double y3, Color c3, 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
|
+
<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
|
+
<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
|
+
<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>
|
78
|
+
<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
|
+
<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
|
+
<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>
|
81
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#2c81cc2bde977fdce58fd353b3d4a6c0">Graphics</a>(unsigned physicalWidth, unsigned physicalHeight, bool fullscreen)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
82
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#f1db946f6dba8e88d7239e523382c98a">height</a>() const </td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
83
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#325c631eb7e8ec63171c803d2cd59f26">setResolution</a>(unsigned virtualWidth, unsigned virtualHeight)</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
84
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#1e06d6eea03677546dd637e9b5b0b6bf">width</a>() const </td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
85
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_graphics.html#6010e7c7473d73bffe1e3239f07e6395">~Graphics</a>()</td><td><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td></td></tr>
|
86
|
+
</table></div>
|
87
|
+
<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>
|
88
|
+
</div>
|
89
|
+
</body>
|
90
|
+
</html>
|
@@ -0,0 +1,768 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Gosu C++ Reference</title>
|
4
|
+
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div class="everything">
|
8
|
+
<!-- Generated by Doxygen 1.5.8 -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
<!--
|
11
|
+
function changeDisplayState (e){
|
12
|
+
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
+
var button=this.firstChild;
|
14
|
+
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
+
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
+
sectionDiv.style.display='block';
|
17
|
+
button.src='open.gif';
|
18
|
+
}else{
|
19
|
+
sectionDiv.style.display='none';
|
20
|
+
button.src='closed.gif';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function initDynSections(){
|
24
|
+
var divs=document.getElementsByTagName('div');
|
25
|
+
var sectionCounter=1;
|
26
|
+
for(var i=0;i<divs.length-1;i++){
|
27
|
+
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
+
var header=divs[i];
|
29
|
+
var section=divs[i+1];
|
30
|
+
var button=header.firstChild;
|
31
|
+
if (button!='IMG'){
|
32
|
+
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
+
button=document.createElement('img');
|
34
|
+
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
+
}
|
36
|
+
header.style.cursor='pointer';
|
37
|
+
header.onclick=changeDisplayState;
|
38
|
+
header.id='dynheader'+sectionCounter;
|
39
|
+
button.src='closed.gif';
|
40
|
+
section.id='dynsection'+sectionCounter;
|
41
|
+
section.style.display='none';
|
42
|
+
section.style.marginLeft='14px';
|
43
|
+
sectionCounter++;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
window.onload = initDynSections;
|
48
|
+
-->
|
49
|
+
</script>
|
50
|
+
<div class="navigation" id="top">
|
51
|
+
<div class="tabs">
|
52
|
+
<ul>
|
53
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
56
|
+
</ul>
|
57
|
+
</div>
|
58
|
+
<div class="tabs">
|
59
|
+
<ul>
|
60
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
61
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
62
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
<div class="navpath"><b>Gosu</b>::<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="contents">
|
69
|
+
<h1>Gosu::Graphics Class Reference</h1><!-- doxytag: class="Gosu::Graphics" -->Serves as the target of all drawing and provides basic drawing functionality.
|
70
|
+
<a href="#_details">More...</a>
|
71
|
+
<p>
|
72
|
+
|
73
|
+
<p>
|
74
|
+
<a href="class_gosu_1_1_graphics-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
75
|
+
<tr><td></td></tr>
|
76
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
77
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#2c81cc2bde977fdce58fd353b3d4a6c0">Graphics</a> (unsigned physicalWidth, unsigned physicalHeight, bool fullscreen)</td></tr>
|
78
|
+
|
79
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#6010e7c7473d73bffe1e3239f07e6395">~Graphics</a> ()</td></tr>
|
80
|
+
|
81
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#710461bb379979d9e467898c494948b5">factorX</a> () const </td></tr>
|
82
|
+
|
83
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#baf5d3b9795a97104d841bef7ecc6d88">factorY</a> () const </td></tr>
|
84
|
+
|
85
|
+
<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#325c631eb7e8ec63171c803d2cd59f26">setResolution</a> (unsigned virtualWidth, unsigned virtualHeight)</td></tr>
|
86
|
+
|
87
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#1e06d6eea03677546dd637e9b5b0b6bf">width</a> () const </td></tr>
|
88
|
+
|
89
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_graphics.html#f1db946f6dba8e88d7239e523382c98a">height</a> () const </td></tr>
|
90
|
+
|
91
|
+
<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
|
+
<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
|
+
|
95
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Prepares the graphics object for drawing. <a href="#5cf453663573a90f6709146cefe4b9cd"></a><br></td></tr>
|
96
|
+
<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>
|
97
|
+
|
98
|
+
<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
|
+
<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
|
+
<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="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
|
+
<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="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
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enables clipping to a specified rectangle. <a href="#8d6d2a3931fc062a7411c69cdee1c4a2"></a><br></td></tr>
|
108
|
+
<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
|
+
<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#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, ZPos z, AlphaMode mode=amDefault)</td></tr>
|
112
|
+
|
113
|
+
<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>
|
115
|
+
|
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>
|
117
|
+
|
118
|
+
<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
|
+
|
120
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Turns a portion of a bitmap into something that can be drawn on this graphics object. <a href="#6b10629453eec979500179e4ceb11434"></a><br></td></tr>
|
121
|
+
</table>
|
122
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
123
|
+
Serves as the target of all drawing and provides basic drawing functionality.
|
124
|
+
<p>
|
125
|
+
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="_graphics_8hpp-source.html#l00024">24</a> of file <a class="el" href="_graphics_8hpp-source.html">Graphics.hpp</a>.</p>
|
127
|
+
<hr><h2>Constructor & Destructor Documentation</h2>
|
128
|
+
<a class="anchor" name="2c81cc2bde977fdce58fd353b3d4a6c0"></a><!-- doxytag: member="Gosu::Graphics::Graphics" ref="2c81cc2bde977fdce58fd353b3d4a6c0" args="(unsigned physicalWidth, unsigned physicalHeight, bool fullscreen)" -->
|
129
|
+
<div class="memitem">
|
130
|
+
<div class="memproto">
|
131
|
+
<table class="memname">
|
132
|
+
<tr>
|
133
|
+
<td class="memname">Gosu::Graphics::Graphics </td>
|
134
|
+
<td>(</td>
|
135
|
+
<td class="paramtype">unsigned </td>
|
136
|
+
<td class="paramname"> <em>physicalWidth</em>, </td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="paramkey"></td>
|
140
|
+
<td></td>
|
141
|
+
<td class="paramtype">unsigned </td>
|
142
|
+
<td class="paramname"> <em>physicalHeight</em>, </td>
|
143
|
+
</tr>
|
144
|
+
<tr>
|
145
|
+
<td class="paramkey"></td>
|
146
|
+
<td></td>
|
147
|
+
<td class="paramtype">bool </td>
|
148
|
+
<td class="paramname"> <em>fullscreen</em></td><td> </td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td></td>
|
152
|
+
<td>)</td>
|
153
|
+
<td></td><td></td><td></td>
|
154
|
+
</tr>
|
155
|
+
</table>
|
156
|
+
</div>
|
157
|
+
<div class="memdoc">
|
158
|
+
|
159
|
+
<p>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
</div><p>
|
163
|
+
<a class="anchor" name="6010e7c7473d73bffe1e3239f07e6395"></a><!-- doxytag: member="Gosu::Graphics::~Graphics" ref="6010e7c7473d73bffe1e3239f07e6395" args="()" -->
|
164
|
+
<div class="memitem">
|
165
|
+
<div class="memproto">
|
166
|
+
<table class="memname">
|
167
|
+
<tr>
|
168
|
+
<td class="memname">Gosu::Graphics::~Graphics </td>
|
169
|
+
<td>(</td>
|
170
|
+
<td class="paramname"> </td>
|
171
|
+
<td> ) </td>
|
172
|
+
<td></td>
|
173
|
+
</tr>
|
174
|
+
</table>
|
175
|
+
</div>
|
176
|
+
<div class="memdoc">
|
177
|
+
|
178
|
+
<p>
|
179
|
+
|
180
|
+
</div>
|
181
|
+
</div><p>
|
182
|
+
<hr><h2>Member Function Documentation</h2>
|
183
|
+
<a class="anchor" name="5cf453663573a90f6709146cefe4b9cd"></a><!-- doxytag: member="Gosu::Graphics::begin" ref="5cf453663573a90f6709146cefe4b9cd" args="(Color clearWithColor=Colors::black)" -->
|
184
|
+
<div class="memitem">
|
185
|
+
<div class="memproto">
|
186
|
+
<table class="memname">
|
187
|
+
<tr>
|
188
|
+
<td class="memname">bool Gosu::Graphics::begin </td>
|
189
|
+
<td>(</td>
|
190
|
+
<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>
|
192
|
+
<td> ) </td>
|
193
|
+
<td></td>
|
194
|
+
</tr>
|
195
|
+
</table>
|
196
|
+
</div>
|
197
|
+
<div class="memdoc">
|
198
|
+
|
199
|
+
<p>
|
200
|
+
Prepares the graphics object for drawing.
|
201
|
+
<p>
|
202
|
+
Nothing must be drawn without calling begin.
|
203
|
+
</div>
|
204
|
+
</div><p>
|
205
|
+
<a class="anchor" name="8d6d2a3931fc062a7411c69cdee1c4a2"></a><!-- doxytag: member="Gosu::Graphics::beginClipping" ref="8d6d2a3931fc062a7411c69cdee1c4a2" args="(int x, int y, unsigned width, unsigned height)" -->
|
206
|
+
<div class="memitem">
|
207
|
+
<div class="memproto">
|
208
|
+
<table class="memname">
|
209
|
+
<tr>
|
210
|
+
<td class="memname">void Gosu::Graphics::beginClipping </td>
|
211
|
+
<td>(</td>
|
212
|
+
<td class="paramtype">int </td>
|
213
|
+
<td class="paramname"> <em>x</em>, </td>
|
214
|
+
</tr>
|
215
|
+
<tr>
|
216
|
+
<td class="paramkey"></td>
|
217
|
+
<td></td>
|
218
|
+
<td class="paramtype">int </td>
|
219
|
+
<td class="paramname"> <em>y</em>, </td>
|
220
|
+
</tr>
|
221
|
+
<tr>
|
222
|
+
<td class="paramkey"></td>
|
223
|
+
<td></td>
|
224
|
+
<td class="paramtype">unsigned </td>
|
225
|
+
<td class="paramname"> <em>width</em>, </td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td class="paramkey"></td>
|
229
|
+
<td></td>
|
230
|
+
<td class="paramtype">unsigned </td>
|
231
|
+
<td class="paramname"> <em>height</em></td><td> </td>
|
232
|
+
</tr>
|
233
|
+
<tr>
|
234
|
+
<td></td>
|
235
|
+
<td>)</td>
|
236
|
+
<td></td><td></td><td></td>
|
237
|
+
</tr>
|
238
|
+
</table>
|
239
|
+
</div>
|
240
|
+
<div class="memdoc">
|
241
|
+
|
242
|
+
<p>
|
243
|
+
Enables clipping to a specified rectangle.
|
244
|
+
<p>
|
245
|
+
|
246
|
+
</div>
|
247
|
+
</div><p>
|
248
|
+
<a class="anchor" name="207f436a09bd02e11ddc474565912135"></a><!-- doxytag: member="Gosu::Graphics::beginGL" ref="207f436a09bd02e11ddc474565912135" args="()" -->
|
249
|
+
<div class="memitem">
|
250
|
+
<div class="memproto">
|
251
|
+
<table class="memname">
|
252
|
+
<tr>
|
253
|
+
<td class="memname">void Gosu::Graphics::beginGL </td>
|
254
|
+
<td>(</td>
|
255
|
+
<td class="paramname"> </td>
|
256
|
+
<td> ) </td>
|
257
|
+
<td></td>
|
258
|
+
</tr>
|
259
|
+
</table>
|
260
|
+
</div>
|
261
|
+
<div class="memdoc">
|
262
|
+
|
263
|
+
<p>
|
264
|
+
Finishes all pending Gosu drawing operations and executes the following OpenGL code in a clean environment.
|
265
|
+
<p>
|
266
|
+
|
267
|
+
</div>
|
268
|
+
</div><p>
|
269
|
+
<a class="anchor" name="6b10629453eec979500179e4ceb11434"></a><!-- doxytag: member="Gosu::Graphics::createImage" ref="6b10629453eec979500179e4ceb11434" args="(const Bitmap &src, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, unsigned borderFlags)" -->
|
270
|
+
<div class="memitem">
|
271
|
+
<div class="memproto">
|
272
|
+
<table class="memname">
|
273
|
+
<tr>
|
274
|
+
<td class="memname">std::auto_ptr<<a class="el" href="class_gosu_1_1_image_data.html">ImageData</a>> Gosu::Graphics::createImage </td>
|
275
|
+
<td>(</td>
|
276
|
+
<td class="paramtype">const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> & </td>
|
277
|
+
<td class="paramname"> <em>src</em>, </td>
|
278
|
+
</tr>
|
279
|
+
<tr>
|
280
|
+
<td class="paramkey"></td>
|
281
|
+
<td></td>
|
282
|
+
<td class="paramtype">unsigned </td>
|
283
|
+
<td class="paramname"> <em>srcX</em>, </td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="paramkey"></td>
|
287
|
+
<td></td>
|
288
|
+
<td class="paramtype">unsigned </td>
|
289
|
+
<td class="paramname"> <em>srcY</em>, </td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td class="paramkey"></td>
|
293
|
+
<td></td>
|
294
|
+
<td class="paramtype">unsigned </td>
|
295
|
+
<td class="paramname"> <em>srcWidth</em>, </td>
|
296
|
+
</tr>
|
297
|
+
<tr>
|
298
|
+
<td class="paramkey"></td>
|
299
|
+
<td></td>
|
300
|
+
<td class="paramtype">unsigned </td>
|
301
|
+
<td class="paramname"> <em>srcHeight</em>, </td>
|
302
|
+
</tr>
|
303
|
+
<tr>
|
304
|
+
<td class="paramkey"></td>
|
305
|
+
<td></td>
|
306
|
+
<td class="paramtype">unsigned </td>
|
307
|
+
<td class="paramname"> <em>borderFlags</em></td><td> </td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td></td>
|
311
|
+
<td>)</td>
|
312
|
+
<td></td><td></td><td></td>
|
313
|
+
</tr>
|
314
|
+
</table>
|
315
|
+
</div>
|
316
|
+
<div class="memdoc">
|
317
|
+
|
318
|
+
<p>
|
319
|
+
Turns a portion of a bitmap into something that can be drawn on this graphics object.
|
320
|
+
<p>
|
321
|
+
|
322
|
+
</div>
|
323
|
+
</div><p>
|
324
|
+
<a class="anchor" name="cccecf39a52c5a4307f76db0e5128494"></a><!-- doxytag: member="Gosu::Graphics::drawLine" ref="cccecf39a52c5a4307f76db0e5128494" args="(double x1, double y1, Color c1, double x2, double y2, Color c2, ZPos z, AlphaMode mode=amDefault)" -->
|
325
|
+
<div class="memitem">
|
326
|
+
<div class="memproto">
|
327
|
+
<table class="memname">
|
328
|
+
<tr>
|
329
|
+
<td class="memname">void Gosu::Graphics::drawLine </td>
|
330
|
+
<td>(</td>
|
331
|
+
<td class="paramtype">double </td>
|
332
|
+
<td class="paramname"> <em>x1</em>, </td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td class="paramkey"></td>
|
336
|
+
<td></td>
|
337
|
+
<td class="paramtype">double </td>
|
338
|
+
<td class="paramname"> <em>y1</em>, </td>
|
339
|
+
</tr>
|
340
|
+
<tr>
|
341
|
+
<td class="paramkey"></td>
|
342
|
+
<td></td>
|
343
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
344
|
+
<td class="paramname"> <em>c1</em>, </td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td class="paramkey"></td>
|
348
|
+
<td></td>
|
349
|
+
<td class="paramtype">double </td>
|
350
|
+
<td class="paramname"> <em>x2</em>, </td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td class="paramkey"></td>
|
354
|
+
<td></td>
|
355
|
+
<td class="paramtype">double </td>
|
356
|
+
<td class="paramname"> <em>y2</em>, </td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td class="paramkey"></td>
|
360
|
+
<td></td>
|
361
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
362
|
+
<td class="paramname"> <em>c2</em>, </td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td class="paramkey"></td>
|
366
|
+
<td></td>
|
367
|
+
<td class="paramtype">ZPos </td>
|
368
|
+
<td class="paramname"> <em>z</em>, </td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td class="paramkey"></td>
|
372
|
+
<td></td>
|
373
|
+
<td class="paramtype">AlphaMode </td>
|
374
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
375
|
+
</tr>
|
376
|
+
<tr>
|
377
|
+
<td></td>
|
378
|
+
<td>)</td>
|
379
|
+
<td></td><td></td><td></td>
|
380
|
+
</tr>
|
381
|
+
</table>
|
382
|
+
</div>
|
383
|
+
<div class="memdoc">
|
384
|
+
|
385
|
+
<p>
|
386
|
+
Draws a line from one point to another (last pixel exclusive).
|
387
|
+
<p>
|
388
|
+
|
389
|
+
</div>
|
390
|
+
</div><p>
|
391
|
+
<a class="anchor" name="21214cced892d42e1c482d86bec76ca9"></a><!-- doxytag: member="Gosu::Graphics::drawQuad" ref="21214cced892d42e1c482d86bec76ca9" args="(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)" -->
|
392
|
+
<div class="memitem">
|
393
|
+
<div class="memproto">
|
394
|
+
<table class="memname">
|
395
|
+
<tr>
|
396
|
+
<td class="memname">void Gosu::Graphics::drawQuad </td>
|
397
|
+
<td>(</td>
|
398
|
+
<td class="paramtype">double </td>
|
399
|
+
<td class="paramname"> <em>x1</em>, </td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td class="paramkey"></td>
|
403
|
+
<td></td>
|
404
|
+
<td class="paramtype">double </td>
|
405
|
+
<td class="paramname"> <em>y1</em>, </td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<td class="paramkey"></td>
|
409
|
+
<td></td>
|
410
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
411
|
+
<td class="paramname"> <em>c1</em>, </td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td class="paramkey"></td>
|
415
|
+
<td></td>
|
416
|
+
<td class="paramtype">double </td>
|
417
|
+
<td class="paramname"> <em>x2</em>, </td>
|
418
|
+
</tr>
|
419
|
+
<tr>
|
420
|
+
<td class="paramkey"></td>
|
421
|
+
<td></td>
|
422
|
+
<td class="paramtype">double </td>
|
423
|
+
<td class="paramname"> <em>y2</em>, </td>
|
424
|
+
</tr>
|
425
|
+
<tr>
|
426
|
+
<td class="paramkey"></td>
|
427
|
+
<td></td>
|
428
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
429
|
+
<td class="paramname"> <em>c2</em>, </td>
|
430
|
+
</tr>
|
431
|
+
<tr>
|
432
|
+
<td class="paramkey"></td>
|
433
|
+
<td></td>
|
434
|
+
<td class="paramtype">double </td>
|
435
|
+
<td class="paramname"> <em>x3</em>, </td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td class="paramkey"></td>
|
439
|
+
<td></td>
|
440
|
+
<td class="paramtype">double </td>
|
441
|
+
<td class="paramname"> <em>y3</em>, </td>
|
442
|
+
</tr>
|
443
|
+
<tr>
|
444
|
+
<td class="paramkey"></td>
|
445
|
+
<td></td>
|
446
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
447
|
+
<td class="paramname"> <em>c3</em>, </td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td class="paramkey"></td>
|
451
|
+
<td></td>
|
452
|
+
<td class="paramtype">double </td>
|
453
|
+
<td class="paramname"> <em>x4</em>, </td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td class="paramkey"></td>
|
457
|
+
<td></td>
|
458
|
+
<td class="paramtype">double </td>
|
459
|
+
<td class="paramname"> <em>y4</em>, </td>
|
460
|
+
</tr>
|
461
|
+
<tr>
|
462
|
+
<td class="paramkey"></td>
|
463
|
+
<td></td>
|
464
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
465
|
+
<td class="paramname"> <em>c4</em>, </td>
|
466
|
+
</tr>
|
467
|
+
<tr>
|
468
|
+
<td class="paramkey"></td>
|
469
|
+
<td></td>
|
470
|
+
<td class="paramtype">ZPos </td>
|
471
|
+
<td class="paramname"> <em>z</em>, </td>
|
472
|
+
</tr>
|
473
|
+
<tr>
|
474
|
+
<td class="paramkey"></td>
|
475
|
+
<td></td>
|
476
|
+
<td class="paramtype">AlphaMode </td>
|
477
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
478
|
+
</tr>
|
479
|
+
<tr>
|
480
|
+
<td></td>
|
481
|
+
<td>)</td>
|
482
|
+
<td></td><td></td><td></td>
|
483
|
+
</tr>
|
484
|
+
</table>
|
485
|
+
</div>
|
486
|
+
<div class="memdoc">
|
487
|
+
|
488
|
+
<p>
|
489
|
+
|
490
|
+
</div>
|
491
|
+
</div><p>
|
492
|
+
<a class="anchor" name="019db9071f130d4a7c1a269065f54df7"></a><!-- doxytag: member="Gosu::Graphics::drawTriangle" ref="019db9071f130d4a7c1a269065f54df7" args="(double x1, double y1, Color c1, double x2, double y2, Color c2, double x3, double y3, Color c3, ZPos z, AlphaMode mode=amDefault)" -->
|
493
|
+
<div class="memitem">
|
494
|
+
<div class="memproto">
|
495
|
+
<table class="memname">
|
496
|
+
<tr>
|
497
|
+
<td class="memname">void Gosu::Graphics::drawTriangle </td>
|
498
|
+
<td>(</td>
|
499
|
+
<td class="paramtype">double </td>
|
500
|
+
<td class="paramname"> <em>x1</em>, </td>
|
501
|
+
</tr>
|
502
|
+
<tr>
|
503
|
+
<td class="paramkey"></td>
|
504
|
+
<td></td>
|
505
|
+
<td class="paramtype">double </td>
|
506
|
+
<td class="paramname"> <em>y1</em>, </td>
|
507
|
+
</tr>
|
508
|
+
<tr>
|
509
|
+
<td class="paramkey"></td>
|
510
|
+
<td></td>
|
511
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
512
|
+
<td class="paramname"> <em>c1</em>, </td>
|
513
|
+
</tr>
|
514
|
+
<tr>
|
515
|
+
<td class="paramkey"></td>
|
516
|
+
<td></td>
|
517
|
+
<td class="paramtype">double </td>
|
518
|
+
<td class="paramname"> <em>x2</em>, </td>
|
519
|
+
</tr>
|
520
|
+
<tr>
|
521
|
+
<td class="paramkey"></td>
|
522
|
+
<td></td>
|
523
|
+
<td class="paramtype">double </td>
|
524
|
+
<td class="paramname"> <em>y2</em>, </td>
|
525
|
+
</tr>
|
526
|
+
<tr>
|
527
|
+
<td class="paramkey"></td>
|
528
|
+
<td></td>
|
529
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
530
|
+
<td class="paramname"> <em>c2</em>, </td>
|
531
|
+
</tr>
|
532
|
+
<tr>
|
533
|
+
<td class="paramkey"></td>
|
534
|
+
<td></td>
|
535
|
+
<td class="paramtype">double </td>
|
536
|
+
<td class="paramname"> <em>x3</em>, </td>
|
537
|
+
</tr>
|
538
|
+
<tr>
|
539
|
+
<td class="paramkey"></td>
|
540
|
+
<td></td>
|
541
|
+
<td class="paramtype">double </td>
|
542
|
+
<td class="paramname"> <em>y3</em>, </td>
|
543
|
+
</tr>
|
544
|
+
<tr>
|
545
|
+
<td class="paramkey"></td>
|
546
|
+
<td></td>
|
547
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
548
|
+
<td class="paramname"> <em>c3</em>, </td>
|
549
|
+
</tr>
|
550
|
+
<tr>
|
551
|
+
<td class="paramkey"></td>
|
552
|
+
<td></td>
|
553
|
+
<td class="paramtype">ZPos </td>
|
554
|
+
<td class="paramname"> <em>z</em>, </td>
|
555
|
+
</tr>
|
556
|
+
<tr>
|
557
|
+
<td class="paramkey"></td>
|
558
|
+
<td></td>
|
559
|
+
<td class="paramtype">AlphaMode </td>
|
560
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
561
|
+
</tr>
|
562
|
+
<tr>
|
563
|
+
<td></td>
|
564
|
+
<td>)</td>
|
565
|
+
<td></td><td></td><td></td>
|
566
|
+
</tr>
|
567
|
+
</table>
|
568
|
+
</div>
|
569
|
+
<div class="memdoc">
|
570
|
+
|
571
|
+
<p>
|
572
|
+
|
573
|
+
</div>
|
574
|
+
</div><p>
|
575
|
+
<a class="anchor" name="ddeab66c3a18c0a12df43067de841b71"></a><!-- doxytag: member="Gosu::Graphics::end" ref="ddeab66c3a18c0a12df43067de841b71" args="()" -->
|
576
|
+
<div class="memitem">
|
577
|
+
<div class="memproto">
|
578
|
+
<table class="memname">
|
579
|
+
<tr>
|
580
|
+
<td class="memname">void Gosu::Graphics::end </td>
|
581
|
+
<td>(</td>
|
582
|
+
<td class="paramname"> </td>
|
583
|
+
<td> ) </td>
|
584
|
+
<td></td>
|
585
|
+
</tr>
|
586
|
+
</table>
|
587
|
+
</div>
|
588
|
+
<div class="memdoc">
|
589
|
+
|
590
|
+
<p>
|
591
|
+
Every call to begin must have a matching call to end.
|
592
|
+
<p>
|
593
|
+
|
594
|
+
</div>
|
595
|
+
</div><p>
|
596
|
+
<a class="anchor" name="b71d990078f8fb93ef5d93f625fec172"></a><!-- doxytag: member="Gosu::Graphics::endClipping" ref="b71d990078f8fb93ef5d93f625fec172" args="()" -->
|
597
|
+
<div class="memitem">
|
598
|
+
<div class="memproto">
|
599
|
+
<table class="memname">
|
600
|
+
<tr>
|
601
|
+
<td class="memname">void Gosu::Graphics::endClipping </td>
|
602
|
+
<td>(</td>
|
603
|
+
<td class="paramname"> </td>
|
604
|
+
<td> ) </td>
|
605
|
+
<td></td>
|
606
|
+
</tr>
|
607
|
+
</table>
|
608
|
+
</div>
|
609
|
+
<div class="memdoc">
|
610
|
+
|
611
|
+
<p>
|
612
|
+
Disables clipping.
|
613
|
+
<p>
|
614
|
+
|
615
|
+
</div>
|
616
|
+
</div><p>
|
617
|
+
<a class="anchor" name="3e37d9b17e55fa5f6d3ad6116759364f"></a><!-- doxytag: member="Gosu::Graphics::endGL" ref="3e37d9b17e55fa5f6d3ad6116759364f" args="()" -->
|
618
|
+
<div class="memitem">
|
619
|
+
<div class="memproto">
|
620
|
+
<table class="memname">
|
621
|
+
<tr>
|
622
|
+
<td class="memname">void Gosu::Graphics::endGL </td>
|
623
|
+
<td>(</td>
|
624
|
+
<td class="paramname"> </td>
|
625
|
+
<td> ) </td>
|
626
|
+
<td></td>
|
627
|
+
</tr>
|
628
|
+
</table>
|
629
|
+
</div>
|
630
|
+
<div class="memdoc">
|
631
|
+
|
632
|
+
<p>
|
633
|
+
Resets Gosu into its default rendering state.
|
634
|
+
<p>
|
635
|
+
|
636
|
+
</div>
|
637
|
+
</div><p>
|
638
|
+
<a class="anchor" name="710461bb379979d9e467898c494948b5"></a><!-- doxytag: member="Gosu::Graphics::factorX" ref="710461bb379979d9e467898c494948b5" args="() const " -->
|
639
|
+
<div class="memitem">
|
640
|
+
<div class="memproto">
|
641
|
+
<table class="memname">
|
642
|
+
<tr>
|
643
|
+
<td class="memname">double Gosu::Graphics::factorX </td>
|
644
|
+
<td>(</td>
|
645
|
+
<td class="paramname"> </td>
|
646
|
+
<td> ) </td>
|
647
|
+
<td> const</td>
|
648
|
+
</tr>
|
649
|
+
</table>
|
650
|
+
</div>
|
651
|
+
<div class="memdoc">
|
652
|
+
|
653
|
+
<p>
|
654
|
+
|
655
|
+
</div>
|
656
|
+
</div><p>
|
657
|
+
<a class="anchor" name="baf5d3b9795a97104d841bef7ecc6d88"></a><!-- doxytag: member="Gosu::Graphics::factorY" ref="baf5d3b9795a97104d841bef7ecc6d88" args="() const " -->
|
658
|
+
<div class="memitem">
|
659
|
+
<div class="memproto">
|
660
|
+
<table class="memname">
|
661
|
+
<tr>
|
662
|
+
<td class="memname">double Gosu::Graphics::factorY </td>
|
663
|
+
<td>(</td>
|
664
|
+
<td class="paramname"> </td>
|
665
|
+
<td> ) </td>
|
666
|
+
<td> const</td>
|
667
|
+
</tr>
|
668
|
+
</table>
|
669
|
+
</div>
|
670
|
+
<div class="memdoc">
|
671
|
+
|
672
|
+
<p>
|
673
|
+
|
674
|
+
</div>
|
675
|
+
</div><p>
|
676
|
+
<a class="anchor" name="730cc192034ee1070b2017d41fe7e89e"></a><!-- doxytag: member="Gosu::Graphics::fullscreen" ref="730cc192034ee1070b2017d41fe7e89e" args="() const " -->
|
677
|
+
<div class="memitem">
|
678
|
+
<div class="memproto">
|
679
|
+
<table class="memname">
|
680
|
+
<tr>
|
681
|
+
<td class="memname">bool Gosu::Graphics::fullscreen </td>
|
682
|
+
<td>(</td>
|
683
|
+
<td class="paramname"> </td>
|
684
|
+
<td> ) </td>
|
685
|
+
<td> const</td>
|
686
|
+
</tr>
|
687
|
+
</table>
|
688
|
+
</div>
|
689
|
+
<div class="memdoc">
|
690
|
+
|
691
|
+
<p>
|
692
|
+
|
693
|
+
</div>
|
694
|
+
</div><p>
|
695
|
+
<a class="anchor" name="f1db946f6dba8e88d7239e523382c98a"></a><!-- doxytag: member="Gosu::Graphics::height" ref="f1db946f6dba8e88d7239e523382c98a" args="() const " -->
|
696
|
+
<div class="memitem">
|
697
|
+
<div class="memproto">
|
698
|
+
<table class="memname">
|
699
|
+
<tr>
|
700
|
+
<td class="memname">unsigned Gosu::Graphics::height </td>
|
701
|
+
<td>(</td>
|
702
|
+
<td class="paramname"> </td>
|
703
|
+
<td> ) </td>
|
704
|
+
<td> const</td>
|
705
|
+
</tr>
|
706
|
+
</table>
|
707
|
+
</div>
|
708
|
+
<div class="memdoc">
|
709
|
+
|
710
|
+
<p>
|
711
|
+
|
712
|
+
</div>
|
713
|
+
</div><p>
|
714
|
+
<a class="anchor" name="325c631eb7e8ec63171c803d2cd59f26"></a><!-- doxytag: member="Gosu::Graphics::setResolution" ref="325c631eb7e8ec63171c803d2cd59f26" args="(unsigned virtualWidth, unsigned virtualHeight)" -->
|
715
|
+
<div class="memitem">
|
716
|
+
<div class="memproto">
|
717
|
+
<table class="memname">
|
718
|
+
<tr>
|
719
|
+
<td class="memname">void Gosu::Graphics::setResolution </td>
|
720
|
+
<td>(</td>
|
721
|
+
<td class="paramtype">unsigned </td>
|
722
|
+
<td class="paramname"> <em>virtualWidth</em>, </td>
|
723
|
+
</tr>
|
724
|
+
<tr>
|
725
|
+
<td class="paramkey"></td>
|
726
|
+
<td></td>
|
727
|
+
<td class="paramtype">unsigned </td>
|
728
|
+
<td class="paramname"> <em>virtualHeight</em></td><td> </td>
|
729
|
+
</tr>
|
730
|
+
<tr>
|
731
|
+
<td></td>
|
732
|
+
<td>)</td>
|
733
|
+
<td></td><td></td><td></td>
|
734
|
+
</tr>
|
735
|
+
</table>
|
736
|
+
</div>
|
737
|
+
<div class="memdoc">
|
738
|
+
|
739
|
+
<p>
|
740
|
+
|
741
|
+
</div>
|
742
|
+
</div><p>
|
743
|
+
<a class="anchor" name="1e06d6eea03677546dd637e9b5b0b6bf"></a><!-- doxytag: member="Gosu::Graphics::width" ref="1e06d6eea03677546dd637e9b5b0b6bf" args="() const " -->
|
744
|
+
<div class="memitem">
|
745
|
+
<div class="memproto">
|
746
|
+
<table class="memname">
|
747
|
+
<tr>
|
748
|
+
<td class="memname">unsigned Gosu::Graphics::width </td>
|
749
|
+
<td>(</td>
|
750
|
+
<td class="paramname"> </td>
|
751
|
+
<td> ) </td>
|
752
|
+
<td> const</td>
|
753
|
+
</tr>
|
754
|
+
</table>
|
755
|
+
</div>
|
756
|
+
<div class="memdoc">
|
757
|
+
|
758
|
+
<p>
|
759
|
+
|
760
|
+
</div>
|
761
|
+
</div><p>
|
762
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
763
|
+
<li><a class="el" href="_graphics_8hpp-source.html">Graphics.hpp</a></ul>
|
764
|
+
</div>
|
765
|
+
<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
|
+
</div>
|
767
|
+
</body>
|
768
|
+
</html>
|