SDLU/docs/html/struct_color.html
2021-04-24 02:01:36 +02:00

1122 lines
56 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SDL Utility: Color Struct 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>
<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>
<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">SDL Utility
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('struct_color.html',''); initResizable(); });
/* @license-end */
</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="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="struct_color-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Color Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A structure holding color data.
<a href="struct_color.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_color_8hpp_source.html">Color.hpp</a>&gt;</code></p>
<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:a9a742cbe9f9f4037f5d9f4e81a9b2428"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a9a742cbe9f9f4037f5d9f4e81a9b2428">Color</a> ()</td></tr>
<tr class="memdesc:a9a742cbe9f9f4037f5d9f4e81a9b2428"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor (Black) <a href="struct_color.html#a9a742cbe9f9f4037f5d9f4e81a9b2428">More...</a><br /></td></tr>
<tr class="separator:a9a742cbe9f9f4037f5d9f4e81a9b2428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d30115c5c219f816cb6bb91a862e76"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#ad5d30115c5c219f816cb6bb91a862e76">Color</a> (<a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="el" href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c">r</a>, <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="el" href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc">g</a>, <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="el" href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783">b</a>, <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="el" href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92">a</a>=255)</td></tr>
<tr class="memdesc:ad5d30115c5c219f816cb6bb91a862e76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct color from four 8-Bit integer values. <a href="struct_color.html#ad5d30115c5c219f816cb6bb91a862e76">More...</a><br /></td></tr>
<tr class="separator:ad5d30115c5c219f816cb6bb91a862e76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b8cdcde06fa626fd39105f6bebe14fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a9b8cdcde06fa626fd39105f6bebe14fc">Color</a> (<a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> color)</td></tr>
<tr class="memdesc:a9b8cdcde06fa626fd39105f6bebe14fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct color from a 32-Bit integer value. <a href="struct_color.html#a9b8cdcde06fa626fd39105f6bebe14fc">More...</a><br /></td></tr>
<tr class="separator:a9b8cdcde06fa626fd39105f6bebe14fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93d812e534f522fa220207a6ec3d523d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a93d812e534f522fa220207a6ec3d523d">ToInt</a> ()</td></tr>
<tr class="memdesc:a93d812e534f522fa220207a6ec3d523d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns color data as a 32-Bit integer. <a href="struct_color.html#a93d812e534f522fa220207a6ec3d523d">More...</a><br /></td></tr>
<tr class="separator:a93d812e534f522fa220207a6ec3d523d"><td class="memSeparator" colspan="2">&#160;</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:a4e71e3d75112405e544017ccacc618f5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a4e71e3d75112405e544017ccacc618f5">FromHSV</a> (<a class="el" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> h, <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> s, <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> v)</td></tr>
<tr class="memdesc:a4e71e3d75112405e544017ccacc618f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate color from HSV values. <a href="struct_color.html#a4e71e3d75112405e544017ccacc618f5">More...</a><br /></td></tr>
<tr class="separator:a4e71e3d75112405e544017ccacc618f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a7953638afd0a75b0eb837f47fc64bb0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c">r</a></td></tr>
<tr class="memdesc:a7953638afd0a75b0eb837f47fc64bb0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Red component. <a href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c">More...</a><br /></td></tr>
<tr class="separator:a7953638afd0a75b0eb837f47fc64bb0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ecdd61478c70580cb1f31a6d5075afc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc">g</a></td></tr>
<tr class="memdesc:a3ecdd61478c70580cb1f31a6d5075afc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Green component. <a href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc">More...</a><br /></td></tr>
<tr class="separator:a3ecdd61478c70580cb1f31a6d5075afc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a010dfea24ef55827d62d1c02c74ba783"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783">b</a></td></tr>
<tr class="memdesc:a010dfea24ef55827d62d1c02c74ba783"><td class="mdescLeft">&#160;</td><td class="mdescRight">Blue component. <a href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783">More...</a><br /></td></tr>
<tr class="separator:a010dfea24ef55827d62d1c02c74ba783"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a999bf399ffcdc659430abbe5254bdd92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92">a</a></td></tr>
<tr class="memdesc:a999bf399ffcdc659430abbe5254bdd92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alpha component. <a href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92">More...</a><br /></td></tr>
<tr class="separator:a999bf399ffcdc659430abbe5254bdd92"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:abfda8f6d25cb1b8ddbf029624bf879dd"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Black</a></td></tr>
<tr class="memdesc:abfda8f6d25cb1b8ddbf029624bf879dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Black (#000000FF) <a href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">More...</a><br /></td></tr>
<tr class="separator:abfda8f6d25cb1b8ddbf029624bf879dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade25ce437fd74a7b08fee1583b329c8e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#ade25ce437fd74a7b08fee1583b329c8e">Red</a></td></tr>
<tr class="memdesc:ade25ce437fd74a7b08fee1583b329c8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Red (#FF0000FF) <a href="struct_color.html#ade25ce437fd74a7b08fee1583b329c8e">More...</a><br /></td></tr>
<tr class="separator:ade25ce437fd74a7b08fee1583b329c8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99d190056130b083fe716a721f0e2b74"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a99d190056130b083fe716a721f0e2b74">Green</a></td></tr>
<tr class="memdesc:a99d190056130b083fe716a721f0e2b74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Green (#00FF00FF) <a href="struct_color.html#a99d190056130b083fe716a721f0e2b74">More...</a><br /></td></tr>
<tr class="separator:a99d190056130b083fe716a721f0e2b74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a662b7359238c900518fa4a5595c3b2d5"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a662b7359238c900518fa4a5595c3b2d5">Blue</a></td></tr>
<tr class="memdesc:a662b7359238c900518fa4a5595c3b2d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Blue (#0000FFFF) <a href="struct_color.html#a662b7359238c900518fa4a5595c3b2d5">More...</a><br /></td></tr>
<tr class="separator:a662b7359238c900518fa4a5595c3b2d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6c72f651b3fb77452a86a4fcab7582"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#afc6c72f651b3fb77452a86a4fcab7582">Yellow</a></td></tr>
<tr class="memdesc:afc6c72f651b3fb77452a86a4fcab7582"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Yellow (#FFFF00FF) <a href="struct_color.html#afc6c72f651b3fb77452a86a4fcab7582">More...</a><br /></td></tr>
<tr class="separator:afc6c72f651b3fb77452a86a4fcab7582"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0f5e5f4e3d9fb0d335109d15971f29"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a7f0f5e5f4e3d9fb0d335109d15971f29">Magenta</a></td></tr>
<tr class="memdesc:a7f0f5e5f4e3d9fb0d335109d15971f29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Magenta (#FF00FFFF) <a href="struct_color.html#a7f0f5e5f4e3d9fb0d335109d15971f29">More...</a><br /></td></tr>
<tr class="separator:a7f0f5e5f4e3d9fb0d335109d15971f29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba8a75025a243f2186eef9bc5f8b0536"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#aba8a75025a243f2186eef9bc5f8b0536">Cyan</a></td></tr>
<tr class="memdesc:aba8a75025a243f2186eef9bc5f8b0536"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Cyan (#00FFFFFF) <a href="struct_color.html#aba8a75025a243f2186eef9bc5f8b0536">More...</a><br /></td></tr>
<tr class="separator:aba8a75025a243f2186eef9bc5f8b0536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64abba1de9a93b7b2cf3ddbde14f640b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a64abba1de9a93b7b2cf3ddbde14f640b">White</a></td></tr>
<tr class="memdesc:a64abba1de9a93b7b2cf3ddbde14f640b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> White (#FFFFFFFF) <a href="struct_color.html#a64abba1de9a93b7b2cf3ddbde14f640b">More...</a><br /></td></tr>
<tr class="separator:a64abba1de9a93b7b2cf3ddbde14f640b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0826c48816176cd42b5226becebf69d"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#ab0826c48816176cd42b5226becebf69d">Transparent</a></td></tr>
<tr class="memdesc:ab0826c48816176cd42b5226becebf69d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Transparent (#00000000) <a href="struct_color.html#ab0826c48816176cd42b5226becebf69d">More...</a><br /></td></tr>
<tr class="separator:ab0826c48816176cd42b5226becebf69d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a0355ba6bfd2f83ffd8f8fafdca26cdd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0">operator+</a> (const <a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a0355ba6bfd2f83ffd8f8fafdca26cdd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color addition. <a href="struct_color.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0">More...</a><br /></td></tr>
<tr class="separator:a0355ba6bfd2f83ffd8f8fafdca26cdd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4586e31d668f183fc46576511169bf2c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a4586e31d668f183fc46576511169bf2c">operator-</a> (const <a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a4586e31d668f183fc46576511169bf2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color subtraction. <a href="struct_color.html#a4586e31d668f183fc46576511169bf2c">More...</a><br /></td></tr>
<tr class="separator:a4586e31d668f183fc46576511169bf2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bae779fb49bb92dbf820a65e45a6602"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a1bae779fb49bb92dbf820a65e45a6602">operator*</a> (const <a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a1bae779fb49bb92dbf820a65e45a6602"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color multiplication. <a href="struct_color.html#a1bae779fb49bb92dbf820a65e45a6602">More...</a><br /></td></tr>
<tr class="separator:a1bae779fb49bb92dbf820a65e45a6602"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade5f2933d4f26442db55ce5d62d159bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#ade5f2933d4f26442db55ce5d62d159bf">operator/</a> (const <a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:ade5f2933d4f26442db55ce5d62d159bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color division. <a href="struct_color.html#ade5f2933d4f26442db55ce5d62d159bf">More...</a><br /></td></tr>
<tr class="separator:ade5f2933d4f26442db55ce5d62d159bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0188773d3a987785bf5526575a6e4da4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a0188773d3a987785bf5526575a6e4da4">operator+=</a> (<a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a0188773d3a987785bf5526575a6e4da4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color addition. <a href="struct_color.html#a0188773d3a987785bf5526575a6e4da4">More...</a><br /></td></tr>
<tr class="separator:a0188773d3a987785bf5526575a6e4da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab32f8ac00bb2212b3c09856906d9e2e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#ab32f8ac00bb2212b3c09856906d9e2e4">operator-=</a> (<a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:ab32f8ac00bb2212b3c09856906d9e2e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color subtraction. <a href="struct_color.html#ab32f8ac00bb2212b3c09856906d9e2e4">More...</a><br /></td></tr>
<tr class="separator:ab32f8ac00bb2212b3c09856906d9e2e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad98121707eec6ffe191c46e33d64a86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#aad98121707eec6ffe191c46e33d64a86">operator*=</a> (<a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:aad98121707eec6ffe191c46e33d64a86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color multiplication. <a href="struct_color.html#aad98121707eec6ffe191c46e33d64a86">More...</a><br /></td></tr>
<tr class="separator:aad98121707eec6ffe191c46e33d64a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22e98f7e8f06756aba100ef4087c035b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a22e98f7e8f06756aba100ef4087c035b">operator/=</a> (<a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a22e98f7e8f06756aba100ef4087c035b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color division. <a href="struct_color.html#a22e98f7e8f06756aba100ef4087c035b">More...</a><br /></td></tr>
<tr class="separator:a22e98f7e8f06756aba100ef4087c035b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2adc3f68860f7aa5e4d7c79dcbb31d30"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a2adc3f68860f7aa5e4d7c79dcbb31d30">operator==</a> (const <a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a2adc3f68860f7aa5e4d7c79dcbb31d30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color comparison. <a href="struct_color.html#a2adc3f68860f7aa5e4d7c79dcbb31d30">More...</a><br /></td></tr>
<tr class="separator:a2adc3f68860f7aa5e4d7c79dcbb31d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394c3495753c4b17f9cd45556ef00b8c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html#a394c3495753c4b17f9cd45556ef00b8c">operator!=</a> (const <a class="el" href="struct_color.html">Color</a> &amp;left, const <a class="el" href="struct_color.html">Color</a> &amp;right)</td></tr>
<tr class="memdesc:a394c3495753c4b17f9cd45556ef00b8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Componentwise color comparison. <a href="struct_color.html#a394c3495753c4b17f9cd45556ef00b8c">More...</a><br /></td></tr>
<tr class="separator:a394c3495753c4b17f9cd45556ef00b8c"><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>A structure holding color data. </p>
<p>This struct allows for the easy passing of color data between objects or functions. It holds RGBA values and allows for arithmetical operations. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9a742cbe9f9f4037f5d9f4e81a9b2428"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a742cbe9f9f4037f5d9f4e81a9b2428">&#9670;&nbsp;</a></span>Color() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color::Color </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor (Black) </p>
</div>
</div>
<a id="ad5d30115c5c219f816cb6bb91a862e76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5d30115c5c219f816cb6bb91a862e76">&#9670;&nbsp;</a></span>Color() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color::Color </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td>
<td class="paramname"><em>r</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td>
<td class="paramname"><em>b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td>
<td class="paramname"><em>a</em> = <code>255</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct color from four 8-Bit integer values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>Red component </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">g</td><td>Green component </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>Blue component </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>Alpha component </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a9b8cdcde06fa626fd39105f6bebe14fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b8cdcde06fa626fd39105f6bebe14fc">&#9670;&nbsp;</a></span>Color() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color::Color </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td>
<td class="paramname"><em>color</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct color from a 32-Bit integer value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>The color data structured as RGBA </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4e71e3d75112405e544017ccacc618f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e71e3d75112405e544017ccacc618f5">&#9670;&nbsp;</a></span>FromHSV()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="struct_color.html">Color</a> Color::FromHSV </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a>&#160;</td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>&#160;</td>
<td class="paramname"><em>v</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Generate color from HSV values. </p>
<dl class="section return"><dt>Returns</dt><dd>An RGBA <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> object generated from HSV </dd></dl>
</div>
</div>
<a id="a93d812e534f522fa220207a6ec3d523d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93d812e534f522fa220207a6ec3d523d">&#9670;&nbsp;</a></span>ToInt()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> Color::ToInt </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns color data as a 32-Bit integer. </p>
<dl class="section return"><dt>Returns</dt><dd>A 32-Bit containing the RGBA values </dd></dl>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a394c3495753c4b17f9cd45556ef00b8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a394c3495753c4b17f9cd45556ef00b8c">&#9670;&nbsp;</a></span>operator!=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color comparison. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>False if the respective color components are equal, True if not </dd></dl>
</div>
</div>
<a id="a1bae779fb49bb92dbf820a65e45a6602"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bae779fb49bb92dbf820a65e45a6602">&#9670;&nbsp;</a></span>operator*</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a> operator* </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color multiplication. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left * right </dd></dl>
</div>
</div>
<a id="aad98121707eec6ffe191c46e33d64a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad98121707eec6ffe191c46e33d64a86">&#9670;&nbsp;</a></span>operator*=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a>&amp; operator*= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color multiplication. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left *= right </dd></dl>
</div>
</div>
<a id="a0355ba6bfd2f83ffd8f8fafdca26cdd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0355ba6bfd2f83ffd8f8fafdca26cdd0">&#9670;&nbsp;</a></span>operator+</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a> operator+ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color addition. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left + right </dd></dl>
</div>
</div>
<a id="a0188773d3a987785bf5526575a6e4da4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0188773d3a987785bf5526575a6e4da4">&#9670;&nbsp;</a></span>operator+=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a>&amp; operator+= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color addition. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left += right </dd></dl>
</div>
</div>
<a id="a4586e31d668f183fc46576511169bf2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4586e31d668f183fc46576511169bf2c">&#9670;&nbsp;</a></span>operator-</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a> operator- </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color subtraction. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left - right </dd></dl>
</div>
</div>
<a id="ab32f8ac00bb2212b3c09856906d9e2e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab32f8ac00bb2212b3c09856906d9e2e4">&#9670;&nbsp;</a></span>operator-=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a>&amp; operator-= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color subtraction. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left -= right </dd></dl>
</div>
</div>
<a id="ade5f2933d4f26442db55ce5d62d159bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade5f2933d4f26442db55ce5d62d159bf">&#9670;&nbsp;</a></span>operator/</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a> operator/ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color division. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left / right </dd></dl>
</div>
</div>
<a id="a22e98f7e8f06756aba100ef4087c035b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22e98f7e8f06756aba100ef4087c035b">&#9670;&nbsp;</a></span>operator/=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a>&amp; operator/= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color division. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>left /= right </dd></dl>
</div>
</div>
<a id="a2adc3f68860f7aa5e4d7c79dcbb31d30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2adc3f68860f7aa5e4d7c79dcbb31d30">&#9670;&nbsp;</a></span>operator==</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Componentwise color comparison. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>Left operand </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>Right operand </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the respective color components are equal, False if not </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a999bf399ffcdc659430abbe5254bdd92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a999bf399ffcdc659430abbe5254bdd92">&#9670;&nbsp;</a></span>a</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> Color::a</td>
</tr>
</table>
</div><div class="memdoc">
<p>Alpha component. </p>
</div>
</div>
<a id="a010dfea24ef55827d62d1c02c74ba783"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a010dfea24ef55827d62d1c02c74ba783">&#9670;&nbsp;</a></span>b</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> Color::b</td>
</tr>
</table>
</div><div class="memdoc">
<p>Blue component. </p>
</div>
</div>
<a id="abfda8f6d25cb1b8ddbf029624bf879dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfda8f6d25cb1b8ddbf029624bf879dd">&#9670;&nbsp;</a></span>Black</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Black</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Black (#000000FF) </p>
</div>
</div>
<a id="a662b7359238c900518fa4a5595c3b2d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a662b7359238c900518fa4a5595c3b2d5">&#9670;&nbsp;</a></span>Blue</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Blue</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Blue (#0000FFFF) </p>
</div>
</div>
<a id="aba8a75025a243f2186eef9bc5f8b0536"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba8a75025a243f2186eef9bc5f8b0536">&#9670;&nbsp;</a></span>Cyan</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Cyan</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Cyan (#00FFFFFF) </p>
</div>
</div>
<a id="a3ecdd61478c70580cb1f31a6d5075afc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ecdd61478c70580cb1f31a6d5075afc">&#9670;&nbsp;</a></span>g</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> Color::g</td>
</tr>
</table>
</div><div class="memdoc">
<p>Green component. </p>
</div>
</div>
<a id="a99d190056130b083fe716a721f0e2b74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99d190056130b083fe716a721f0e2b74">&#9670;&nbsp;</a></span>Green</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Green</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Green (#00FF00FF) </p>
</div>
</div>
<a id="a7f0f5e5f4e3d9fb0d335109d15971f29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f0f5e5f4e3d9fb0d335109d15971f29">&#9670;&nbsp;</a></span>Magenta</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Magenta</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Magenta (#FF00FFFF) </p>
</div>
</div>
<a id="a7953638afd0a75b0eb837f47fc64bb0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7953638afd0a75b0eb837f47fc64bb0c">&#9670;&nbsp;</a></span>r</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> Color::r</td>
</tr>
</table>
</div><div class="memdoc">
<p>Red component. </p>
</div>
</div>
<a id="ade25ce437fd74a7b08fee1583b329c8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade25ce437fd74a7b08fee1583b329c8e">&#9670;&nbsp;</a></span>Red</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Red</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Red (#FF0000FF) </p>
</div>
</div>
<a id="ab0826c48816176cd42b5226becebf69d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0826c48816176cd42b5226becebf69d">&#9670;&nbsp;</a></span>Transparent</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Transparent</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Transparent (#00000000) </p>
</div>
</div>
<a id="a64abba1de9a93b7b2cf3ddbde14f640b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64abba1de9a93b7b2cf3ddbde14f640b">&#9670;&nbsp;</a></span>White</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::White</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> White (#FFFFFFFF) </p>
</div>
</div>
<a id="afc6c72f651b3fb77452a86a4fcab7582"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6c72f651b3fb77452a86a4fcab7582">&#9670;&nbsp;</a></span>Yellow</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_color.html">Color</a> Color::Yellow</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default <a class="el" href="struct_color.html" title="A structure holding color data.">Color</a> Yellow (#FFFF00FF) </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/structures/<a class="el" href="_color_8hpp_source.html">Color.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"><a class="el" href="struct_color.html">Color</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>