-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclasshb_1_1Texture.html
More file actions
213 lines (211 loc) · 19.3 KB
/
classhb_1_1Texture.html
File metadata and controls
213 lines (211 loc) · 19.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Hummingbird Framework: hb::Texture Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Hummingbird Framework
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classhb_1_1Texture.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Modules</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classhb_1_1Texture-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">hb::Texture Class Reference<div class="ingroups"><a class="el" href="group__SFML.html">Hummingbird-SFML</a></div></div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for hb::Texture:</div>
<div class="dyncontent">
<div class="center"><img src="classhb_1_1Texture__inherit__graph.png" border="0" usemap="#hb_1_1Texture_inherit__map" alt="Inheritance graph"/></div>
<map name="hb_1_1Texture_inherit__map" id="hb_1_1Texture_inherit__map">
<area shape="rect" id="node2" href="classhb_1_1Resource.html" title="hb::Resource\< sf::Texture,\l detail::tex_id, TextureManager \>" alt="" coords="5,5,220,47"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for hb::Texture:</div>
<div class="dyncontent">
<div class="center"><img src="classhb_1_1Texture__coll__graph.png" border="0" usemap="#hb_1_1Texture_coll__map" alt="Collaboration graph"/></div>
<map name="hb_1_1Texture_coll__map" id="hb_1_1Texture_coll__map">
<area shape="rect" id="node2" href="classhb_1_1Resource.html" title="hb::Resource\< sf::Texture,\l detail::tex_id, TextureManager \>" alt="" coords="5,5,220,47"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac3ab3e15265d35704fdfe66729be4b77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3ab3e15265d35704fdfe66729be4b77"></a>
 </td><td class="memItemRight" valign="bottom"><b>Texture</b> (const sf::Texture &texture, const detail::tex_id &<a class="el" href="classhb_1_1Resource.html#ae046d56195d3fb046a9a27a5a96e70eb">id</a>)</td></tr>
<tr class="separator:ac3ab3e15265d35704fdfe66729be4b77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81b43198171c568017d45debdce25190"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81b43198171c568017d45debdce25190"></a>
 </td><td class="memItemRight" valign="bottom"><b>Texture</b> (const detail::tex_id &<a class="el" href="classhb_1_1Resource.html#ae046d56195d3fb046a9a27a5a96e70eb">id</a>)</td></tr>
