gosu 0.7.19 → 0.7.20
Sign up to get free protection for your applications and to get access to all the features.
- data/Gosu/Input.hpp +12 -8
- data/Gosu/Math.hpp +13 -0
- data/Gosu/TextInput.hpp +5 -0
- data/Gosu/Version.hpp +2 -2
- data/GosuImpl/Graphics/TextUnix.cpp +253 -0
- data/GosuImpl/InputMac.mm +4 -4
- data/GosuImpl/InputWin.cpp +4 -4
- data/GosuImpl/InputX.cpp +15 -15
- data/GosuImpl/Math.cpp +28 -4
- data/GosuImpl/RubyGosu.swg +14 -3
- data/GosuImpl/RubyGosuStub.mm +8 -15
- data/GosuImpl/RubyGosu_wrap.cxx +113 -6
- data/GosuImpl/TextInputMac.mm +10 -1
- data/GosuImpl/TextInputWin.cpp +10 -0
- data/GosuImpl/TextInputX.cpp +10 -0
- data/GosuImpl/WindowMac.mm +15 -4
- data/GosuImpl/WindowWin.cpp +16 -7
- data/examples/TextInput.rb +15 -0
- data/lib/gosu.rb +5 -8
- data/linux/extconf.rb +34 -9
- metadata +13 -272
- data/GosuImpl/Graphics/TextPangoFT.cpp +0 -186
- data/Rakefile +0 -314
- data/examples/TextInput.cpp +0 -192
- data/examples/Tutorial.cpp +0 -215
- data/linux/Makefile.in +0 -99
- data/linux/configure +0 -5850
- data/linux/configure.ac +0 -110
- data/reference/cpp/_audio_8hpp-source.html +0 -178
- data/reference/cpp/_audio_8hpp.html +0 -100
- data/reference/cpp/_audio_8hpp_source.html +0 -170
- data/reference/cpp/_auto_link_8hpp-source.html +0 -85
- data/reference/cpp/_auto_link_8hpp.html +0 -84
- data/reference/cpp/_auto_link_8hpp_source.html +0 -85
- data/reference/cpp/_bitmap_8hpp-source.html +0 -131
- data/reference/cpp/_bitmap_8hpp.html +0 -114
- data/reference/cpp/_bitmap_8hpp_source.html +0 -131
- data/reference/cpp/_buttons_mac_8hpp-source.html +0 -206
- data/reference/cpp/_buttons_mac_8hpp.html +0 -240
- data/reference/cpp/_buttons_mac_8hpp_source.html +0 -206
- data/reference/cpp/_color_8hpp-source.html +0 -216
- data/reference/cpp/_color_8hpp.html +0 -130
- data/reference/cpp/_color_8hpp_source.html +0 -232
- data/reference/cpp/_directories_8hpp-source.html +0 -89
- data/reference/cpp/_directories_8hpp.html +0 -103
- data/reference/cpp/_directories_8hpp_source.html +0 -89
- data/reference/cpp/_font_8hpp-source.html +0 -116
- data/reference/cpp/_font_8hpp.html +0 -94
- data/reference/cpp/_font_8hpp_source.html +0 -116
- data/reference/cpp/_fwd_8hpp-source.html +0 -99
- data/reference/cpp/_fwd_8hpp.html +0 -90
- data/reference/cpp/_fwd_8hpp_source.html +0 -99
- data/reference/cpp/_gosu_8hpp-source.html +0 -97
- data/reference/cpp/_gosu_8hpp.html +0 -84
- data/reference/cpp/_gosu_8hpp_source.html +0 -97
- data/reference/cpp/_graphics_8hpp-source.html +0 -135
- data/reference/cpp/_graphics_8hpp.html +0 -101
- data/reference/cpp/_graphics_8hpp_source.html +0 -144
- data/reference/cpp/_graphics_base_8hpp-source.html +0 -116
- data/reference/cpp/_graphics_base_8hpp.html +0 -128
- data/reference/cpp/_graphics_base_8hpp_source.html +0 -117
- data/reference/cpp/_i_o_8hpp-source.html +0 -302
- data/reference/cpp/_i_o_8hpp.html +0 -129
- data/reference/cpp/_i_o_8hpp_source.html +0 -295
- data/reference/cpp/_image_8hpp-source.html +0 -173
- data/reference/cpp/_image_8hpp.html +0 -103
- data/reference/cpp/_image_8hpp_source.html +0 -176
- data/reference/cpp/_image_data_8hpp-source.html +0 -109
- data/reference/cpp/_image_data_8hpp.html +0 -97
- data/reference/cpp/_image_data_8hpp_source.html +0 -109
- data/reference/cpp/_input_8hpp-source.html +0 -183
- data/reference/cpp/_input_8hpp.html +0 -109
- data/reference/cpp/_input_8hpp_source.html +0 -183
- data/reference/cpp/_math_8hpp-source.html +0 -157
- data/reference/cpp/_math_8hpp.html +0 -152
- data/reference/cpp/_math_8hpp_source.html +0 -157
- data/reference/cpp/_platform_8hpp-source.html +0 -134
- data/reference/cpp/_platform_8hpp.html +0 -162
- data/reference/cpp/_platform_8hpp_source.html +0 -134
- data/reference/cpp/_rot_flip_8hpp-source.html +0 -185
- data/reference/cpp/_rot_flip_8hpp.html +0 -130
- data/reference/cpp/_rot_flip_8hpp_source.html +0 -185
- data/reference/cpp/_sockets_8hpp-source.html +0 -175
- data/reference/cpp/_sockets_8hpp.html +0 -124
- data/reference/cpp/_sockets_8hpp_source.html +0 -175
- data/reference/cpp/_text_8hpp-source.html +0 -103
- data/reference/cpp/_text_8hpp.html +0 -106
- data/reference/cpp/_text_8hpp_source.html +0 -103
- data/reference/cpp/_text_input_8hpp-source.html +0 -111
- data/reference/cpp/_text_input_8hpp.html +0 -94
- data/reference/cpp/_text_input_8hpp_source.html +0 -116
- data/reference/cpp/_timing_8hpp-source.html +0 -83
- data/reference/cpp/_timing_8hpp.html +0 -97
- data/reference/cpp/_timing_8hpp_source.html +0 -83
- data/reference/cpp/_utility_8hpp-source.html +0 -90
- data/reference/cpp/_utility_8hpp.html +0 -103
- data/reference/cpp/_utility_8hpp_source.html +0 -90
- data/reference/cpp/_version_8hpp-source.html +0 -78
- data/reference/cpp/_version_8hpp.html +0 -154
- data/reference/cpp/_version_8hpp_source.html +0 -78
- data/reference/cpp/_win_utility_8hpp-source.html +0 -126
- data/reference/cpp/_win_utility_8hpp.html +0 -128
- data/reference/cpp/_win_utility_8hpp_source.html +0 -126
- data/reference/cpp/_window_8hpp-source.html +0 -158
- data/reference/cpp/_window_8hpp.html +0 -94
- data/reference/cpp/_window_8hpp_source.html +0 -159
- data/reference/cpp/annotated.html +0 -98
- data/reference/cpp/class_gosu_1_1_audio-members.html +0 -76
- data/reference/cpp/class_gosu_1_1_audio.html +0 -155
- data/reference/cpp/class_gosu_1_1_bitmap-members.html +0 -86
- data/reference/cpp/class_gosu_1_1_bitmap.html +0 -506
- data/reference/cpp/class_gosu_1_1_buffer-members.html +0 -85
- data/reference/cpp/class_gosu_1_1_buffer.html +0 -341
- data/reference/cpp/class_gosu_1_1_buffer.png +0 -0
- data/reference/cpp/class_gosu_1_1_button-members.html +0 -77
- data/reference/cpp/class_gosu_1_1_button.html +0 -198
- data/reference/cpp/class_gosu_1_1_color-members.html +0 -108
- data/reference/cpp/class_gosu_1_1_color.html +0 -972
- data/reference/cpp/class_gosu_1_1_comm_socket-members.html +0 -91
- data/reference/cpp/class_gosu_1_1_comm_socket.html +0 -506
- data/reference/cpp/class_gosu_1_1_file-members.html +0 -82
- data/reference/cpp/class_gosu_1_1_file.html +0 -276
- data/reference/cpp/class_gosu_1_1_file.png +0 -0
- data/reference/cpp/class_gosu_1_1_font-members.html +0 -82
- data/reference/cpp/class_gosu_1_1_font.html +0 -506
- data/reference/cpp/class_gosu_1_1_graphics-members.html +0 -93
- data/reference/cpp/class_gosu_1_1_graphics.html +0 -817
- data/reference/cpp/class_gosu_1_1_image-members.html +0 -87
- data/reference/cpp/class_gosu_1_1_image.html +0 -797
- data/reference/cpp/class_gosu_1_1_image_data-members.html +0 -78
- data/reference/cpp/class_gosu_1_1_image_data.html +0 -282
- data/reference/cpp/class_gosu_1_1_input-members.html +0 -86
- data/reference/cpp/class_gosu_1_1_input.html +0 -418
- data/reference/cpp/class_gosu_1_1_listener_socket-members.html +0 -79
- data/reference/cpp/class_gosu_1_1_listener_socket.html +0 -222
- data/reference/cpp/class_gosu_1_1_message_socket-members.html +0 -81
- data/reference/cpp/class_gosu_1_1_message_socket.html +0 -306
- data/reference/cpp/class_gosu_1_1_reader-members.html +0 -81
- data/reference/cpp/class_gosu_1_1_reader.html +0 -323
- data/reference/cpp/class_gosu_1_1_resource-members.html +0 -80
- data/reference/cpp/class_gosu_1_1_resource.html +0 -306
- data/reference/cpp/class_gosu_1_1_resource.png +0 -0
- data/reference/cpp/class_gosu_1_1_rot_flip-members.html +0 -84
- data/reference/cpp/class_gosu_1_1_rot_flip.html +0 -352
- data/reference/cpp/class_gosu_1_1_sample-members.html +0 -80
- data/reference/cpp/class_gosu_1_1_sample.html +0 -324
- data/reference/cpp/class_gosu_1_1_sample_instance-members.html +0 -82
- data/reference/cpp/class_gosu_1_1_sample_instance.html +0 -318
- data/reference/cpp/class_gosu_1_1_song-members.html +0 -90
- data/reference/cpp/class_gosu_1_1_song.html +0 -493
- data/reference/cpp/class_gosu_1_1_text_input-members.html +0 -80
- data/reference/cpp/class_gosu_1_1_text_input.html +0 -255
- data/reference/cpp/class_gosu_1_1_window-members.html +0 -91
- data/reference/cpp/class_gosu_1_1_window.html +0 -534
- data/reference/cpp/class_gosu_1_1_writer-members.html +0 -80
- data/reference/cpp/class_gosu_1_1_writer.html +0 -293
- data/reference/cpp/classes.html +0 -86
- data/reference/cpp/closed.gif +0 -0
- data/reference/cpp/cpp.css +0 -155
- data/reference/cpp/doxygen.png +0 -0
- data/reference/cpp/files.html +0 -99
- data/reference/cpp/functions.html +0 -128
- data/reference/cpp/functions_0x62.html +0 -144
- data/reference/cpp/functions_0x63.html +0 -143
- data/reference/cpp/functions_0x64.html +0 -143
- data/reference/cpp/functions_0x65.html +0 -122
- data/reference/cpp/functions_0x66.html +0 -144
- data/reference/cpp/functions_0x67.html +0 -136
- data/reference/cpp/functions_0x68.html +0 -122
- data/reference/cpp/functions_0x69.html +0 -124
- data/reference/cpp/functions_0x6b.html +0 -116
- data/reference/cpp/functions_0x6c.html +0 -118
- data/reference/cpp/functions_0x6d.html +0 -126
- data/reference/cpp/functions_0x6e.html +0 -121
- data/reference/cpp/functions_0x6f.html +0 -127
- data/reference/cpp/functions_0x70.html +0 -137
- data/reference/cpp/functions_0x72.html +0 -157
- data/reference/cpp/functions_0x73.html +0 -180
- data/reference/cpp/functions_0x74.html +0 -128
- data/reference/cpp/functions_0x75.html +0 -123
- data/reference/cpp/functions_0x76.html +0 -118
- data/reference/cpp/functions_0x77.html +0 -132
- data/reference/cpp/functions_0x78.html +0 -116
- data/reference/cpp/functions_0x79.html +0 -118
- data/reference/cpp/functions_0x7e.html +0 -142
- data/reference/cpp/functions_enum.html +0 -88
- data/reference/cpp/functions_eval.html +0 -90
- data/reference/cpp/functions_func.html +0 -124
- data/reference/cpp/functions_func_0x62.html +0 -136
- data/reference/cpp/functions_func_0x63.html +0 -137
- data/reference/cpp/functions_func_0x64.html +0 -141
- data/reference/cpp/functions_func_0x65.html +0 -120
- data/reference/cpp/functions_func_0x66.html +0 -140
- data/reference/cpp/functions_func_0x67.html +0 -130
- data/reference/cpp/functions_func_0x68.html +0 -120
- data/reference/cpp/functions_func_0x69.html +0 -120
- data/reference/cpp/functions_func_0x6b.html +0 -114
- data/reference/cpp/functions_func_0x6c.html +0 -114
- data/reference/cpp/functions_func_0x6d.html +0 -124
- data/reference/cpp/functions_func_0x6e.html +0 -117
- data/reference/cpp/functions_func_0x6f.html +0 -114
- data/reference/cpp/functions_func_0x70.html +0 -135
- data/reference/cpp/functions_func_0x72.html +0 -151
- data/reference/cpp/functions_func_0x73.html +0 -174
- data/reference/cpp/functions_func_0x74.html +0 -120
- data/reference/cpp/functions_func_0x75.html +0 -121
- data/reference/cpp/functions_func_0x76.html +0 -116
- data/reference/cpp/functions_func_0x77.html +0 -128
- data/reference/cpp/functions_func_0x7e.html +0 -140
- data/reference/cpp/functions_type.html +0 -88
- data/reference/cpp/functions_vars.html +0 -135
- data/reference/cpp/globals.html +0 -95
- data/reference/cpp/globals_defs.html +0 -95
- data/reference/cpp/hierarchy.html +0 -100
- data/reference/cpp/index.html +0 -67
- data/reference/cpp/namespace_gosu.html +0 -3311
- data/reference/cpp/namespace_gosu_1_1_colors.html +0 -287
- data/reference/cpp/namespace_gosu_1_1_win.html +0 -354
- data/reference/cpp/namespacemembers.html +0 -139
- data/reference/cpp/namespacemembers_0x62.html +0 -143
- data/reference/cpp/namespacemembers_0x63.html +0 -125
- data/reference/cpp/namespacemembers_0x64.html +0 -121
- data/reference/cpp/namespacemembers_0x66.html +0 -129
- data/reference/cpp/namespacemembers_0x67.html +0 -163
- data/reference/cpp/namespacemembers_0x68.html +0 -113
- data/reference/cpp/namespacemembers_0x69.html +0 -117
- data/reference/cpp/namespacemembers_0x6b.html +0 -289
- data/reference/cpp/namespacemembers_0x6c.html +0 -119
- data/reference/cpp/namespacemembers_0x6d.html +0 -131
- data/reference/cpp/namespacemembers_0x6e.html +0 -127
- data/reference/cpp/namespacemembers_0x6f.html +0 -121
- data/reference/cpp/namespacemembers_0x70.html +0 -115
- data/reference/cpp/namespacemembers_0x71.html +0 -113
- data/reference/cpp/namespacemembers_0x72.html +0 -165
- data/reference/cpp/namespacemembers_0x73.html +0 -135
- data/reference/cpp/namespacemembers_0x74.html +0 -129
- data/reference/cpp/namespacemembers_0x75.html +0 -117
- data/reference/cpp/namespacemembers_0x77.html +0 -117
- data/reference/cpp/namespacemembers_0x79.html +0 -113
- data/reference/cpp/namespacemembers_0x7a.html +0 -115
- data/reference/cpp/namespacemembers_enum.html +0 -103
- data/reference/cpp/namespacemembers_eval.html +0 -445
- data/reference/cpp/namespacemembers_func.html +0 -269
- data/reference/cpp/namespacemembers_type.html +0 -93
- data/reference/cpp/namespacemembers_vars.html +0 -117
- data/reference/cpp/namespaces.html +0 -76
- data/reference/cpp/open.gif +0 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +0 -78
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +0 -186
- data/reference/cpp/struct_gosu_1_1_touch-members.html +0 -76
- data/reference/cpp/struct_gosu_1_1_touch.html +0 -154
- data/reference/cpp/tab_b.gif +0 -0
- data/reference/cpp/tab_l.gif +0 -0
- data/reference/cpp/tab_r.gif +0 -0
- data/reference/cpp/tabs.css +0 -105
- data/reference/rdoc/classes/Gosu.html +0 -1546
- data/reference/rdoc/classes/Gosu/Color.html +0 -660
- data/reference/rdoc/classes/Gosu/Font.html +0 -545
- data/reference/rdoc/classes/Gosu/GLTexInfo.html +0 -412
- data/reference/rdoc/classes/Gosu/Image.html +0 -706
- data/reference/rdoc/classes/Gosu/Sample.html +0 -476
- data/reference/rdoc/classes/Gosu/SampleInstance.html +0 -523
- data/reference/rdoc/classes/Gosu/Song.html +0 -568
- data/reference/rdoc/classes/Gosu/TextInput.html +0 -444
- data/reference/rdoc/classes/Gosu/Window.html +0 -911
- data/reference/rdoc/classes/Numeric.html +0 -479
- data/reference/rdoc/created.rid +0 -1
- data/reference/rdoc/files/COPYING_txt.html +0 -391
- data/reference/rdoc/files/README_txt.html +0 -387
- data/reference/rdoc/files/reference/Deployment on OS X_rdoc.html +0 -381
- data/reference/rdoc/files/reference/Deployment on Windows_rdoc.html +0 -385
- data/reference/rdoc/files/reference/Drawing with Colors_rdoc.html +0 -363
- data/reference/rdoc/files/reference/Order of Corners_rdoc.html +0 -358
- data/reference/rdoc/files/reference/Tileability_rdoc.html +0 -374
- data/reference/rdoc/files/reference/Z Ordering_rdoc.html +0 -361
- data/reference/rdoc/files/reference/gosu_rb.html +0 -348
- data/reference/rdoc/fr_class_index.html +0 -12
- data/reference/rdoc/fr_file_index.html +0 -10
- data/reference/rdoc/fr_method_index.html +0 -66
- data/reference/rdoc/index.html +0 -1
- data/reference/rdoc/rdoc-style.css +0 -320
@@ -1,98 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>Gosu C++ Reference</title>
|
4
|
-
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
-
<script type="text/javascript">
|
10
|
-
<!--
|
11
|
-
function changeDisplayState (e){
|
12
|
-
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
-
var button=this.firstChild;
|
14
|
-
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
-
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
-
sectionDiv.style.display='block';
|
17
|
-
button.src='open.gif';
|
18
|
-
}else{
|
19
|
-
sectionDiv.style.display='none';
|
20
|
-
button.src='closed.gif';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function initDynSections(){
|
24
|
-
var divs=document.getElementsByTagName('div');
|
25
|
-
var sectionCounter=1;
|
26
|
-
for(var i=0;i<divs.length-1;i++){
|
27
|
-
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
-
var header=divs[i];
|
29
|
-
var section=divs[i+1];
|
30
|
-
var button=header.firstChild;
|
31
|
-
if (button!='IMG'){
|
32
|
-
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
-
button=document.createElement('img');
|
34
|
-
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
-
}
|
36
|
-
header.style.cursor='pointer';
|
37
|
-
header.onclick=changeDisplayState;
|
38
|
-
header.id='dynheader'+sectionCounter;
|
39
|
-
button.src='closed.gif';
|
40
|
-
section.id='dynsection'+sectionCounter;
|
41
|
-
section.style.display='none';
|
42
|
-
section.style.marginLeft='14px';
|
43
|
-
sectionCounter++;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
window.onload = initDynSections;
|
48
|
-
-->
|
49
|
-
</script>
|
50
|
-
<div class="navigation" id="top">
|
51
|
-
<div class="tabs">
|
52
|
-
<ul>
|
53
|
-
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
-
</ul>
|
58
|
-
</div>
|
59
|
-
<div class="tabs">
|
60
|
-
<ul>
|
61
|
-
<li class="current"><a href="annotated.html"><span>Class List</span></a></li>
|
62
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
63
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
<div class="contents">
|
68
|
-
<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
|
69
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td class="indexvalue">Rectangular area of pixels, each represented by a <a class="el" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> value </td></tr>
|
70
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_buffer.html">Gosu::Buffer</a></td><td class="indexvalue">Piece of memory with the <a class="el" href="class_gosu_1_1_resource.html" title="Base class for resources.">Resource</a> interface </td></tr>
|
71
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_button.html">Gosu::Button</a></td><td class="indexvalue">Very lightweight class that identifies a button (keyboard, mouse or other device) </td></tr>
|
72
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td class="indexvalue">Represents an ARGB color value with 8 bits for each channel </td></tr>
|
73
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_comm_socket.html">Gosu::CommSocket</a></td><td class="indexvalue">Wraps a TCP socket that is used for one part of bi-directional communication </td></tr>
|
74
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_file.html">Gosu::File</a></td><td class="indexvalue"><a class="el" href="class_gosu_1_1_file.html" title="File with the Resource interface.">File</a> with the <a class="el" href="class_gosu_1_1_resource.html" title="Base class for resources.">Resource</a> interface </td></tr>
|
75
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td class="indexvalue">A font can be used to draw text on a <a class="el" href="class_gosu_1_1_graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a> object very flexibly </td></tr>
|
76
|
-
<tr><td class="indexkey"><a class="el" href="struct_gosu_1_1_g_l_tex_info.html">Gosu::GLTexInfo</a></td><td class="indexvalue">Contains information about the underlying OpenGL texture and the u/v space used for image data </td></tr>
|
77
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_graphics.html">Gosu::Graphics</a></td><td class="indexvalue">Serves as the target of all drawing and provides basic drawing functionality </td></tr>
|
78
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_image.html">Gosu::Image</a></td><td class="indexvalue">Provides functionality for drawing rectangular images </td></tr>
|
79
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_image_data.html">Gosu::ImageData</a></td><td class="indexvalue">Abstract base class for drawable images </td></tr>
|
80
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_input.html">Gosu::Input</a></td><td class="indexvalue">Manages initialization and shutdown of the input system </td></tr>
|
81
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_listener_socket.html">Gosu::ListenerSocket</a></td><td class="indexvalue">Wraps a TCP socket that waits on a specific port and can create <a class="el" href="class_gosu_1_1_comm_socket.html" title="Wraps a TCP socket that is used for one part of bi-directional communication.">CommSocket</a> instances via its onConnection event </td></tr>
|
82
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_message_socket.html">Gosu::MessageSocket</a></td><td class="indexvalue">Wraps an UDP socket </td></tr>
|
83
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_reader.html">Gosu::Reader</a></td><td class="indexvalue">Utility class that points to a specific position in a resource and offers an interface for sequential reading </td></tr>
|
84
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_resource.html">Gosu::Resource</a></td><td class="indexvalue">Base class for resources </td></tr>
|
85
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_rot_flip.html">Gosu::RotFlip</a></td><td class="indexvalue">Light-weight class that encodes a rotation by 0, 90, 180, or 270 degrees as well as optional horizontal and/or vertical flips </td></tr>
|
86
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_sample.html">Gosu::Sample</a></td><td class="indexvalue">A sample is a short sound that is completely loaded in memory, can be played multiple times at once and offers very flexible playback parameters </td></tr>
|
87
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_sample_instance.html">Gosu::SampleInstance</a></td><td class="indexvalue">An instance of a <a class="el" href="class_gosu_1_1_sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a> playing </td></tr>
|
88
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td class="indexvalue">Songs are less flexible than samples in that they can only be played one at a time and without panning or speed parameters </td></tr>
|
89
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_text_input.html">Gosu::TextInput</a></td><td class="indexvalue"><a class="el" href="class_gosu_1_1_text_input.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> instances are invisible objects that build a text string from input, using the current operating system's keyboard layout </td></tr>
|
90
|
-
<tr><td class="indexkey"><a class="el" href="struct_gosu_1_1_touch.html">Gosu::Touch</a></td><td class="indexvalue">Struct that saves information about a touch on the surface of a multi- touch device </td></tr>
|
91
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_window.html">Gosu::Window</a></td><td class="indexvalue">Convenient all-in-one class that serves as the foundation of a standard <a class="el" href="namespace_gosu.html" title="The library's main namespace.">Gosu</a> application </td></tr>
|
92
|
-
<tr><td class="indexkey"><a class="el" href="class_gosu_1_1_writer.html">Gosu::Writer</a></td><td class="indexvalue">Utility class that points to a specific position in a resource and offers an interface for sequential writing </td></tr>
|
93
|
-
</table>
|
94
|
-
</div>
|
95
|
-
<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>
|
96
|
-
</div>
|
97
|
-
</body>
|
98
|
-
</html>
|
@@ -1,76 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>Gosu C++ Reference</title>
|
4
|
-
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
-
<script type="text/javascript">
|
10
|
-
<!--
|
11
|
-
function changeDisplayState (e){
|
12
|
-
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
-
var button=this.firstChild;
|
14
|
-
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
-
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
-
sectionDiv.style.display='block';
|
17
|
-
button.src='open.gif';
|
18
|
-
}else{
|
19
|
-
sectionDiv.style.display='none';
|
20
|
-
button.src='closed.gif';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function initDynSections(){
|
24
|
-
var divs=document.getElementsByTagName('div');
|
25
|
-
var sectionCounter=1;
|
26
|
-
for(var i=0;i<divs.length-1;i++){
|
27
|
-
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
-
var header=divs[i];
|
29
|
-
var section=divs[i+1];
|
30
|
-
var button=header.firstChild;
|
31
|
-
if (button!='IMG'){
|
32
|
-
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
-
button=document.createElement('img');
|
34
|
-
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
-
}
|
36
|
-
header.style.cursor='pointer';
|
37
|
-
header.onclick=changeDisplayState;
|
38
|
-
header.id='dynheader'+sectionCounter;
|
39
|
-
button.src='closed.gif';
|
40
|
-
section.id='dynsection'+sectionCounter;
|
41
|
-
section.style.display='none';
|
42
|
-
section.style.marginLeft='14px';
|
43
|
-
sectionCounter++;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
window.onload = initDynSections;
|
48
|
-
-->
|
49
|
-
</script>
|
50
|
-
<div class="navigation" id="top">
|
51
|
-
<div class="tabs">
|
52
|
-
<ul>
|
53
|
-
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
-
</ul>
|
58
|
-
</div>
|
59
|
-
<div class="tabs">
|
60
|
-
<ul>
|
61
|
-
<li><a href="annotated.html"><span>Class List</span></a></li>
|
62
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
63
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
<div class="contents">
|
68
|
-
<h1>Gosu::Audio Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_audio.html">Gosu::Audio</a>, including all inherited members.<p><table>
|
69
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_audio.html#aa306ffea3b3db06faa734c2ea1b231b">Audio</a>()</td><td><a class="el" href="class_gosu_1_1_audio.html">Gosu::Audio</a></td><td></td></tr>
|
70
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_audio.html#77a7a428bfedf4ae29550b803bae983d">update</a>()</td><td><a class="el" href="class_gosu_1_1_audio.html">Gosu::Audio</a></td><td></td></tr>
|
71
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_audio.html#cf4a34459ec54f6a64a1d2faad7d9852">~Audio</a>()</td><td><a class="el" href="class_gosu_1_1_audio.html">Gosu::Audio</a></td><td></td></tr>
|
72
|
-
</table></div>
|
73
|
-
<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>
|
74
|
-
</div>
|
75
|
-
</body>
|
76
|
-
</html>
|
@@ -1,155 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>Gosu C++ Reference</title>
|
4
|
-
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
-
<script type="text/javascript">
|
10
|
-
<!--
|
11
|
-
function changeDisplayState (e){
|
12
|
-
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
-
var button=this.firstChild;
|
14
|
-
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
-
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
-
sectionDiv.style.display='block';
|
17
|
-
button.src='open.gif';
|
18
|
-
}else{
|
19
|
-
sectionDiv.style.display='none';
|
20
|
-
button.src='closed.gif';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function initDynSections(){
|
24
|
-
var divs=document.getElementsByTagName('div');
|
25
|
-
var sectionCounter=1;
|
26
|
-
for(var i=0;i<divs.length-1;i++){
|
27
|
-
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
-
var header=divs[i];
|
29
|
-
var section=divs[i+1];
|
30
|
-
var button=header.firstChild;
|
31
|
-
if (button!='IMG'){
|
32
|
-
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
-
button=document.createElement('img');
|
34
|
-
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
-
}
|
36
|
-
header.style.cursor='pointer';
|
37
|
-
header.onclick=changeDisplayState;
|
38
|
-
header.id='dynheader'+sectionCounter;
|
39
|
-
button.src='closed.gif';
|
40
|
-
section.id='dynsection'+sectionCounter;
|
41
|
-
section.style.display='none';
|
42
|
-
section.style.marginLeft='14px';
|
43
|
-
sectionCounter++;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
window.onload = initDynSections;
|
48
|
-
-->
|
49
|
-
</script>
|
50
|
-
<div class="navigation" id="top">
|
51
|
-
<div class="tabs">
|
52
|
-
<ul>
|
53
|
-
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
-
</ul>
|
58
|
-
</div>
|
59
|
-
<div class="tabs">
|
60
|
-
<ul>
|
61
|
-
<li><a href="annotated.html"><span>Class List</span></a></li>
|
62
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
63
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_audio.html">Audio</a>
|
67
|
-
</div>
|
68
|
-
</div>
|
69
|
-
<div class="contents">
|
70
|
-
<h1>Gosu::Audio Class Reference</h1><!-- doxytag: class="Gosu::Audio" -->Manages initialization and finalization of audio libraries.
|
71
|
-
<a href="#_details">More...</a>
|
72
|
-
<p>
|
73
|
-
|
74
|
-
<p>
|
75
|
-
<a href="class_gosu_1_1_audio-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
76
|
-
<tr><td></td></tr>
|
77
|
-
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
78
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_audio.html#aa306ffea3b3db06faa734c2ea1b231b">Audio</a> ()</td></tr>
|
79
|
-
|
80
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_audio.html#cf4a34459ec54f6a64a1d2faad7d9852">~Audio</a> ()</td></tr>
|
81
|
-
|
82
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_audio.html#77a7a428bfedf4ae29550b803bae983d">update</a> ()</td></tr>
|
83
|
-
|
84
|
-
</table>
|
85
|
-
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
86
|
-
Manages initialization and finalization of audio libraries.
|
87
|
-
<p>
|
88
|
-
Must be created before and destroyed after all samples and songs. There can only be one instance of <a class="el" href="class_gosu_1_1_audio.html" title="Manages initialization and finalization of audio libraries.">Gosu::Audio</a>. Usually created internally 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>.
|
89
|
-
<p>Definition at line <a class="el" href="_audio_8hpp_source.html#l00026">26</a> of file <a class="el" href="_audio_8hpp_source.html">Audio.hpp</a>.</p>
|
90
|
-
<hr><h2>Constructor & Destructor Documentation</h2>
|
91
|
-
<a class="anchor" name="aa306ffea3b3db06faa734c2ea1b231b"></a><!-- doxytag: member="Gosu::Audio::Audio" ref="aa306ffea3b3db06faa734c2ea1b231b" args="()" -->
|
92
|
-
<div class="memitem">
|
93
|
-
<div class="memproto">
|
94
|
-
<table class="memname">
|
95
|
-
<tr>
|
96
|
-
<td class="memname">Gosu::Audio::Audio </td>
|
97
|
-
<td>(</td>
|
98
|
-
<td class="paramname"> </td>
|
99
|
-
<td> ) </td>
|
100
|
-
<td></td>
|
101
|
-
</tr>
|
102
|
-
</table>
|
103
|
-
</div>
|
104
|
-
<div class="memdoc">
|
105
|
-
|
106
|
-
<p>
|
107
|
-
|
108
|
-
</div>
|
109
|
-
</div><p>
|
110
|
-
<a class="anchor" name="cf4a34459ec54f6a64a1d2faad7d9852"></a><!-- doxytag: member="Gosu::Audio::~Audio" ref="cf4a34459ec54f6a64a1d2faad7d9852" args="()" -->
|
111
|
-
<div class="memitem">
|
112
|
-
<div class="memproto">
|
113
|
-
<table class="memname">
|
114
|
-
<tr>
|
115
|
-
<td class="memname">Gosu::Audio::~Audio </td>
|
116
|
-
<td>(</td>
|
117
|
-
<td class="paramname"> </td>
|
118
|
-
<td> ) </td>
|
119
|
-
<td></td>
|
120
|
-
</tr>
|
121
|
-
</table>
|
122
|
-
</div>
|
123
|
-
<div class="memdoc">
|
124
|
-
|
125
|
-
<p>
|
126
|
-
|
127
|
-
</div>
|
128
|
-
</div><p>
|
129
|
-
<hr><h2>Member Function Documentation</h2>
|
130
|
-
<a class="anchor" name="77a7a428bfedf4ae29550b803bae983d"></a><!-- doxytag: member="Gosu::Audio::update" ref="77a7a428bfedf4ae29550b803bae983d" args="()" -->
|
131
|
-
<div class="memitem">
|
132
|
-
<div class="memproto">
|
133
|
-
<table class="memname">
|
134
|
-
<tr>
|
135
|
-
<td class="memname">void Gosu::Audio::update </td>
|
136
|
-
<td>(</td>
|
137
|
-
<td class="paramname"> </td>
|
138
|
-
<td> ) </td>
|
139
|
-
<td></td>
|
140
|
-
</tr>
|
141
|
-
</table>
|
142
|
-
</div>
|
143
|
-
<div class="memdoc">
|
144
|
-
|
145
|
-
<p>
|
146
|
-
|
147
|
-
</div>
|
148
|
-
</div><p>
|
149
|
-
<hr>The documentation for this class was generated from the following file:<ul>
|
150
|
-
<li><a class="el" href="_audio_8hpp_source.html">Audio.hpp</a></ul>
|
151
|
-
</div>
|
152
|
-
<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>
|
153
|
-
</div>
|
154
|
-
</body>
|
155
|
-
</html>
|
@@ -1,86 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>Gosu C++ Reference</title>
|
4
|
-
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
-
<script type="text/javascript">
|
10
|
-
<!--
|
11
|
-
function changeDisplayState (e){
|
12
|
-
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
-
var button=this.firstChild;
|
14
|
-
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
-
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
-
sectionDiv.style.display='block';
|
17
|
-
button.src='open.gif';
|
18
|
-
}else{
|
19
|
-
sectionDiv.style.display='none';
|
20
|
-
button.src='closed.gif';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function initDynSections(){
|
24
|
-
var divs=document.getElementsByTagName('div');
|
25
|
-
var sectionCounter=1;
|
26
|
-
for(var i=0;i<divs.length-1;i++){
|
27
|
-
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
-
var header=divs[i];
|
29
|
-
var section=divs[i+1];
|
30
|
-
var button=header.firstChild;
|
31
|
-
if (button!='IMG'){
|
32
|
-
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
-
button=document.createElement('img');
|
34
|
-
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
-
}
|
36
|
-
header.style.cursor='pointer';
|
37
|
-
header.onclick=changeDisplayState;
|
38
|
-
header.id='dynheader'+sectionCounter;
|
39
|
-
button.src='closed.gif';
|
40
|
-
section.id='dynsection'+sectionCounter;
|
41
|
-
section.style.display='none';
|
42
|
-
section.style.marginLeft='14px';
|
43
|
-
sectionCounter++;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
window.onload = initDynSections;
|
48
|
-
-->
|
49
|
-
</script>
|
50
|
-
<div class="navigation" id="top">
|
51
|
-
<div class="tabs">
|
52
|
-
<ul>
|
53
|
-
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
-
</ul>
|
58
|
-
</div>
|
59
|
-
<div class="tabs">
|
60
|
-
<ul>
|
61
|
-
<li><a href="annotated.html"><span>Class List</span></a></li>
|
62
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
63
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
<div class="contents">
|
68
|
-
<h1>Gosu::Bitmap Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a>, including all inherited members.<p><table>
|
69
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#c4cded37a45be62178ac260839ec88ab">Bitmap</a>()</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
70
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#f20320b33058d6a54aa31fc4c99a65fe">data</a>() const </td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
71
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#cc56f99b3f96e80e568cf4e22f912da6">data</a>()</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
72
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#a0ec9491a5b0e30affa8ddf4351fc8af">fill</a>(Color c)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
73
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#93ea4a3ce9a09520dee52ba4deae4d18">getPixel</a>(unsigned x, unsigned y) const </td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
74
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#fc5a1fdaaf0453834c3b9ac13342eae6">height</a>() const </td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
75
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#fe59c7aed8ffadefb136eff87326c13e">insert</a>(const Bitmap &source, int x, int y)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
76
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#ebe6c55dbdf4fe1162bc1276562f8b78">insert</a>(const Bitmap &source, int x, int y, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
77
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#c344975cd3a27fa5a564e2b709a06780">replace</a>(Color oldColor, Color newColor)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
78
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#6c2e5d9f00e68819fbd773b2325a58bc">resize</a>(unsigned width, unsigned height, Color c=Color::NONE)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
79
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#7a247689a33ceb7c296035f439d9e549">setPixel</a>(unsigned x, unsigned y, Color c)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
80
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#f1c65649edc1218628e5e74c5ae807ba">swap</a>(Bitmap &other)</td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
81
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_bitmap.html#eb1d21d261788c77aba770361ccdb09f">width</a>() const </td><td><a class="el" href="class_gosu_1_1_bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
|
82
|
-
</table></div>
|
83
|
-
<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>
|
84
|
-
</div>
|
85
|
-
</body>
|
86
|
-
</html>
|
@@ -1,506 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>Gosu C++ Reference</title>
|
4
|
-
<link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.9 -->
|
9
|
-
<script type="text/javascript">
|
10
|
-
<!--
|
11
|
-
function changeDisplayState (e){
|
12
|
-
var num=this.id.replace(/[^[0-9]/g,'');
|
13
|
-
var button=this.firstChild;
|
14
|
-
var sectionDiv=document.getElementById('dynsection'+num);
|
15
|
-
if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
|
16
|
-
sectionDiv.style.display='block';
|
17
|
-
button.src='open.gif';
|
18
|
-
}else{
|
19
|
-
sectionDiv.style.display='none';
|
20
|
-
button.src='closed.gif';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function initDynSections(){
|
24
|
-
var divs=document.getElementsByTagName('div');
|
25
|
-
var sectionCounter=1;
|
26
|
-
for(var i=0;i<divs.length-1;i++){
|
27
|
-
if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
|
28
|
-
var header=divs[i];
|
29
|
-
var section=divs[i+1];
|
30
|
-
var button=header.firstChild;
|
31
|
-
if (button!='IMG'){
|
32
|
-
divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
|
33
|
-
button=document.createElement('img');
|
34
|
-
divs[i].insertBefore(button,divs[i].firstChild);
|
35
|
-
}
|
36
|
-
header.style.cursor='pointer';
|
37
|
-
header.onclick=changeDisplayState;
|
38
|
-
header.id='dynheader'+sectionCounter;
|
39
|
-
button.src='closed.gif';
|
40
|
-
section.id='dynsection'+sectionCounter;
|
41
|
-
section.style.display='none';
|
42
|
-
section.style.marginLeft='14px';
|
43
|
-
sectionCounter++;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
window.onload = initDynSections;
|
48
|
-
-->
|
49
|
-
</script>
|
50
|
-
<div class="navigation" id="top">
|
51
|
-
<div class="tabs">
|
52
|
-
<ul>
|
53
|
-
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
55
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
56
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
57
|
-
</ul>
|
58
|
-
</div>
|
59
|
-
<div class="tabs">
|
60
|
-
<ul>
|
61
|
-
<li><a href="annotated.html"><span>Class List</span></a></li>
|
62
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
63
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a>
|
67
|
-
</div>
|
68
|
-
</div>
|
69
|
-
<div class="contents">
|
70
|
-
<h1>Gosu::Bitmap Class Reference</h1><!-- doxytag: class="Gosu::Bitmap" -->Rectangular area of pixels, each represented by a <a class="el" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> value.
|
71
|
-
<a href="#_details">More...</a>
|
72
|
-
<p>
|
73
|
-
|
74
|
-
<p>
|
75
|
-
<a href="class_gosu_1_1_bitmap-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
76
|
-
<tr><td></td></tr>
|
77
|
-
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
78
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#c4cded37a45be62178ac260839ec88ab">Bitmap</a> ()</td></tr>
|
79
|
-
|
80
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#eb1d21d261788c77aba770361ccdb09f">width</a> () const </td></tr>
|
81
|
-
|
82
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#fc5a1fdaaf0453834c3b9ac13342eae6">height</a> () const </td></tr>
|
83
|
-
|
84
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#f1c65649edc1218628e5e74c5ae807ba">swap</a> (<a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> &other)</td></tr>
|
85
|
-
|
86
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#6c2e5d9f00e68819fbd773b2325a58bc">resize</a> (unsigned width, unsigned height, <a class="el" href="class_gosu_1_1_color.html">Color</a> c=<a class="el" href="class_gosu_1_1_color.html#61d30e1407ba59e89e777ce73419435a">Color::NONE</a>)</td></tr>
|
87
|
-
|
88
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#a0ec9491a5b0e30affa8ddf4351fc8af">fill</a> (<a class="el" href="class_gosu_1_1_color.html">Color</a> c)</td></tr>
|
89
|
-
|
90
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#c344975cd3a27fa5a564e2b709a06780">replace</a> (<a class="el" href="class_gosu_1_1_color.html">Color</a> oldColor, <a class="el" href="class_gosu_1_1_color.html">Color</a> newColor)</td></tr>
|
91
|
-
|
92
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#93ea4a3ce9a09520dee52ba4deae4d18">getPixel</a> (unsigned x, unsigned y) const </td></tr>
|
93
|
-
|
94
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the color at the specified position. <a href="#93ea4a3ce9a09520dee52ba4deae4d18"></a><br></td></tr>
|
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_bitmap.html#7a247689a33ceb7c296035f439d9e549">setPixel</a> (unsigned x, unsigned y, <a class="el" href="class_gosu_1_1_color.html">Color</a> c)</td></tr>
|
96
|
-
|
97
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the pixel at the specified position to a color. <a href="#7a247689a33ceb7c296035f439d9e549"></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_bitmap.html#fe59c7aed8ffadefb136eff87326c13e">insert</a> (const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> &source, int x, int y)</td></tr>
|
99
|
-
|
100
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inserts a bitmap at the given position. <a href="#fe59c7aed8ffadefb136eff87326c13e"></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_bitmap.html#ebe6c55dbdf4fe1162bc1276562f8b78">insert</a> (const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> &source, int x, int y, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight)</td></tr>
|
102
|
-
|
103
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inserts a portion of a bitmap at the given position. <a href="#ebe6c55dbdf4fe1162bc1276562f8b78"></a><br></td></tr>
|
104
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">const unsigned * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#f20320b33058d6a54aa31fc4c99a65fe">data</a> () const </td></tr>
|
105
|
-
|
106
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Direct access to the array of color values. <a href="#f20320b33058d6a54aa31fc4c99a65fe"></a><br></td></tr>
|
107
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_bitmap.html#cc56f99b3f96e80e568cf4e22f912da6">data</a> ()</td></tr>
|
108
|
-
|
109
|
-
</table>
|
110
|
-
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
111
|
-
Rectangular area of pixels, each represented by a <a class="el" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> value.
|
112
|
-
<p>
|
113
|
-
Provides minimal drawing functionality and serves as a temporary holder for graphical resources which are usually turned into Images later. Has (expensive) value semantics.
|
114
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00020">20</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
115
|
-
<hr><h2>Constructor & Destructor Documentation</h2>
|
116
|
-
<a class="anchor" name="c4cded37a45be62178ac260839ec88ab"></a><!-- doxytag: member="Gosu::Bitmap::Bitmap" ref="c4cded37a45be62178ac260839ec88ab" args="()" -->
|
117
|
-
<div class="memitem">
|
118
|
-
<div class="memproto">
|
119
|
-
<table class="memname">
|
120
|
-
<tr>
|
121
|
-
<td class="memname">Gosu::Bitmap::Bitmap </td>
|
122
|
-
<td>(</td>
|
123
|
-
<td class="paramname"> </td>
|
124
|
-
<td> ) </td>
|
125
|
-
<td></td>
|
126
|
-
</tr>
|
127
|
-
</table>
|
128
|
-
</div>
|
129
|
-
<div class="memdoc">
|
130
|
-
|
131
|
-
<p>
|
132
|
-
|
133
|
-
</div>
|
134
|
-
</div><p>
|
135
|
-
<hr><h2>Member Function Documentation</h2>
|
136
|
-
<a class="anchor" name="cc56f99b3f96e80e568cf4e22f912da6"></a><!-- doxytag: member="Gosu::Bitmap::data" ref="cc56f99b3f96e80e568cf4e22f912da6" args="()" -->
|
137
|
-
<div class="memitem">
|
138
|
-
<div class="memproto">
|
139
|
-
<table class="memname">
|
140
|
-
<tr>
|
141
|
-
<td class="memname">unsigned* Gosu::Bitmap::data </td>
|
142
|
-
<td>(</td>
|
143
|
-
<td class="paramname"> </td>
|
144
|
-
<td> ) </td>
|
145
|
-
<td></td>
|
146
|
-
</tr>
|
147
|
-
</table>
|
148
|
-
</div>
|
149
|
-
<div class="memdoc">
|
150
|
-
|
151
|
-
<p>
|
152
|
-
|
153
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00060">60</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
154
|
-
|
155
|
-
</div>
|
156
|
-
</div><p>
|
157
|
-
<a class="anchor" name="f20320b33058d6a54aa31fc4c99a65fe"></a><!-- doxytag: member="Gosu::Bitmap::data" ref="f20320b33058d6a54aa31fc4c99a65fe" args="() const " -->
|
158
|
-
<div class="memitem">
|
159
|
-
<div class="memproto">
|
160
|
-
<table class="memname">
|
161
|
-
<tr>
|
162
|
-
<td class="memname">const unsigned* Gosu::Bitmap::data </td>
|
163
|
-
<td>(</td>
|
164
|
-
<td class="paramname"> </td>
|
165
|
-
<td> ) </td>
|
166
|
-
<td> const</td>
|
167
|
-
</tr>
|
168
|
-
</table>
|
169
|
-
</div>
|
170
|
-
<div class="memdoc">
|
171
|
-
|
172
|
-
<p>
|
173
|
-
Direct access to the array of color values.
|
174
|
-
<p>
|
175
|
-
May be useful for optimized OpenGL operations.
|
176
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00059">59</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
177
|
-
|
178
|
-
</div>
|
179
|
-
</div><p>
|
180
|
-
<a class="anchor" name="a0ec9491a5b0e30affa8ddf4351fc8af"></a><!-- doxytag: member="Gosu::Bitmap::fill" ref="a0ec9491a5b0e30affa8ddf4351fc8af" args="(Color c)" -->
|
181
|
-
<div class="memitem">
|
182
|
-
<div class="memproto">
|
183
|
-
<table class="memname">
|
184
|
-
<tr>
|
185
|
-
<td class="memname">void Gosu::Bitmap::fill </td>
|
186
|
-
<td>(</td>
|
187
|
-
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
188
|
-
<td class="paramname"> <em>c</em> </td>
|
189
|
-
<td> ) </td>
|
190
|
-
<td></td>
|
191
|
-
</tr>
|
192
|
-
</table>
|
193
|
-
</div>
|
194
|
-
<div class="memdoc">
|
195
|
-
|
196
|
-
<p>
|
197
|
-
|
198
|
-
</div>
|
199
|
-
</div><p>
|
200
|
-
<a class="anchor" name="93ea4a3ce9a09520dee52ba4deae4d18"></a><!-- doxytag: member="Gosu::Bitmap::getPixel" ref="93ea4a3ce9a09520dee52ba4deae4d18" args="(unsigned x, unsigned y) const " -->
|
201
|
-
<div class="memitem">
|
202
|
-
<div class="memproto">
|
203
|
-
<table class="memname">
|
204
|
-
<tr>
|
205
|
-
<td class="memname"><a class="el" href="class_gosu_1_1_color.html">Color</a> Gosu::Bitmap::getPixel </td>
|
206
|
-
<td>(</td>
|
207
|
-
<td class="paramtype">unsigned </td>
|
208
|
-
<td class="paramname"> <em>x</em>, </td>
|
209
|
-
</tr>
|
210
|
-
<tr>
|
211
|
-
<td class="paramkey"></td>
|
212
|
-
<td></td>
|
213
|
-
<td class="paramtype">unsigned </td>
|
214
|
-
<td class="paramname"> <em>y</em></td><td> </td>
|
215
|
-
</tr>
|
216
|
-
<tr>
|
217
|
-
<td></td>
|
218
|
-
<td>)</td>
|
219
|
-
<td></td><td></td><td> const</td>
|
220
|
-
</tr>
|
221
|
-
</table>
|
222
|
-
</div>
|
223
|
-
<div class="memdoc">
|
224
|
-
|
225
|
-
<p>
|
226
|
-
Returns the color at the specified position.
|
227
|
-
<p>
|
228
|
-
x and y must be on the bitmap.
|
229
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00040">40</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
230
|
-
|
231
|
-
</div>
|
232
|
-
</div><p>
|
233
|
-
<a class="anchor" name="fc5a1fdaaf0453834c3b9ac13342eae6"></a><!-- doxytag: member="Gosu::Bitmap::height" ref="fc5a1fdaaf0453834c3b9ac13342eae6" args="() const " -->
|
234
|
-
<div class="memitem">
|
235
|
-
<div class="memproto">
|
236
|
-
<table class="memname">
|
237
|
-
<tr>
|
238
|
-
<td class="memname">unsigned Gosu::Bitmap::height </td>
|
239
|
-
<td>(</td>
|
240
|
-
<td class="paramname"> </td>
|
241
|
-
<td> ) </td>
|
242
|
-
<td> const</td>
|
243
|
-
</tr>
|
244
|
-
</table>
|
245
|
-
</div>
|
246
|
-
<div class="memdoc">
|
247
|
-
|
248
|
-
<p>
|
249
|
-
|
250
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00029">29</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
251
|
-
|
252
|
-
<p>Referenced by <a class="el" href="_image_8hpp_source.html#l00123">Gosu::imagesFromTiledBitmap()</a>.</p>
|
253
|
-
|
254
|
-
</div>
|
255
|
-
</div><p>
|
256
|
-
<a class="anchor" name="ebe6c55dbdf4fe1162bc1276562f8b78"></a><!-- doxytag: member="Gosu::Bitmap::insert" ref="ebe6c55dbdf4fe1162bc1276562f8b78" args="(const Bitmap &source, int x, int y, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight)" -->
|
257
|
-
<div class="memitem">
|
258
|
-
<div class="memproto">
|
259
|
-
<table class="memname">
|
260
|
-
<tr>
|
261
|
-
<td class="memname">void Gosu::Bitmap::insert </td>
|
262
|
-
<td>(</td>
|
263
|
-
<td class="paramtype">const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> & </td>
|
264
|
-
<td class="paramname"> <em>source</em>, </td>
|
265
|
-
</tr>
|
266
|
-
<tr>
|
267
|
-
<td class="paramkey"></td>
|
268
|
-
<td></td>
|
269
|
-
<td class="paramtype">int </td>
|
270
|
-
<td class="paramname"> <em>x</em>, </td>
|
271
|
-
</tr>
|
272
|
-
<tr>
|
273
|
-
<td class="paramkey"></td>
|
274
|
-
<td></td>
|
275
|
-
<td class="paramtype">int </td>
|
276
|
-
<td class="paramname"> <em>y</em>, </td>
|
277
|
-
</tr>
|
278
|
-
<tr>
|
279
|
-
<td class="paramkey"></td>
|
280
|
-
<td></td>
|
281
|
-
<td class="paramtype">unsigned </td>
|
282
|
-
<td class="paramname"> <em>srcX</em>, </td>
|
283
|
-
</tr>
|
284
|
-
<tr>
|
285
|
-
<td class="paramkey"></td>
|
286
|
-
<td></td>
|
287
|
-
<td class="paramtype">unsigned </td>
|
288
|
-
<td class="paramname"> <em>srcY</em>, </td>
|
289
|
-
</tr>
|
290
|
-
<tr>
|
291
|
-
<td class="paramkey"></td>
|
292
|
-
<td></td>
|
293
|
-
<td class="paramtype">unsigned </td>
|
294
|
-
<td class="paramname"> <em>srcWidth</em>, </td>
|
295
|
-
</tr>
|
296
|
-
<tr>
|
297
|
-
<td class="paramkey"></td>
|
298
|
-
<td></td>
|
299
|
-
<td class="paramtype">unsigned </td>
|
300
|
-
<td class="paramname"> <em>srcHeight</em></td><td> </td>
|
301
|
-
</tr>
|
302
|
-
<tr>
|
303
|
-
<td></td>
|
304
|
-
<td>)</td>
|
305
|
-
<td></td><td></td><td></td>
|
306
|
-
</tr>
|
307
|
-
</table>
|
308
|
-
</div>
|
309
|
-
<div class="memdoc">
|
310
|
-
|
311
|
-
<p>
|
312
|
-
Inserts a portion of a bitmap at the given position.
|
313
|
-
<p>
|
314
|
-
Parts of the inserted bitmap that would be outside of the target bitmap will be clipped away.
|
315
|
-
</div>
|
316
|
-
</div><p>
|
317
|
-
<a class="anchor" name="fe59c7aed8ffadefb136eff87326c13e"></a><!-- doxytag: member="Gosu::Bitmap::insert" ref="fe59c7aed8ffadefb136eff87326c13e" args="(const Bitmap &source, int x, int y)" -->
|
318
|
-
<div class="memitem">
|
319
|
-
<div class="memproto">
|
320
|
-
<table class="memname">
|
321
|
-
<tr>
|
322
|
-
<td class="memname">void Gosu::Bitmap::insert </td>
|
323
|
-
<td>(</td>
|
324
|
-
<td class="paramtype">const <a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> & </td>
|
325
|
-
<td class="paramname"> <em>source</em>, </td>
|
326
|
-
</tr>
|
327
|
-
<tr>
|
328
|
-
<td class="paramkey"></td>
|
329
|
-
<td></td>
|
330
|
-
<td class="paramtype">int </td>
|
331
|
-
<td class="paramname"> <em>x</em>, </td>
|
332
|
-
</tr>
|
333
|
-
<tr>
|
334
|
-
<td class="paramkey"></td>
|
335
|
-
<td></td>
|
336
|
-
<td class="paramtype">int </td>
|
337
|
-
<td class="paramname"> <em>y</em></td><td> </td>
|
338
|
-
</tr>
|
339
|
-
<tr>
|
340
|
-
<td></td>
|
341
|
-
<td>)</td>
|
342
|
-
<td></td><td></td><td></td>
|
343
|
-
</tr>
|
344
|
-
</table>
|
345
|
-
</div>
|
346
|
-
<div class="memdoc">
|
347
|
-
|
348
|
-
<p>
|
349
|
-
Inserts a bitmap at the given position.
|
350
|
-
<p>
|
351
|
-
Parts of the inserted bitmap that would be outside of the target bitmap will be clipped away.
|
352
|
-
</div>
|
353
|
-
</div><p>
|
354
|
-
<a class="anchor" name="c344975cd3a27fa5a564e2b709a06780"></a><!-- doxytag: member="Gosu::Bitmap::replace" ref="c344975cd3a27fa5a564e2b709a06780" args="(Color oldColor, Color newColor)" -->
|
355
|
-
<div class="memitem">
|
356
|
-
<div class="memproto">
|
357
|
-
<table class="memname">
|
358
|
-
<tr>
|
359
|
-
<td class="memname">void Gosu::Bitmap::replace </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>oldColor</em>, </td>
|
363
|
-
</tr>
|
364
|
-
<tr>
|
365
|
-
<td class="paramkey"></td>
|
366
|
-
<td></td>
|
367
|
-
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
368
|
-
<td class="paramname"> <em>newColor</em></td><td> </td>
|
369
|
-
</tr>
|
370
|
-
<tr>
|
371
|
-
<td></td>
|
372
|
-
<td>)</td>
|
373
|
-
<td></td><td></td><td></td>
|
374
|
-
</tr>
|
375
|
-
</table>
|
376
|
-
</div>
|
377
|
-
<div class="memdoc">
|
378
|
-
|
379
|
-
<p>
|
380
|
-
|
381
|
-
</div>
|
382
|
-
</div><p>
|
383
|
-
<a class="anchor" name="6c2e5d9f00e68819fbd773b2325a58bc"></a><!-- doxytag: member="Gosu::Bitmap::resize" ref="6c2e5d9f00e68819fbd773b2325a58bc" args="(unsigned width, unsigned height, Color c=Color::NONE)" -->
|
384
|
-
<div class="memitem">
|
385
|
-
<div class="memproto">
|
386
|
-
<table class="memname">
|
387
|
-
<tr>
|
388
|
-
<td class="memname">void Gosu::Bitmap::resize </td>
|
389
|
-
<td>(</td>
|
390
|
-
<td class="paramtype">unsigned </td>
|
391
|
-
<td class="paramname"> <em>width</em>, </td>
|
392
|
-
</tr>
|
393
|
-
<tr>
|
394
|
-
<td class="paramkey"></td>
|
395
|
-
<td></td>
|
396
|
-
<td class="paramtype">unsigned </td>
|
397
|
-
<td class="paramname"> <em>height</em>, </td>
|
398
|
-
</tr>
|
399
|
-
<tr>
|
400
|
-
<td class="paramkey"></td>
|
401
|
-
<td></td>
|
402
|
-
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
403
|
-
<td class="paramname"> <em>c</em> = <code><a class="el" href="class_gosu_1_1_color.html#61d30e1407ba59e89e777ce73419435a">Color::NONE</a></code></td><td> </td>
|
404
|
-
</tr>
|
405
|
-
<tr>
|
406
|
-
<td></td>
|
407
|
-
<td>)</td>
|
408
|
-
<td></td><td></td><td></td>
|
409
|
-
</tr>
|
410
|
-
</table>
|
411
|
-
</div>
|
412
|
-
<div class="memdoc">
|
413
|
-
|
414
|
-
<p>
|
415
|
-
|
416
|
-
</div>
|
417
|
-
</div><p>
|
418
|
-
<a class="anchor" name="7a247689a33ceb7c296035f439d9e549"></a><!-- doxytag: member="Gosu::Bitmap::setPixel" ref="7a247689a33ceb7c296035f439d9e549" args="(unsigned x, unsigned y, Color c)" -->
|
419
|
-
<div class="memitem">
|
420
|
-
<div class="memproto">
|
421
|
-
<table class="memname">
|
422
|
-
<tr>
|
423
|
-
<td class="memname">void Gosu::Bitmap::setPixel </td>
|
424
|
-
<td>(</td>
|
425
|
-
<td class="paramtype">unsigned </td>
|
426
|
-
<td class="paramname"> <em>x</em>, </td>
|
427
|
-
</tr>
|
428
|
-
<tr>
|
429
|
-
<td class="paramkey"></td>
|
430
|
-
<td></td>
|
431
|
-
<td class="paramtype">unsigned </td>
|
432
|
-
<td class="paramname"> <em>y</em>, </td>
|
433
|
-
</tr>
|
434
|
-
<tr>
|
435
|
-
<td class="paramkey"></td>
|
436
|
-
<td></td>
|
437
|
-
<td class="paramtype"><a class="el" href="class_gosu_1_1_color.html">Color</a> </td>
|
438
|
-
<td class="paramname"> <em>c</em></td><td> </td>
|
439
|
-
</tr>
|
440
|
-
<tr>
|
441
|
-
<td></td>
|
442
|
-
<td>)</td>
|
443
|
-
<td></td><td></td><td></td>
|
444
|
-
</tr>
|
445
|
-
</table>
|
446
|
-
</div>
|
447
|
-
<div class="memdoc">
|
448
|
-
|
449
|
-
<p>
|
450
|
-
Sets the pixel at the specified position to a color.
|
451
|
-
<p>
|
452
|
-
x and y must be on the bitmap.
|
453
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00044">44</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
454
|
-
|
455
|
-
</div>
|
456
|
-
</div><p>
|
457
|
-
<a class="anchor" name="f1c65649edc1218628e5e74c5ae807ba"></a><!-- doxytag: member="Gosu::Bitmap::swap" ref="f1c65649edc1218628e5e74c5ae807ba" args="(Bitmap &other)" -->
|
458
|
-
<div class="memitem">
|
459
|
-
<div class="memproto">
|
460
|
-
<table class="memname">
|
461
|
-
<tr>
|
462
|
-
<td class="memname">void Gosu::Bitmap::swap </td>
|
463
|
-
<td>(</td>
|
464
|
-
<td class="paramtype"><a class="el" href="class_gosu_1_1_bitmap.html">Bitmap</a> & </td>
|
465
|
-
<td class="paramname"> <em>other</em> </td>
|
466
|
-
<td> ) </td>
|
467
|
-
<td></td>
|
468
|
-
</tr>
|
469
|
-
</table>
|
470
|
-
</div>
|
471
|
-
<div class="memdoc">
|
472
|
-
|
473
|
-
<p>
|
474
|
-
|
475
|
-
</div>
|
476
|
-
</div><p>
|
477
|
-
<a class="anchor" name="eb1d21d261788c77aba770361ccdb09f"></a><!-- doxytag: member="Gosu::Bitmap::width" ref="eb1d21d261788c77aba770361ccdb09f" args="() const " -->
|
478
|
-
<div class="memitem">
|
479
|
-
<div class="memproto">
|
480
|
-
<table class="memname">
|
481
|
-
<tr>
|
482
|
-
<td class="memname">unsigned Gosu::Bitmap::width </td>
|
483
|
-
<td>(</td>
|
484
|
-
<td class="paramname"> </td>
|
485
|
-
<td> ) </td>
|
486
|
-
<td> const</td>
|
487
|
-
</tr>
|
488
|
-
</table>
|
489
|
-
</div>
|
490
|
-
<div class="memdoc">
|
491
|
-
|
492
|
-
<p>
|
493
|
-
|
494
|
-
<p>Definition at line <a class="el" href="_bitmap_8hpp_source.html#l00028">28</a> of file <a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a>.</p>
|
495
|
-
|
496
|
-
<p>Referenced by <a class="el" href="_image_8hpp_source.html#l00123">Gosu::imagesFromTiledBitmap()</a>.</p>
|
497
|
-
|
498
|
-
</div>
|
499
|
-
</div><p>
|
500
|
-
<hr>The documentation for this class was generated from the following file:<ul>
|
501
|
-
<li><a class="el" href="_bitmap_8hpp_source.html">Bitmap.hpp</a></ul>
|
502
|
-
</div>
|
503
|
-
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
504
|
-
</div>
|
505
|
-
</body>
|
506
|
-
</html>
|