PTdecode/CImg-1.3.0/html/reference/structcimg__library_1_1CImgDisplay.html

Wed, 05 Aug 2009 15:02:31 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Wed, 05 Aug 2009 15:02:31 +0100
changeset 13
a933b13e087f
parent 5
1204ebf9340d
permissions
-rwxr-xr-x

PTdecode: add support for uncompressed data (NOTE: *NOT* supported by the PT-2450DX)

philpem@5 1 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
philpem@5 2 <head>
philpem@5 3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
philpem@5 4 <title>The CImg Library - C++ Template Image Processing Toolkit</title>
philpem@5 5 <meta content="David Tschumperle" name="author"></meta>
philpem@5 6 <link rel="shortcut icon" type="image/x-icon" href="http://cimg.sourceforge.net/favicon.ico"></link>
philpem@5 7 <link rel="icon" type="image/png" href="favicon.png"></link>
philpem@5 8 <link href="doxygen.css" rel="stylesheet" type="text/css">
philpem@5 9 <link href="tabs.css" rel="stylesheet" type="text/css">
philpem@5 10 <style type="text/css">
philpem@5 11 <!--
philpem@5 12 body {background-color:white; font-family:sans-serif; }
philpem@5 13 a:active{text-decoration:none; color:#303090}
philpem@5 14 a:link{text-decoration:none; color:#303090}
philpem@5 15 a:visited{text-decoration:none; color:#303090}
philpem@5 16 a:hover{text-decoration:underline; color:#4E9F71}
philpem@5 17 -->
philpem@5 18 </style>
philpem@5 19 <script language="JavaScript" type="text/javascript">
philpem@5 20 <!-- Original: Eric King (eric_andrew_king@hotmail.com) is used to display images in popup windows -->
philpem@5 21 <!-- Web Site: http://redrival.com/eak/ -->
philpem@5 22 <!-- This script and many more are available free online at -->
philpem@5 23 <!-- The JavaScript Source!! http://javascript.internet.com -->
philpem@5 24 <!-- Begin
philpem@5 25 function NewWindow(mypage, myname, w, h, scroll) {
philpem@5 26 var winl = (screen.width - w) / 2;
philpem@5 27 var wint = (screen.height - h) / 2;
philpem@5 28 winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
philpem@5 29 win = window.open(mypage, myname, winprops)
philpem@5 30 if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
philpem@5 31 }
philpem@5 32 // End -->
philpem@5 33 </script>
philpem@5 34 </head>
philpem@5 35 <body>
philpem@5 36 <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
philpem@5 37 <tbody><tr><td>
philpem@5 38 <hr noshade="noshade" size="1" width="90%"></hr>
philpem@5 39 <center>
philpem@5 40 <br/>
philpem@5 41 <a href="http://cimg.sourceforge.net"><img src="http://cimg.sourceforge.net/img/CImgLogo.jpg" alt="" border="0"></img></a><br/>
philpem@5 42 <br/>
philpem@5 43 </center>
philpem@5 44 <hr noshade="noshade" size="1" width="90%"></hr>
philpem@5 45 <center>
philpem@5 46 <table bgcolor="#EEEEFF" style="width: 90%; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="3" cellspacing="0">
philpem@5 47 <tbody><tr><td style="text-align: center; vertical-align: top;">
philpem@5 48 <font color="#FFFFFF" face="Arial,Helvetica" size="-1">
philpem@5 49 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/index.shtml">Main</a> <b>]</b>
philpem@5 50 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/news.shtml">News</a><b>] </b>
philpem@5 51 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/download.shtml">Download</a> <b>]</b>
philpem@5 52 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/screenshots.shtml">Screenshots</a> <b>]</b>
philpem@5 53 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/reference/group__cimg__faq.html">FAQ</a> <b>]</b>
philpem@5 54 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/reference/group__cimg__tutorial.html">Tutorial</a> <b>]</b>
philpem@5 55 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/reference/index.html">Documentation</a> <b>]</b>
philpem@5 56 <b>[</b> <a target="_parent" href="http://sourceforge.net/forum/forum.php?forum_id=334630">Forum</a> <b>]</b>
philpem@5 57 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/chat.shtml">Chat</a> <b>]</b>
philpem@5 58 <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/links.shtml">Links</a> <b>]</b>
philpem@5 59 </font>
philpem@5 60 </td></tr></tbody>
philpem@5 61 </table>
philpem@5 62 </center>
philpem@5 63 <hr noshade="noshade" size="1" width="90%"></hr>
philpem@5 64 </td></tr></tbody>
philpem@5 65 </table>
philpem@5 66 <!-- Generated by Doxygen 1.5.7.1 -->
philpem@5 67 <script type="text/javascript">
philpem@5 68 <!--
philpem@5 69 function changeDisplayState (e){
philpem@5 70 var num=this.id.replace(/[^[0-9]/g,'');
philpem@5 71 var button=this.firstChild;
philpem@5 72 var sectionDiv=document.getElementById('dynsection'+num);
philpem@5 73 if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
philpem@5 74 sectionDiv.style.display='block';
philpem@5 75 button.src='open.gif';
philpem@5 76 }else{
philpem@5 77 sectionDiv.style.display='none';
philpem@5 78 button.src='closed.gif';
philpem@5 79 }
philpem@5 80 }
philpem@5 81 function initDynSections(){
philpem@5 82 var divs=document.getElementsByTagName('div');
philpem@5 83 var sectionCounter=1;
philpem@5 84 for(var i=0;i<divs.length-1;i++){
philpem@5 85 if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
philpem@5 86 var header=divs[i];
philpem@5 87 var section=divs[i+1];
philpem@5 88 var button=header.firstChild;
philpem@5 89 if (button!='IMG'){
philpem@5 90 divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
philpem@5 91 button=document.createElement('img');
philpem@5 92 divs[i].insertBefore(button,divs[i].firstChild);
philpem@5 93 }
philpem@5 94 header.style.cursor='pointer';
philpem@5 95 header.onclick=changeDisplayState;
philpem@5 96 header.id='dynheader'+sectionCounter;
philpem@5 97 button.src='closed.gif';
philpem@5 98 section.id='dynsection'+sectionCounter;
philpem@5 99 section.style.display='none';
philpem@5 100 section.style.marginLeft='14px';
philpem@5 101 sectionCounter++;
philpem@5 102 }
philpem@5 103 }
philpem@5 104 }
philpem@5 105 window.onload = initDynSections;
philpem@5 106 -->
philpem@5 107 </script>
philpem@5 108 <div class="navigation" id="top">
philpem@5 109 <div class="tabs">
philpem@5 110 <ul>
philpem@5 111 <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
philpem@5 112 <li><a href="modules.html"><span>Modules</span></a></li>
philpem@5 113 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
philpem@5 114 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
philpem@5 115 </ul>
philpem@5 116 </div>
philpem@5 117 <div class="tabs">
philpem@5 118 <ul>
philpem@5 119 <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
philpem@5 120 <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
philpem@5 121 <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
philpem@5 122 </ul>
philpem@5 123 </div>
philpem@5 124 <div class="navpath"><a class="el" href="namespacecimg__library.html">cimg_library</a>::<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a>
philpem@5 125 </div>
philpem@5 126 </div>
philpem@5 127 <div class="contents">
philpem@5 128 <h1>CImgDisplay Struct Reference</h1><!-- doxytag: class="cimg_library::CImgDisplay" -->This class represents a window which can display <a class="el" href="structcimg__library_1_1CImg.html">CImg</a> images and handles mouse and keyboard events.
philpem@5 129 <a href="#_details">More...</a>
philpem@5 130 <p>
philpem@5 131
philpem@5 132 <p>
philpem@5 133 <a href="structcimg__library_1_1CImgDisplay-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
philpem@5 134 <tr><td></td></tr>
philpem@5 135 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
philpem@5 136 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54e3407c3b858f5f40283264e39b4f38"></a><!-- doxytag: member="cimg_library::CImgDisplay::CImgDisplay" ref="54e3407c3b858f5f40283264e39b4f38" args="()" -->
philpem@5 137 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#54e3407c3b858f5f40283264e39b4f38">CImgDisplay</a> ()</td></tr>
philpem@5 138
philpem@5 139 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an empty display window. <br></td></tr>
philpem@5 140 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#9c8b6e40064be02e212ffa7059ebafc0">CImgDisplay</a> (const unsigned int dimw, const unsigned int dimh, const char *<a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a>=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)</td></tr>
philpem@5 141
philpem@5 142 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a display window with a specified size <code>pwidth</code> x <code>height</code>. <a href="#9c8b6e40064be02e212ffa7059ebafc0"></a><br></td></tr>
philpem@5 143 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
philpem@5 144 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#ae589334b16c4d1138b81b85a1471f23">CImgDisplay</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img, const char *<a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a>=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)</td></tr>
philpem@5 145
philpem@5 146 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a display window from an image. <a href="#ae589334b16c4d1138b81b85a1471f23"></a><br></td></tr>
philpem@5 147 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
philpem@5 148 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#541a54a1c627fbc1d9b42da7af0bd082">CImgDisplay</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>&lt; T &gt; &amp;list, const char *<a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a>=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)</td></tr>
philpem@5 149
philpem@5 150 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a display window from an image list. <a href="#541a54a1c627fbc1d9b42da7af0bd082"></a><br></td></tr>
philpem@5 151 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#6765c355fa3ae998b9729b358f198a61">CImgDisplay</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp)</td></tr>
philpem@5 152
philpem@5 153 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a display window by copying another one. <a href="#6765c355fa3ae998b9729b358f198a61"></a><br></td></tr>
philpem@5 154 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4b8135f23d41f2077ff1d63deb452ea"></a><!-- doxytag: member="cimg_library::CImgDisplay::~CImgDisplay" ref="e4b8135f23d41f2077ff1d63deb452ea" args="()" -->
philpem@5 155 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#e4b8135f23d41f2077ff1d63deb452ea">~CImgDisplay</a> ()</td></tr>
philpem@5 156
philpem@5 157 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
philpem@5 158 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81d1882a4d7d0579298fe6fc706fca40"></a><!-- doxytag: member="cimg_library::CImgDisplay::operator=" ref="81d1882a4d7d0579298fe6fc706fca40" args="(const CImgDisplay &amp;disp)" -->
philpem@5 159 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#81d1882a4d7d0579298fe6fc706fca40">operator=</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp)</td></tr>
philpem@5 160
philpem@5 161 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator. <br></td></tr>
philpem@5 162 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cef8e33cfd36a5d7d2fad939efcf02e3"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_empty" ref="cef8e33cfd36a5d7d2fad939efcf02e3" args="() const " -->
philpem@5 163 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#cef8e33cfd36a5d7d2fad939efcf02e3">is_empty</a> () const </td></tr>
philpem@5 164
philpem@5 165 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true is display is empty. <br></td></tr>
philpem@5 166 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a385aa18f5e42db5a415c25a90f4193d"></a><!-- doxytag: member="cimg_library::CImgDisplay::operator bool" ref="a385aa18f5e42db5a415c25a90f4193d" args="() const " -->
philpem@5 167 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#a385aa18f5e42db5a415c25a90f4193d">operator bool</a> () const </td></tr>
philpem@5 168
philpem@5 169 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if display is not empty. <br></td></tr>
philpem@5 170 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="afae58d5a77ea4190e6f2c818238bd1a"></a><!-- doxytag: member="cimg_library::CImgDisplay::dimx" ref="afae58d5a77ea4190e6f2c818238bd1a" args="() const " -->
philpem@5 171 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#afae58d5a77ea4190e6f2c818238bd1a">dimx</a> () const </td></tr>
philpem@5 172
philpem@5 173 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return display width. <br></td></tr>
philpem@5 174 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc3244815fd1b4cea186b6a63bfb635d"></a><!-- doxytag: member="cimg_library::CImgDisplay::dimy" ref="fc3244815fd1b4cea186b6a63bfb635d" args="() const " -->
philpem@5 175 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#fc3244815fd1b4cea186b6a63bfb635d">dimy</a> () const </td></tr>
philpem@5 176
philpem@5 177 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return display height. <br></td></tr>
philpem@5 178 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e8dd30daac06fc499aa2aafad24cc4a"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_dimx" ref="3e8dd30daac06fc499aa2aafad24cc4a" args="() const " -->
philpem@5 179 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#3e8dd30daac06fc499aa2aafad24cc4a">window_dimx</a> () const </td></tr>
philpem@5 180
philpem@5 181 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return display window width. <br></td></tr>
philpem@5 182 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e263957fbad39c2df4bd0c02d644e6b8"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_dimy" ref="e263957fbad39c2df4bd0c02d644e6b8" args="() const " -->
philpem@5 183 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#e263957fbad39c2df4bd0c02d644e6b8">window_dimy</a> () const </td></tr>
philpem@5 184
philpem@5 185 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return display window height. <br></td></tr>
philpem@5 186 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7fd9c19f4185b1af4cb8b9a4164256d"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_posx" ref="f7fd9c19f4185b1af4cb8b9a4164256d" args="() const " -->
philpem@5 187 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#f7fd9c19f4185b1af4cb8b9a4164256d">window_posx</a> () const </td></tr>
philpem@5 188
philpem@5 189 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return X-coordinate of the window. <br></td></tr>
philpem@5 190 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce6f24d60fd39cea4d578a3eb7568fef"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_posy" ref="ce6f24d60fd39cea4d578a3eb7568fef" args="() const " -->
philpem@5 191 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#ce6f24d60fd39cea4d578a3eb7568fef">window_posy</a> () const </td></tr>
philpem@5 192
philpem@5 193 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return Y-coordinate of the window. <br></td></tr>
philpem@5 194 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79669a0b7bdc65aff8313c590c7faab0"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait" ref="79669a0b7bdc65aff8313c590c7faab0" args="(const unsigned int milliseconds)" -->
philpem@5 195 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#79669a0b7bdc65aff8313c590c7faab0">wait</a> (const unsigned int milliseconds)</td></tr>
philpem@5 196
philpem@5 197 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Synchronized waiting function. Same as <a class="el" href="namespacecimg__library_1_1cimg.html#3c8917c0f12139bff6de6e3e45fc5b77" title="Wait for a certain number of milliseconds since the last call.">cimg::wait()</a>. <br></td></tr>
philpem@5 198 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b16d9d312efaecc3630dc6539269bab9"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait" ref="b16d9d312efaecc3630dc6539269bab9" args="()" -->
philpem@5 199 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#b16d9d312efaecc3630dc6539269bab9">wait</a> ()</td></tr>
philpem@5 200
philpem@5 201 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait for an event occuring on the current display. <br></td></tr>
philpem@5 202 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ade6e852b67fea14093915c5dca7862"></a><!-- doxytag: member="cimg_library::CImgDisplay::frames_per_second" ref="3ade6e852b67fea14093915c5dca7862" args="()" -->
philpem@5 203 float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#3ade6e852b67fea14093915c5dca7862">frames_per_second</a> ()</td></tr>
philpem@5 204
philpem@5 205 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the frame per second rate. <br></td></tr>
philpem@5 206 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
philpem@5 207 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#43bcd9fcc817fa49152a81a2bf6cdb20">display</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>&lt; T &gt; &amp;list, const char axis='x', const char align='p')</td></tr>
philpem@5 208
philpem@5 209 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display an image list CImgList&lt;T&gt; into a display window. <a href="#43bcd9fcc817fa49152a81a2bf6cdb20"></a><br></td></tr>
philpem@5 210 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="86ffd9e1b491dab79d3b862a26e56053"></a><!-- doxytag: member="cimg_library::CImgDisplay::operator&lt;&lt;" ref="86ffd9e1b491dab79d3b862a26e56053" args="(const CImg&lt; T &gt; &amp;img)" -->
philpem@5 211 template&lt;typename T &gt; </td></tr>
philpem@5 212 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#86ffd9e1b491dab79d3b862a26e56053">operator&lt;&lt;</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img)</td></tr>
philpem@5 213
philpem@5 214 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display an image CImg&lt;T&gt; into a display window. <br></td></tr>
philpem@5 215 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f9a6d7bc318943350d8073d7a0664df9"></a><!-- doxytag: member="cimg_library::CImgDisplay::operator&lt;&lt;" ref="f9a6d7bc318943350d8073d7a0664df9" args="(const CImgList&lt; T &gt; &amp;list)" -->
philpem@5 216 template&lt;typename T &gt; </td></tr>
philpem@5 217 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#f9a6d7bc318943350d8073d7a0664df9">operator&lt;&lt;</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>&lt; T &gt; &amp;list)</td></tr>
philpem@5 218
philpem@5 219 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display an image CImg&lt;T&gt; into a display window. <br></td></tr>
philpem@5 220 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
philpem@5 221 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#fee064d94e1ec2e764af537fbee30d13">resize</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img, const bool redraw=true)</td></tr>
philpem@5 222
philpem@5 223 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resize a display window with the size of an image. <a href="#fee064d94e1ec2e764af537fbee30d13"></a><br></td></tr>
philpem@5 224 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4d082c39b75c096acb3fee6cda89b19"></a><!-- doxytag: member="cimg_library::CImgDisplay::resize" ref="f4d082c39b75c096acb3fee6cda89b19" args="(const CImgDisplay &amp;disp, const bool redraw=true)" -->
philpem@5 225 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#f4d082c39b75c096acb3fee6cda89b19">resize</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp, const bool redraw=true)</td></tr>
philpem@5 226
philpem@5 227 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resize a display window using the size of the given display <code>disp</code>. <br></td></tr>
philpem@5 228 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3fd73d5fc6a4ac9b87b1b8cdacc3833"></a><!-- doxytag: member="cimg_library::CImgDisplay::resize" ref="e3fd73d5fc6a4ac9b87b1b8cdacc3833" args="(const bool redraw=true)" -->
philpem@5 229 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#e3fd73d5fc6a4ac9b87b1b8cdacc3833">resize</a> (const bool redraw=true)</td></tr>
philpem@5 230
philpem@5 231 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resize a display window in its current size. <br></td></tr>
philpem@5 232 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6a0faa0d39524f5d5dac7297777dcdf1"></a><!-- doxytag: member="cimg_library::CImgDisplay::fullscreen" ref="6a0faa0d39524f5d5dac7297777dcdf1" args="(const bool redraw=true)" -->
philpem@5 233 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#6a0faa0d39524f5d5dac7297777dcdf1">fullscreen</a> (const bool redraw=true)</td></tr>
philpem@5 234
philpem@5 235 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set fullscreen mode. <br></td></tr>
philpem@5 236 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="971f4ac8d406a926d71f18c21c869f90"></a><!-- doxytag: member="cimg_library::CImgDisplay::normalscreen" ref="971f4ac8d406a926d71f18c21c869f90" args="(const bool redraw=true)" -->
philpem@5 237 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#971f4ac8d406a926d71f18c21c869f90">normalscreen</a> (const bool redraw=true)</td></tr>
philpem@5 238
philpem@5 239 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set normal screen mode. <br></td></tr>
philpem@5 240 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4bf168837be505b1301604b151280f6e"></a><!-- doxytag: member="cimg_library::CImgDisplay::flush" ref="4bf168837be505b1301604b151280f6e" args="()" -->
philpem@5 241 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#4bf168837be505b1301604b151280f6e">flush</a> ()</td></tr>
philpem@5 242
philpem@5 243 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear all events of the current display. <br></td></tr>
philpem@5 244 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d140aead8fc0119f432046542634ef56"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="d140aead8fc0119f432046542634ef56" args="(const bool remove=false)" -->
philpem@5 245 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#d140aead8fc0119f432046542634ef56">is_key</a> (const bool remove=false)</td></tr>
philpem@5 246
philpem@5 247 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if any key has been pressed. <br></td></tr>
philpem@5 248 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b11b6f707efedcbb4e6161a5412250f"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="5b11b6f707efedcbb4e6161a5412250f" args="(const unsigned int key1, const bool remove)" -->
philpem@5 249 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#5b11b6f707efedcbb4e6161a5412250f">is_key</a> (const unsigned int key1, const bool remove)</td></tr>
philpem@5 250
philpem@5 251 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key has been pressed. <br></td></tr>
philpem@5 252 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="439c6ed8ae7a2b8967d48db3612922db"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="439c6ed8ae7a2b8967d48db3612922db" args="(const unsigned int key1, const unsigned int key2, const bool remove)" -->
philpem@5 253 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#439c6ed8ae7a2b8967d48db3612922db">is_key</a> (const unsigned int key1, const unsigned int key2, const bool remove)</td></tr>
philpem@5 254
philpem@5 255 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 256 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83deadf5802945fe75692754d117a357"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="83deadf5802945fe75692754d117a357" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const bool remove)" -->
philpem@5 257 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#83deadf5802945fe75692754d117a357">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const bool remove)</td></tr>
philpem@5 258
philpem@5 259 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 260 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2293801f23d9ba3f7efcba0196554a9f"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="2293801f23d9ba3f7efcba0196554a9f" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const bool remove)" -->
philpem@5 261 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#2293801f23d9ba3f7efcba0196554a9f">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const bool remove)</td></tr>
philpem@5 262
philpem@5 263 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 264 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75d2273ead659c7a3774b5972450f3e8"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="75d2273ead659c7a3774b5972450f3e8" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const bool remove)" -->
philpem@5 265 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#75d2273ead659c7a3774b5972450f3e8">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const bool remove)</td></tr>
philpem@5 266
philpem@5 267 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 268 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c151f7d08e490be173bcbb2743f5432b"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="c151f7d08e490be173bcbb2743f5432b" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const bool remove)" -->
philpem@5 269 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#c151f7d08e490be173bcbb2743f5432b">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const bool remove)</td></tr>
philpem@5 270
philpem@5 271 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 272 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c26cf5ec1b6e3de8e4267e8baf585c0"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="1c26cf5ec1b6e3de8e4267e8baf585c0" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const bool remove)" -->
philpem@5 273 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#1c26cf5ec1b6e3de8e4267e8baf585c0">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const bool remove)</td></tr>
philpem@5 274
philpem@5 275 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 276 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0eaf2ed4f210afecc9ba5ac155e6f57b"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="0eaf2ed4f210afecc9ba5ac155e6f57b" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const unsigned int key8, const bool remove)" -->
philpem@5 277 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#0eaf2ed4f210afecc9ba5ac155e6f57b">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const unsigned int key8, const bool remove)</td></tr>
philpem@5 278
philpem@5 279 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 280 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0a413e81c81d30f02cefc16923e8091"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="d0a413e81c81d30f02cefc16923e8091" args="(const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const unsigned int key8, const unsigned int key9, const bool remove)" -->
philpem@5 281 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#d0a413e81c81d30f02cefc16923e8091">is_key</a> (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const unsigned int key8, const unsigned int key9, const bool remove)</td></tr>
philpem@5 282
philpem@5 283 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 284 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48c41f6d0533f21e93723bddd26cfb15"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_key" ref="48c41f6d0533f21e93723bddd26cfb15" args="(const unsigned int *const keyseq, const unsigned int N, const bool remove=true)" -->
philpem@5 285 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#48c41f6d0533f21e93723bddd26cfb15">is_key</a> (const unsigned int *const keyseq, const unsigned int N, const bool remove=true)</td></tr>
philpem@5 286
philpem@5 287 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a key sequence has been typed. <br></td></tr>
philpem@5 288 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="816d8c873ae3d27854bd0620646224b9"></a><!-- doxytag: member="cimg_library::CImgDisplay::assign" ref="816d8c873ae3d27854bd0620646224b9" args="()" -->
philpem@5 289 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#816d8c873ae3d27854bd0620646224b9">assign</a> ()</td></tr>
philpem@5 290
philpem@5 291 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In-place version of the destructor. <br></td></tr>
philpem@5 292 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e3269eea96ea399adc4197b5f0850b0"></a><!-- doxytag: member="cimg_library::CImgDisplay::assign" ref="7e3269eea96ea399adc4197b5f0850b0" args="(const unsigned int dimw, const unsigned int dimh, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)" -->
philpem@5 293 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#7e3269eea96ea399adc4197b5f0850b0">assign</a> (const unsigned int dimw, const unsigned int dimh, const char *<a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a>=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)</td></tr>
philpem@5 294
philpem@5 295 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr>
philpem@5 296 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3730afc08603d9131eca7ce55a98cee9"></a><!-- doxytag: member="cimg_library::CImgDisplay::assign" ref="3730afc08603d9131eca7ce55a98cee9" args="(const CImg&lt; T &gt; &amp;img, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)" -->
philpem@5 297 template&lt;typename T &gt; </td></tr>
philpem@5 298 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#3730afc08603d9131eca7ce55a98cee9">assign</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img, const char *<a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a>=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)</td></tr>
philpem@5 299
philpem@5 300 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr>
philpem@5 301 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c82bdf6c363f7d9fa9dacacc2cf31d00"></a><!-- doxytag: member="cimg_library::CImgDisplay::assign" ref="c82bdf6c363f7d9fa9dacacc2cf31d00" args="(const CImgList&lt; T &gt; &amp;list, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)" -->
philpem@5 302 template&lt;typename T &gt; </td></tr>
philpem@5 303 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#c82bdf6c363f7d9fa9dacacc2cf31d00">assign</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>&lt; T &gt; &amp;list, const char *<a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a>=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)</td></tr>
philpem@5 304
philpem@5 305 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr>
philpem@5 306 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c103e68816e12f5fd67c8f293fe18acd"></a><!-- doxytag: member="cimg_library::CImgDisplay::assign" ref="c103e68816e12f5fd67c8f293fe18acd" args="(const CImgDisplay &amp;disp)" -->
philpem@5 307 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#c103e68816e12f5fd67c8f293fe18acd">assign</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp)</td></tr>
philpem@5 308
philpem@5 309 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr>
philpem@5 310 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4fe0da6092c184682ff767dd5b83bbc5"></a><!-- doxytag: member="cimg_library::CImgDisplay::resize" ref="4fe0da6092c184682ff767dd5b83bbc5" args="(const int width, const int height, const bool redraw=true)" -->
philpem@5 311 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#4fe0da6092c184682ff767dd5b83bbc5">resize</a> (const int <a class="el" href="structcimg__library_1_1CImgDisplay.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a>, const int <a class="el" href="structcimg__library_1_1CImgDisplay.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a>, const bool redraw=true)</td></tr>
philpem@5 312
philpem@5 313 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resize window. <br></td></tr>
philpem@5 314 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62d224a7c18d3091eb0d56e1bc8c36fe"></a><!-- doxytag: member="cimg_library::CImgDisplay::toggle_fullscreen" ref="62d224a7c18d3091eb0d56e1bc8c36fe" args="(const bool redraw=true)" -->
philpem@5 315 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#62d224a7c18d3091eb0d56e1bc8c36fe">toggle_fullscreen</a> (const bool redraw=true)</td></tr>
philpem@5 316
philpem@5 317 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Toggle fullscreen mode. <br></td></tr>
philpem@5 318 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b27a2a375509146444ab06b2f7b8851"></a><!-- doxytag: member="cimg_library::CImgDisplay::show" ref="1b27a2a375509146444ab06b2f7b8851" args="()" -->
philpem@5 319 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#1b27a2a375509146444ab06b2f7b8851">show</a> ()</td></tr>
philpem@5 320
philpem@5 321 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show a closed display. <br></td></tr>
philpem@5 322 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e35c3363f8859c8a952a60dd4aa3fca"></a><!-- doxytag: member="cimg_library::CImgDisplay::close" ref="7e35c3363f8859c8a952a60dd4aa3fca" args="()" -->
philpem@5 323 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#7e35c3363f8859c8a952a60dd4aa3fca">close</a> ()</td></tr>
philpem@5 324
philpem@5 325 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Close a visible display. <br></td></tr>
philpem@5 326 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27714e5f8da060a36e6614ada9d8df25"></a><!-- doxytag: member="cimg_library::CImgDisplay::move" ref="27714e5f8da060a36e6614ada9d8df25" args="(const int posx, const int posy)" -->
philpem@5 327 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#27714e5f8da060a36e6614ada9d8df25">move</a> (const int posx, const int posy)</td></tr>
philpem@5 328
philpem@5 329 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Move window. <br></td></tr>
philpem@5 330 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9fc997c0451ce75666f1bdfe45eb0343"></a><!-- doxytag: member="cimg_library::CImgDisplay::show_mouse" ref="9fc997c0451ce75666f1bdfe45eb0343" args="()" -->
philpem@5 331 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#9fc997c0451ce75666f1bdfe45eb0343">show_mouse</a> ()</td></tr>
philpem@5 332
philpem@5 333 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show mouse pointer. <br></td></tr>
philpem@5 334 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fb8cda1473f326934c286e6e5d825e2"></a><!-- doxytag: member="cimg_library::CImgDisplay::hide_mouse" ref="3fb8cda1473f326934c286e6e5d825e2" args="()" -->
philpem@5 335 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#3fb8cda1473f326934c286e6e5d825e2">hide_mouse</a> ()</td></tr>
philpem@5 336
philpem@5 337 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Hide mouse pointer. <br></td></tr>
philpem@5 338 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00e5afcd819ab639a6a95b8e39af824c"></a><!-- doxytag: member="cimg_library::CImgDisplay::set_mouse" ref="00e5afcd819ab639a6a95b8e39af824c" args="(const int posx, const int posy)" -->
philpem@5 339 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#00e5afcd819ab639a6a95b8e39af824c">set_mouse</a> (const int posx, const int posy)</td></tr>
philpem@5 340
philpem@5 341 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Move mouse pointer to a specific location. <br></td></tr>
philpem@5 342 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="efd7d79af3da7a61a204ef902e6f0512"></a><!-- doxytag: member="cimg_library::CImgDisplay::set_title" ref="efd7d79af3da7a61a204ef902e6f0512" args="(const char *format,...)" -->
philpem@5 343 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#efd7d79af3da7a61a204ef902e6f0512">set_title</a> (const char *format,...)</td></tr>
philpem@5 344
philpem@5 345 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the window title. <br></td></tr>
philpem@5 346 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fd781dd620229f1178245c6e990121ae"></a><!-- doxytag: member="cimg_library::CImgDisplay::display" ref="fd781dd620229f1178245c6e990121ae" args="(const CImg&lt; T &gt; &amp;img)" -->
philpem@5 347 template&lt;typename T &gt; </td></tr>
philpem@5 348 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#fd781dd620229f1178245c6e990121ae">display</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img)</td></tr>
philpem@5 349
philpem@5 350 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display an image in a window. <br></td></tr>
philpem@5 351 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4e67d156351dd7dfdfd2f04e563c4f2a"></a><!-- doxytag: member="cimg_library::CImgDisplay::paint" ref="4e67d156351dd7dfdfd2f04e563c4f2a" args="()" -->
philpem@5 352 <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#4e67d156351dd7dfdfd2f04e563c4f2a">paint</a> ()</td></tr>
philpem@5 353
philpem@5 354 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Re-paint image content in window. <br></td></tr>
philpem@5 355 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1e0eea237d50ddb7e010a8b5edb5fdf4"></a><!-- doxytag: member="cimg_library::CImgDisplay::render" ref="1e0eea237d50ddb7e010a8b5edb5fdf4" args="(const CImg&lt; T &gt; &amp;img)" -->
philpem@5 356 template&lt;typename T &gt; </td></tr>
philpem@5 357 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#1e0eea237d50ddb7e010a8b5edb5fdf4">render</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img)</td></tr>
philpem@5 358
philpem@5 359 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Render image buffer into GDI native image format. <br></td></tr>
philpem@5 360 <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4b97d4d8b8c293cbf540ba06596ded54"></a><!-- doxytag: member="cimg_library::CImgDisplay::snapshot" ref="4b97d4d8b8c293cbf540ba06596ded54" args="(CImg&lt; T &gt; &amp;img) const " -->
philpem@5 361 template&lt;typename T &gt; </td></tr>
philpem@5 362 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#4b97d4d8b8c293cbf540ba06596ded54">snapshot</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;img) const </td></tr>
philpem@5 363
philpem@5 364 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Take a snapshot of the display in the specified image. <br></td></tr>
philpem@5 365 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
philpem@5 366 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="903bbc0d3fe2b9179790f7baea035916"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait" ref="903bbc0d3fe2b9179790f7baea035916" args="(CImgDisplay &amp;disp1)" -->
philpem@5 367 static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#903bbc0d3fe2b9179790f7baea035916">wait</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp1)</td></tr>
philpem@5 368
philpem@5 369 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait for any event occuring on the display <code>disp1</code>. <br></td></tr>
philpem@5 370 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d33d8e77ac9fab757e6f9e9afc067765"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait" ref="d33d8e77ac9fab757e6f9e9afc067765" args="(CImgDisplay &amp;disp1, CImgDisplay &amp;disp2)" -->
philpem@5 371 static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#d33d8e77ac9fab757e6f9e9afc067765">wait</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp1, <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp2)</td></tr>
philpem@5 372
philpem@5 373 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait for any event occuring either on the display <code>disp1</code> or <code>disp2</code>. <br></td></tr>
philpem@5 374 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce751dd163a5ea476947bcad5554035e"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait" ref="ce751dd163a5ea476947bcad5554035e" args="(CImgDisplay &amp;disp1, CImgDisplay &amp;disp2, CImgDisplay &amp;disp3)" -->
philpem@5 375 static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#ce751dd163a5ea476947bcad5554035e">wait</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp1, <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp2, <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp3)</td></tr>
philpem@5 376
philpem@5 377 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait for any event occuring either on the display <code>disp1</code>, <code>disp2</code> or <code>disp3</code>. <br></td></tr>
philpem@5 378 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78ac24c082d4eb13d127374a4bf64987"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait" ref="78ac24c082d4eb13d127374a4bf64987" args="(CImgDisplay &amp;disp1, CImgDisplay &amp;disp2, CImgDisplay &amp;disp3, CImgDisplay &amp;disp4)" -->
philpem@5 379 static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#78ac24c082d4eb13d127374a4bf64987">wait</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp1, <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp2, <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp3, <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;disp4)</td></tr>
philpem@5 380
philpem@5 381 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait for any event occuring either on the display <code>disp1</code>, <code>disp2</code>, <code>disp3</code> or <code>disp4</code>. <br></td></tr>
philpem@5 382 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0fc1bfce258738698d77e0e5690a3d6d"></a><!-- doxytag: member="cimg_library::CImgDisplay::screen_dimx" ref="0fc1bfce258738698d77e0e5690a3d6d" args="()" -->
philpem@5 383 static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#0fc1bfce258738698d77e0e5690a3d6d">screen_dimx</a> ()</td></tr>
philpem@5 384
philpem@5 385 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the width of the screen resolution. <br></td></tr>
philpem@5 386 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc1eab600c6dd77bdbde330fcd27d396"></a><!-- doxytag: member="cimg_library::CImgDisplay::screen_dimy" ref="fc1eab600c6dd77bdbde330fcd27d396" args="()" -->
philpem@5 387 static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#fc1eab600c6dd77bdbde330fcd27d396">screen_dimy</a> ()</td></tr>
philpem@5 388
philpem@5 389 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the height of the screen resolution. <br></td></tr>
philpem@5 390 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="530c68e321d3adcb30fcefa06a25ca5b"></a><!-- doxytag: member="cimg_library::CImgDisplay::wait_all" ref="530c68e321d3adcb30fcefa06a25ca5b" args="()" -->
philpem@5 391 static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#530c68e321d3adcb30fcefa06a25ca5b">wait_all</a> ()</td></tr>
philpem@5 392
philpem@5 393 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait for a window event in any <a class="el" href="structcimg__library_1_1CImg.html" title="Class representing an image (up to 4 dimensions wide), each pixel being of type T...">CImg</a> window. <br></td></tr>
philpem@5 394 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
philpem@5 395 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca34d28e3d8bcbcadb8edb4e3af24f8c"></a><!-- doxytag: member="cimg_library::CImgDisplay::width" ref="ca34d28e3d8bcbcadb8edb4e3af24f8c" args="" -->
philpem@5 396 unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a></td></tr>
philpem@5 397
philpem@5 398 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Width of the display. <br></td></tr>
philpem@5 399 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2e78c61905b4419fcc7b4cfc500fe85"></a><!-- doxytag: member="cimg_library::CImgDisplay::height" ref="b2e78c61905b4419fcc7b4cfc500fe85" args="" -->
philpem@5 400 unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a></td></tr>
philpem@5 401
philpem@5 402 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Height of the display. <br></td></tr>
philpem@5 403 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0ca4e92f24cf5b7896709dba3cf771a"></a><!-- doxytag: member="cimg_library::CImgDisplay::normalization" ref="a0ca4e92f24cf5b7896709dba3cf771a" args="" -->
philpem@5 404 unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#a0ca4e92f24cf5b7896709dba3cf771a">normalization</a></td></tr>
philpem@5 405
philpem@5 406 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Normalization type used for the display. <br></td></tr>
philpem@5 407 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f06d911bb9e05f491ef3da520d03796c"></a><!-- doxytag: member="cimg_library::CImgDisplay::title" ref="f06d911bb9e05f491ef3da520d03796c" args="" -->
philpem@5 408 char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#f06d911bb9e05f491ef3da520d03796c">title</a></td></tr>
philpem@5 409
philpem@5 410 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display title. <br></td></tr>
philpem@5 411 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a526ed4470cbc4924e72a1b4d616b00d"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_x" ref="a526ed4470cbc4924e72a1b4d616b00d" args="" -->
philpem@5 412 volatile int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#a526ed4470cbc4924e72a1b4d616b00d">window_x</a></td></tr>
philpem@5 413
philpem@5 414 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">X-pos of the display on the screen. <br></td></tr>
philpem@5 415 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f46b1f416882413996c261f839272a5"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_y" ref="8f46b1f416882413996c261f839272a5" args="" -->
philpem@5 416 volatile int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#8f46b1f416882413996c261f839272a5">window_y</a></td></tr>
philpem@5 417
philpem@5 418 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Y-pos of the display on the screen. <br></td></tr>
philpem@5 419 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b88886d5ff22bc29cd4a81e3abbb364b"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_width" ref="b88886d5ff22bc29cd4a81e3abbb364b" args="" -->
philpem@5 420 volatile unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#b88886d5ff22bc29cd4a81e3abbb364b">window_width</a></td></tr>
philpem@5 421
philpem@5 422 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Width of the underlying window. <br></td></tr>
philpem@5 423 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b93087fe5c3714abcb0719a6f483d51"></a><!-- doxytag: member="cimg_library::CImgDisplay::window_height" ref="3b93087fe5c3714abcb0719a6f483d51" args="" -->
philpem@5 424 volatile unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#3b93087fe5c3714abcb0719a6f483d51">window_height</a></td></tr>
philpem@5 425
philpem@5 426 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Height of the underlying window. <br></td></tr>
philpem@5 427 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4e1249ac2eca0971a8c42f79c3a687d4"></a><!-- doxytag: member="cimg_library::CImgDisplay::mouse_x" ref="4e1249ac2eca0971a8c42f79c3a687d4" args="" -->
philpem@5 428 volatile int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#4e1249ac2eca0971a8c42f79c3a687d4">mouse_x</a></td></tr>
philpem@5 429
philpem@5 430 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">X-coordinate of the mouse pointer on the display. <br></td></tr>
philpem@5 431 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adc7ac37cf1e624daddaa8d2c1587eef"></a><!-- doxytag: member="cimg_library::CImgDisplay::mouse_y" ref="adc7ac37cf1e624daddaa8d2c1587eef" args="" -->
philpem@5 432 volatile int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#adc7ac37cf1e624daddaa8d2c1587eef">mouse_y</a></td></tr>
philpem@5 433
philpem@5 434 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Y-coordinate of the mouse pointer on the display. <br></td></tr>
philpem@5 435 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="99bff6269344233fdf65bd637224550c"></a><!-- doxytag: member="cimg_library::CImgDisplay::buttons" ref="99bff6269344233fdf65bd637224550c" args="[512]" -->
philpem@5 436 volatile unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#99bff6269344233fdf65bd637224550c">buttons</a> [512]</td></tr>
philpem@5 437
philpem@5 438 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Button state of the mouse. <br></td></tr>
philpem@5 439 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8852860a5e65fc4e698c2771ac5d5dab"></a><!-- doxytag: member="cimg_library::CImgDisplay::wheel" ref="8852860a5e65fc4e698c2771ac5d5dab" args="" -->
philpem@5 440 volatile int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#8852860a5e65fc4e698c2771ac5d5dab">wheel</a></td></tr>
philpem@5 441
philpem@5 442 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wheel state of the mouse. <br></td></tr>
philpem@5 443 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31f08c239581b118bfa3024329c8a611"></a><!-- doxytag: member="cimg_library::CImgDisplay::key" ref="31f08c239581b118bfa3024329c8a611" args="" -->
philpem@5 444 volatile unsigned int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#31f08c239581b118bfa3024329c8a611">key</a></td></tr>
philpem@5 445
philpem@5 446 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Key value if pressed. <br></td></tr>
philpem@5 447 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="170a7c96fc7e3f262052d29b83430429"></a><!-- doxytag: member="cimg_library::CImgDisplay::released_key" ref="170a7c96fc7e3f262052d29b83430429" args="" -->
philpem@5 448 volatile unsigned int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#170a7c96fc7e3f262052d29b83430429">released_key</a></td></tr>
philpem@5 449
philpem@5 450 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Key value if released. <br></td></tr>
philpem@5 451 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6177b591b6fdd86be8a841805e35e280"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_closed" ref="6177b591b6fdd86be8a841805e35e280" args="" -->
philpem@5 452 volatile bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#6177b591b6fdd86be8a841805e35e280">is_closed</a></td></tr>
philpem@5 453
philpem@5 454 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closed state of the window. <br></td></tr>
philpem@5 455 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c36e1e5ca1f39584ff996eddc7bc7f0e"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_resized" ref="c36e1e5ca1f39584ff996eddc7bc7f0e" args="" -->
philpem@5 456 volatile bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#c36e1e5ca1f39584ff996eddc7bc7f0e">is_resized</a></td></tr>
philpem@5 457
philpem@5 458 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resized state of the window. <br></td></tr>
philpem@5 459 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9655ae9b239a315df522996415012d0a"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_moved" ref="9655ae9b239a315df522996415012d0a" args="" -->
philpem@5 460 volatile bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#9655ae9b239a315df522996415012d0a">is_moved</a></td></tr>
philpem@5 461
philpem@5 462 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moved state of the window. <br></td></tr>
philpem@5 463 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e899d3a3cda0dc8e2fccac37f2258840"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_event" ref="e899d3a3cda0dc8e2fccac37f2258840" args="" -->
philpem@5 464 volatile bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#e899d3a3cda0dc8e2fccac37f2258840">is_event</a></td></tr>
philpem@5 465
philpem@5 466 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Event state of the window. <br></td></tr>
philpem@5 467 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe7ba7376c7b08dec24ac4c42d5fc753"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_keyESC" ref="fe7ba7376c7b08dec24ac4c42d5fc753" args="" -->
philpem@5 468 volatile bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#fe7ba7376c7b08dec24ac4c42d5fc753">is_keyESC</a></td></tr>
philpem@5 469
philpem@5 470 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Current state of the corresponding key (exists for all referenced keys). <br></td></tr>
philpem@5 471 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="198912a8b09f955a6510f97d62060f5c"></a><!-- doxytag: member="cimg_library::CImgDisplay::is_fullscreen" ref="198912a8b09f955a6510f97d62060f5c" args="" -->
philpem@5 472 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImgDisplay.html#198912a8b09f955a6510f97d62060f5c">is_fullscreen</a></td></tr>
philpem@5 473
philpem@5 474 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fullscreen state of the display. <br></td></tr>
philpem@5 475 </table>
philpem@5 476 <hr><a name="_details"></a><h2>Detailed Description</h2>
philpem@5 477 This class represents a window which can display <a class="el" href="structcimg__library_1_1CImg.html">CImg</a> images and handles mouse and keyboard events.
philpem@5 478 <p>
philpem@5 479 Creating a <code><a class="el" href="structcimg__library_1_1CImgDisplay.html" title="This class represents a window which can display CImg images and handles mouse and...">CImgDisplay</a></code> instance opens a window that can be used to display a <code>CImg&lt;T&gt;</code> image of a <code>CImgList&lt;T&gt;</code> image list inside. When a display is created, associated window events (such as mouse motion, keyboard and window size changes) are handled and can be easily detected by testing specific <code><a class="el" href="structcimg__library_1_1CImgDisplay.html" title="This class represents a window which can display CImg images and handles mouse and...">CImgDisplay</a></code> data fields. See <a class="el" href="group__cimg__displays.html">Using Display Windows.</a> for a complete tutorial on using the <code><a class="el" href="structcimg__library_1_1CImgDisplay.html" title="This class represents a window which can display CImg images and handles mouse and...">CImgDisplay</a></code> class. <hr><h2>Constructor &amp; Destructor Documentation</h2>
philpem@5 480 <a class="anchor" name="9c8b6e40064be02e212ffa7059ebafc0"></a><!-- doxytag: member="cimg_library::CImgDisplay::CImgDisplay" ref="9c8b6e40064be02e212ffa7059ebafc0" args="(const unsigned int dimw, const unsigned int dimh, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)" -->
philpem@5 481 <div class="memitem">
philpem@5 482 <div class="memproto">
philpem@5 483 <table class="memname">
philpem@5 484 <tr>
philpem@5 485 <td class="memname"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> </td>
philpem@5 486 <td>(</td>
philpem@5 487 <td class="paramtype">const unsigned int&nbsp;</td>
philpem@5 488 <td class="paramname"> <em>dimw</em>, </td>
philpem@5 489 </tr>
philpem@5 490 <tr>
philpem@5 491 <td class="paramkey"></td>
philpem@5 492 <td></td>
philpem@5 493 <td class="paramtype">const unsigned int&nbsp;</td>
philpem@5 494 <td class="paramname"> <em>dimh</em>, </td>
philpem@5 495 </tr>
philpem@5 496 <tr>
philpem@5 497 <td class="paramkey"></td>
philpem@5 498 <td></td>
philpem@5 499 <td class="paramtype">const char *&nbsp;</td>
philpem@5 500 <td class="paramname"> <em>title</em> = <code>0</code>, </td>
philpem@5 501 </tr>
philpem@5 502 <tr>
philpem@5 503 <td class="paramkey"></td>
philpem@5 504 <td></td>
philpem@5 505 <td class="paramtype">const unsigned int&nbsp;</td>
philpem@5 506 <td class="paramname"> <em>normalization_type</em> = <code>3</code>, </td>
philpem@5 507 </tr>
philpem@5 508 <tr>
philpem@5 509 <td class="paramkey"></td>
philpem@5 510 <td></td>
philpem@5 511 <td class="paramtype">const bool&nbsp;</td>
philpem@5 512 <td class="paramname"> <em>fullscreen_flag</em> = <code>false</code>, </td>
philpem@5 513 </tr>
philpem@5 514 <tr>
philpem@5 515 <td class="paramkey"></td>
philpem@5 516 <td></td>
philpem@5 517 <td class="paramtype">const bool&nbsp;</td>
philpem@5 518 <td class="paramname"> <em>closed_flag</em> = <code>false</code></td><td>&nbsp;</td>
philpem@5 519 </tr>
philpem@5 520 <tr>
philpem@5 521 <td></td>
philpem@5 522 <td>)</td>
philpem@5 523 <td></td><td></td><td><code> [inline]</code></td>
philpem@5 524 </tr>
philpem@5 525 </table>
philpem@5 526 </div>
philpem@5 527 <div class="memdoc">
philpem@5 528
philpem@5 529 <p>
philpem@5 530 Create a display window with a specified size <code>pwidth</code> x <code>height</code>.
philpem@5 531 <p>
philpem@5 532 <dl compact><dt><b>Parameters:</b></dt><dd>
philpem@5 533 <table border="0" cellspacing="2" cellpadding="0">
philpem@5 534 <tr><td valign="top"></td><td valign="top"><em>dimw</em>&nbsp;</td><td>Width of the display window. </td></tr>
philpem@5 535 <tr><td valign="top"></td><td valign="top"><em>dimh</em>&nbsp;</td><td>Height of the display window. </td></tr>
philpem@5 536 <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>Title of the display window. </td></tr>
philpem@5 537 <tr><td valign="top"></td><td valign="top"><em>normalization_type</em>&nbsp;</td><td>Normalization type of the display window (0=none, 1=always, 2=once). </td></tr>
philpem@5 538 <tr><td valign="top"></td><td valign="top"><em>fullscreen_flag</em>&nbsp;</td><td>: Fullscreen mode. </td></tr>
philpem@5 539 <tr><td valign="top"></td><td valign="top"><em>closed_flag</em>&nbsp;</td><td>: Initially visible mode. A black image will be initially displayed in the display window. </td></tr>
philpem@5 540 </table>
philpem@5 541 </dl>
philpem@5 542
philpem@5 543 </div>
philpem@5 544 </div><p>
philpem@5 545 <a class="anchor" name="ae589334b16c4d1138b81b85a1471f23"></a><!-- doxytag: member="cimg_library::CImgDisplay::CImgDisplay" ref="ae589334b16c4d1138b81b85a1471f23" args="(const CImg&lt; T &gt; &amp;img, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)" -->
philpem@5 546 <div class="memitem">
philpem@5 547 <div class="memproto">
philpem@5 548 <table class="memname">
philpem@5 549 <tr>
philpem@5 550 <td class="memname"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> </td>
philpem@5 551 <td>(</td>
philpem@5 552 <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;&nbsp;</td>
philpem@5 553 <td class="paramname"> <em>img</em>, </td>
philpem@5 554 </tr>
philpem@5 555 <tr>
philpem@5 556 <td class="paramkey"></td>
philpem@5 557 <td></td>
philpem@5 558 <td class="paramtype">const char *&nbsp;</td>
philpem@5 559 <td class="paramname"> <em>title</em> = <code>0</code>, </td>
philpem@5 560 </tr>
philpem@5 561 <tr>
philpem@5 562 <td class="paramkey"></td>
philpem@5 563 <td></td>
philpem@5 564 <td class="paramtype">const unsigned int&nbsp;</td>
philpem@5 565 <td class="paramname"> <em>normalization_type</em> = <code>3</code>, </td>
philpem@5 566 </tr>
philpem@5 567 <tr>
philpem@5 568 <td class="paramkey"></td>
philpem@5 569 <td></td>
philpem@5 570 <td class="paramtype">const bool&nbsp;</td>
philpem@5 571 <td class="paramname"> <em>fullscreen_flag</em> = <code>false</code>, </td>
philpem@5 572 </tr>
philpem@5 573 <tr>
philpem@5 574 <td class="paramkey"></td>
philpem@5 575 <td></td>
philpem@5 576 <td class="paramtype">const bool&nbsp;</td>
philpem@5 577 <td class="paramname"> <em>closed_flag</em> = <code>false</code></td><td>&nbsp;</td>
philpem@5 578 </tr>
philpem@5 579 <tr>
philpem@5 580 <td></td>
philpem@5 581 <td>)</td>
philpem@5 582 <td></td><td></td><td><code> [inline]</code></td>
philpem@5 583 </tr>
philpem@5 584 </table>
philpem@5 585 </div>
philpem@5 586 <div class="memdoc">
philpem@5 587
philpem@5 588 <p>
philpem@5 589 Create a display window from an image.
philpem@5 590 <p>
philpem@5 591 <dl compact><dt><b>Parameters:</b></dt><dd>
philpem@5 592 <table border="0" cellspacing="2" cellpadding="0">
philpem@5 593 <tr><td valign="top"></td><td valign="top"><em>img</em>&nbsp;</td><td>: Image that will be used to create the display window. </td></tr>
philpem@5 594 <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>: Title of the display window </td></tr>
philpem@5 595 <tr><td valign="top"></td><td valign="top"><em>normalization_type</em>&nbsp;</td><td>: Normalization type of the display window. </td></tr>
philpem@5 596 <tr><td valign="top"></td><td valign="top"><em>fullscreen_flag</em>&nbsp;</td><td>: Fullscreen mode. </td></tr>
philpem@5 597 <tr><td valign="top"></td><td valign="top"><em>closed_flag</em>&nbsp;</td><td>: Initially visible mode. </td></tr>
philpem@5 598 </table>
philpem@5 599 </dl>
philpem@5 600
philpem@5 601 </div>
philpem@5 602 </div><p>
philpem@5 603 <a class="anchor" name="541a54a1c627fbc1d9b42da7af0bd082"></a><!-- doxytag: member="cimg_library::CImgDisplay::CImgDisplay" ref="541a54a1c627fbc1d9b42da7af0bd082" args="(const CImgList&lt; T &gt; &amp;list, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)" -->
philpem@5 604 <div class="memitem">
philpem@5 605 <div class="memproto">
philpem@5 606 <table class="memname">
philpem@5 607 <tr>
philpem@5 608 <td class="memname"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> </td>
philpem@5 609 <td>(</td>
philpem@5 610 <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>&lt; T &gt; &amp;&nbsp;</td>
philpem@5 611 <td class="paramname"> <em>list</em>, </td>
philpem@5 612 </tr>
philpem@5 613 <tr>
philpem@5 614 <td class="paramkey"></td>
philpem@5 615 <td></td>
philpem@5 616 <td class="paramtype">const char *&nbsp;</td>
philpem@5 617 <td class="paramname"> <em>title</em> = <code>0</code>, </td>
philpem@5 618 </tr>
philpem@5 619 <tr>
philpem@5 620 <td class="paramkey"></td>
philpem@5 621 <td></td>
philpem@5 622 <td class="paramtype">const unsigned int&nbsp;</td>
philpem@5 623 <td class="paramname"> <em>normalization_type</em> = <code>3</code>, </td>
philpem@5 624 </tr>
philpem@5 625 <tr>
philpem@5 626 <td class="paramkey"></td>
philpem@5 627 <td></td>
philpem@5 628 <td class="paramtype">const bool&nbsp;</td>
philpem@5 629 <td class="paramname"> <em>fullscreen_flag</em> = <code>false</code>, </td>
philpem@5 630 </tr>
philpem@5 631 <tr>
philpem@5 632 <td class="paramkey"></td>
philpem@5 633 <td></td>
philpem@5 634 <td class="paramtype">const bool&nbsp;</td>
philpem@5 635 <td class="paramname"> <em>closed_flag</em> = <code>false</code></td><td>&nbsp;</td>
philpem@5 636 </tr>
philpem@5 637 <tr>
philpem@5 638 <td></td>
philpem@5 639 <td>)</td>
philpem@5 640 <td></td><td></td><td><code> [inline]</code></td>
philpem@5 641 </tr>
philpem@5 642 </table>
philpem@5 643 </div>
philpem@5 644 <div class="memdoc">
philpem@5 645
philpem@5 646 <p>
philpem@5 647 Create a display window from an image list.
philpem@5 648 <p>
philpem@5 649 <dl compact><dt><b>Parameters:</b></dt><dd>
philpem@5 650 <table border="0" cellspacing="2" cellpadding="0">
philpem@5 651 <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>: The list of images to display. </td></tr>
philpem@5 652 <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>: Title of the display window </td></tr>
philpem@5 653 <tr><td valign="top"></td><td valign="top"><em>normalization_type</em>&nbsp;</td><td>: Normalization type of the display window. </td></tr>
philpem@5 654 <tr><td valign="top"></td><td valign="top"><em>fullscreen_flag</em>&nbsp;</td><td>: Fullscreen mode. </td></tr>
philpem@5 655 <tr><td valign="top"></td><td valign="top"><em>closed_flag</em>&nbsp;</td><td>: Initially visible mode. </td></tr>
philpem@5 656 </table>
philpem@5 657 </dl>
philpem@5 658
philpem@5 659 </div>
philpem@5 660 </div><p>
philpem@5 661 <a class="anchor" name="6765c355fa3ae998b9729b358f198a61"></a><!-- doxytag: member="cimg_library::CImgDisplay::CImgDisplay" ref="6765c355fa3ae998b9729b358f198a61" args="(const CImgDisplay &amp;disp)" -->
philpem@5 662 <div class="memitem">
philpem@5 663 <div class="memproto">
philpem@5 664 <table class="memname">
philpem@5 665 <tr>
philpem@5 666 <td class="memname"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> </td>
philpem@5 667 <td>(</td>
philpem@5 668 <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &amp;&nbsp;</td>
philpem@5 669 <td class="paramname"> <em>disp</em> </td>
philpem@5 670 <td>&nbsp;)&nbsp;</td>
philpem@5 671 <td><code> [inline]</code></td>
philpem@5 672 </tr>
philpem@5 673 </table>
philpem@5 674 </div>
philpem@5 675 <div class="memdoc">
philpem@5 676
philpem@5 677 <p>
philpem@5 678 Create a display window by copying another one.
philpem@5 679 <p>
philpem@5 680 <dl compact><dt><b>Parameters:</b></dt><dd>
philpem@5 681 <table border="0" cellspacing="2" cellpadding="0">
philpem@5 682 <tr><td valign="top"></td><td valign="top"><em>disp</em>&nbsp;</td><td>: Display window to copy. </td></tr>
philpem@5 683 </table>
philpem@5 684 </dl>
philpem@5 685
philpem@5 686 </div>
philpem@5 687 </div><p>
philpem@5 688 <hr><h2>Member Function Documentation</h2>
philpem@5 689 <a class="anchor" name="43bcd9fcc817fa49152a81a2bf6cdb20"></a><!-- doxytag: member="cimg_library::CImgDisplay::display" ref="43bcd9fcc817fa49152a81a2bf6cdb20" args="(const CImgList&lt; T &gt; &amp;list, const char axis='x', const char align='p')" -->
philpem@5 690 <div class="memitem">
philpem@5 691 <div class="memproto">
philpem@5 692 <table class="memname">
philpem@5 693 <tr>
philpem@5 694 <td class="memname"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a>&amp; display </td>
philpem@5 695 <td>(</td>
philpem@5 696 <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>&lt; T &gt; &amp;&nbsp;</td>
philpem@5 697 <td class="paramname"> <em>list</em>, </td>
philpem@5 698 </tr>
philpem@5 699 <tr>
philpem@5 700 <td class="paramkey"></td>
philpem@5 701 <td></td>
philpem@5 702 <td class="paramtype">const char&nbsp;</td>
philpem@5 703 <td class="paramname"> <em>axis</em> = <code>'x'</code>, </td>
philpem@5 704 </tr>
philpem@5 705 <tr>
philpem@5 706 <td class="paramkey"></td>
philpem@5 707 <td></td>
philpem@5 708 <td class="paramtype">const char&nbsp;</td>
philpem@5 709 <td class="paramname"> <em>align</em> = <code>'p'</code></td><td>&nbsp;</td>
philpem@5 710 </tr>
philpem@5 711 <tr>
philpem@5 712 <td></td>
philpem@5 713 <td>)</td>
philpem@5 714 <td></td><td></td><td><code> [inline]</code></td>
philpem@5 715 </tr>
philpem@5 716 </table>
philpem@5 717 </div>
philpem@5 718 <div class="memdoc">
philpem@5 719
philpem@5 720 <p>
philpem@5 721 Display an image list CImgList&lt;T&gt; into a display window.
philpem@5 722 <p>
philpem@5 723 First, all images of the list are appended into a single image used for visualization, then this image is displayed in the current display window. <dl compact><dt><b>Parameters:</b></dt><dd>
philpem@5 724 <table border="0" cellspacing="2" cellpadding="0">
philpem@5 725 <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>: The list of images to display. </td></tr>
philpem@5 726 <tr><td valign="top"></td><td valign="top"><em>axis</em>&nbsp;</td><td>: The axis used to append the image for visualization. Can be 'x' (default),'y','z' or 'v'. </td></tr>
philpem@5 727 <tr><td valign="top"></td><td valign="top"><em>align</em>&nbsp;</td><td>: Defines the relative alignment of images when displaying images of different sizes. Can be '<code>c'</code> (centered, which is the default), '<code>p'</code> (top alignment) and '<code>n'</code> (bottom aligment). </td></tr>
philpem@5 728 </table>
philpem@5 729 </dl>
philpem@5 730
philpem@5 731 </div>
philpem@5 732 </div><p>
philpem@5 733 <a class="anchor" name="fee064d94e1ec2e764af537fbee30d13"></a><!-- doxytag: member="cimg_library::CImgDisplay::resize" ref="fee064d94e1ec2e764af537fbee30d13" args="(const CImg&lt; T &gt; &amp;img, const bool redraw=true)" -->
philpem@5 734 <div class="memitem">
philpem@5 735 <div class="memproto">
philpem@5 736 <table class="memname">
philpem@5 737 <tr>
philpem@5 738 <td class="memname"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a>&amp; resize </td>
philpem@5 739 <td>(</td>
philpem@5 740 <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>&lt; T &gt; &amp;&nbsp;</td>
philpem@5 741 <td class="paramname"> <em>img</em>, </td>
philpem@5 742 </tr>
philpem@5 743 <tr>
philpem@5 744 <td class="paramkey"></td>
philpem@5 745 <td></td>
philpem@5 746 <td class="paramtype">const bool&nbsp;</td>
philpem@5 747 <td class="paramname"> <em>redraw</em> = <code>true</code></td><td>&nbsp;</td>
philpem@5 748 </tr>
philpem@5 749 <tr>
philpem@5 750 <td></td>
philpem@5 751 <td>)</td>
philpem@5 752 <td></td><td></td><td><code> [inline]</code></td>
philpem@5 753 </tr>
philpem@5 754 </table>
philpem@5 755 </div>
philpem@5 756 <div class="memdoc">
philpem@5 757
philpem@5 758 <p>
philpem@5 759 Resize a display window with the size of an image.
philpem@5 760 <p>
philpem@5 761 <dl compact><dt><b>Parameters:</b></dt><dd>
philpem@5 762 <table border="0" cellspacing="2" cellpadding="0">
philpem@5 763 <tr><td valign="top"></td><td valign="top"><em>img</em>&nbsp;</td><td>: Input image. <code>image.width</code> and <code>image.height</code> give the new dimensions of the display window. </td></tr>
philpem@5 764 <tr><td valign="top"></td><td valign="top"><em>redraw</em>&nbsp;</td><td>: If <code>true</code> (default), the current displayed image in the display window will be bloc-interpolated to fit the new dimensions. If <code>false</code>, a black image will be drawn in the resized window. </td></tr>
philpem@5 765 </table>
philpem@5 766 </dl>
philpem@5 767
philpem@5 768 </div>
philpem@5 769 </div><p>
philpem@5 770 </div>
philpem@5 771 <hr noshade="noshade" size="1" width="100%">
philpem@5 772 <a href="http://sourceforge.net">
philpem@5 773 <img src="http://sourceforge.net/sflogo.php?group_id=96492&amp;type=3" border="0" height="37" width="125"></img>
philpem@5 774 </a>
philpem@5 775 <!-- Start of StatCounter Code -->
philpem@5 776 <script type="text/javascript" language="javascript">
philpem@5 777 <!--
philpem@5 778 var sc_project=895001;
philpem@5 779 var sc_invisible=1;
philpem@5 780 var sc_partition=7;
philpem@5 781 var sc_security="5ea85181";
philpem@5 782 //-->
philpem@5 783 </script>
philpem@5 784 <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c8.statcounter.com/counter.php?sc_project=895001&amp;java=0&amp;security=5ea85181&amp;invisible=1" alt="counter stats" border="0"></a> </noscript>
philpem@5 785 <!-- End of StatCounter Code -->
philpem@5 786 </body>
philpem@5 787 </html>