<tr class="separator:a81b43198171c568017d45debdce25190"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a001bf03af5f264d1f7c7b650c9cad1f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a001bf03af5f264d1f7c7b650c9cad1f6"></a>
void </td><td class="memItemRight" valign="bottom"><b>fill</b> (const <a class="el" href="classhb_1_1Rect.html">Rect</a> &area, const <a class="el" href="structhb_1_1Color.html">Color</a> &color)</td></tr>
<tr class="separator:a001bf03af5f264d1f7c7b650c9cad1f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6c1e49610d66c4d86e4b1ec8de84dc77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c1e49610d66c4d86e4b1ec8de84dc77"></a>
void </td><td class="memItemRight" valign="bottom"><b>stroke</b> (const <a class="el" href="classhb_1_1Vector2d.html">Vector2d</a> &start, const <a class="el" href="classhb_1_1Vector2d.html">Vector2d</a> &end, const <a class="el" href="structhb_1_1Color.html">Color</a> &color)</td></tr>
<tr class="separator:a6c1e49610d66c4d86e4b1ec8de84dc77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1aa5e732b7c40903d162be735b7732d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1aa5e732b7c40903d162be735b7732d1"></a>
<a class="el" href="classhb_1_1Vector2d.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
<tr class="separator:a1aa5e732b7c40903d162be735b7732d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ce2bbf1be4be0960dc71a46fcaf6f73"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ce2bbf1be4be0960dc71a46fcaf6f73"></a>
void </td><td class="memItemRight" valign="bottom"><b>smooth</b> (bool smooth)</td></tr>
<tr class="separator:a8ce2bbf1be4be0960dc71a46fcaf6f73"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad5908c54ac805c1b35d541e8ea4bdd5a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5908c54ac805c1b35d541e8ea4bdd5a"></a>
void </td><td class="memItemRight" valign="bottom"><b>repeat</b> (bool repeat)</td></tr>
<tr class="separator:ad5908c54ac805c1b35d541e8ea4bdd5a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classhb_1_1Resource"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhb_1_1Resource')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classhb_1_1Resource.html">hb::Resource< sf::Texture, detail::tex_id, TextureManager ></a></td></tr>
<tr class="memitem:abbc0ec7e3f01a46752407f658c9685e0 inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#abbc0ec7e3f01a46752407f658c9685e0">Resource</a> (const sf::Texture &resource, const detail::tex_id &<a class="el" href="classhb_1_1Resource.html#ae046d56195d3fb046a9a27a5a96e70eb">id</a>)</td></tr>
<tr class="memdesc:abbc0ec7e3f01a46752407f658c9685e0 inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="#abbc0ec7e3f01a46752407f658c9685e0">More...</a><br /></td></tr>
<tr class="separator:abbc0ec7e3f01a46752407f658c9685e0 inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2b8d0fd205d26fecef4441af2e4896b inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#ab2b8d0fd205d26fecef4441af2e4896b">Resource</a> (const detail::tex_id &<a class="el" href="classhb_1_1Resource.html#ae046d56195d3fb046a9a27a5a96e70eb">id</a>)</td></tr>
<tr class="memdesc:ab2b8d0fd205d26fecef4441af2e4896b inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. Used for getting an already loaded resource. <a href="#ab2b8d0fd205d26fecef4441af2e4896b">More...</a><br /></td></tr>
<tr class="separator:ab2b8d0fd205d26fecef4441af2e4896b inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a018416978b99aa83f96b19e9eb432918 inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#a018416978b99aa83f96b19e9eb432918">Resource</a> (const <a class="el" href="classhb_1_1Resource.html">Resource</a> &other)</td></tr>
<tr class="memdesc:a018416978b99aa83f96b19e9eb432918 inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a018416978b99aa83f96b19e9eb432918">More...</a><br /></td></tr>
<tr class="separator:a018416978b99aa83f96b19e9eb432918 inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af321faeabb50a2024197f3c1e51a910b inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhb_1_1Resource.html">Resource</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#af321faeabb50a2024197f3c1e51a910b">operator=</a> (const <a class="el" href="classhb_1_1Resource.html">Resource</a> &other)</td></tr>
<tr class="memdesc:af321faeabb50a2024197f3c1e51a910b inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Copy assignment. <a href="#af321faeabb50a2024197f3c1e51a910b">More...</a><br /></td></tr>
<tr class="separator:af321faeabb50a2024197f3c1e51a910b inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0cc756bfb07900149167c3fac9e5f974 inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#a0cc756bfb07900149167c3fac9e5f974">~Resource</a> ()</td></tr>
<tr class="memdesc:a0cc756bfb07900149167c3fac9e5f974 inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Class destructor. <a href="#a0cc756bfb07900149167c3fac9e5f974">More...</a><br /></td></tr>
<tr class="separator:a0cc756bfb07900149167c3fac9e5f974 inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1866d9c1e3e3ea59e36d04516fbbcee8 inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top">const sf::Texture & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#a1866d9c1e3e3ea59e36d04516fbbcee8">get</a> () const</td></tr>
<tr class="memdesc:a1866d9c1e3e3ea59e36d04516fbbcee8 inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Get the resource. <a href="#a1866d9c1e3e3ea59e36d04516fbbcee8">More...</a><br /></td></tr>
<tr class="separator:a1866d9c1e3e3ea59e36d04516fbbcee8 inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55179b28d56dc029cd721a051c5810f4 inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top">sf::Texture & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#a55179b28d56dc029cd721a051c5810f4">get</a> ()</td></tr>
<tr class="memdesc:a55179b28d56dc029cd721a051c5810f4 inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Get the resource. <a href="#a55179b28d56dc029cd721a051c5810f4">More...</a><br /></td></tr>
<tr class="separator:a55179b28d56dc029cd721a051c5810f4 inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae046d56195d3fb046a9a27a5a96e70eb inherit pub_methods_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae046d56195d3fb046a9a27a5a96e70eb"></a>
const detail::tex_id & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhb_1_1Resource.html#ae046d56195d3fb046a9a27a5a96e70eb">id</a> () const</td></tr>
<tr class="memdesc:ae046d56195d3fb046a9a27a5a96e70eb inherit pub_methods_classhb_1_1Resource"><td class="mdescLeft"> </td><td class="mdescRight">Get the resource id. <br /></td></tr>
<tr class="separator:ae046d56195d3fb046a9a27a5a96e70eb inherit pub_methods_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a71612731c277c67e5655527a3a7dde78"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71612731c277c67e5655527a3a7dde78"></a>
static <a class="el" href="classhb_1_1Texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><b>t404</b> ()</td></tr>
<tr class="separator:a71612731c277c67e5655527a3a7dde78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3435cad4277254e9271c40cf5e095b25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3435cad4277254e9271c40cf5e095b25"></a>
static <a class="el" href="classhb_1_1Texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><b>loadFromFile</b> (const std::string &path, const <a class="el" href="classhb_1_1Rect.html">Rect</a> &area=<a class="el" href="classhb_1_1Rect.html">Rect</a>())</td></tr>
<tr class="separator:a3435cad4277254e9271c40cf5e095b25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78a309fcebcfa2bcc27a39663402a76e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78a309fcebcfa2bcc27a39663402a76e"></a>
static <a class="el" href="classhb_1_1Texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><b>makeTexture</b> (const <a class="el" href="classhb_1_1Vector2d.html">Vector2d</a> &size)</td></tr>
<tr class="separator:a78a309fcebcfa2bcc27a39663402a76e"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classhb_1_1Resource"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classhb_1_1Resource')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classhb_1_1Resource.html">hb::Resource< sf::Texture, detail::tex_id, TextureManager ></a></td></tr>
<tr class="memitem:a361e0dab6e7539172da04ad7a6538084 inherit pro_attribs_classhb_1_1Resource"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a361e0dab6e7539172da04ad7a6538084"></a>
int </td><td class="memItemRight" valign="bottom"><b>m_id</b></td></tr>
<tr class="separator:a361e0dab6e7539172da04ad7a6538084 inherit pro_attribs_classhb_1_1Resource"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SFML/SFML/<a class="el" href="Texture_8h_source.html">Texture.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>hb</b></li><li class="navelem"><a class="el" href="classhb_1_1Texture.html">Texture</a></li>
<li class="footer">Generated on Sat Apr 4 2015 15:01:46 for Hummingbird Framework by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
</ul>
</div>
</body>
</html>