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,85 @@
|
|
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::Image Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a>, including all inherited members.<p><table>
|
68
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#7e6de0cae934109ba6c96434767f9540">draw</a>(double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
69
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#6ee7e13d1def74cbf5e974fdc3b045a1">drawMod</a>(double x, double y, ZPos z, double factorX, double factorY, Color c1, Color c2, Color c3, Color c4, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
70
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#9333d4cb15b761020a82a41357ccb674">drawRot</a>(double x, double y, ZPos z, double angle, double centerX=0.5, double centerY=0.5, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
71
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#07c83052d6a269c893cdc0b5f5d1329f">drawRotFlip</a>(double x, double y, ZPos z, RotFlip rf, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
72
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#9ed4e6ba8c9ac296ff8550c0036f093d">drawRotFlipMod</a>(double x, double y, ZPos z, RotFlip rf, double factorX, double factorY, Color c1, Color c2, Color c3, Color c4, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
73
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#cbd542bae8e42ccc72442326e578c2c2">getData</a>() const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
74
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#5a9153540e0da81a46f0262c50195c04">height</a>() const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
75
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#c055237e043f147da45132de80b2caa0">Image</a>(Graphics &graphics, const std::wstring &filename, bool tileable=false)</td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
76
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#62a45f156290c23dffbeeb288b33eefa">Image</a>(Graphics &graphics, const std::wstring &filename, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool tileable=false)</td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
77
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#572bc09a74724ab949495e5bd9b61261">Image</a>(Graphics &graphics, const Bitmap &source, bool tileable=false)</td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
78
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#55f6e75052132437c11feb0520825e10">Image</a>(Graphics &graphics, const Bitmap &source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool tileable=false)</td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
79
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#d9eb15c02f9bb1136a7bb4b988696a97">width</a>() const </td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
80
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_image.html#8ddd8cdd69df27f9dd8427df0930a7a6">~Image</a>()</td><td><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td></td></tr>
|
81
|
+
</table></div>
|
82
|
+
<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>
|
83
|
+
</div>
|
84
|
+
</body>
|
85
|
+
</html>
|
@@ -0,0 +1,771 @@
|
|
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_image.html">Image</a>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="contents">
|
69
|
+
<h1>Gosu::Image Class Reference</h1><!-- doxytag: class="Gosu::Image" -->Provides functionality for drawing rectangular images.
|
70
|
+
<a href="#_details">More...</a>
|
71
|
+
<p>
|
72
|
+
|
73
|
+
<p>
|
74
|
+
<a href="class_gosu_1_1_image-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_image.html#c055237e043f147da45132de80b2caa0">Image</a> (<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> &graphics, const std::wstring &filename, bool tileable=false)</td></tr>
|
78
|
+
|
79
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Loads an image from a given filename that can be drawn onto graphics. <a href="#c055237e043f147da45132de80b2caa0"></a><br></td></tr>
|
80
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#62a45f156290c23dffbeeb288b33eefa">Image</a> (<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> &graphics, const std::wstring &filename, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool tileable=false)</td></tr>
|
81
|
+
|
82
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a portion of the the image at the given filename that can be drawn onto graphics. <a href="#62a45f156290c23dffbeeb288b33eefa"></a><br></td></tr>
|
83
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#572bc09a74724ab949495e5bd9b61261">Image</a> (<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> &graphics, const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> &source, bool tileable=false)</td></tr>
|
84
|
+
|
85
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Converts the given bitmap into an image that can be drawn onto graphics. <a href="#572bc09a74724ab949495e5bd9b61261"></a><br></td></tr>
|
86
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#55f6e75052132437c11feb0520825e10">Image</a> (<a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> &graphics, const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> &source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool tileable=false)</td></tr>
|
87
|
+
|
88
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Converts a portion of the given bitmap into an image that can be drawn onto graphics. <a href="#55f6e75052132437c11feb0520825e10"></a><br></td></tr>
|
89
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#8ddd8cdd69df27f9dd8427df0930a7a6">~Image</a> ()</td></tr>
|
90
|
+
|
91
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#d9eb15c02f9bb1136a7bb4b988696a97">width</a> () const </td></tr>
|
92
|
+
|
93
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#5a9153540e0da81a46f0262c50195c04">height</a> () const </td></tr>
|
94
|
+
|
95
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#7e6de0cae934109ba6c96434767f9540">draw</a> (double x, double y, ZPos z, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=Colors::white, AlphaMode mode=amDefault) const </td></tr>
|
96
|
+
|
97
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws the image so its upper left corner is at (x; y). <a href="#7e6de0cae934109ba6c96434767f9540"></a><br></td></tr>
|
98
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#6ee7e13d1def74cbf5e974fdc3b045a1">drawMod</a> (double x, double y, ZPos z, double factorX, double factorY, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c3, <a class="el" href="class_gosu_1_1_color.html">Color</a> c4, AlphaMode mode=amDefault) const </td></tr>
|
99
|
+
|
100
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Like <a class="el" href="class_gosu_1_1_image.html#7e6de0cae934109ba6c96434767f9540" title="Draws the image so its upper left corner is at (x; y).">draw()</a>, but allows to give modulation colors for all four corners. <a href="#6ee7e13d1def74cbf5e974fdc3b045a1"></a><br></td></tr>
|
101
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#9333d4cb15b761020a82a41357ccb674">drawRot</a> (double x, double y, ZPos z, double angle, double centerX=0.5, double centerY=0.5, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=Colors::white, AlphaMode mode=amDefault) const </td></tr>
|
102
|
+
|
103
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws the image rotated by the given angle so that its rotation center is at (x; y). <a href="#9333d4cb15b761020a82a41357ccb674"></a><br></td></tr>
|
104
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#07c83052d6a269c893cdc0b5f5d1329f">drawRotFlip</a> (double x, double y, ZPos z, <a class="el" href="class_gosu_1_1_rot_flip.html">RotFlip</a> rf, double factorX=1, double factorY=1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=Colors::white, AlphaMode mode=amDefault) const </td></tr>
|
105
|
+
|
106
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_image.html#9ed4e6ba8c9ac296ff8550c0036f093d">drawRotFlipMod</a> (double x, double y, ZPos z, <a class="el" href="class_gosu_1_1_rot_flip.html">RotFlip</a> rf, double factorX, double factorY, <a class="el" href="class_gosu_1_1_color.html">Color</a> c1, <a class="el" href="class_gosu_1_1_color.html">Color</a> c2, <a class="el" href="class_gosu_1_1_color.html">Color</a> c3, <a class="el" href="class_gosu_1_1_color.html">Color</a> c4, AlphaMode mode=amDefault) const </td></tr>
|
107
|
+
|
108
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <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_image.html#cbd542bae8e42ccc72442326e578c2c2">getData</a> () const </td></tr>
|
109
|
+
|
110
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying image data object. <a href="#cbd542bae8e42ccc72442326e578c2c2"></a><br></td></tr>
|
111
|
+
</table>
|
112
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
113
|
+
Provides functionality for drawing rectangular images.
|
114
|
+
<p>Definition at line <a class="el" href="_image_8hpp-source.html#l00015">15</a> of file <a class="el" href="_image_8hpp-source.html">Image.hpp</a>.</p>
|
115
|
+
<hr><h2>Constructor & Destructor Documentation</h2>
|
116
|
+
<a class="anchor" name="c055237e043f147da45132de80b2caa0"></a><!-- doxytag: member="Gosu::Image::Image" ref="c055237e043f147da45132de80b2caa0" args="(Graphics &graphics, const std::wstring &filename, bool tileable=false)" -->
|
117
|
+
<div class="memitem">
|
118
|
+
<div class="memproto">
|
119
|
+
<table class="memname">
|
120
|
+
<tr>
|
121
|
+
<td class="memname">Gosu::Image::Image </td>
|
122
|
+
<td>(</td>
|
123
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> & </td>
|
124
|
+
<td class="paramname"> <em>graphics</em>, </td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="paramkey"></td>
|
128
|
+
<td></td>
|
129
|
+
<td class="paramtype">const std::wstring & </td>
|
130
|
+
<td class="paramname"> <em>filename</em>, </td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="paramkey"></td>
|
134
|
+
<td></td>
|
135
|
+
<td class="paramtype">bool </td>
|
136
|
+
<td class="paramname"> <em>tileable</em> = <code>false</code></td><td> </td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td></td>
|
140
|
+
<td>)</td>
|
141
|
+
<td></td><td></td><td></td>
|
142
|
+
</tr>
|
143
|
+
</table>
|
144
|
+
</div>
|
145
|
+
<div class="memdoc">
|
146
|
+
|
147
|
+
<p>
|
148
|
+
Loads an image from a given filename that can be drawn onto graphics.
|
149
|
+
<p>
|
150
|
+
This constructor can handle PNG and BMP images. A color key of ff00ff is automatically applied to BMP type images. For more flexibility, use the corresponding constructor that uses a <a class="el" href="class_gosu_1_1_bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a> object.
|
151
|
+
</div>
|
152
|
+
</div><p>
|
153
|
+
<a class="anchor" name="62a45f156290c23dffbeeb288b33eefa"></a><!-- doxytag: member="Gosu::Image::Image" ref="62a45f156290c23dffbeeb288b33eefa" args="(Graphics &graphics, const std::wstring &filename, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool tileable=false)" -->
|
154
|
+
<div class="memitem">
|
155
|
+
<div class="memproto">
|
156
|
+
<table class="memname">
|
157
|
+
<tr>
|
158
|
+
<td class="memname">Gosu::Image::Image </td>
|
159
|
+
<td>(</td>
|
160
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> & </td>
|
161
|
+
<td class="paramname"> <em>graphics</em>, </td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="paramkey"></td>
|
165
|
+
<td></td>
|
166
|
+
<td class="paramtype">const std::wstring & </td>
|
167
|
+
<td class="paramname"> <em>filename</em>, </td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td class="paramkey"></td>
|
171
|
+
<td></td>
|
172
|
+
<td class="paramtype">unsigned </td>
|
173
|
+
<td class="paramname"> <em>srcX</em>, </td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td class="paramkey"></td>
|
177
|
+
<td></td>
|
178
|
+
<td class="paramtype">unsigned </td>
|
179
|
+
<td class="paramname"> <em>srcY</em>, </td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td class="paramkey"></td>
|
183
|
+
<td></td>
|
184
|
+
<td class="paramtype">unsigned </td>
|
185
|
+
<td class="paramname"> <em>srcWidth</em>, </td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="paramkey"></td>
|
189
|
+
<td></td>
|
190
|
+
<td class="paramtype">unsigned </td>
|
191
|
+
<td class="paramname"> <em>srcHeight</em>, </td>
|
192
|
+
</tr>
|
193
|
+
<tr>
|
194
|
+
<td class="paramkey"></td>
|
195
|
+
<td></td>
|
196
|
+
<td class="paramtype">bool </td>
|
197
|
+
<td class="paramname"> <em>tileable</em> = <code>false</code></td><td> </td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td></td>
|
201
|
+
<td>)</td>
|
202
|
+
<td></td><td></td><td></td>
|
203
|
+
</tr>
|
204
|
+
</table>
|
205
|
+
</div>
|
206
|
+
<div class="memdoc">
|
207
|
+
|
208
|
+
<p>
|
209
|
+
Loads a portion of the the image at the given filename that can be drawn onto graphics.
|
210
|
+
<p>
|
211
|
+
This constructor can handle PNG and BMP images. A color key of ff00ff is automatically applied to BMP type images. For more flexibility, use the corresponding constructor that uses a <a class="el" href="class_gosu_1_1_bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a> object.
|
212
|
+
</div>
|
213
|
+
</div><p>
|
214
|
+
<a class="anchor" name="572bc09a74724ab949495e5bd9b61261"></a><!-- doxytag: member="Gosu::Image::Image" ref="572bc09a74724ab949495e5bd9b61261" args="(Graphics &graphics, const Bitmap &source, bool tileable=false)" -->
|
215
|
+
<div class="memitem">
|
216
|
+
<div class="memproto">
|
217
|
+
<table class="memname">
|
218
|
+
<tr>
|
219
|
+
<td class="memname">Gosu::Image::Image </td>
|
220
|
+
<td>(</td>
|
221
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> & </td>
|
222
|
+
<td class="paramname"> <em>graphics</em>, </td>
|
223
|
+
</tr>
|
224
|
+
<tr>
|
225
|
+
<td class="paramkey"></td>
|
226
|
+
<td></td>
|
227
|
+
<td class="paramtype">const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> & </td>
|
228
|
+
<td class="paramname"> <em>source</em>, </td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td class="paramkey"></td>
|
232
|
+
<td></td>
|
233
|
+
<td class="paramtype">bool </td>
|
234
|
+
<td class="paramname"> <em>tileable</em> = <code>false</code></td><td> </td>
|
235
|
+
</tr>
|
236
|
+
<tr>
|
237
|
+
<td></td>
|
238
|
+
<td>)</td>
|
239
|
+
<td></td><td></td><td></td>
|
240
|
+
</tr>
|
241
|
+
</table>
|
242
|
+
</div>
|
243
|
+
<div class="memdoc">
|
244
|
+
|
245
|
+
<p>
|
246
|
+
Converts the given bitmap into an image that can be drawn onto graphics.
|
247
|
+
<p>
|
248
|
+
|
249
|
+
</div>
|
250
|
+
</div><p>
|
251
|
+
<a class="anchor" name="55f6e75052132437c11feb0520825e10"></a><!-- doxytag: member="Gosu::Image::Image" ref="55f6e75052132437c11feb0520825e10" args="(Graphics &graphics, const Bitmap &source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, bool tileable=false)" -->
|
252
|
+
<div class="memitem">
|
253
|
+
<div class="memproto">
|
254
|
+
<table class="memname">
|
255
|
+
<tr>
|
256
|
+
<td class="memname">Gosu::Image::Image </td>
|
257
|
+
<td>(</td>
|
258
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_graphics.html">Graphics</a> & </td>
|
259
|
+
<td class="paramname"> <em>graphics</em>, </td>
|
260
|
+
</tr>
|
261
|
+
<tr>
|
262
|
+
<td class="paramkey"></td>
|
263
|
+
<td></td>
|
264
|
+
<td class="paramtype">const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> & </td>
|
265
|
+
<td class="paramname"> <em>source</em>, </td>
|
266
|
+
</tr>
|
267
|
+
<tr>
|
268
|
+
<td class="paramkey"></td>
|
269
|
+
<td></td>
|
270
|
+
<td class="paramtype">unsigned </td>
|
271
|
+
<td class="paramname"> <em>srcX</em>, </td>
|
272
|
+
</tr>
|
273
|
+
<tr>
|
274
|
+
<td class="paramkey"></td>
|
275
|
+
<td></td>
|
276
|
+
<td class="paramtype">unsigned </td>
|
277
|
+
<td class="paramname"> <em>srcY</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>srcWidth</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>srcHeight</em>, </td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td class="paramkey"></td>
|
293
|
+
<td></td>
|
294
|
+
<td class="paramtype">bool </td>
|
295
|
+
<td class="paramname"> <em>tileable</em> = <code>false</code></td><td> </td>
|
296
|
+
</tr>
|
297
|
+
<tr>
|
298
|
+
<td></td>
|
299
|
+
<td>)</td>
|
300
|
+
<td></td><td></td><td></td>
|
301
|
+
</tr>
|
302
|
+
</table>
|
303
|
+
</div>
|
304
|
+
<div class="memdoc">
|
305
|
+
|
306
|
+
<p>
|
307
|
+
Converts a portion of the given bitmap into an image that can be drawn onto graphics.
|
308
|
+
<p>
|
309
|
+
|
310
|
+
</div>
|
311
|
+
</div><p>
|
312
|
+
<a class="anchor" name="8ddd8cdd69df27f9dd8427df0930a7a6"></a><!-- doxytag: member="Gosu::Image::~Image" ref="8ddd8cdd69df27f9dd8427df0930a7a6" args="()" -->
|
313
|
+
<div class="memitem">
|
314
|
+
<div class="memproto">
|
315
|
+
<table class="memname">
|
316
|
+
<tr>
|
317
|
+
<td class="memname">Gosu::Image::~Image </td>
|
318
|
+
<td>(</td>
|
319
|
+
<td class="paramname"> </td>
|
320
|
+
<td> ) </td>
|
321
|
+
<td></td>
|
322
|
+
</tr>
|
323
|
+
</table>
|
324
|
+
</div>
|
325
|
+
<div class="memdoc">
|
326
|
+
|
327
|
+
<p>
|
328
|
+
|
329
|
+
</div>
|
330
|
+
</div><p>
|
331
|
+
<hr><h2>Member Function Documentation</h2>
|
332
|
+
<a class="anchor" name="7e6de0cae934109ba6c96434767f9540"></a><!-- doxytag: member="Gosu::Image::draw" ref="7e6de0cae934109ba6c96434767f9540" args="(double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
|
333
|
+
<div class="memitem">
|
334
|
+
<div class="memproto">
|
335
|
+
<table class="memname">
|
336
|
+
<tr>
|
337
|
+
<td class="memname">void Gosu::Image::draw </td>
|
338
|
+
<td>(</td>
|
339
|
+
<td class="paramtype">double </td>
|
340
|
+
<td class="paramname"> <em>x</em>, </td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td class="paramkey"></td>
|
344
|
+
<td></td>
|
345
|
+
<td class="paramtype">double </td>
|
346
|
+
<td class="paramname"> <em>y</em>, </td>
|
347
|
+
</tr>
|
348
|
+
<tr>
|
349
|
+
<td class="paramkey"></td>
|
350
|
+
<td></td>
|
351
|
+
<td class="paramtype">ZPos </td>
|
352
|
+
<td class="paramname"> <em>z</em>, </td>
|
353
|
+
</tr>
|
354
|
+
<tr>
|
355
|
+
<td class="paramkey"></td>
|
356
|
+
<td></td>
|
357
|
+
<td class="paramtype">double </td>
|
358
|
+
<td class="paramname"> <em>factorX</em> = <code>1</code>, </td>
|
359
|
+
</tr>
|
360
|
+
<tr>
|
361
|
+
<td class="paramkey"></td>
|
362
|
+
<td></td>
|
363
|
+
<td class="paramtype">double </td>
|
364
|
+
<td class="paramname"> <em>factorY</em> = <code>1</code>, </td>
|
365
|
+
</tr>
|
366
|
+
<tr>
|
367
|
+
<td class="paramkey"></td>
|
368
|
+
<td></td>
|
369
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
370
|
+
<td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
|
371
|
+
</tr>
|
372
|
+
<tr>
|
373
|
+
<td class="paramkey"></td>
|
374
|
+
<td></td>
|
375
|
+
<td class="paramtype">AlphaMode </td>
|
376
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
377
|
+
</tr>
|
378
|
+
<tr>
|
379
|
+
<td></td>
|
380
|
+
<td>)</td>
|
381
|
+
<td></td><td></td><td> const</td>
|
382
|
+
</tr>
|
383
|
+
</table>
|
384
|
+
</div>
|
385
|
+
<div class="memdoc">
|
386
|
+
|
387
|
+
<p>
|
388
|
+
Draws the image so its upper left corner is at (x; y).
|
389
|
+
<p>
|
390
|
+
|
391
|
+
</div>
|
392
|
+
</div><p>
|
393
|
+
<a class="anchor" name="6ee7e13d1def74cbf5e974fdc3b045a1"></a><!-- doxytag: member="Gosu::Image::drawMod" ref="6ee7e13d1def74cbf5e974fdc3b045a1" args="(double x, double y, ZPos z, double factorX, double factorY, Color c1, Color c2, Color c3, Color c4, AlphaMode mode=amDefault) const " -->
|
394
|
+
<div class="memitem">
|
395
|
+
<div class="memproto">
|
396
|
+
<table class="memname">
|
397
|
+
<tr>
|
398
|
+
<td class="memname">void Gosu::Image::drawMod </td>
|
399
|
+
<td>(</td>
|
400
|
+
<td class="paramtype">double </td>
|
401
|
+
<td class="paramname"> <em>x</em>, </td>
|
402
|
+
</tr>
|
403
|
+
<tr>
|
404
|
+
<td class="paramkey"></td>
|
405
|
+
<td></td>
|
406
|
+
<td class="paramtype">double </td>
|
407
|
+
<td class="paramname"> <em>y</em>, </td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td class="paramkey"></td>
|
411
|
+
<td></td>
|
412
|
+
<td class="paramtype">ZPos </td>
|
413
|
+
<td class="paramname"> <em>z</em>, </td>
|
414
|
+
</tr>
|
415
|
+
<tr>
|
416
|
+
<td class="paramkey"></td>
|
417
|
+
<td></td>
|
418
|
+
<td class="paramtype">double </td>
|
419
|
+
<td class="paramname"> <em>factorX</em>, </td>
|
420
|
+
</tr>
|
421
|
+
<tr>
|
422
|
+
<td class="paramkey"></td>
|
423
|
+
<td></td>
|
424
|
+
<td class="paramtype">double </td>
|
425
|
+
<td class="paramname"> <em>factorY</em>, </td>
|
426
|
+
</tr>
|
427
|
+
<tr>
|
428
|
+
<td class="paramkey"></td>
|
429
|
+
<td></td>
|
430
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
431
|
+
<td class="paramname"> <em>c1</em>, </td>
|
432
|
+
</tr>
|
433
|
+
<tr>
|
434
|
+
<td class="paramkey"></td>
|
435
|
+
<td></td>
|
436
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
437
|
+
<td class="paramname"> <em>c2</em>, </td>
|
438
|
+
</tr>
|
439
|
+
<tr>
|
440
|
+
<td class="paramkey"></td>
|
441
|
+
<td></td>
|
442
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
443
|
+
<td class="paramname"> <em>c3</em>, </td>
|
444
|
+
</tr>
|
445
|
+
<tr>
|
446
|
+
<td class="paramkey"></td>
|
447
|
+
<td></td>
|
448
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
449
|
+
<td class="paramname"> <em>c4</em>, </td>
|
450
|
+
</tr>
|
451
|
+
<tr>
|
452
|
+
<td class="paramkey"></td>
|
453
|
+
<td></td>
|
454
|
+
<td class="paramtype">AlphaMode </td>
|
455
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
456
|
+
</tr>
|
457
|
+
<tr>
|
458
|
+
<td></td>
|
459
|
+
<td>)</td>
|
460
|
+
<td></td><td></td><td> const</td>
|
461
|
+
</tr>
|
462
|
+
</table>
|
463
|
+
</div>
|
464
|
+
<div class="memdoc">
|
465
|
+
|
466
|
+
<p>
|
467
|
+
Like <a class="el" href="class_gosu_1_1_image.html#7e6de0cae934109ba6c96434767f9540" title="Draws the image so its upper left corner is at (x; y).">draw()</a>, but allows to give modulation colors for all four corners.
|
468
|
+
<p>
|
469
|
+
|
470
|
+
</div>
|
471
|
+
</div><p>
|
472
|
+
<a class="anchor" name="9333d4cb15b761020a82a41357ccb674"></a><!-- doxytag: member="Gosu::Image::drawRot" ref="9333d4cb15b761020a82a41357ccb674" args="(double x, double y, ZPos z, double angle, double centerX=0.5, double centerY=0.5, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
|
473
|
+
<div class="memitem">
|
474
|
+
<div class="memproto">
|
475
|
+
<table class="memname">
|
476
|
+
<tr>
|
477
|
+
<td class="memname">void Gosu::Image::drawRot </td>
|
478
|
+
<td>(</td>
|
479
|
+
<td class="paramtype">double </td>
|
480
|
+
<td class="paramname"> <em>x</em>, </td>
|
481
|
+
</tr>
|
482
|
+
<tr>
|
483
|
+
<td class="paramkey"></td>
|
484
|
+
<td></td>
|
485
|
+
<td class="paramtype">double </td>
|
486
|
+
<td class="paramname"> <em>y</em>, </td>
|
487
|
+
</tr>
|
488
|
+
<tr>
|
489
|
+
<td class="paramkey"></td>
|
490
|
+
<td></td>
|
491
|
+
<td class="paramtype">ZPos </td>
|
492
|
+
<td class="paramname"> <em>z</em>, </td>
|
493
|
+
</tr>
|
494
|
+
<tr>
|
495
|
+
<td class="paramkey"></td>
|
496
|
+
<td></td>
|
497
|
+
<td class="paramtype">double </td>
|
498
|
+
<td class="paramname"> <em>angle</em>, </td>
|
499
|
+
</tr>
|
500
|
+
<tr>
|
501
|
+
<td class="paramkey"></td>
|
502
|
+
<td></td>
|
503
|
+
<td class="paramtype">double </td>
|
504
|
+
<td class="paramname"> <em>centerX</em> = <code>0.5</code>, </td>
|
505
|
+
</tr>
|
506
|
+
<tr>
|
507
|
+
<td class="paramkey"></td>
|
508
|
+
<td></td>
|
509
|
+
<td class="paramtype">double </td>
|
510
|
+
<td class="paramname"> <em>centerY</em> = <code>0.5</code>, </td>
|
511
|
+
</tr>
|
512
|
+
<tr>
|
513
|
+
<td class="paramkey"></td>
|
514
|
+
<td></td>
|
515
|
+
<td class="paramtype">double </td>
|
516
|
+
<td class="paramname"> <em>factorX</em> = <code>1</code>, </td>
|
517
|
+
</tr>
|
518
|
+
<tr>
|
519
|
+
<td class="paramkey"></td>
|
520
|
+
<td></td>
|
521
|
+
<td class="paramtype">double </td>
|
522
|
+
<td class="paramname"> <em>factorY</em> = <code>1</code>, </td>
|
523
|
+
</tr>
|
524
|
+
<tr>
|
525
|
+
<td class="paramkey"></td>
|
526
|
+
<td></td>
|
527
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
528
|
+
<td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
|
529
|
+
</tr>
|
530
|
+
<tr>
|
531
|
+
<td class="paramkey"></td>
|
532
|
+
<td></td>
|
533
|
+
<td class="paramtype">AlphaMode </td>
|
534
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
535
|
+
</tr>
|
536
|
+
<tr>
|
537
|
+
<td></td>
|
538
|
+
<td>)</td>
|
539
|
+
<td></td><td></td><td> const</td>
|
540
|
+
</tr>
|
541
|
+
</table>
|
542
|
+
</div>
|
543
|
+
<div class="memdoc">
|
544
|
+
|
545
|
+
<p>
|
546
|
+
Draws the image rotated by the given angle so that its rotation center is at (x; y).
|
547
|
+
<p>
|
548
|
+
Note that this is different from how all the other drawing functions work! <dl compact><dt><b>Parameters:</b></dt><dd>
|
549
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
550
|
+
<tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>See <a class="el" href="_math_8hpp.html" title="Contains simple math functionality.">Math.hpp</a> for an explanation of how Gosu interprets angles. </td></tr>
|
551
|
+
<tr><td valign="top"></td><td valign="top"><em>centerX</em> </td><td>Relative horizontal position of the rotation center on the image. 0 is the left border, 1 is the right border, 0.5 is the center (and default). </td></tr>
|
552
|
+
<tr><td valign="top"></td><td valign="top"><em>centerY</em> </td><td>See centerX. </td></tr>
|
553
|
+
</table>
|
554
|
+
</dl>
|
555
|
+
|
556
|
+
</div>
|
557
|
+
</div><p>
|
558
|
+
<a class="anchor" name="07c83052d6a269c893cdc0b5f5d1329f"></a><!-- doxytag: member="Gosu::Image::drawRotFlip" ref="07c83052d6a269c893cdc0b5f5d1329f" args="(double x, double y, ZPos z, RotFlip rf, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const " -->
|
559
|
+
<div class="memitem">
|
560
|
+
<div class="memproto">
|
561
|
+
<table class="memname">
|
562
|
+
<tr>
|
563
|
+
<td class="memname">void Gosu::Image::drawRotFlip </td>
|
564
|
+
<td>(</td>
|
565
|
+
<td class="paramtype">double </td>
|
566
|
+
<td class="paramname"> <em>x</em>, </td>
|
567
|
+
</tr>
|
568
|
+
<tr>
|
569
|
+
<td class="paramkey"></td>
|
570
|
+
<td></td>
|
571
|
+
<td class="paramtype">double </td>
|
572
|
+
<td class="paramname"> <em>y</em>, </td>
|
573
|
+
</tr>
|
574
|
+
<tr>
|
575
|
+
<td class="paramkey"></td>
|
576
|
+
<td></td>
|
577
|
+
<td class="paramtype">ZPos </td>
|
578
|
+
<td class="paramname"> <em>z</em>, </td>
|
579
|
+
</tr>
|
580
|
+
<tr>
|
581
|
+
<td class="paramkey"></td>
|
582
|
+
<td></td>
|
583
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_rot_flip.html">RotFlip</a> </td>
|
584
|
+
<td class="paramname"> <em>rf</em>, </td>
|
585
|
+
</tr>
|
586
|
+
<tr>
|
587
|
+
<td class="paramkey"></td>
|
588
|
+
<td></td>
|
589
|
+
<td class="paramtype">double </td>
|
590
|
+
<td class="paramname"> <em>factorX</em> = <code>1</code>, </td>
|
591
|
+
</tr>
|
592
|
+
<tr>
|
593
|
+
<td class="paramkey"></td>
|
594
|
+
<td></td>
|
595
|
+
<td class="paramtype">double </td>
|
596
|
+
<td class="paramname"> <em>factorY</em> = <code>1</code>, </td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td class="paramkey"></td>
|
600
|
+
<td></td>
|
601
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
602
|
+
<td class="paramname"> <em>c</em> = <code>Colors::white</code>, </td>
|
603
|
+
</tr>
|
604
|
+
<tr>
|
605
|
+
<td class="paramkey"></td>
|
606
|
+
<td></td>
|
607
|
+
<td class="paramtype">AlphaMode </td>
|
608
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
609
|
+
</tr>
|
610
|
+
<tr>
|
611
|
+
<td></td>
|
612
|
+
<td>)</td>
|
613
|
+
<td></td><td></td><td> const</td>
|
614
|
+
</tr>
|
615
|
+
</table>
|
616
|
+
</div>
|
617
|
+
<div class="memdoc">
|
618
|
+
|
619
|
+
<p>
|
620
|
+
|
621
|
+
</div>
|
622
|
+
</div><p>
|
623
|
+
<a class="anchor" name="9ed4e6ba8c9ac296ff8550c0036f093d"></a><!-- doxytag: member="Gosu::Image::drawRotFlipMod" ref="9ed4e6ba8c9ac296ff8550c0036f093d" args="(double x, double y, ZPos z, RotFlip rf, double factorX, double factorY, Color c1, Color c2, Color c3, Color c4, AlphaMode mode=amDefault) const " -->
|
624
|
+
<div class="memitem">
|
625
|
+
<div class="memproto">
|
626
|
+
<table class="memname">
|
627
|
+
<tr>
|
628
|
+
<td class="memname">void Gosu::Image::drawRotFlipMod </td>
|
629
|
+
<td>(</td>
|
630
|
+
<td class="paramtype">double </td>
|
631
|
+
<td class="paramname"> <em>x</em>, </td>
|
632
|
+
</tr>
|
633
|
+
<tr>
|
634
|
+
<td class="paramkey"></td>
|
635
|
+
<td></td>
|
636
|
+
<td class="paramtype">double </td>
|
637
|
+
<td class="paramname"> <em>y</em>, </td>
|
638
|
+
</tr>
|
639
|
+
<tr>
|
640
|
+
<td class="paramkey"></td>
|
641
|
+
<td></td>
|
642
|
+
<td class="paramtype">ZPos </td>
|
643
|
+
<td class="paramname"> <em>z</em>, </td>
|
644
|
+
</tr>
|
645
|
+
<tr>
|
646
|
+
<td class="paramkey"></td>
|
647
|
+
<td></td>
|
648
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_rot_flip.html">RotFlip</a> </td>
|
649
|
+
<td class="paramname"> <em>rf</em>, </td>
|
650
|
+
</tr>
|
651
|
+
<tr>
|
652
|
+
<td class="paramkey"></td>
|
653
|
+
<td></td>
|
654
|
+
<td class="paramtype">double </td>
|
655
|
+
<td class="paramname"> <em>factorX</em>, </td>
|
656
|
+
</tr>
|
657
|
+
<tr>
|
658
|
+
<td class="paramkey"></td>
|
659
|
+
<td></td>
|
660
|
+
<td class="paramtype">double </td>
|
661
|
+
<td class="paramname"> <em>factorY</em>, </td>
|
662
|
+
</tr>
|
663
|
+
<tr>
|
664
|
+
<td class="paramkey"></td>
|
665
|
+
<td></td>
|
666
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
667
|
+
<td class="paramname"> <em>c1</em>, </td>
|
668
|
+
</tr>
|
669
|
+
<tr>
|
670
|
+
<td class="paramkey"></td>
|
671
|
+
<td></td>
|
672
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
673
|
+
<td class="paramname"> <em>c2</em>, </td>
|
674
|
+
</tr>
|
675
|
+
<tr>
|
676
|
+
<td class="paramkey"></td>
|
677
|
+
<td></td>
|
678
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
679
|
+
<td class="paramname"> <em>c3</em>, </td>
|
680
|
+
</tr>
|
681
|
+
<tr>
|
682
|
+
<td class="paramkey"></td>
|
683
|
+
<td></td>
|
684
|
+
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
685
|
+
<td class="paramname"> <em>c4</em>, </td>
|
686
|
+
</tr>
|
687
|
+
<tr>
|
688
|
+
<td class="paramkey"></td>
|
689
|
+
<td></td>
|
690
|
+
<td class="paramtype">AlphaMode </td>
|
691
|
+
<td class="paramname"> <em>mode</em> = <code>amDefault</code></td><td> </td>
|
692
|
+
</tr>
|
693
|
+
<tr>
|
694
|
+
<td></td>
|
695
|
+
<td>)</td>
|
696
|
+
<td></td><td></td><td> const</td>
|
697
|
+
</tr>
|
698
|
+
</table>
|
699
|
+
</div>
|
700
|
+
<div class="memdoc">
|
701
|
+
|
702
|
+
<p>
|
703
|
+
|
704
|
+
</div>
|
705
|
+
</div><p>
|
706
|
+
<a class="anchor" name="cbd542bae8e42ccc72442326e578c2c2"></a><!-- doxytag: member="Gosu::Image::getData" ref="cbd542bae8e42ccc72442326e578c2c2" args="() const " -->
|
707
|
+
<div class="memitem">
|
708
|
+
<div class="memproto">
|
709
|
+
<table class="memname">
|
710
|
+
<tr>
|
711
|
+
<td class="memname">const <a class="el" href="class_gosu_1_1_image_data.html">ImageData</a>& Gosu::Image::getData </td>
|
712
|
+
<td>(</td>
|
713
|
+
<td class="paramname"> </td>
|
714
|
+
<td> ) </td>
|
715
|
+
<td> const</td>
|
716
|
+
</tr>
|
717
|
+
</table>
|
718
|
+
</div>
|
719
|
+
<div class="memdoc">
|
720
|
+
|
721
|
+
<p>
|
722
|
+
Provides access to the underlying image data object.
|
723
|
+
<p>
|
724
|
+
|
725
|
+
</div>
|
726
|
+
</div><p>
|
727
|
+
<a class="anchor" name="5a9153540e0da81a46f0262c50195c04"></a><!-- doxytag: member="Gosu::Image::height" ref="5a9153540e0da81a46f0262c50195c04" args="() const " -->
|
728
|
+
<div class="memitem">
|
729
|
+
<div class="memproto">
|
730
|
+
<table class="memname">
|
731
|
+
<tr>
|
732
|
+
<td class="memname">unsigned Gosu::Image::height </td>
|
733
|
+
<td>(</td>
|
734
|
+
<td class="paramname"> </td>
|
735
|
+
<td> ) </td>
|
736
|
+
<td> const</td>
|
737
|
+
</tr>
|
738
|
+
</table>
|
739
|
+
</div>
|
740
|
+
<div class="memdoc">
|
741
|
+
|
742
|
+
<p>
|
743
|
+
|
744
|
+
</div>
|
745
|
+
</div><p>
|
746
|
+
<a class="anchor" name="d9eb15c02f9bb1136a7bb4b988696a97"></a><!-- doxytag: member="Gosu::Image::width" ref="d9eb15c02f9bb1136a7bb4b988696a97" args="() const " -->
|
747
|
+
<div class="memitem">
|
748
|
+
<div class="memproto">
|
749
|
+
<table class="memname">
|
750
|
+
<tr>
|
751
|
+
<td class="memname">unsigned Gosu::Image::width </td>
|
752
|
+
<td>(</td>
|
753
|
+
<td class="paramname"> </td>
|
754
|
+
<td> ) </td>
|
755
|
+
<td> const</td>
|
756
|
+
</tr>
|
757
|
+
</table>
|
758
|
+
</div>
|
759
|
+
<div class="memdoc">
|
760
|
+
|
761
|
+
<p>
|
762
|
+
|
763
|
+
</div>
|
764
|
+
</div><p>
|
765
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
766
|
+
<li><a class="el" href="_image_8hpp-source.html">Image.hpp</a></ul>
|
767
|
+
</div>
|
768
|
+
<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>
|
769
|
+
</div>
|
770
|
+
</body>
|
771
|
+
</html>
|