athena/classathena_1_1_sakura_1_1_...

523 lines
26 KiB
HTML

<!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.11"/>
<title>Athena IO Library: athena::Sakura::SpritePart 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="navtreedata.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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Athena IO Library
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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&#160;Page</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&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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('classathena_1_1_sakura_1_1_sprite_part.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)">
</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> &#124;
<a href="classathena_1_1_sakura_1_1_sprite_part-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">athena::Sakura::SpritePart Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for athena::Sakura::SpritePart:</div>
<div class="dyncontent">
<div class="center"><img src="classathena_1_1_sakura_1_1_sprite_part__coll__graph.png" border="0" usemap="#athena_1_1_sakura_1_1_sprite_part_coll__map" alt="Collaboration graph"/></div>
<map name="athena_1_1_sakura_1_1_sprite_part_coll__map" id="athena_1_1_sakura_1_1_sprite_part_coll__map">
</map>
</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:aae8aeee2d1f4c2572c43ee8843e96761"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae8aeee2d1f4c2572c43ee8843e96761"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SpritePart</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *root)</td></tr>
<tr class="separator:aae8aeee2d1f4c2572c43ee8843e96761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af47d08f9a28e46630f896011756b3539"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af47d08f9a28e46630f896011756b3539"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SpritePart</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *root, const std::string &amp;name, bool hasCollision=false)</td></tr>
<tr class="separator:af47d08f9a28e46630f896011756b3539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a092fe469c64faaca8d681dbb0e1605e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a092fe469c64faaca8d681dbb0e1605e1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setName</b> (const std::string &amp;name)</td></tr>
<tr class="separator:a092fe469c64faaca8d681dbb0e1605e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1aecf29f0580e3da3da8b3bae59d0016"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1aecf29f0580e3da3da8b3bae59d0016"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name</b> () const </td></tr>
<tr class="separator:a1aecf29f0580e3da3da8b3bae59d0016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77078ab5a47236428a4b3b2b974cd3ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77078ab5a47236428a4b3b2b974cd3ed"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCollision</b> (bool col)</td></tr>
<tr class="separator:a77078ab5a47236428a4b3b2b974cd3ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a817e1acf563cc338ee0f60baa237e92f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a817e1acf563cc338ee0f60baa237e92f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>hasCollision</b> () const </td></tr>
<tr class="separator:a817e1acf563cc338ee0f60baa237e92f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a7e5441c5153bfac18c9150f25c65ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a5a7e5441c5153bfac18c9150f25c65ee">setOffset</a> (float x, float y)</td></tr>
<tr class="memdesc:a5a7e5441c5153bfac18c9150f25c65ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">setOffset <a href="#a5a7e5441c5153bfac18c9150f25c65ee">More...</a><br /></td></tr>
<tr class="separator:a5a7e5441c5153bfac18c9150f25c65ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb20b02543da163b93f74ce1c4fa55d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a0fb20b02543da163b93f74ce1c4fa55d">setOffset</a> (const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#ac5d112f5eda18b864549d82cfdf974e3">offset</a>)</td></tr>
<tr class="memdesc:a0fb20b02543da163b93f74ce1c4fa55d"><td class="mdescLeft">&#160;</td><td class="mdescRight">setOffset <a href="#a0fb20b02543da163b93f74ce1c4fa55d">More...</a><br /></td></tr>
<tr class="separator:a0fb20b02543da163b93f74ce1c4fa55d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5d112f5eda18b864549d82cfdf974e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#ac5d112f5eda18b864549d82cfdf974e3">offset</a> () const </td></tr>
<tr class="memdesc:ac5d112f5eda18b864549d82cfdf974e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">offset <a href="#ac5d112f5eda18b864549d82cfdf974e3">More...</a><br /></td></tr>
<tr class="separator:ac5d112f5eda18b864549d82cfdf974e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75e2c3a799d021f6acdac5dcc130e4c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a75e2c3a799d021f6acdac5dcc130e4c3">setTextureOffset</a> (float x, float y)</td></tr>
<tr class="memdesc:a75e2c3a799d021f6acdac5dcc130e4c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">setTextureOffset <a href="#a75e2c3a799d021f6acdac5dcc130e4c3">More...</a><br /></td></tr>
<tr class="separator:a75e2c3a799d021f6acdac5dcc130e4c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab82a8bf5bc928b9f094abf700b0ba688"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#ab82a8bf5bc928b9f094abf700b0ba688">setTextureOffset</a> (const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#ac5d112f5eda18b864549d82cfdf974e3">offset</a>)</td></tr>
<tr class="memdesc:ab82a8bf5bc928b9f094abf700b0ba688"><td class="mdescLeft">&#160;</td><td class="mdescRight">setTextureOffset <a href="#ab82a8bf5bc928b9f094abf700b0ba688">More...</a><br /></td></tr>
<tr class="separator:ab82a8bf5bc928b9f094abf700b0ba688"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a996b7d2026605d0fc10a8f783ed30235"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a996b7d2026605d0fc10a8f783ed30235">textureOffset</a> () const </td></tr>
<tr class="memdesc:a996b7d2026605d0fc10a8f783ed30235"><td class="mdescLeft">&#160;</td><td class="mdescRight">textureOffset <a href="#a996b7d2026605d0fc10a8f783ed30235">More...</a><br /></td></tr>
<tr class="separator:a996b7d2026605d0fc10a8f783ed30235"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63047d80f455343331c0baba6853c6b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a63047d80f455343331c0baba6853c6b8">setSize</a> (atUint32 width, atUint32 height)</td></tr>
<tr class="memdesc:a63047d80f455343331c0baba6853c6b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">setSize <a href="#a63047d80f455343331c0baba6853c6b8">More...</a><br /></td></tr>
<tr class="separator:a63047d80f455343331c0baba6853c6b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff632c489d935bbf30e12e26737ab04"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#aeff632c489d935bbf30e12e26737ab04">setSize</a> (const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a2dd0a9f89bd58b3bef807f362fe39792">size</a>)</td></tr>
<tr class="memdesc:aeff632c489d935bbf30e12e26737ab04"><td class="mdescLeft">&#160;</td><td class="mdescRight">setSize <a href="#aeff632c489d935bbf30e12e26737ab04">More...</a><br /></td></tr>
<tr class="separator:aeff632c489d935bbf30e12e26737ab04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dd0a9f89bd58b3bef807f362fe39792"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a2dd0a9f89bd58b3bef807f362fe39792">size</a> () const </td></tr>
<tr class="memdesc:a2dd0a9f89bd58b3bef807f362fe39792"><td class="mdescLeft">&#160;</td><td class="mdescRight">size <a href="#a2dd0a9f89bd58b3bef807f362fe39792">More...</a><br /></td></tr>
<tr class="separator:a2dd0a9f89bd58b3bef807f362fe39792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3301b295005ed13fc04b39dafa991b1b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a3301b295005ed13fc04b39dafa991b1b">setFlippedHorizontally</a> (const bool val)</td></tr>
<tr class="memdesc:a3301b295005ed13fc04b39dafa991b1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">setFlippedHorizontally <a href="#a3301b295005ed13fc04b39dafa991b1b">More...</a><br /></td></tr>
<tr class="separator:a3301b295005ed13fc04b39dafa991b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87f33f9468d39a51b77013f745a25178"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a87f33f9468d39a51b77013f745a25178">flippedHorizontally</a> () const </td></tr>
<tr class="memdesc:a87f33f9468d39a51b77013f745a25178"><td class="mdescLeft">&#160;</td><td class="mdescRight">flippedHorizontally <a href="#a87f33f9468d39a51b77013f745a25178">More...</a><br /></td></tr>
<tr class="separator:a87f33f9468d39a51b77013f745a25178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab27b2cf5ebd4bd938044908e2ae26992"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#ab27b2cf5ebd4bd938044908e2ae26992">setFlippedVertically</a> (const bool val)</td></tr>
<tr class="memdesc:ab27b2cf5ebd4bd938044908e2ae26992"><td class="mdescLeft">&#160;</td><td class="mdescRight">setFlippedVertically <a href="#ab27b2cf5ebd4bd938044908e2ae26992">More...</a><br /></td></tr>
<tr class="separator:ab27b2cf5ebd4bd938044908e2ae26992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53c92bc1f07572d64ef9f66fbfbded16"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html#a53c92bc1f07572d64ef9f66fbfbded16">flippedVertically</a> () const </td></tr>
<tr class="memdesc:a53c92bc1f07572d64ef9f66fbfbded16"><td class="mdescLeft">&#160;</td><td class="mdescRight">flippedVertically <a href="#a53c92bc1f07572d64ef9f66fbfbded16">More...</a><br /></td></tr>
<tr class="separator:a53c92bc1f07572d64ef9f66fbfbded16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad2812b60a0f800732bbf5e680f2ef1a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aad2812b60a0f800732bbf5e680f2ef1a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setRoot</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *root)</td></tr>
<tr class="separator:aad2812b60a0f800732bbf5e680f2ef1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1058b0f383b4b8d147e99a2a51e2737d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1058b0f383b4b8d147e99a2a51e2737d"></a>
<a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>root</b> () const </td></tr>
<tr class="separator:a1058b0f383b4b8d147e99a2a51e2737d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_sprite_part_8hpp_source.html#l00023">23</a> of file <a class="el" href="_sprite_part_8hpp_source.html">SpritePart.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a87f33f9468d39a51b77013f745a25178"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool athena::Sakura::SpritePart::flippedHorizontally </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>flippedHorizontally </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a53c92bc1f07572d64ef9f66fbfbded16"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool athena::Sakura::SpritePart::flippedVertically </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>flippedVertically </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ac5d112f5eda18b864549d82cfdf974e3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> athena::Sakura::SpritePart::offset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>offset </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a3301b295005ed13fc04b39dafa991b1b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setFlippedHorizontally </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>val</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setFlippedHorizontally </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">val</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab27b2cf5ebd4bd938044908e2ae26992"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setFlippedVertically </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>val</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setFlippedVertically </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">val</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a5a7e5441c5153bfac18c9150f25c65ee"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setOffset </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setOffset </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0fb20b02543da163b93f74ce1c4fa55d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setOffset </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;&#160;</td>
<td class="paramname"><em>offset</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setOffset </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">offset</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a63047d80f455343331c0baba6853c6b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setSize </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>height</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setSize </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td></td></tr>
<tr><td class="paramname">height</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aeff632c489d935bbf30e12e26737ab04"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> &amp;&#160;</td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setSize </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a75e2c3a799d021f6acdac5dcc130e4c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setTextureOffset </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setTextureOffset </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab82a8bf5bc928b9f094abf700b0ba688"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpritePart::setTextureOffset </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;&#160;</td>
<td class="paramname"><em>offset</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setTextureOffset </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">texOff</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2dd0a9f89bd58b3bef807f362fe39792"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> athena::Sakura::SpritePart::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>size </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a996b7d2026605d0fc10a8f783ed30235"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> athena::Sakura::SpritePart::textureOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>textureOffset </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/athena/<a class="el" href="_sprite_part_8hpp_source.html">SpritePart.hpp</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>athena</b></li><li class="navelem"><b>Sakura</b></li><li class="navelem"><a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html">SpritePart</a></li>
<li class="footer">Generated on Sat Sep 17 2016 13:10:09 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>