Files
FTXUI/classftxui_1_1Image.html
2025-05-30 18:32:48 +00:00

570 lines
29 KiB
HTML

<!-- HTML header for doxygen 1.9.8-->
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FTXUI: Image 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>
<script type="text/javascript" src="doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript" src="doxygen-awesome-paragraph-link.js"></script>
<script type="text/javascript" src="doxygen-awesome-interactive-toc.js"></script>
<script type="text/javascript" src="doxygen-awesome-tabs.js"></script>
<script type="text/javascript">
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeParagraphLink.init()
DoxygenAwesomeInteractiveToc.init()
DoxygenAwesomeTabs.init()
window.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll(".headertitle").forEach(div => {
// Hide progressively the title.
if (div.textContent != "Getting Started" &&
div.textContent != "Installation" &&
div.textContent != "Modules" &&
true) {
return;
}
div.style.display = "none";
// Show progressively the image.
const img = document.querySelector("img.inline");
img.style.maxHeight = "40vh";
img.style.maxWidth = "100%";
img.style.objectFit = "contain";
});
});
</script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="stylesheet.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 id="projectrow">
<td id="projectalign">
<div id="projectname">FTXUI<span id="projectnumber">&#160;6.1.9</span>
</div>
<div id="projectbrief">C++ functional terminal UI.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classftxui_1_1Image.html',''); initResizable(true); });
/* @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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle"><div class="title">Image Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>A rectangular grid of <a class="el" href="structftxui_1_1Pixel.html" title="A Unicode character and its associated style.">Pixel</a>.
<a href="#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="image_8hpp_source.html">image.hpp</a>&gt;</code></p>
<div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Image:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classftxui_1_1Image__inherit__graph.png" border="0" usemap="#aImage_inherit__map" alt="Inheritance graph"/></div>
<map name="aImage_inherit__map" id="aImage_inherit__map">
<area shape="rect" title="A rectangular grid of Pixel." alt="" coords="42,5,105,31"/>
<area shape="rect" href="classftxui_1_1Screen.html" title="A rectangular grid of Pixel." alt="" coords="40,79,107,104"/>
<area shape="poly" title=" " alt="" coords="76,44,76,79,71,79,71,44"/>
<area shape="rect" href="classftxui_1_1ScreenInteractive.html" title=" " alt="" coords="5,152,141,177"/>
<area shape="poly" title=" " alt="" coords="76,118,76,152,71,152,71,118"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for Image:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classftxui_1_1Image__coll__graph.png" border="0" usemap="#aImage_coll__map" alt="Collaboration graph"/></div>
<map name="aImage_coll__map" id="aImage_coll__map">
<area shape="rect" title="A rectangular grid of Pixel." alt="" coords="5,93,68,119"/>
<area shape="rect" href="structftxui_1_1Box.html" title=" " alt="" coords="13,5,60,31"/>
<area shape="poly" title=" " alt="" coords="39,45,39,93,34,93,34,45"/>
</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 id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7c483c751b9c859ef08cecb32f1d1994" id="r_a7c483c751b9c859ef08cecb32f1d1994"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7c483c751b9c859ef08cecb32f1d1994">Image</a> ()=delete</td></tr>
<tr class="separator:a7c483c751b9c859ef08cecb32f1d1994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecbd97261c37fa89ea6df7ccaba216c3" id="r_aecbd97261c37fa89ea6df7ccaba216c3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aecbd97261c37fa89ea6df7ccaba216c3">Image</a> (int <a class="el" href="#ae7a460c9dacd70ed81b1adfea46b492e">dimx</a>, int <a class="el" href="#a0d283cfb1ec16b3fc13d344ebfea93d4">dimy</a>)</td></tr>
<tr class="separator:aecbd97261c37fa89ea6df7ccaba216c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55b0a995463c6936efb33391f29565bc" id="r_a55b0a995463c6936efb33391f29565bc"><td class="memItemLeft" align="right" valign="top">std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a55b0a995463c6936efb33391f29565bc">at</a> (int x, int y)</td></tr>
<tr class="memdesc:a55b0a995463c6936efb33391f29565bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access a character in a cell at a given position. <br /></td></tr>
<tr class="separator:a55b0a995463c6936efb33391f29565bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0882d58bb8ca1be9953135338456cf9e" id="r_a0882d58bb8ca1be9953135338456cf9e"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0882d58bb8ca1be9953135338456cf9e">at</a> (int x, int y) const</td></tr>
<tr class="memdesc:a0882d58bb8ca1be9953135338456cf9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access a character in a cell at a given position. <br /></td></tr>
<tr class="separator:a0882d58bb8ca1be9953135338456cf9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a483f8ee1967e200cfc9e277b3ce00174" id="r_a483f8ee1967e200cfc9e277b3ce00174"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structftxui_1_1Pixel.html">Pixel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a483f8ee1967e200cfc9e277b3ce00174">PixelAt</a> (int x, int y)</td></tr>
<tr class="memdesc:a483f8ee1967e200cfc9e277b3ce00174"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access a cell (<a class="el" href="structftxui_1_1Pixel.html" title="A Unicode character and its associated style.">Pixel</a>) at a given position. <br /></td></tr>
<tr class="separator:a483f8ee1967e200cfc9e277b3ce00174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03b2b39bb8f4d72068744776093125b3" id="r_a03b2b39bb8f4d72068744776093125b3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structftxui_1_1Pixel.html">Pixel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a03b2b39bb8f4d72068744776093125b3">PixelAt</a> (int x, int y) const</td></tr>
<tr class="memdesc:a03b2b39bb8f4d72068744776093125b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access a cell (<a class="el" href="structftxui_1_1Pixel.html" title="A Unicode character and its associated style.">Pixel</a>) at a given position. <br /></td></tr>
<tr class="separator:a03b2b39bb8f4d72068744776093125b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7a460c9dacd70ed81b1adfea46b492e" id="r_ae7a460c9dacd70ed81b1adfea46b492e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae7a460c9dacd70ed81b1adfea46b492e">dimx</a> () const</td></tr>
<tr class="separator:ae7a460c9dacd70ed81b1adfea46b492e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d283cfb1ec16b3fc13d344ebfea93d4" id="r_a0d283cfb1ec16b3fc13d344ebfea93d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0d283cfb1ec16b3fc13d344ebfea93d4">dimy</a> () const</td></tr>
<tr class="separator:a0d283cfb1ec16b3fc13d344ebfea93d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa71d36872f416feaa853788a7a7a7ef8" id="r_aa71d36872f416feaa853788a7a7a7ef8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa71d36872f416feaa853788a7a7a7ef8">Clear</a> ()</td></tr>
<tr class="memdesc:aa71d36872f416feaa853788a7a7a7ef8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all the pixel from the screen. <br /></td></tr>
<tr class="separator:aa71d36872f416feaa853788a7a7a7ef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a92cacd07ba30909855f19edc01192ff0" id="r_a92cacd07ba30909855f19edc01192ff0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structftxui_1_1Box.html">Box</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a92cacd07ba30909855f19edc01192ff0">stencil</a></td></tr>
<tr class="separator:a92cacd07ba30909855f19edc01192ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1b254c3faacd432c325efff4268ca683" id="r_a1b254c3faacd432c325efff4268ca683"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1b254c3faacd432c325efff4268ca683">dimx_</a></td></tr>
<tr class="separator:a1b254c3faacd432c325efff4268ca683"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e9d5df4b41aaa5eca27cdcaca6d4574" id="r_a9e9d5df4b41aaa5eca27cdcaca6d4574"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9e9d5df4b41aaa5eca27cdcaca6d4574">dimy_</a></td></tr>
<tr class="separator:a9e9d5df4b41aaa5eca27cdcaca6d4574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab8c1788b3f2c7403749c3be95a68ae" id="r_aeab8c1788b3f2c7403749c3be95a68ae"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; <a class="el" href="structftxui_1_1Pixel.html">Pixel</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aeab8c1788b3f2c7403749c3be95a68ae">pixels_</a></td></tr>
<tr class="separator:aeab8c1788b3f2c7403749c3be95a68ae"><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 rectangular grid of <a class="el" href="structftxui_1_1Pixel.html" title="A Unicode character and its associated style.">Pixel</a>. </p>
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00017">17</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7c483c751b9c859ef08cecb32f1d1994" name="a7c483c751b9c859ef08cecb32f1d1994"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c483c751b9c859ef08cecb32f1d1994">&#9670;&#160;</a></span>Image() <span class="overload">[1/2]</span></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="classftxui_1_1Image.html">Image</a> </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aecbd97261c37fa89ea6df7ccaba216c3" name="aecbd97261c37fa89ea6df7ccaba216c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecbd97261c37fa89ea6df7ccaba216c3">&#9670;&#160;</a></span>Image() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classftxui_1_1Image.html">Image</a> </td>
<td>(</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>dimx</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>dimy</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8cpp_source.html#l00020">20</a> of file <a class="el" href="image_8cpp_source.html">image.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a55b0a995463c6936efb33391f29565bc" name="a55b0a995463c6936efb33391f29565bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55b0a995463c6936efb33391f29565bc">&#9670;&#160;</a></span>at() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string &amp; at </td>
<td>(</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>y</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Access a character in a cell at a given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The cell position along the x-axis. </td></tr>
<tr><td class="paramname">y</td><td>The cell position along the y-axis. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="image_8cpp_source.html#l00029">29</a> of file <a class="el" href="image_8cpp_source.html">image.cpp</a>.</p>
</div>
</div>
<a id="a0882d58bb8ca1be9953135338456cf9e" name="a0882d58bb8ca1be9953135338456cf9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0882d58bb8ca1be9953135338456cf9e">&#9670;&#160;</a></span>at() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const std::string &amp; at </td>
<td>(</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>y</em></span>&#160;) const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Access a character in a cell at a given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The cell position along the x-axis. </td></tr>
<tr><td class="paramname">y</td><td>The cell position along the y-axis. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="image_8cpp_source.html#l00036">36</a> of file <a class="el" href="image_8cpp_source.html">image.cpp</a>.</p>
</div>
</div>
<a id="a483f8ee1967e200cfc9e277b3ce00174" name="a483f8ee1967e200cfc9e277b3ce00174"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a483f8ee1967e200cfc9e277b3ce00174">&#9670;&#160;</a></span>PixelAt() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structftxui_1_1Pixel.html">Pixel</a> &amp; PixelAt </td>
<td>(</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>y</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Access a cell (<a class="el" href="structftxui_1_1Pixel.html" title="A Unicode character and its associated style.">Pixel</a>) at a given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The cell position along the x-axis. </td></tr>
<tr><td class="paramname">y</td><td>The cell position along the y-axis. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="image_8cpp_source.html#l00043">43</a> of file <a class="el" href="image_8cpp_source.html">image.cpp</a>.</p>
</div>
</div>
<a id="a03b2b39bb8f4d72068744776093125b3" name="a03b2b39bb8f4d72068744776093125b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03b2b39bb8f4d72068744776093125b3">&#9670;&#160;</a></span>PixelAt() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structftxui_1_1Pixel.html">Pixel</a> &amp; PixelAt </td>
<td>(</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>y</em></span>&#160;) const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Access a cell (<a class="el" href="structftxui_1_1Pixel.html" title="A Unicode character and its associated style.">Pixel</a>) at a given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The cell position along the x-axis. </td></tr>
<tr><td class="paramname">y</td><td>The cell position along the y-axis. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="image_8cpp_source.html#l00050">50</a> of file <a class="el" href="image_8cpp_source.html">image.cpp</a>.</p>
</div>
</div>
<a id="ae7a460c9dacd70ed81b1adfea46b492e" name="ae7a460c9dacd70ed81b1adfea46b492e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7a460c9dacd70ed81b1adfea46b492e">&#9670;&#160;</a></span>dimx()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimx </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00032">32</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div>
</div>
<a id="a0d283cfb1ec16b3fc13d344ebfea93d4" name="a0d283cfb1ec16b3fc13d344ebfea93d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d283cfb1ec16b3fc13d344ebfea93d4">&#9670;&#160;</a></span>dimy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimy </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00033">33</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div>
</div>
<a id="aa71d36872f416feaa853788a7a7a7ef8" name="aa71d36872f416feaa853788a7a7a7ef8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa71d36872f416feaa853788a7a7a7ef8">&#9670;&#160;</a></span>Clear()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Clear </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clear all the pixel from the screen. </p>
<p class="definition">Definition at line <a class="el" href="image_8cpp_source.html#l00055">55</a> of file <a class="el" href="image_8cpp_source.html">image.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a id="a92cacd07ba30909855f19edc01192ff0" name="a92cacd07ba30909855f19edc01192ff0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92cacd07ba30909855f19edc01192ff0">&#9670;&#160;</a></span>stencil</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structftxui_1_1Box.html">Box</a> stencil</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00038">38</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div>
</div>
<a id="a1b254c3faacd432c325efff4268ca683" name="a1b254c3faacd432c325efff4268ca683"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b254c3faacd432c325efff4268ca683">&#9670;&#160;</a></span>dimx_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimx_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00041">41</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div>
</div>
<a id="a9e9d5df4b41aaa5eca27cdcaca6d4574" name="a9e9d5df4b41aaa5eca27cdcaca6d4574"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e9d5df4b41aaa5eca27cdcaca6d4574">&#9670;&#160;</a></span>dimy_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimy_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00042">42</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div>
</div>
<a id="aeab8c1788b3f2c7403749c3be95a68ae" name="aeab8c1788b3f2c7403749c3be95a68ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeab8c1788b3f2c7403749c3be95a68ae">&#9670;&#160;</a></span>pixels_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;std::vector&lt;<a class="el" href="structftxui_1_1Pixel.html">Pixel</a>&gt; &gt; pixels_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="image_8hpp_source.html#l00043">43</a> of file <a class="el" href="image_8hpp_source.html">image.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="image_8hpp_source.html">image.hpp</a></li>
<li><a class="el" href="image_8cpp_source.html">image.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.8-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceftxui.html">ftxui</a></li><li class="navelem"><a class="el" href="classftxui_1_1Image.html">Image</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.12.0 </li>
</ul>
</div>
</body>
</html>