Automated Release Preparation

This commit is contained in:
2020-01-16 12:09:30 +01:00
parent b4a37d8bea
commit 34294ef7cb
303 changed files with 5603 additions and 4657 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IntelliPhoto: PaintingArea Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -13,10 +13,6 @@
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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>
@@ -38,7 +34,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -67,7 +63,7 @@ $(function() {
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_painting_area.html','');});
$(document).ready(function(){initNavTree('class_painting_area.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
@@ -125,6 +121,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aa32adc113f77031945f73e33051931e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">~PaintingArea</a> () override</td></tr>
<tr class="memdesc:aa32adc113f77031945f73e33051931e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This deconstructor is used to clear up the memory and remove the currently active window. <a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">More...</a><br /></td></tr>
<tr class="separator:aa32adc113f77031945f73e33051931e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63be0831e5b6ceb8cc622d83aa28f0bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">setRenderSettings</a> (bool isFastRenderingOn)</td></tr>
<tr class="memdesc:a63be0831e5b6ceb8cc622d83aa28f0bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">setRenderSettings updates all Images to the new Rendersetting. <a href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">More...</a><br /></td></tr>
<tr class="separator:a63be0831e5b6ceb8cc622d83aa28f0bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88c7e759aa8375a56129791645f46ea5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a88c7e759aa8375a56129791645f46ea5">open</a> (const QString &amp;filePath)</td></tr>
<tr class="memdesc:a88c7e759aa8375a56129791645f46ea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The open method is used for loading a picture into the current layer. <a href="class_painting_area.html#a88c7e759aa8375a56129791645f46ea5">More...</a><br /></td></tr>
<tr class="separator:a88c7e759aa8375a56129791645f46ea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -137,18 +136,18 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:ab4a0b3a497ea8821a045ad12c34bd980"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#ab4a0b3a497ea8821a045ad12c34bd980">addLayerAt</a> (int idx, int width, int height, int widthOffset=0, int heightOffset=0, <a class="el" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e">IntelliImage::ImageType</a> type=<a class="el" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a>)</td></tr>
<tr class="memdesc:ab4a0b3a497ea8821a045ad12c34bd980"><td class="mdescLeft">&#160;</td><td class="mdescRight">The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer stack. <a href="class_painting_area.html#ab4a0b3a497ea8821a045ad12c34bd980">More...</a><br /></td></tr>
<tr class="separator:ab4a0b3a497ea8821a045ad12c34bd980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2382ebf8c31dee36cb714f34a18b71e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a2382ebf8c31dee36cb714f34a18b71e4">deleteLayer</a> (int idx)</td></tr>
<tr class="memdesc:a2382ebf8c31dee36cb714f34a18b71e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The deleteLayer method removes a layer at a given idx. <a href="class_painting_area.html#a2382ebf8c31dee36cb714f34a18b71e4">More...</a><br /></td></tr>
<tr class="separator:a2382ebf8c31dee36cb714f34a18b71e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b7dc8b8dc0b301ce58206aa76fb1630"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">deleteLayer</a> (int idx, bool isTool=false)</td></tr>
<tr class="memdesc:a9b7dc8b8dc0b301ce58206aa76fb1630"><td class="mdescLeft">&#160;</td><td class="mdescRight">The deleteLayer method removes a layer at a given idx. <a href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">More...</a><br /></td></tr>
<tr class="separator:a9b7dc8b8dc0b301ce58206aa76fb1630"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79eb059829f27e8cdb3a54c5cd3d12c9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9">setLayerActive</a> (int idx)</td></tr>
<tr class="memdesc:a79eb059829f27e8cdb3a54c5cd3d12c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The setLayerToActive method marks a specific layer as active. <a href="class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9">More...</a><br /></td></tr>
<tr class="separator:a79eb059829f27e8cdb3a54c5cd3d12c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c7e0865e684ae1089ee283b4399d055"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055">setLayerAlpha</a> (int idx, int alpha)</td></tr>
<tr class="memdesc:a6c7e0865e684ae1089ee283b4399d055"><td class="mdescLeft">&#160;</td><td class="mdescRight">The setAlphaOfLayer method sets the alpha value of a specific layer. <a href="class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055">More...</a><br /></td></tr>
<tr class="separator:a6c7e0865e684ae1089ee283b4399d055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb5eb394b979ea90f2be9849fdda1774"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">floodFill</a> (int r, int g, int b, int a)</td></tr>
<tr class="memdesc:aeb5eb394b979ea90f2be9849fdda1774"><td class="mdescLeft">&#160;</td><td class="mdescRight">The floodFill method fills a the active layer with a given color. <a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">More...</a><br /></td></tr>
<tr class="separator:aeb5eb394b979ea90f2be9849fdda1774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa409492ac26483d618bb33616f2e3f81"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aa409492ac26483d618bb33616f2e3f81">setPolygon</a> (int idx)</td></tr>
<tr class="memdesc:aa409492ac26483d618bb33616f2e3f81"><td class="mdescLeft">&#160;</td><td class="mdescRight">setPolygon is used for setting polygondata, it only works on RASTER images <a href="class_painting_area.html#aa409492ac26483d618bb33616f2e3f81">More...</a><br /></td></tr>
<tr class="separator:aa409492ac26483d618bb33616f2e3f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6d089f4357b22d9a9906fd4771de3e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a> (int x, int y)</td></tr>
<tr class="memdesc:ac6d089f4357b22d9a9906fd4771de3e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The movePositionActive method moves the active layer to certain position. <a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">More...</a><br /></td></tr>
<tr class="separator:ac6d089f4357b22d9a9906fd4771de3e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -184,6 +183,10 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:ac576f58aad03b4dcd47611b6a4b9abb4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4">getHeightOfActive</a> ()</td></tr>
<tr class="memdesc:ac576f58aad03b4dcd47611b6a4b9abb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The getHeightOfActive gets the vertical dimensions of the active layer. <a href="class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4">More...</a><br /></td></tr>
<tr class="separator:ac576f58aad03b4dcd47611b6a4b9abb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb082c1cda3edb6b68d8ee45cf4822f8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8">getMaxWidth</a> ()</td></tr>
<tr class="separator:aeb082c1cda3edb6b68d8ee45cf4822f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa811d142df9239ae248679bd70ad6da7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aa811d142df9239ae248679bd70ad6da7">getMaxHeight</a> ()</td></tr>
<tr class="separator:aa811d142df9239ae248679bd70ad6da7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae92b27dfd09573c224d2ae1958d3bead"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e">IntelliImage::ImageType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead">getTypeOfImageRealLayer</a> ()</td></tr>
<tr class="separator:ae92b27dfd09573c224d2ae1958d3bead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ae21fd031ee1c04f92e042e86be0a90"><td class="memItemLeft" align="right" valign="top">std::vector&lt; QPoint &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90">getPolygonDataOfRealLayer</a> ()</td></tr>
@@ -192,6 +195,9 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a24280454ebb80db7feba2fd621513353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acab11ad35d07e9081203d8217d2c0855"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_image.html">IntelliImage</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">getImageOfActiveLayer</a> ()</td></tr>
<tr class="separator:acab11ad35d07e9081203d8217d2c0855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f484ff3ca7ae202ab57a00f52551423"><td class="memItemLeft" align="right" valign="top">QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">getImageDataOfActiveLayer</a> ()</td></tr>
<tr class="memdesc:a4f484ff3ca7ae202ab57a00f52551423"><td class="mdescLeft">&#160;</td><td class="mdescRight">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture) <a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">More...</a><br /></td></tr>
<tr class="separator:a4f484ff3ca7ae202ab57a00f52551423"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
@@ -262,7 +268,7 @@ Protected Member Functions</h2></td></tr>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00021">21</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00022">22</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -291,7 +297,7 @@ Protected Member Functions</h2></td></tr>
<p>This deconstructor is used to clear up the memory and remove the currently active window. </p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00041">41</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00030">30</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -353,7 +359,7 @@ Protected Member Functions</h2></td></tr>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the number of layers in the project </dd></dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00056">56</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00054">54</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -440,7 +446,7 @@ Protected Member Functions</h2></td></tr>
<p>The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color. </p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00188">188</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00177">177</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -461,7 +467,7 @@ Protected Member Functions</h2></td></tr>
<p>The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color. </p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00193">193</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00182">182</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -482,7 +488,7 @@ Protected Member Functions</h2></td></tr>
<p>The colorPickerSwitchColor swaps the primary color with the secondary drawing color. </p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00198">198</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00187">187</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -501,7 +507,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00222">222</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00211">211</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -520,7 +526,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00231">231</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00220">220</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -539,7 +545,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00212">212</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00201">201</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -558,7 +564,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00202">202</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00191">191</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -577,7 +583,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00207">207</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00196">196</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -596,7 +602,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00226">226</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00215">215</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -615,12 +621,12 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00217">217</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00206">206</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="a2382ebf8c31dee36cb714f34a18b71e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2382ebf8c31dee36cb714f34a18b71e4">&#9670;&nbsp;</a></span>deleteLayer()</h2>
<a id="a9b7dc8b8dc0b301ce58206aa76fb1630"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b7dc8b8dc0b301ce58206aa76fb1630">&#9670;&nbsp;</a></span>deleteLayer()</h2>
<div class="memitem">
<div class="memproto">
@@ -629,53 +635,13 @@ Protected Member Functions</h2></td></tr>
<td class="memname">void PaintingArea::deleteLayer </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>idx</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>The deleteLayer method removes a layer at a given idx. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">idx</td><td>- The index of the layer to be removed </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00074">74</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="aeb5eb394b979ea90f2be9849fdda1774"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb5eb394b979ea90f2be9849fdda1774">&#9670;&nbsp;</a></span>floodFill()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PaintingArea::floodFill </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>r</em>, </td>
<td class="paramname"><em>idx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>a</em>&#160;</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>isTool</em> = <code>false</code>&#160;</td>
</tr>
<tr>
<td></td>
@@ -685,18 +651,16 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>The floodFill method fills a the active layer with a given color. </p>
<p>The deleteLayer method removes a layer at a given idx. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">r</td><td>- Red value of the color the layer should be filled with </td></tr>
<tr><td class="paramname">g</td><td>- Green value of the color the layer should be filled with </td></tr>
<tr><td class="paramname">b</td><td>- Blue value of the color the layer should be filled with </td></tr>
<tr><td class="paramname">a</td><td>- Alpha value of the color the layer should be filled with </td></tr>
<tr><td class="paramname">idx</td><td>- The index of the layer to be removed </td></tr>
<tr><td class="paramname">isTool</td><td>- Is the flag for when a tool uses this function. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00139">139</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00073">73</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -718,7 +682,29 @@ Protected Member Functions</h2></td></tr>
<p>The getHeightOfActive gets the vertical dimensions of the active layer. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns the vertical pixle count of the active layer </dd></dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00240">240</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00229">229</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="a4f484ff3ca7ae202ab57a00f52551423"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f484ff3ca7ae202ab57a00f52551423">&#9670;&nbsp;</a></span>getImageDataOfActiveLayer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QImage PaintingArea::getImageDataOfActiveLayer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture) </p>
<dl class="section return"><dt>Returns</dt><dd>return the image as an rgba32bit qImage </dd></dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00424">424</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -737,7 +723,45 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00406">406</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00417">417</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="aa811d142df9239ae248679bd70ad6da7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa811d142df9239ae248679bd70ad6da7">&#9670;&nbsp;</a></span>getMaxHeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int PaintingArea::getMaxHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00237">237</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="aeb082c1cda3edb6b68d8ee45cf4822f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb082c1cda3edb6b68d8ee45cf4822f8">&#9670;&nbsp;</a></span>getMaxWidth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int PaintingArea::getMaxWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00233">233</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -756,7 +780,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00402">402</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00413">413</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -775,7 +799,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00248">248</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00245">245</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -794,7 +818,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00244">244</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00241">241</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -816,7 +840,7 @@ Protected Member Functions</h2></td></tr>
<p>The getWidthOfActive gets the horizontal dimensions of the active layer. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns the horizontal pixle count of the active layer </dd></dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00236">236</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00225">225</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -872,7 +896,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00255">255</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00252">252</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -900,7 +924,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00281">281</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00284">284</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -967,7 +991,7 @@ Protected Member Functions</h2></td></tr>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00148">148</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00154">154</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -996,7 +1020,7 @@ Protected Member Functions</h2></td></tr>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a boolean variable whether the file was successfully opened or not </dd></dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00103">103</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00119">119</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1024,7 +1048,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00307">307</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00314">314</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1052,7 +1076,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00318">318</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00325">325</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1092,7 +1116,7 @@ Protected Member Functions</h2></td></tr>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a boolean variable, true if the file was saved successfully, false if not </dd></dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00115">115</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00131">131</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1120,7 +1144,7 @@ Protected Member Functions</h2></td></tr>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00090">90</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00095">95</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1159,7 +1183,63 @@ Protected Member Functions</h2></td></tr>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00096">96</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00102">102</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="aa409492ac26483d618bb33616f2e3f81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa409492ac26483d618bb33616f2e3f81">&#9670;&nbsp;</a></span>setPolygon()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PaintingArea::setPolygon </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>idx</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setPolygon is used for setting polygondata, it only works on RASTER images </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">idx</td><td>- represents the number of the layer with should be transformed </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00107">107</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
<a id="a63be0831e5b6ceb8cc622d83aa28f0bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63be0831e5b6ceb8cc622d83aa28f0bd">&#9670;&nbsp;</a></span>setRenderSettings()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PaintingArea::setRenderSettings </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>isFastRenderingOn</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setRenderSettings updates all Images to the new Rendersetting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">isFastRenderingOn</td><td>is the new given flag for the FastRenderer. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00034">34</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1195,7 +1275,7 @@ Protected Member Functions</h2></td></tr>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00175">175</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00170">170</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1224,7 +1304,7 @@ Protected Member Functions</h2></td></tr>
<p>The slotDeleteActiveLayer method handles the deletion of the active layer. </p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00083">83</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00088">88</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1252,7 +1332,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00294">294</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00299">299</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
</div>
</div>
@@ -1269,7 +1349,7 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8h_source.html#l00175">175</a> of file <a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8h_source.html#l00182">182</a> of file <a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a>.</p>
</div>
</div>
@@ -1285,13 +1365,13 @@ Protected Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_painting_area_8h_source.html#l00174">174</a> of file <a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="_painting_area_8h_source.html#l00181">181</a> of file <a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>intelliphoto/src/Layer/<a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a></li>
<li>intelliphoto/src/Layer/<a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a></li>
<li>src/Layer/<a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a></li>
<li>src/Layer/<a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
@@ -1301,7 +1381,7 @@ Protected Member Functions</h2></td></tr>
<li class="navelem"><a class="el" href="class_painting_area.html">PaintingArea</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>