Compare commits
52 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30680a659e | ||
| 8577e6b132 | |||
|
|
ac112b22f7 | ||
|
|
cbb11e6357 | ||
| 817953d058 | |||
|
|
826d85bfb9 | ||
|
|
95f4b680c4 | ||
|
|
e0d014b678 | ||
|
|
1a1dc1c65a | ||
|
|
b51d9f1505 | ||
|
|
3bac3d85c4 | ||
|
|
370955de85 | ||
|
|
00a7046bcd | ||
|
|
7d744b6333 | ||
|
|
f6fd95ee53 | ||
|
|
6c136d3299 | ||
|
|
3eb61abb94 | ||
|
|
67a624ad10 | ||
|
|
fe9f4263f9 | ||
|
|
c78596e038 | ||
|
|
a9435e6d56 | ||
|
|
2b553f5f41 | ||
| fd18494755 | |||
| c8812a8c00 | |||
| 6ac4e4783a | |||
| 6dbc23c0ae | |||
| 48ea8f14f0 | |||
| 7fb268dfa8 | |||
|
|
7bf8812250 | ||
|
|
faec9a7f5e | ||
|
|
ff6c9d2d09 | ||
| a7deccac6b | |||
|
|
db07e6fcb0 | ||
| ed462e4fec | |||
| 8980571c1a | |||
| 9c8378194d | |||
|
|
2a85e550af | ||
|
|
2dd527ca27 | ||
|
|
3a13904eea | ||
|
|
797355b4f3 | ||
| 61fdc099ec | |||
| 805c67edc5 | |||
|
|
2a37143835 | ||
|
|
e4f20dbd93 | ||
|
|
eeceedab8c | ||
|
|
657eba80f2 | ||
|
|
710848307f | ||
|
|
9f6fe965ec | ||
|
|
2432bb0568 | ||
|
|
5e1c83694f | ||
|
|
b989fb357a | ||
|
|
d00fe17e46 |
@@ -5,7 +5,7 @@
|
||||
#---------------------------------------------------------------------------
|
||||
DOXYFILE_ENCODING = UTF-8
|
||||
PROJECT_NAME = IntelliPhoto
|
||||
PROJECT_NUMBER = 0.6
|
||||
PROJECT_NUMBER = 0.7
|
||||
PROJECT_BRIEF =
|
||||
PROJECT_LOGO =
|
||||
OUTPUT_DIRECTORY = docs
|
||||
|
||||
@@ -57,9 +57,33 @@ src/GUI/IntelliPhotoGui.h:15:0: information: Include file: <QLabel> not found. P
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.h:16:0: information: Include file: <QLineEdit> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.h:17:0: information: Include file: <QScrollArea> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.h:19:0: information: Include file: "IntelliHelper/IntelliDatamanager.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:4:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:6:0: information: Include file: <QEvent> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:7:0: information: Include file: <QCloseEvent> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:8:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:9:0: information: Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:10:0: information: Include file: <QScreen> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:11:0: information: Include file: <QGuiApplication> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Image/IntelliImage.cpp:1:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude]
|
||||
|
||||
@@ -105,6 +129,15 @@ src/IntelliHelper/IntelliColorPicker.h:5:0: information: Include file: "QPoint"
|
||||
^
|
||||
src/IntelliHelper/IntelliColorPicker.h:6:0: information: Include file: "QColorDialog" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.h:4:0: information: Include file: <QFile> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.h:5:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliToolsettings.cpp:2:0: information: Include file: <QInputDialog> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
@@ -154,7 +187,7 @@ src/Layer/PaintingArea.h:8:0: information: Include file: <QWidget> not found. Pl
|
||||
src/Layer/PaintingArea.h:9:0: information: Include file: <QList> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.h:10:0: information: Include file: "GUI/IntelliPhotoGui.h" not found. [missingInclude]
|
||||
src/Layer/PaintingArea.h:10:0: information: Include file: <QLabel> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.h:11:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude]
|
||||
@@ -198,6 +231,12 @@ src/Layer/PaintingArea.cpp:18:0: information: Include file: "Tool/IntelliToolFlo
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:19:0: information: Include file: "Tool/IntelliToolPolygon.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:20:0: information: Include file: "Tool/IntelliToolGradient.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:21:0: information: Include file: "GUI/IntelliPhotoGui.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliTool.h:4:0: information: Include file: "IntelliHelper/IntelliColorPicker.h" not found. [missingInclude]
|
||||
|
||||
@@ -210,6 +249,9 @@ src/Tool/IntelliTool.h:6:0: information: Include file: <vector> not found. Pleas
|
||||
^
|
||||
src/Tool/IntelliTool.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliTool.cpp:3:0: information: Include file: "GUI/IntelliPhotoGui.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolCircle.h:5:0: information: Include file: "QColor" not found. [missingInclude]
|
||||
|
||||
@@ -243,6 +285,15 @@ src/Tool/IntelliToolFloodFill.cpp:5:0: information: Include file: <functional> n
|
||||
^
|
||||
src/Tool/IntelliToolFloodFill.cpp:6:0: information: Include file: <queue> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:3:0: information: Include file: "math.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:4:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolLine.h:5:0: information: Include file: "QPoint" not found. [missingInclude]
|
||||
|
||||
@@ -327,6 +378,9 @@ src/main.cpp:3:0: information: Include file: <QDebug> not found. Please note: Cp
|
||||
^
|
||||
src/main.cpp:4:0: information: Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/main.cpp:5:0: information: Include file: <fstream> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/mainUnitTest.cpp:1:0: information: Include file: <QtTest> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
|
||||
@@ -1,3 +1,39 @@
|
||||
src/IntelliHelper/IntelliDatamanager.cpp:89:33: style: Local variable 'alpha' shadows outer variable [shadowVariable]
|
||||
int red, green, blue, alpha;
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.cpp:66:53: note: Shadowed declaration
|
||||
int width, height, widthOffset, heightOffset, alpha;
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.cpp:89:33: note: Shadow variable
|
||||
int red, green, blue, alpha;
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::image' is not initialized in the constructor. [uninitMemberVar]
|
||||
LayerObject::LayerObject(){
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::width' is not initialized in the constructor. [uninitMemberVar]
|
||||
LayerObject::LayerObject(){
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::height' is not initialized in the constructor. [uninitMemberVar]
|
||||
LayerObject::LayerObject(){
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::widthOffset' is not initialized in the constructor. [uninitMemberVar]
|
||||
LayerObject::LayerObject(){
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::heightOffset' is not initialized in the constructor. [uninitMemberVar]
|
||||
LayerObject::LayerObject(){
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::doubleStartPoint' is not initialized in the constructor. [uninitMemberVar]
|
||||
IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings)
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::VectorStartEnd' is not initialized in the constructor. [uninitMemberVar]
|
||||
IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings)
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::NormalVector' is not initialized in the constructor. [uninitMemberVar]
|
||||
IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings)
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::NormalDotNormal' is not initialized in the constructor. [uninitMemberVar]
|
||||
IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings)
|
||||
^
|
||||
src/tst_unittest.cpp:1370:0: style: The function 'bench_Circle_fullDraw' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
@@ -118,28 +154,28 @@ src/tst_unittest.cpp:1138:0: style: The function 'bench_setPolygon' is never use
|
||||
src/mainUnitTest.cpp:118:0: style: The function 'cleanupTestCase' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:23:0: style: The function 'closeEvent' is never used. [unusedFunction]
|
||||
src/GUI/IntelliPhotoGui.cpp:30:0: style: The function 'closeEvent' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/mainUnitTest.cpp:113:0: style: The function 'initTestCase' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:281:0: style: The function 'mouseMoveEvent' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:328:0: style: The function 'mouseMoveEvent' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:262:0: style: The function 'mousePressEvent' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:309:0: style: The function 'mousePressEvent' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:294:0: style: The function 'mouseReleaseEvent' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:341:0: style: The function 'mouseReleaseEvent' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:324:0: style: The function 'paintEvent' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:371:0: style: The function 'paintEvent' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:180:0: style: The function 'slotActivateLayer' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:222:0: style: The function 'slotActivateLayer' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:96:0: style: The function 'slotDeleteActiveLayer' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:128:0: style: The function 'slotDeleteActiveLayer' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/mainUnitTest.cpp:211:0: style: The function 'test_Circle_fullDraw' is never used. [unusedFunction]
|
||||
@@ -292,7 +328,7 @@ src/mainUnitTest.cpp:146:0: style: The function 'test_setLayerUp' is never used.
|
||||
src/mainUnitTest.cpp:144:0: style: The function 'test_setPolygon' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.cpp:309:0: style: The function 'wheelEvent' is never used. [unusedFunction]
|
||||
src/Layer/PaintingArea.cpp:356:0: style: The function 'wheelEvent' is never used. [unusedFunction]
|
||||
|
||||
^
|
||||
nofile:0:0: information: Cppcheck cannot find all the include files (use --check-config for details) [missingInclude]
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="circle-tool.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="166.94289"
|
||||
inkscape:cy="125.27289"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<circle
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle4578"
|
||||
cx="33.78162"
|
||||
cy="263.02939"
|
||||
r="2.5985863" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:2.11666656;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path4602"
|
||||
cx="33.781624"
|
||||
cy="263.50183"
|
||||
r="26.316593" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.7 KiB |
@@ -1,109 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="eraser-tool.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||
inkscape:export-filename="C:\Users\pauln\tool1.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="154.79235"
|
||||
inkscape:cy="136.37674"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="g4716"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-global="false" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<g
|
||||
id="g4716">
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:2.54304647;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4775"
|
||||
width="59.058777"
|
||||
height="57.168896"
|
||||
x="4.2522316"
|
||||
y="234.16145" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:16.96439552;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 64.539433,248.9069 -8.315476,0.24173 c 0,0 -13.890625,31.06218 -29.576635,22.72253"
|
||||
id="path4777"
|
||||
inkscape:connector-curvature="0" />
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke:#ffaaaa;stroke-width:19.02600098;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4779"
|
||||
width="3.5923276"
|
||||
height="18.439137"
|
||||
x="100.56355"
|
||||
y="236.22752"
|
||||
transform="matrix(0.96477278,0.26308456,-0.30397854,0.95267888,0,0)" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.4 KiB |
@@ -1,194 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="flood-fill-tool.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4746">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4742" />
|
||||
<stop
|
||||
style="stop-color:#ff0000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4744" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4746"
|
||||
id="linearGradient4748"
|
||||
x1="278.75943"
|
||||
y1="55.545975"
|
||||
x2="278.70905"
|
||||
y2="102.68295"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="178.00664"
|
||||
inkscape:cy="120.50274"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="g4716"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-global="false" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<g
|
||||
id="g4716">
|
||||
<rect
|
||||
style="fill:url(#linearGradient4748);fill-opacity:1;stroke:#000000;stroke-width:2.54346728;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4736"
|
||||
width="20.992056"
|
||||
height="38.493938"
|
||||
x="268.06161"
|
||||
y="65.299561"
|
||||
transform="matrix(0.37877425,0.9254891,-0.96183685,0.2736236,0,0)" />
|
||||
<rect
|
||||
y="199.89908"
|
||||
x="116.56168"
|
||||
height="29.387648"
|
||||
width="34.49033"
|
||||
id="rect4710"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.11666656;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
transform="rotate(22.139383)" />
|
||||
<ellipse
|
||||
ry="3.6608384"
|
||||
rx="17.12623"
|
||||
cy="229.80646"
|
||||
cx="133.85408"
|
||||
id="path4712"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.07105064;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
transform="rotate(22.139383)" />
|
||||
<rect
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.57643586;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4722"
|
||||
width="6.4093542"
|
||||
height="5.9942107"
|
||||
x="106.55282"
|
||||
y="220.71335"
|
||||
transform="matrix(0.89502052,0.44602497,-0.31493366,0.94911369,0,0)"
|
||||
ry="2.9971054" />
|
||||
<rect
|
||||
ry="4.9373565"
|
||||
transform="matrix(0.76230952,0.64721263,-0.19117303,0.98155635,0,0)"
|
||||
y="211.36087"
|
||||
x="91.973289"
|
||||
height="9.8747129"
|
||||
width="7.5251632"
|
||||
id="rect4726"
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.80167449;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<rect
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.68775666;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4728"
|
||||
width="6.9141498"
|
||||
height="7.9099746"
|
||||
x="106.98909"
|
||||
y="208.27184"
|
||||
transform="matrix(0.82967592,0.55824535,-0.238658,0.97110368,0,0)"
|
||||
ry="3.9549873" />
|
||||
<rect
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.83867002;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4732"
|
||||
width="7.7389083"
|
||||
height="10.508647"
|
||||
x="99.318977"
|
||||
y="206.74135"
|
||||
transform="matrix(0.74125487,0.67122367,-0.1796405,0.98373233,0,0)"
|
||||
ry="5.2543235" />
|
||||
<rect
|
||||
ry="4.9687924"
|
||||
transform="matrix(0.76020136,0.64968753,-0.18996354,0.98179115,0,0)"
|
||||
y="213.06801"
|
||||
x="82.413681"
|
||||
height="9.9375849"
|
||||
width="7.5460315"
|
||||
id="rect4734"
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.80533689;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<rect
|
||||
ry="2.9971054"
|
||||
transform="matrix(0.89502052,0.44602497,-0.31493366,0.94911369,0,0)"
|
||||
y="219.89731"
|
||||
x="128.72516"
|
||||
height="5.9942107"
|
||||
width="6.4093542"
|
||||
id="rect4738"
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.57643586;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<rect
|
||||
style="fill:#ff2a2a;fill-opacity:1;stroke:none;stroke-width:0.61344987;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4740"
|
||||
width="6.5649834"
|
||||
height="6.6277919"
|
||||
x="107.49622"
|
||||
y="215.86592"
|
||||
transform="matrix(0.87380318,0.48627976,-0.28482771,0.95857873,0,0)"
|
||||
ry="3.3138959" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 6.3 KiB |
@@ -1,169 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="magic-wand-tool.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="154.79235"
|
||||
inkscape:cy="122.64559"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="g4716"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-global="false" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<g
|
||||
id="g4716">
|
||||
<g
|
||||
id="g4767"
|
||||
transform="translate(-4.5357143,7.0870536)">
|
||||
<rect
|
||||
transform="rotate(45)"
|
||||
ry="1.889881"
|
||||
y="137.33192"
|
||||
x="203.35738"
|
||||
height="53.483627"
|
||||
width="10.299852"
|
||||
id="rect4758"
|
||||
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:3.7175684;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<rect
|
||||
transform="rotate(45)"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.8319869;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect4760"
|
||||
width="9.7328882"
|
||||
height="2.8348179"
|
||||
x="203.64085"
|
||||
y="148.6712" />
|
||||
<rect
|
||||
transform="rotate(45)"
|
||||
y="141.20618"
|
||||
x="203.64085"
|
||||
height="2.8348179"
|
||||
width="9.7328882"
|
||||
id="rect4762"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.8319869;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:2.11666656;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path4769"
|
||||
sodipodi:sides="5"
|
||||
sodipodi:cx="44.223213"
|
||||
sodipodi:cy="239.92558"
|
||||
sodipodi:r1="8.624361"
|
||||
sodipodi:r2="4.3121805"
|
||||
sodipodi:arg1="1.0040671"
|
||||
sodipodi:arg2="1.6323856"
|
||||
inkscape:flatsided="false"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m 48.853421,247.20162 -4.895624,-2.97203 -5.223697,2.348 1.313744,-5.57442 -3.847298,-4.24246 5.707563,-0.47315 2.845937,-4.96999 2.213724,5.28201 5.606183,1.17083 -4.339406,3.73761 z"
|
||||
inkscape:transform-center-x="2.6385383"
|
||||
inkscape:transform-center-y="1.2565374"
|
||||
transform="rotate(-21.763247,66.493886,211.70978)" />
|
||||
<path
|
||||
transform="matrix(-0.16940831,-0.61726905,0.61726905,-0.16940831,-99.981719,307.02239)"
|
||||
inkscape:transform-center-y="1.5995691"
|
||||
inkscape:transform-center-x="-0.47805579"
|
||||
d="m 48.853421,247.20162 -4.895624,-2.97203 -5.223697,2.348 1.313744,-5.57442 -3.847298,-4.24246 5.707563,-0.47315 2.845937,-4.96999 2.213724,5.28201 5.606183,1.17083 -4.339406,3.73761 z"
|
||||
inkscape:randomized="0"
|
||||
inkscape:rounded="0"
|
||||
inkscape:flatsided="false"
|
||||
sodipodi:arg2="1.6323856"
|
||||
sodipodi:arg1="1.0040671"
|
||||
sodipodi:r2="4.3121805"
|
||||
sodipodi:r1="8.624361"
|
||||
sodipodi:cy="239.92558"
|
||||
sodipodi:cx="44.223213"
|
||||
sodipodi:sides="5"
|
||||
id="path4771"
|
||||
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:2.11666656;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
sodipodi:type="star" />
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:2.11666656;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path4773"
|
||||
sodipodi:sides="5"
|
||||
sodipodi:cx="44.223213"
|
||||
sodipodi:cy="239.92558"
|
||||
sodipodi:r1="8.624361"
|
||||
sodipodi:r2="4.3121805"
|
||||
sodipodi:arg1="1.0040671"
|
||||
sodipodi:arg2="1.6323856"
|
||||
inkscape:flatsided="false"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m 48.853421,247.20162 -4.895624,-2.97203 -5.223697,2.348 1.313744,-5.57442 -3.847298,-4.24246 5.707563,-0.47315 2.845937,-4.96999 2.213724,5.28201 5.606183,1.17083 -4.339406,3.73761 z"
|
||||
inkscape:transform-center-x="0.0027046201"
|
||||
inkscape:transform-center-y="1.1149197"
|
||||
transform="matrix(0.25199367,-0.58840415,0.58840415,0.25199367,-99.952707,231.42813)" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 6.0 KiB |
@@ -1,105 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||
sodipodi:docname="pen-tool.svg">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.4"
|
||||
inkscape:cx="376.91553"
|
||||
inkscape:cy="52.667178"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:1;stroke-width:0.79907227"
|
||||
inkscape:transform-center-x="2.1805457"
|
||||
inkscape:transform-center-y="0.23135325"
|
||||
d="m 64.660259,230.98439 c -1.469539,1.22623 -3.009608,0.3208 -4.479147,2.55438 l -35.355186,29.81232 20.997146,4.03437 16.236587,-28.5477 c 2.650564,-3.49373 1.675561,-4.59875 2.6006,-7.85337 z"
|
||||
id="path16"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<ellipse
|
||||
style="fill:#000000;fill-opacity:1;stroke-width:0.2446842"
|
||||
id="path19"
|
||||
ry="4.8653927"
|
||||
rx="10.959454"
|
||||
cy="259.34927"
|
||||
cx="70.703522"
|
||||
transform="matrix(0.99175335,0.12816118,-0.13566218,0.99075515,0,0)" />
|
||||
<path
|
||||
style="fill:url(#linearGradient38);fill-opacity:1;stroke:none;stroke-width:1.1613673px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 19.935603,103.02103 C 11.487015,114.14384 3.7900432,116.38626 5.1066573,144.52297 7.9154345,204.54791 22.091131,264.29315 75.056641,251.85938 127.52071,239.54339 188.58555,194.70704 177.64844,158.85742 c -12.48014,3.63122 -34.362,10.63187 -51.541,8.65662 -12.43758,-1.43999 -33.957254,-24.02776 -43.821058,-27.9929 -2.739296,6.28676 5.637281,36.28371 -21.584814,27.90384 -62.9196406,-19.36876 11.109787,-93.171912 16.121057,-90.16515 0,0 -33.485263,-5.047889 -56.887022,25.7612 z"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,0,229.26665)"
|
||||
id="path23"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ssccccscs" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.8 KiB |
@@ -1,125 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||
sodipodi:docname="plain-tool.svg">
|
||||
<defs
|
||||
id="defs2">
|
||||
<marker
|
||||
inkscape:stockid="DotM"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="DotM"
|
||||
style="overflow:visible"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path907"
|
||||
d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
transform="scale(0.4) translate(7.4, 1)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.4"
|
||||
inkscape:cx="261.75556"
|
||||
inkscape:cy="104.85714"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<g
|
||||
id="g1146"
|
||||
transform="translate(-0.34017738,0.11425859)">
|
||||
<rect
|
||||
y="241.43747"
|
||||
x="17.575891"
|
||||
height="41.388393"
|
||||
width="33.828869"
|
||||
id="rect839"
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:1.39999998;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path841"
|
||||
d="m 54.820853,239.89272 8.097875,-7.30482"
|
||||
style="fill:none;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path1123"
|
||||
d="m 15.612022,286.57635 -8.0978753,7.30482"
|
||||
style="fill:none;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:#ffd42a;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 13.592835,239.89272 5.4949601,232.5879"
|
||||
id="path1125"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 54.820853,285.50457 8.097875,7.30482"
|
||||
id="path1127"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path1129"
|
||||
d="M 56.318451,261.65921 H 63.31101"
|
||||
style="fill:none;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 6.0476177,261.65921 H 13.040177"
|
||||
id="path1131"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path1133"
|
||||
d="m 34.773809,286.79463 v 7.55952"
|
||||
style="fill:#ffd42a;fill-opacity:1;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:#ffd42a;fill-opacity:1;stroke:#ffd42a;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 34.773809,231.04315 v 7.55952"
|
||||
id="path1135"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.9 KiB |
@@ -1,117 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="polygon-tool.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="107.4786"
|
||||
inkscape:cy="125.27289"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:2.11666667;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:0"
|
||||
d="M 6.7090773,250.6979 61.137648,243.51635 60.47619,288.87349 10.205357,286.13317 22.867559,260.33629 Z"
|
||||
id="path4590"
|
||||
inkscape:connector-curvature="0" />
|
||||
<circle
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path4572"
|
||||
cx="4.5829611"
|
||||
cy="249.98918"
|
||||
r="2.5985863" />
|
||||
<circle
|
||||
r="2.5985863"
|
||||
cy="243.5636"
|
||||
cx="61.090405"
|
||||
id="circle4574"
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
r="2.5985863"
|
||||
cy="260.38354"
|
||||
cx="22.914806"
|
||||
id="circle4576"
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle4588"
|
||||
cx="9.0241814"
|
||||
cy="286.84189"
|
||||
r="2.5985863" />
|
||||
<circle
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle4578"
|
||||
cx="60.523441"
|
||||
cy="288.82626"
|
||||
r="2.5985863" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.7 KiB |
@@ -1,101 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 67.733332 67.733335"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="rectangle-tool.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient36">
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop32" />
|
||||
<stop
|
||||
style="stop-color:#d40000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient36"
|
||||
id="linearGradient38"
|
||||
x1="147.98735"
|
||||
y1="176.19795"
|
||||
x2="-13.131983"
|
||||
y2="106.49742"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="107.4786"
|
||||
inkscape:cy="125.27289"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-229.26665)">
|
||||
<rect
|
||||
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect56"
|
||||
width="54.995537"
|
||||
height="38.648064"
|
||||
x="6.1421127"
|
||||
y="243.04388" />
|
||||
<circle
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path4572"
|
||||
cx="6.3783484"
|
||||
cy="243.5636"
|
||||
r="2.5985863" />
|
||||
<circle
|
||||
style="fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1.85208333;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle4578"
|
||||
cx="61.090405"
|
||||
cy="281.7392"
|
||||
r="2.5985863" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 620 B |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 24 KiB |
BIN
docs/Manual/assets/tool-circle.png
Normal file
|
After Width: | Height: | Size: 935 B |
BIN
docs/Manual/assets/tool-flood-fill.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
docs/Manual/assets/tool-gradient.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/Manual/assets/tool-magic-wand.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
@@ -10,7 +10,7 @@
|
||||
\usepackage{graphicx}
|
||||
\usepackage{svg}
|
||||
|
||||
\title{intelliPhoto 0.31 - Manual}
|
||||
\title{intelliPhoto 0.8 - Manual}
|
||||
\author{Paul Norberger \& the intelliPhoto team}
|
||||
|
||||
\begin{document}
|
||||
@@ -18,17 +18,16 @@
|
||||
\maketitle
|
||||
\thispagestyle{empty}
|
||||
\begin{center}
|
||||
\includegraphics[width=0.35\linewidth,keepaspectratio]{assets/icon}
|
||||
\includegraphics[width=0.18\linewidth,keepaspectratio]{assets/icon}
|
||||
\end{center}
|
||||
\tableofcontents
|
||||
\end{titlepage}
|
||||
\section{Introduction}
|
||||
intelliPhoto is a software for creating and editing graphics of various kinds. While it allows for work with a full color space, it will also allow export in a more restriced format, which uses 1 byte per pixel. Currently its in its early stages of development and has a very limited array of tools as well as a functional, but barebones interface. This will change in future versions.
|
||||
Currently the following features are implemented, which will be described in further detail on the following pages:
|
||||
intelliPhoto is a software for creating and editing graphics of various kinds. It uses 1 byte per pixel and is ideal for cases where this sort of limitation is required, because of various reasons, we will not go into. It has an extensive feature set, which includes, but is not limited to:
|
||||
\begin{itemize}
|
||||
\item A barebones user interface
|
||||
\item An advanced, highly usable user interface
|
||||
\item Loading and Saving images from and to standardized formats (such as .png, .bmp or .jpg)
|
||||
\item Drawing with a pen with adjustable width and color, clearing the whole canvas with one color and drawing lines, rectangles, circles and polygons as well as flood filling adjacent pixels
|
||||
\item Drawing with a pen with adjustable width and color, clearing the whole canvas with one color and drawing lines, flood-filling similiar pixels, creating rectangles, circles and polygons
|
||||
\item A layer structure, that allows for creating, deleting, moving and changing the order of layers
|
||||
\end{itemize}
|
||||
|
||||
@@ -38,15 +37,13 @@ After startup the following window opens:
|
||||
\includegraphics[width=0.55\linewidth,keepaspectratio]{assets/startup}
|
||||
\end{center}
|
||||
|
||||
\subsection{Loading images}
|
||||
\subsection{Image setup}
|
||||
\subsubsection{Loading images}
|
||||
To load a preexisting image, click on \texttt{File} in the top menu bar and then on \texttt{Open...} in the appearing context menu.
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/file-open}
|
||||
\end{center}
|
||||
|
||||
A file explorer window opens. Navigate to the image you want to open and click on \texttt{Open} or the equivalent in your system language. The image will now be imported and displayed.
|
||||
|
||||
\subsection{Saving images}
|
||||
\subsubsection{Saving images}
|
||||
To save the current canvas as an image, click on \texttt{File} in the top menu bar then hover over \texttt{Save As} and click on your preferred file format in the appearing context menu.
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/file-save}
|
||||
@@ -54,57 +51,69 @@ To save the current canvas as an image, click on \texttt{File} in the top menu b
|
||||
|
||||
A file explorer window opens. Navigate to your preferred save location, input a file name and click on \texttt{Save} or the equivalent in your system language. The image will be saved at that location in the selected file format.
|
||||
|
||||
\subsection{Setting the active layer}
|
||||
The active layer is the layer you are currently editing. To change it, you currently have to specify the index of the layer under \texttt{Layer > select Active...}.
|
||||
\subsection{Working with layers}
|
||||
\subsubsection{Creating a new layer}
|
||||
To create a new layer, simply navigate to \texttt{Layer > Create Layer} and select the type of layer you want. Afterwards popups will appear, which will allow you to specify width and height of this new layer.
|
||||
For Shaped Layers you afterwards have the option to specify the bounding polygon. To do this simply navigate to \texttt{Layer > Select Polygon Data} and create the polygon by clicking on the edge points on the canvas. The description of the usage under "Using the polygon tool" might help you.
|
||||
|
||||
\subsection{Setting the main and secondary color}
|
||||
The main and secondary color are a concept used by all the drawing tools. You select them independendly of other tool parameters under \texttt{Tools > Color}.
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/change-colors}
|
||||
\end{center}
|
||||
The appearing popup will allow you to specify a new color.
|
||||
\subsubsection{Setting the active layer}
|
||||
The active layer is the layer you are currently editing. To change it, you currently have to specify the index of the layer under \texttt{Layer > Set Active}.
|
||||
|
||||
\subsection{Switching main and secondary color}
|
||||
An often desired use case is to switch the main and secondary color. So that you don't have to this manually, which would be time consuming there is an easy command to do it under \texttt{Tools > Color}.
|
||||
It is also bound to the keyboard shortcut \texttt{Ctrl+Shift+S}.
|
||||
|
||||
\subsection{Drawing with the pen tool}
|
||||
To activate the pen tool simply select it under \texttt{Tools > Pen}. You will be prompted to input the pen width, just put in the width you desire.
|
||||
\begin{center}
|
||||
\includegraphics[width=0.2\linewidth,keepaspectratio]{assets/tool-pen}
|
||||
\end{center}
|
||||
To edit the active layer with the pen tool simply click and hold the left mouse button while hovering the layer on the canvas. When you click within the boundaries of the active layer, the pixels in the radius you selected will change their color to the main color which you selected under the section above.
|
||||
|
||||
\subsection{Drawing straight lines}
|
||||
To activate the line tool select it under \texttt{Tools > Line}. You will be prompted to input the line width.
|
||||
To draw a line you now have to left click on the starting point on the canvas, hold it pressed and move to the end point and release the mouse button.
|
||||
|
||||
You can cancel this operation at any time by clicking the right mouse button while holding the left and then releasing both.
|
||||
|
||||
\subsection{Fill the active layer in one color}
|
||||
To fill the whole layer with the main color, you first specify the color on the right side of the picture.
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/tool-plain}
|
||||
\end{center}
|
||||
|
||||
\subsection{Moving layers}
|
||||
The layers are flexible and can be moved to a different position on the canvas, their order can be changed at will. For this you can use the movement options under \texttt{Layer}. Keep in mind that the changes always only effect the active layer you have chosen in the section "Setting the active layer".
|
||||
\subsubsection{Moving layers}
|
||||
The layers are flexible and can be moved to a different position on the canvas, their order can be changed at will. For this you can use the movement options under \texttt{Layer}. Keep in mind that the changes always only effect the active layer you have chosen in the section "Setting the active layer". You can also alternatively use the shortcuts displayed unter this subsection.
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/layer-options}
|
||||
\end{center}
|
||||
|
||||
\subsection{Creating and deleting layers}
|
||||
Raster Layers can be created at will under \texttt{Layer > New Layer...} You will be prompted to input the width and height of the new layer. Afterwards it will be created.
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/create-layer}
|
||||
\end{center}
|
||||
To delete the active layer you have to click on \texttt{Delete Layer...} in the same submenu.
|
||||
|
||||
\subsection{Transparency and layers}
|
||||
\subsubsection{Transparency and layers}
|
||||
Layers can also be made more or less transparent under \texttt{Layer > set Alpha}. Values between 0 and 255 are valid. There is currently no error handling and this can lead to memory leaks, so be careful. This also only effects the active layer.
|
||||
|
||||
\subsection{Color Management}
|
||||
\subsubsection{Setting the main and secondary color}
|
||||
\begin{center}
|
||||
\includegraphics[width=0.3\linewidth,keepaspectratio]{assets/change-colors}
|
||||
\end{center}
|
||||
The main and secondary color are a concept used by all the drawing tools. You can set them individually, by clicking on the corresponding color icon on the right-hand-side toolbar, besides the canvas. The left color icon is for the main color, the right color icon for the secondary color.
|
||||
After the click, a popup will appear. The popup will allow you to specify a new color.
|
||||
|
||||
\subsubsection{Switching main and secondary color}
|
||||
An often desired use case is to switch the main and secondary color. So that you don't have to this manually, which would be time consuming there is an easy command to do it under the color icons on the right-hand-side toolbar, besides the canvas.
|
||||
It is also bound to the keyboard shortcut \texttt{Ctrl+Shift+S}.
|
||||
|
||||
\subsubsection{Drawing with the pen tool}
|
||||
To activate the pen tool simply click on the pen tool icon on the right-hand-side toolbar.
|
||||
To edit the active layer with the pen tool simply click and hold the left mouse button while hovering the layer on the canvas. When you click within the boundaries of the active layer, the pixels in the radius you selected will change their color to the main color which you selected under the section above.
|
||||
|
||||
\subsubsection{Drawing straight lines}
|
||||
To activate the line tool just click on the line tool icon on the right-hand-side toolbar.
|
||||
To draw a line you now have to left click on the starting point on the canvas, hold it pressed and move to the end point and release the mouse button. The width of the edge can be specified under \texttt{Width} in the right-hand-side toolbar.
|
||||
|
||||
\subsubsection{Drawing circles}
|
||||
To activate the circle tool just click on the circle tool icon on the right-hand-side toolbar.
|
||||
To create a circle you now have to left click and drag from the wanted center point, to some point on the edge of the circle you want, the circle will be previewed. You can release the mouse button after you are satisfied. Otherwise you can also click on the right mouse button while still holding the left one to cancel the operation.
|
||||
The main color dictates the color of the edge, while the secondary color is used for the inside of the circle. If you want the inside to be transparent you can set the transparency on the side under \texttt{Inner Alpha} in the range between 0 (completely transparent) to 255 (completely opaque). The width of the edge can be specified under \texttt{Width}.
|
||||
|
||||
\subsubsection{Drawing rectangles}
|
||||
To activate the rectangle tool click on the rectangle tool icon on the right-hand-side toolbar.
|
||||
To create the a rectangle you now have to left click and drag form one wanted corner point to the other corner point diagonal from the starting point, the rectangle will be previewed. You can release the mouse button after you are satisfied.
|
||||
Otherwise you can also click on the right mouse button while still holding the left one to cancel the operation.
|
||||
The main color the color of the edge, while the secondary color is used for the inside of the recangle. If you want the inside to be transparent you can set the transparency on the side under \texttt{Inner Alpha} in the range between 0 (completely transparent) to 255 (completely opaque). The width of the edge can be specified under \texttt{Width}.
|
||||
|
||||
\subsubsection{Drawing polygons}
|
||||
To activate the polygon tool click on the polygon tool icon on the right-hand-side toolbar.
|
||||
To create the polygon you now have to left click on each of the corner points you want for your polygon in the order you want them to connect.
|
||||
After you've all the points added, click close to the starting point you chose (You can see it in the preview.) to close up the polygon. You can end this process at any point by clicking the right mouse button.
|
||||
The main color dictates the color of the edge, while the secondary color is used for the inside of the polygon. If you want the inside to be transparent you can set the transparency on the side under \texttt{Inner Alpha} in the range between 0 (completely transparent) to 255 (completely opaque). The width of the edge can be specified under \texttt{Width}.
|
||||
|
||||
\subsubsection{Using gradients}
|
||||
To activate the gradient tool just click on the gradient tool icon on the right-hand-side toolbar. The gradient interpolates linearly from the main color to the second hand color. To change them refer to the section "Setting the main and secondary color".
|
||||
The use of this tool is very similiar to the line tool: Simply click and hold on the starting point of the gradient, move to the end location and release the mouse button. The pixels on the active layer will change accordingly.
|
||||
|
||||
\subsubsection{Fill the active layer in one color}
|
||||
To activate the plain tool just click on the plain tool icon on the right-hand-side toolbar.
|
||||
Afterwards you simply click inside of the canvas to fill the active layer with the main color.
|
||||
|
||||
\subsection{Closing the program}
|
||||
To close the program you have to execute the exit program routine, which heavily depends on your operating system. Usually you can find a red cross symbol at the top right, though it may be different depending on your setup.
|
||||
For Windows 10, the desired symbol looks like this when hovered:
|
||||
@@ -113,11 +122,4 @@ For Windows 10, the desired symbol looks like this when hovered:
|
||||
\end{center}
|
||||
Alternatively you can press \texttt{CTR+Q}.
|
||||
|
||||
\section{Next steps}
|
||||
The following features are currently high priority and will be implimented in the near future:
|
||||
\begin{itemize}
|
||||
\item Refactoring the code, improving readability, structure and the dev documentation
|
||||
\item Improving the UI and integrating all the tools in it
|
||||
\end{itemize}
|
||||
|
||||
\end{document}
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
105
docs/html/_intelli_datamanager_8cpp.html
Normal file
@@ -0,0 +1,105 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/IntelliHelper/IntelliDatamanager.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_datamanager_8cpp.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliDatamanager.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_datamanager_8h_source.html">IntelliDatamanager.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_painting_area_8h_source.html">Layer/PaintingArea.h</a>"</code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_datamanager_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_8de6078cba2a961961818cf80b28fd4f.html">IntelliHelper</a></li><li class="navelem"><a class="el" href="_intelli_datamanager_8cpp.html">IntelliDatamanager.cpp</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
221
docs/html/_intelli_datamanager_8cpp_source.html
Normal file
@@ -0,0 +1,221 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/IntelliHelper/IntelliDatamanager.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliDatamanager.cpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_intelli_datamanager_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="_intelli_datamanager_8h.html">IntelliDatamanager.h</a>"</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "<a class="code" href="_painting_area_8h.html">Layer/PaintingArea.h</a>"</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54"> 4</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">IntelliDatamanager::saveProject</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Canvas, QString filePath){</div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  QFile openFile(filePath);</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  <span class="keywordflow">if</span>(openFile.open(QIODevice::WriteOnly)) {</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  QTextStream out(&openFile);</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  std::vector<LayerObject>* layerBundle = Canvas-><a class="code" href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">getLayerBundle</a>();</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="keywordtype">size_t</span> numberOfLayers = layerBundle->size();</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  out << 7 << endl; <span class="comment">//version tag</span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  out << Canvas-><a class="code" href="class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097">getRenderSettings</a>() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  out << Canvas-><a class="code" href="class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8">getMaxWidth</a>() << <span class="stringliteral">" "</span> << Canvas-><a class="code" href="class_painting_area.html#aa811d142df9239ae248679bd70ad6da7">getMaxHeight</a>() << endl; <span class="comment">//dimensions of canvas</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  out << numberOfLayers << endl; <span class="comment">//number of layers</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = 0; i<numberOfLayers; i++) {</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordtype">int</span> width = layerBundle->at(i).width;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordtype">int</span> height = layerBundle->at(i).height;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  out << width << endl; <span class="comment">//width</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  out << height << endl; <span class="comment">//height</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  out << layerBundle->at(i).widthOffset << endl; <span class="comment">//widthOffset</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  out << layerBundle->at(i).heightOffset << endl; <span class="comment">//HeightOffset</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  out << layerBundle->at(i).alpha << endl; <span class="comment">//alpha of layer</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">if</span>(layerBundle->at(i).image->getTypeOfImage() == <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a>) {</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  out << 0 << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  out << 1 << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  std::vector<QPoint> points = layerBundle->at(i).image->getPolygonData();</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  out << points.size() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> j = 0; j<points.size(); j++) {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  out << points.at(j).x() << <span class="stringliteral">" "</span> << points.at(j).y() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  }</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j = 0; j<height; j++) {</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> k = 0; k<width; k++) {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  QColor pixColor = layerBundle->at(i).image->getImageData().pixelColor(j,k);</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  out << pixColor.red() << <span class="stringliteral">" "</span> << pixColor.green() << <span class="stringliteral">" "</span> << pixColor.blue() << <span class="stringliteral">" "</span> << pixColor.alpha() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  }</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  out << <span class="stringliteral">"\nFormat designed and approved by IntelliPhoto Team 7. All rigths reserved."</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  openFile.close();</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> }</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2"> 50</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2">IntelliDatamanager::loadProject</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Canvas, QString filePath){</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  QFile openFile(filePath);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  Canvas-><a class="code" href="class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491">deleteAllLayers</a>();</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span>(openFile.open(QIODevice::ReadOnly)) {</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  QTextStream in(&openFile);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">float</span> version;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">int</span> rendersetting;</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">int</span> widthCanvas, heightCanvas, numberOffLayers;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  in >> version;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  in >> rendersetting;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  in >> widthCanvas >> heightCanvas;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  in >> numberOffLayers;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Canvas-><a class="code" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a>(widthCanvas, heightCanvas);</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i<numberOffLayers; i++) {</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">int</span> width, height, widthOffset, heightOffset, alpha;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  in >> width >> height >> widthOffset >> heightOffset >> alpha;</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">int</span> typeFlag;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">size_t</span> numberOfPoints;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  std::vector<QPoint> polyPoints;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  in >> typeFlag >> numberOfPoints;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">if</span>(typeFlag==0) {</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  Canvas-><a class="code" href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">addLayer</a>(width, height, widthOffset, heightOffset, alpha, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a>);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  Canvas-><a class="code" href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">addLayer</a>(width, height, widthOffset, heightOffset, alpha, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a>);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  polyPoints.reserve(numberOfPoints);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> j = 0; j<numberOfPoints; j++) {</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">int</span> x, y;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  in >> x >> y;</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  polyPoints.push_back(QPoint(x,y));</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  Canvas-><a class="code" href="class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577">setPolygonDataToActive</a>(polyPoints);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j = 0; j<height; j++) {</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> k = 0; k<width; k++) {</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">int</span> red, green, blue, alpha;</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  in >> red >> green >> blue >> alpha;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  Canvas-><a class="code" href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">drawPixelOntoActive</a>(QColor(red, green, blue, alpha), QPoint(j, k));</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  Canvas-><a class="code" href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">setRenderSettings</a>(<span class="keyword">static_cast<</span><span class="keywordtype">bool</span><span class="keyword">></span>(rendersetting));</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  openFile.close();</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  Canvas-><a class="code" href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">historyadd</a>();</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a63be0831e5b6ceb8cc622d83aa28f0bd"><div class="ttname"><a href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">PaintingArea::setRenderSettings</a></div><div class="ttdeci">void setRenderSettings(bool isFastRenderingOn)</div><div class="ttdoc">setRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00051">PaintingArea.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb082c1cda3edb6b68d8ee45cf4822f8"><div class="ttname"><a href="class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8">PaintingArea::getMaxWidth</a></div><div class="ttdeci">int getMaxWidth()</div><div class="ttdoc">getMaxWidth gets the max width of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00290">PaintingArea.cpp:290</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html_a41920e07aa9e0b2756323779f7fe8de2"><div class="ttname"><a href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2">IntelliDatamanager::loadProject</a></div><div class="ttdeci">bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")</div><div class="ttdoc">loadProject loads a project from a file, closes current project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8cpp_source.html#l00050">IntelliDatamanager.cpp:50</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa811d142df9239ae248679bd70ad6da7"><div class="ttname"><a href="class_painting_area.html#aa811d142df9239ae248679bd70ad6da7">PaintingArea::getMaxHeight</a></div><div class="ttdeci">int getMaxHeight()</div><div class="ttdoc">getMaxHeight gets the max height of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00294">PaintingArea.cpp:294</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af1b7be20235139e4909086696ea74cf7"><div class="ttname"><a href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">PaintingArea::drawPixelOntoActive</a></div><div class="ttdeci">void drawPixelOntoActive(QColor color, QPoint point)</div><div class="ttdoc">drawPixelOntoActive draws a pixel onto the image data of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00086">PaintingArea.cpp:86</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00491">PaintingArea.cpp:491</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af4701dee7ce672d91ed1e80cdd1e7491"><div class="ttname"><a href="class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491">PaintingArea::deleteAllLayers</a></div><div class="ttdeci">void deleteAllLayers()</div><div class="ttdoc">deleteAllLayers deletes all layers</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3bfc63de27c54f3edf9feb3af538343c"><div class="ttname"><a href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int maxWidth, int maxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html_ac02f6f47ff8785ad9d49588baaca3d54"><div class="ttname"><a href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">IntelliDatamanager::saveProject</a></div><div class="ttdeci">bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")</div><div class="ttdoc">saveProject saves the current project to a file.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8cpp_source.html#l00004">IntelliDatamanager.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ad631e87a1e7fe2b60f546b0f34995097"><div class="ttname"><a href="class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097">PaintingArea::getRenderSettings</a></div><div class="ttdeci">bool getRenderSettings()</div><div class="ttdoc">getRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00068">PaintingArea.cpp:68</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abd5e3e4d3f2f026383d0a275dc55cbbd"><div class="ttname"><a href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)</div><div class="ttdoc">The addLayer adds a layer to the current project/ painting area.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00094">PaintingArea.cpp:94</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00510">PaintingArea.cpp:510</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aac7d7bca37e0d7c7d077b65224795577"><div class="ttname"><a href="class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577">PaintingArea::setPolygonDataToActive</a></div><div class="ttdeci">void setPolygonDataToActive(std::vector< QPoint > points)</div><div class="ttdoc">setPolygonDataToActive sets polygondata to the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00090">PaintingArea.cpp:90</a></div></div>
|
||||
<div class="ttc" id="a_intelli_datamanager_8h_html"><div class="ttname"><a href="_intelli_datamanager_8h.html">IntelliDatamanager.h</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_8de6078cba2a961961818cf80b28fd4f.html">IntelliHelper</a></li><li class="navelem"><a class="el" href="_intelli_datamanager_8cpp.html">IntelliDatamanager.cpp</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
123
docs/html/_intelli_datamanager_8h.html
Normal file
@@ -0,0 +1,123 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/IntelliHelper/IntelliDatamanager.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_datamanager_8h.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#namespaces">Namespaces</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliDatamanager.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <QFile></code><br />
|
||||
<code>#include <QDebug></code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_datamanager_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespace_intelli_datamanager"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_intelli_datamanager.html">IntelliDatamanager</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a41920e07aa9e0b2756323779f7fe8de2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2">IntelliDatamanager::loadProject</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *Canvas, QString filePath="unnamed.idf")</td></tr>
|
||||
<tr class="memdesc:a41920e07aa9e0b2756323779f7fe8de2"><td class="mdescLeft"> </td><td class="mdescRight">loadProject loads a project from a file, closes current project. <a href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2">More...</a><br /></td></tr>
|
||||
<tr class="separator:a41920e07aa9e0b2756323779f7fe8de2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac02f6f47ff8785ad9d49588baaca3d54"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">IntelliDatamanager::saveProject</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *Canvas, QString filePath="unnamed.idf")</td></tr>
|
||||
<tr class="memdesc:ac02f6f47ff8785ad9d49588baaca3d54"><td class="mdescLeft"> </td><td class="mdescRight">saveProject saves the current project to a file. <a href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">More...</a><br /></td></tr>
|
||||
<tr class="separator:ac02f6f47ff8785ad9d49588baaca3d54"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_8de6078cba2a961961818cf80b28fd4f.html">IntelliHelper</a></li><li class="navelem"><a class="el" href="_intelli_datamanager_8h.html">IntelliDatamanager.h</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
5
docs/html/_intelli_datamanager_8h.js
Normal file
@@ -0,0 +1,5 @@
|
||||
var _intelli_datamanager_8h =
|
||||
[
|
||||
[ "loadProject", "_intelli_datamanager_8h.html#a41920e07aa9e0b2756323779f7fe8de2", null ],
|
||||
[ "saveProject", "_intelli_datamanager_8h.html#ac02f6f47ff8785ad9d49588baaca3d54", null ]
|
||||
];
|
||||
122
docs/html/_intelli_datamanager_8h_source.html
Normal file
@@ -0,0 +1,122 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/IntelliHelper/IntelliDatamanager.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_datamanager_8h_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliDatamanager.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_intelli_datamanager_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef INTELLIDATAMANAGER_H</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define INTELLIDATAMANAGER_H</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <QFile></span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <QDebug></span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">class </span><a class="code" href="class_painting_area.html">PaintingArea</a>;</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="namespace_intelli_datamanager.html"> 9</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_intelli_datamanager.html">IntelliDatamanager</a> {</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2">loadProject</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Canvas, QString filePath = <span class="stringliteral">"unnamed.idf"</span>);</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">saveProject</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Canvas, QString filePath = <span class="stringliteral">"unnamed.idf"</span>);</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#endif // INTELLIDATAMANAGER_H</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html"><div class="ttname"><a href="namespace_intelli_datamanager.html">IntelliDatamanager</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8h_source.html#l00009">IntelliDatamanager.h:9</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html_a41920e07aa9e0b2756323779f7fe8de2"><div class="ttname"><a href="namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2">IntelliDatamanager::loadProject</a></div><div class="ttdeci">bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")</div><div class="ttdoc">loadProject loads a project from a file, closes current project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8cpp_source.html#l00050">IntelliDatamanager.cpp:50</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html_ac02f6f47ff8785ad9d49588baaca3d54"><div class="ttname"><a href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">IntelliDatamanager::saveProject</a></div><div class="ttdeci">bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")</div><div class="ttdoc">saveProject saves the current project to a file.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8cpp_source.html#l00004">IntelliDatamanager.cpp:4</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_8de6078cba2a961961818cf80b28fd4f.html">IntelliHelper</a></li><li class="navelem"><a class="el" href="_intelli_datamanager_8h.html">IntelliDatamanager.h</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -90,7 +90,7 @@ $(document).ready(function(){initNavTree('_intelli_image_8cpp_source.html','');
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <QSize></span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <QPainter></span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652"> 5</a></span> <a class="code" href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652">IntelliImage::IntelliImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn)</div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652"> 5</a></span> <a class="code" href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652">IntelliImage:: IntelliImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn)</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  : imageData(QSize(width, height), fastRendererOn ? QImage::Format_Indexed8 : QImage::Format_ARGB32){</div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  <span class="keywordflow">if</span>(fastRendererOn) {</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
@@ -103,166 +103,182 @@ $(document).ready(function(){initNavTree('_intelli_image_8cpp_source.html','');
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> }</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc"> 18</a></span> <a class="code" href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">IntelliImage::~IntelliImage</a>(){</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> }</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e"> 22</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">IntelliImage::loadImage</a>(<span class="keyword">const</span> QString &filePath){</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// Holds the image</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  QImage loadedImage;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// If the image wasn't loaded leave this function</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">if</span> (!loadedImage.load(filePath))</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="comment">// scaled Image to size of Layer</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  loadedImage = loadedImage.scaled(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.size(),Qt::IgnoreAspectRatio);</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = loadedImage.convertToFormat(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a> ? QImage::Format_Indexed8 : QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310"> 37</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a>(QImage*image, <span class="keyword">const</span> QSize &newSize){</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// Check if we need to redraw the image</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">if</span> (image->size() == newSize)</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// Create a new image to display and fill it with white</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  QImage newImage(newSize, QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  newImage.fill(qRgb(255, 255, 255));</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Draw the image</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  QPainter painter(&newImage);</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  painter.drawImage(QPoint(0, 0), *image);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  *image = newImage.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  *image = newImage;</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056"> 57</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color){</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// Used to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  QPainter* painter = <span class="keyword">new</span> QPainter(&<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// Set the current settings for the pen</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  painter->setPen(QPen(color, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  painter->drawPoint(p1);</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">delete</span> painter;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  painter = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1"> 77</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth){</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Used to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  QPainter* painter = <span class="keyword">new</span> QPainter(&<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Set the current settings for the pen</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  painter->setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  painter->drawPoint(p1);</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">delete</span> painter;</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  painter = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> }</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31"> 96</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QPoint& p2, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth){</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Used to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  QPainter* painter = <span class="keyword">new</span> QPainter(&<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// Set the current settings for the pen</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  painter->setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  painter->drawLine(p1, p2);</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">delete</span> painter;</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  painter = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> }</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06"> 116</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a>(<span class="keyword">const</span> QColor& color){</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  }</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(color);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f"> 126</a></span> QColor <a class="code" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a>(QPoint& point){</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  QImage copy = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span> copy.pixelColor(point);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(point);</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> }</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3"> 134</a></span> QImage <a class="code" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a>(){</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  QImage copy = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  copy = copy.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> copy;</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> }</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268"> 142</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a>(<span class="keyword">const</span> QImage& newData){</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = newData;</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> }</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2"> 152</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a>(<span class="keywordtype">bool</span> fastRendererOn){</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  this-><a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a> = fastRendererOn;</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  }</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> }</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc"> 19</a></span> <a class="code" href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">IntelliImage::~IntelliImage</a>(){</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e"> 23</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">IntelliImage::loadImage</a>(<span class="keyword">const</span> QString &filePath){</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="comment">// Holds the image</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  QImage loadedImage;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">// If the image wasn't loaded leave this function</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">if</span> (!loadedImage.load(filePath))</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// scaled Image to size of Layer</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  loadedImage = loadedImage.scaled(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.size(),Qt::IgnoreAspectRatio);</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = loadedImage.convertToFormat(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a> ? QImage::Format_Indexed8 : QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310"> 38</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a>(QImage*image, <span class="keyword">const</span> QSize &newSize){</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// Check if we need to redraw the image</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">if</span> (image->size() == newSize)</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// Create a new image to display and fill it with white</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  QImage newImage(newSize, QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  newImage.fill(qRgb(255, 255, 255));</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// Draw the image</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  QPainter painter(&newImage);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  painter.drawImage(QPoint(0, 0), *image);</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  *image = newImage.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  *image = newImage;</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056"> 58</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color){</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// Used to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  QPainter* painter = <span class="keyword">new</span> QPainter(&<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>);</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">// Set the current settings for the pen</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  painter->setPen(QPen(color, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  painter->drawPoint(p1);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">delete</span> painter;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  painter = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> }</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1"> 78</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth){</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// Used to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  QPainter* painter = <span class="keyword">new</span> QPainter(&<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// Set the current settings for the pen</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  painter->setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  painter->drawPoint(p1);</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">delete</span> painter;</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  painter = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31"> 97</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QPoint& p2, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth){</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// Used to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  QPainter* painter = <span class="keyword">new</span> QPainter(&<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>);</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// Set the current settings for the pen</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  painter->setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  painter->drawLine(p1, p2);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">delete</span> painter;</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  painter = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> }</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06"> 117</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a>(<span class="keyword">const</span> QColor& color){</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(color);</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> }</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f"> 127</a></span> QColor <a class="code" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a>(QPoint& point){</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  QImage copy = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">return</span> copy.pixelColor(point);</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  }</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(point);</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> }</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3"> 135</a></span> QImage <a class="code" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a>(){</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  QImage copy = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  copy = copy.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> copy;</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268"> 143</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a>(<span class="keyword">const</span> QImage& newData){</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = newData;</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2"> 153</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a>(<span class="keywordtype">bool</span> fastRendererOn){</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  this-><a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a> = fastRendererOn;</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  }</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  }</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> }</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520"> 163</a></span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">IntelliImage::getWidth</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width();</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> }</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1"> 167</a></span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1">IntelliImage::getHeight</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height();</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> }</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb"> 171</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb">IntelliImage::isFastRendering</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> this-><a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html"><div class="ttname"><a href="_intelli_image_8h.html">IntelliImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac398bfa9ddd3185508a1e36ee15d80cc"><div class="ttname"><a href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">IntelliImage::~IntelliImage</a></div><div class="ttdeci">virtual ~IntelliImage()=0</div><div class="ttdoc">An Abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00018">IntelliImage.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00057">IntelliImage.cpp:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac398bfa9ddd3185508a1e36ee15d80cc"><div class="ttname"><a href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">IntelliImage::~IntelliImage</a></div><div class="ttdeci">virtual ~IntelliImage()=0</div><div class="ttdoc">An Abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00019">IntelliImage.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00058">IntelliImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a47941bed3060d8df5f2edce8c7f046cb"><div class="ttname"><a href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb">IntelliImage::isFastRendering</a></div><div class="ttdeci">virtual bool isFastRendering() const</div><div class="ttdoc">isFastRendering returns if the Image is in fast rendering mode.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00171">IntelliImage.cpp:171</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2c6632ff35ee0a7094a8a289eb3a8652"><div class="ttname"><a href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652">IntelliImage::IntelliImage</a></div><div class="ttdeci">IntelliImage(int width, int height, bool fastRendererOn)</div><div class="ttdoc">The Construcor of the IntelliImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00005">IntelliImage.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae4dbaefabce4ec5bec37f5b95e2f62e2"><div class="ttname"><a href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a></div><div class="ttdeci">virtual void updateRendererSetting(bool fastRendererOn)</div><div class="ttdoc">updateRendererSetting updates the existing image format to the new format.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00152">IntelliImage.cpp:152</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00078">IntelliImage.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae4dbaefabce4ec5bec37f5b95e2f62e2"><div class="ttname"><a href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a></div><div class="ttdeci">virtual void updateRendererSetting(bool fastRendererOn)</div><div class="ttdoc">updateRendererSetting updates the existing image format to the new format.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00153">IntelliImage.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa63d34c7932113d021653980ee018671"><div class="ttname"><a href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">IntelliImage::fastRenderering</a></div><div class="ttdeci">bool fastRenderering</div><div class="ttdoc">fastRendering is the flag that represents the usage of 8bit pictures.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00051">IntelliImage.h:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ad66fbe380ffe0e073a8cd760f8285fe3"><div class="ttname"><a href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a></div><div class="ttdeci">virtual QImage getImageData()</div><div class="ttdoc">getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00134">IntelliImage.cpp:134</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a177403ab9585d4ba31984a644c54d310"><div class="ttname"><a href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a></div><div class="ttdeci">void resizeImage(QImage *image, const QSize &newSize)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00037">IntelliImage.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00142">IntelliImage.cpp:142</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00126">IntelliImage.cpp:126</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ad66fbe380ffe0e073a8cd760f8285fe3"><div class="ttname"><a href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a></div><div class="ttdeci">virtual QImage getImageData()</div><div class="ttdoc">getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00135">IntelliImage.cpp:135</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a177403ab9585d4ba31984a644c54d310"><div class="ttname"><a href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a></div><div class="ttdeci">void resizeImage(QImage *image, const QSize &newSize)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00038">IntelliImage.cpp:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00143">IntelliImage.cpp:143</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00127">IntelliImage.cpp:127</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a895bbe107ad2958aca6eebf9af3eb7f1"><div class="ttname"><a href="class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1">IntelliImage::getHeight</a></div><div class="ttdeci">virtual int getHeight() const</div><div class="ttdoc">getHeight returns the height of the Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00167">IntelliImage.cpp:167</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00041">IntelliImage.h:41</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae231800aba38c96074bbe9bb6e341d4e"><div class="ttname"><a href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">IntelliImage::loadImage</a></div><div class="ttdeci">virtual bool loadImage(const QString &filePath)</div><div class="ttdoc">A function that loads and sclaes an image to the fitting dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00022">IntelliImage.cpp:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00116">IntelliImage.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae231800aba38c96074bbe9bb6e341d4e"><div class="ttname"><a href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">IntelliImage::loadImage</a></div><div class="ttdeci">virtual bool loadImage(const QString &filePath)</div><div class="ttdoc">A function that loads and sclaes an image to the fitting dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00023">IntelliImage.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aea7b5f173968b330ef034bedb9426520"><div class="ttname"><a href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">IntelliImage::getWidth</a></div><div class="ttdeci">virtual int getWidth() const</div><div class="ttdoc">getWidth returns the width of the Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00163">IntelliImage.cpp:163</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -83,7 +83,8 @@ $(document).ready(function(){initNavTree('_intelli_image_8h.html',''); initResiz
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> </div>
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#enum-members">Enumerations</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliImage.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
@@ -104,7 +105,46 @@ Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_image.html">IntelliImage</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An abstract class which manages the basic <a class="el" href="class_intelli_image.html" title="An abstract class which manages the basic IntelliImage operations.">IntelliImage</a> operations. <a href="class_intelli_image.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a3154c405c975616503bac23f51b78fc0"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> { <a class="el" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a>,
|
||||
<a class="el" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a3154c405c975616503bac23f51b78fc0"><td class="mdescLeft"> </td><td class="mdescRight">The Types, which an Image can be. <a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3154c405c975616503bac23f51b78fc0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a id="a3154c405c975616503bac23f51b78fc0"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3154c405c975616503bac23f51b78fc0">◆ </a></span>ImageType</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">strong</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The Types, which an Image can be. </p>
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9"></a>RASTERIMAGE </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37"></a>SHAPEDIMAGE </td><td class="fielddoc"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_image_8h_source.html#l00022">22</a> of file <a class="el" href="_intelli_image_8h_source.html">IntelliImage.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
|
||||
@@ -2,7 +2,7 @@ var _intelli_image_8h =
|
||||
[
|
||||
[ "IntelliImage", "class_intelli_image.html", "class_intelli_image" ],
|
||||
[ "ImageType", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0", [
|
||||
[ "Raster_Image", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3", null ],
|
||||
[ "Shaped_Image", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d", null ]
|
||||
[ "RASTERIMAGE", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9", null ],
|
||||
[ "SHAPEDIMAGE", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37", null ]
|
||||
] ]
|
||||
];
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -104,100 +104,110 @@ $(document).ready(function(){initNavTree('_intelli_image_8h_source.html',''); in
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">class </span><a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_intelli_image.html"> 22</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_image.html">IntelliImage</a> {</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">friend</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0"> 22</a></span> <span class="keyword">enum class</span> <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> {</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">RASTERIMAGE</a>,</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">SHAPEDIMAGE</a></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> };</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e"> 30</a></span> <span class="keyword">enum class</span> <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e">ImageType</a> {</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">RASTERIMAGE</a>,</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">SHAPEDIMAGE</a></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> };</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_intelli_image.html"> 30</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_image.html">IntelliImage</a> {</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">friend</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">resizeImage</a>(QImage*image, <span class="keyword">const</span> QSize &newSize);</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2"> 41</a></span> QImage <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80"> 46</a></span> <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e">ImageType</a> <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a>;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80"> 46</a></span> <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a>;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671"> 51</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>;</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <a class="code" href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652">IntelliImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">~IntelliImage</a>() = 0;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">~IntelliImage</a>() = 0;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">drawPixel</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QPoint& p2, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">drawPoint</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth);</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(<span class="keyword">const</span> QColor& color);</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha) = 0;</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">getDisplayable</a>(<span class="keywordtype">int</span> alpha = 255) = 0;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_image.html#af6381067bdf565669f856bb589008ae9">getDeepCopy</a>() = 0;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>() = 0;</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData) = 0;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba"> 134</a></span> <span class="keyword">virtual</span> std::vector<QPoint> <a class="code" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">getPolygonData</a>(){</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> std::vector<QPoint>();</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> }</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f"> 138</a></span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e">ImageType</a> <a class="code" href="class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f">getTypeOfImage</a>(){</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a>;</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> }</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">loadImage</a>(<span class="keyword">const</span> QString &filePath);</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="keyword">virtual</span> QColor <a class="code" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">getPixelColor</a>(QPoint& point);</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">updateRendererSetting</a>(<span class="keywordtype">bool</span> fastRendererOn);</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">getImageData</a>();</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">setImageData</a>(<span class="keyword">const</span> QImage& newData);</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> };</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">drawPixel</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QPoint& p2, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">drawPoint</a>(<span class="keyword">const</span> QPoint &p1, <span class="keyword">const</span> QColor& color, <span class="keyword">const</span> <span class="keywordtype">int</span>& penWidth);</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(<span class="keyword">const</span> QColor& color);</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha) = 0;</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">getDisplayable</a>(<span class="keywordtype">int</span> alpha = 255) = 0;</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_image.html#af6381067bdf565669f856bb589008ae9">getDeepCopy</a>() = 0;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>() = 0;</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData) = 0;</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba"> 135</a></span> <span class="keyword">virtual</span> std::vector<QPoint> <a class="code" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">getPolygonData</a>(){</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> std::vector<QPoint>();</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f"> 139</a></span> <span class="keyword">virtual</span> <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> <a class="code" href="class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f">getTypeOfImage</a>(){</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a>;</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">loadImage</a>(<span class="keyword">const</span> QString &filePath);</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">virtual</span> QColor <a class="code" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">getPixelColor</a>(QPoint& point);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">updateRendererSetting</a>(<span class="keywordtype">bool</span> fastRendererOn);</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">getImageData</a>();</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">setImageData</a>(<span class="keyword">const</span> QImage& newData);</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">getWidth</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1">getHeight</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb">isFastRendering</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> };</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac398bfa9ddd3185508a1e36ee15d80cc"><div class="ttname"><a href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">IntelliImage::~IntelliImage</a></div><div class="ttdeci">virtual ~IntelliImage()=0</div><div class="ttdoc">An Abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00018">IntelliImage.cpp:18</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a></div><div class="ttdeci">ImageType</div><div class="ttdoc">The Types, which an Image can be.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac398bfa9ddd3185508a1e36ee15d80cc"><div class="ttname"><a href="class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc">IntelliImage::~IntelliImage</a></div><div class="ttdeci">virtual ~IntelliImage()=0</div><div class="ttdoc">An Abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00019">IntelliImage.cpp:19</a></div></div>
|
||||
<div class="ttc" id="a_intelli_render_settings_8h_html"><div class="ttname"><a href="_intelli_render_settings_8h.html">IntelliRenderSettings.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00057">IntelliImage.cpp:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00058">IntelliImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a21c7e65b59a26db45aac3880133ef21d"><div class="ttname"><a href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">IntelliImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af6b09c8d1d6b54a7e8a4e7286f3e503f"><div class="ttname"><a href="class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f">IntelliImage::getTypeOfImage</a></div><div class="ttdeci">virtual ImageType getTypeOfImage()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00138">IntelliImage.h:138</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aaf9f3e8db8666850024bee9aad9966ba"><div class="ttname"><a href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">IntelliImage::getPolygonData</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygonData()</div><div class="ttdoc">A function that returns the Polygondata if existent.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00134">IntelliImage.h:134</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a47941bed3060d8df5f2edce8c7f046cb"><div class="ttname"><a href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb">IntelliImage::isFastRendering</a></div><div class="ttdeci">virtual bool isFastRendering() const</div><div class="ttdoc">isFastRendering returns if the Image is in fast rendering mode.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00171">IntelliImage.cpp:171</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af6b09c8d1d6b54a7e8a4e7286f3e503f"><div class="ttname"><a href="class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f">IntelliImage::getTypeOfImage</a></div><div class="ttdeci">virtual ImageType getTypeOfImage()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00139">IntelliImage.h:139</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aaf9f3e8db8666850024bee9aad9966ba"><div class="ttname"><a href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">IntelliImage::getPolygonData</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygonData()</div><div class="ttdoc">A function that returns the Polygondata if existent.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00135">IntelliImage.h:135</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2c6632ff35ee0a7094a8a289eb3a8652"><div class="ttname"><a href="class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652">IntelliImage::IntelliImage</a></div><div class="ttdeci">IntelliImage(int width, int height, bool fastRendererOn)</div><div class="ttdoc">The Construcor of the IntelliImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00005">IntelliImage.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae4dbaefabce4ec5bec37f5b95e2f62e2"><div class="ttname"><a href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a></div><div class="ttdeci">virtual void updateRendererSetting(bool fastRendererOn)</div><div class="ttdoc">updateRendererSetting updates the existing image format to the new format.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00152">IntelliImage.cpp:152</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00078">IntelliImage.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae4dbaefabce4ec5bec37f5b95e2f62e2"><div class="ttname"><a href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a></div><div class="ttdeci">virtual void updateRendererSetting(bool fastRendererOn)</div><div class="ttdoc">updateRendererSetting updates the existing image format to the new format.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00153">IntelliImage.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa63d34c7932113d021653980ee018671"><div class="ttname"><a href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">IntelliImage::fastRenderering</a></div><div class="ttdeci">bool fastRenderering</div><div class="ttdoc">fastRendering is the flag that represents the usage of 8bit pictures.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00051">IntelliImage.h:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">IntelliImage::ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ad66fbe380ffe0e073a8cd760f8285fe3"><div class="ttname"><a href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a></div><div class="ttdeci">virtual QImage getImageData()</div><div class="ttdoc">getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00134">IntelliImage.cpp:134</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a177403ab9585d4ba31984a644c54d310"><div class="ttname"><a href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a></div><div class="ttdeci">void resizeImage(QImage *image, const QSize &newSize)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00037">IntelliImage.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00142">IntelliImage.cpp:142</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ad66fbe380ffe0e073a8cd760f8285fe3"><div class="ttname"><a href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a></div><div class="ttdeci">virtual QImage getImageData()</div><div class="ttdoc">getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00135">IntelliImage.cpp:135</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a177403ab9585d4ba31984a644c54d310"><div class="ttname"><a href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a></div><div class="ttdeci">void resizeImage(QImage *image, const QSize &newSize)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00038">IntelliImage.cpp:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00143">IntelliImage.cpp:143</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac460f75e1fa7e44b00a65e7fddac5b80"><div class="ttname"><a href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">IntelliImage::TypeOfImage</a></div><div class="ttdeci">ImageType TypeOfImage</div><div class="ttdoc">The Type, an Image is.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00046">IntelliImage.h:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00126">IntelliImage.cpp:126</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00127">IntelliImage.cpp:127</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a895bbe107ad2958aca6eebf9af3eb7f1"><div class="ttname"><a href="class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1">IntelliImage::getHeight</a></div><div class="ttdeci">virtual int getHeight() const</div><div class="ttdoc">getHeight returns the height of the Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00167">IntelliImage.cpp:167</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00041">IntelliImage.h:41</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae231800aba38c96074bbe9bb6e341d4e"><div class="ttname"><a href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">IntelliImage::loadImage</a></div><div class="ttdeci">virtual bool loadImage(const QString &filePath)</div><div class="ttdoc">A function that loads and sclaes an image to the fitting dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00022">IntelliImage.cpp:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae231800aba38c96074bbe9bb6e341d4e"><div class="ttname"><a href="class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e">IntelliImage::loadImage</a></div><div class="ttdeci">virtual bool loadImage(const QString &filePath)</div><div class="ttdoc">A function that loads and sclaes an image to the fitting dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00023">IntelliImage.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af6381067bdf565669f856bb589008ae9"><div class="ttname"><a href="class_intelli_image.html#af6381067bdf565669f856bb589008ae9">IntelliImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy()=0</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="a_intelli_triangulation_8h_html"><div class="ttname"><a href="_intelli_triangulation_8h.html">IntelliTriangulation.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680e"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e">IntelliImage::ImageType</a></div><div class="ttdeci">ImageType</div><div class="ttdoc">The Types, which an Image can be.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00116">IntelliImage.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aea7b5f173968b330ef034bedb9426520"><div class="ttname"><a href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">IntelliImage::getWidth</a></div><div class="ttdeci">virtual int getWidth() const</div><div class="ttdoc">getWidth returns the width of the Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00163">IntelliImage.cpp:163</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa4b3f4631bd972456917275afb9fd309"><div class="ttname"><a href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">IntelliImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData)=0</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -172,12 +172,12 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8cpp_source.html
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_ae59e68446caab323945ea725f69e89b0"><div class="ttname"><a href="class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0">IntelliInputDialog::slotCloseEvent</a></div><div class="ttdeci">void slotCloseEvent()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00074">IntelliInputDialog.cpp:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_ae59e68446caab323945ea725f69e89b0"><div class="ttname"><a href="class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0">IntelliInputDialog::slotCloseEvent</a></div><div class="ttdeci">void slotCloseEvent()</div><div class="ttdoc">slotCloseEvent is a slot for catching the close Event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00074">IntelliInputDialog.cpp:74</a></div></div>
|
||||
<div class="ttc" id="a_intelli_input_dialog_8h_html"><div class="ttname"><a href="_intelli_input_dialog_8h.html">IntelliInputDialog.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html"><div class="ttname"><a href="class_intelli_input_dialog.html">IntelliInputDialog</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8h_source.html#l00012">IntelliInputDialog.h:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_aa276ec605b08b19d70c54654cc606cc5"><div class="ttname"><a href="class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5">IntelliInputDialog::IntelliInputDialog</a></div><div class="ttdeci">IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00003">IntelliInputDialog.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a480ac2f5b8f7b9bc1cd7b30df84c2a62"><div class="ttname"><a href="class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62">IntelliInputDialog::getInt</a></div><div class="ttdeci">static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00016">IntelliInputDialog.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a23f837147e6aab3d8e0aff9d0f7012bd"><div class="ttname"><a href="class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd">IntelliInputDialog::slotEingabe</a></div><div class="ttdeci">void slotEingabe()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00078">IntelliInputDialog.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html"><div class="ttname"><a href="class_intelli_input_dialog.html">IntelliInputDialog</a></div><div class="ttdoc">The IntelliInputDialog class is a customized Input Dialog to get Integers.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8h_source.html#l00015">IntelliInputDialog.h:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_aa276ec605b08b19d70c54654cc606cc5"><div class="ttname"><a href="class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5">IntelliInputDialog::IntelliInputDialog</a></div><div class="ttdeci">IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdoc">IntelliInputDialog is the baisc constructor to for the InputDialog.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00003">IntelliInputDialog.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a480ac2f5b8f7b9bc1cd7b30df84c2a62"><div class="ttname"><a href="class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62">IntelliInputDialog::getInt</a></div><div class="ttdeci">static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdoc">getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00016">IntelliInputDialog.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a23f837147e6aab3d8e0aff9d0f7012bd"><div class="ttname"><a href="class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd">IntelliInputDialog::slotEingabe</a></div><div class="ttdeci">void slotEingabe()</div><div class="ttdoc">slotEingabe is a slot for catching the Input Event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00078">IntelliInputDialog.cpp:78</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -101,6 +101,7 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8h.html',''); in
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_input_dialog.html">IntelliInputDialog</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_input_dialog.html" title="The IntelliInputDialog class is a customized Input Dialog to get Integers.">IntelliInputDialog</a> class is a customized Input Dialog to get Integers. <a href="class_intelli_input_dialog.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -97,46 +97,55 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8h_source.html',
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <QPushButton></span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <QSpinBox></span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_intelli_input_dialog.html"> 12</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_input_dialog.html">IntelliInputDialog</a> : <span class="keyword">public</span> QDialog</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> {</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> Q_OBJECT</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <a class="code" href="class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5">IntelliInputDialog</a>(QString Title = <span class="keyword">nullptr</span>, QString Label = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> value = 5, <span class="keywordtype">int</span> minValue = -2147483647, <span class="keywordtype">int</span> maxValue = 2147483647, <span class="keywordtype">int</span> step = 1, <span class="keywordtype">bool</span>* ok = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62">getInt</a>(QString Title = <span class="keyword">nullptr</span>, QString Label = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> value = 5, <span class="keywordtype">int</span> minValue = -2147483647, <span class="keywordtype">int</span> maxValue = 2147483647, <span class="keywordtype">int</span> step = 1, <span class="keywordtype">bool</span>* ok = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span> slots:</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0">slotCloseEvent</a>();</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd">slotEingabe</a>();</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> createInputBox(QString Title = <span class="keyword">nullptr</span>, QString Label = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> value = 5, <span class="keywordtype">int</span> minValue = -2147483647, <span class="keywordtype">int</span> maxValue = 2147483647, <span class="keywordtype">int</span> step = 1);</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keywordtype">void</span> createConnections();</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keywordtype">void</span> setInputBoxStyle();</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keywordtype">int</span> valueInt;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> QGridLayout* Layout;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> QDialogButtonBox* ButtonBox;</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keywordtype">bool</span>* notClosed;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">const</span> QSize Linesize = QSize(150,20);</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">const</span> QSize Buttonsize = QSize(72,20);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> QLabel* InputLabel;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> QSpinBox* Input;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> QPushButton* okButton;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> QPushButton* cancelButton;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> };</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_intelli_input_dialog.html"> 15</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_input_dialog.html">IntelliInputDialog</a> : <span class="keyword">public</span> QDialog</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> Q_OBJECT</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <a class="code" href="class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5">IntelliInputDialog</a>(QString Title = <span class="keyword">nullptr</span>, QString Label = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> value = 5, <span class="keywordtype">int</span> minValue = -2147483647, <span class="keywordtype">int</span> maxValue = 2147483647, <span class="keywordtype">int</span> step = 1, <span class="keywordtype">bool</span>* ok = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62">getInt</a>(QString Title = <span class="keyword">nullptr</span>, QString Label = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> value = 5, <span class="keywordtype">int</span> minValue = -2147483647, <span class="keywordtype">int</span> maxValue = 2147483647, <span class="keywordtype">int</span> step = 1, <span class="keywordtype">bool</span>* ok = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#endif // INTELLIINPUTDIALOG_H</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span> slots:</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0">slotCloseEvent</a>();</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd">slotEingabe</a>();</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keywordtype">void</span> createInputBox(QString Title = <span class="keyword">nullptr</span>, QString Label = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> value = 5, <span class="keywordtype">int</span> minValue = -2147483647, <span class="keywordtype">int</span> maxValue = 2147483647, <span class="keywordtype">int</span> step = 1);</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">void</span> createConnections();</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keywordtype">void</span> setInputBoxStyle();</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">int</span> valueInt;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> QGridLayout* Layout;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> QDialogButtonBox* ButtonBox;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">bool</span>* notClosed;</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">const</span> QSize Linesize = QSize(150,20);</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">const</span> QSize Buttonsize = QSize(72,20);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> QLabel* InputLabel;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> QSpinBox* Input;</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> QPushButton* okButton;</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> QPushButton* cancelButton;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> };</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor">#endif // INTELLIINPUTDIALOG_H</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_ae59e68446caab323945ea725f69e89b0"><div class="ttname"><a href="class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0">IntelliInputDialog::slotCloseEvent</a></div><div class="ttdeci">void slotCloseEvent()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00074">IntelliInputDialog.cpp:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html"><div class="ttname"><a href="class_intelli_input_dialog.html">IntelliInputDialog</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8h_source.html#l00012">IntelliInputDialog.h:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_aa276ec605b08b19d70c54654cc606cc5"><div class="ttname"><a href="class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5">IntelliInputDialog::IntelliInputDialog</a></div><div class="ttdeci">IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00003">IntelliInputDialog.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a480ac2f5b8f7b9bc1cd7b30df84c2a62"><div class="ttname"><a href="class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62">IntelliInputDialog::getInt</a></div><div class="ttdeci">static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00016">IntelliInputDialog.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a23f837147e6aab3d8e0aff9d0f7012bd"><div class="ttname"><a href="class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd">IntelliInputDialog::slotEingabe</a></div><div class="ttdeci">void slotEingabe()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00078">IntelliInputDialog.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_ae59e68446caab323945ea725f69e89b0"><div class="ttname"><a href="class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0">IntelliInputDialog::slotCloseEvent</a></div><div class="ttdeci">void slotCloseEvent()</div><div class="ttdoc">slotCloseEvent is a slot for catching the close Event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00074">IntelliInputDialog.cpp:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html"><div class="ttname"><a href="class_intelli_input_dialog.html">IntelliInputDialog</a></div><div class="ttdoc">The IntelliInputDialog class is a customized Input Dialog to get Integers.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8h_source.html#l00015">IntelliInputDialog.h:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_aa276ec605b08b19d70c54654cc606cc5"><div class="ttname"><a href="class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5">IntelliInputDialog::IntelliInputDialog</a></div><div class="ttdeci">IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdoc">IntelliInputDialog is the baisc constructor to for the InputDialog.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00003">IntelliInputDialog.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a480ac2f5b8f7b9bc1cd7b30df84c2a62"><div class="ttname"><a href="class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62">IntelliInputDialog::getInt</a></div><div class="ttdeci">static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)</div><div class="ttdoc">getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00016">IntelliInputDialog.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_input_dialog_html_a23f837147e6aab3d8e0aff9d0f7012bd"><div class="ttname"><a href="class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd">IntelliInputDialog::slotEingabe</a></div><div class="ttdeci">void slotEingabe()</div><div class="ttdoc">slotEingabe is a slot for catching the Input Event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_input_dialog_8cpp_source.html#l00078">IntelliInputDialog.cpp:78</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -88,8 +88,12 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp.html',''); ini
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_photo_gui_8h_source.html">IntelliPhotoGui.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_painting_area_8h_source.html">Layer/PaintingArea.h</a>"</code><br />
|
||||
<code>#include "QEvent"</code><br />
|
||||
<code>#include "QCloseEvent"</code><br />
|
||||
<code>#include <QEvent></code><br />
|
||||
<code>#include <QCloseEvent></code><br />
|
||||
<code>#include <QDebug></code><br />
|
||||
<code>#include <string></code><br />
|
||||
<code>#include <QScreen></code><br />
|
||||
<code>#include <QGuiApplication></code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_photo_gui_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -101,7 +101,9 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h.html',''); initR
|
||||
<code>#include <QTextEdit></code><br />
|
||||
<code>#include <QLabel></code><br />
|
||||
<code>#include <QLineEdit></code><br />
|
||||
<code>#include <QScrollArea></code><br />
|
||||
<code>#include "<a class="el" href="_intelli_input_dialog_8h_source.html">IntelliInputDialog.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_datamanager_8h_source.html">IntelliHelper/IntelliDatamanager.h</a>"</code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_photo_gui_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -102,202 +102,288 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h_source.html','')
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <QTextEdit></span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <QLabel></span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <QLineEdit></span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="_intelli_input_dialog_8h.html">IntelliInputDialog.h</a>"</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">//for unit testing</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">class </span><a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// PaintingArea used to paint the image</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">class </span><a class="code" href="class_painting_area.html">PaintingArea</a>;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span><a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <QScrollArea></span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="_intelli_input_dialog_8h.html">IntelliInputDialog.h</a>"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="_intelli_datamanager_8h.html">IntelliHelper/IntelliDatamanager.h</a>"</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">//for unit testing</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span><a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// PaintingArea used to paint the image</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span><a class="code" href="class_painting_area.html">PaintingArea</a>;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_intelli_photo_gui.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_photo_gui.html">IntelliPhotoGui</a> : <span class="keyword">public</span> QMainWindow {</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// Declares our class as a QObject which is the base class</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// for all Qt objects</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// QObjects handle events</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> Q_OBJECT</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <a class="code" href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui</a>();</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span><a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_intelli_photo_gui.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_photo_gui.html">IntelliPhotoGui</a> : <span class="keyword">public</span> QMainWindow {</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// Declares our class as a QObject which is the base class</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// for all Qt objects</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// QObjects handle events</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> Q_OBJECT</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <a class="code" href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui</a>();</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">setToolWidth</a>(<span class="keywordtype">int</span> value);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">closeEvent</a>(QCloseEvent*event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">private</span> slots:</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">void</span> slotOpen();</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span> slotSave();</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment">// layer slots here</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keywordtype">void</span> slotCreateNewRasterLayer();</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keywordtype">void</span> slotCreateNewShapedLayer();</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span> slotDeleteLayer();</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">void</span> slotSetActiveLayer();</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">void</span> slotSetActiveAlpha();</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">void</span> slotSetPolygon();</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keywordtype">void</span> slotPositionMoveUp();</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">void</span> slotPositionMoveDown();</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keywordtype">void</span> slotPositionMoveLeft();</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> slotPositionMoveRight();</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">void</span> slotMoveLayerUp();</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">void</span> slotMoveLayerDown();</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keywordtype">void</span> slotUpdateRenderSettingsOn();</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keywordtype">void</span> slotUpdateRenderSettingsOff();</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">setToolWidth</a>(<span class="keywordtype">int</span> value);</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">closeEvent</a>(QCloseEvent*event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">private</span> slots:</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> slotOpen();</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keywordtype">void</span> slotSave();</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keywordtype">void</span> slotSetFirstColor();</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keywordtype">void</span> slotSetSecondColor();</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">void</span> slotSwapColor();</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keywordtype">void</span> slotCreatePenTool();</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> slotCreatePlainTool();</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="keywordtype">void</span> slotCreateLineTool();</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keywordtype">void</span> slotCreateRectangleTool();</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keywordtype">void</span> slotCreateCircleTool();</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keywordtype">void</span> slotCreatePolygonTool();</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">void</span> slotCreateFloodFillTool();</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keywordtype">void</span> slotAboutDialog();</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">void</span> slotChangeDim();</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">void</span> slotEnterPressed();</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> slotSetWidth();</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">void</span> slotSetInnerAlpha();</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span> slotResetTools();</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keywordtype">void</span> createActions();</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="keywordtype">void</span> createMenus();</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">void</span> createGui();</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">// Set the style of the GUI</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">void</span> setIntelliStyle();</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keywordtype">void</span> slotCreateNewRasterLayer();</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keywordtype">void</span> slotCreateNewShapedLayer();</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keywordtype">void</span> slotDeleteLayer();</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> slotSetActiveLayer();</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keywordtype">void</span> slotSetActiveAlpha();</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">void</span> slotSetPolygon();</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment">// Will check if changes have occurred since last save</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">bool</span> maybeSave();</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment">// Opens the Save dialog and saves</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keywordtype">bool</span> saveFile(<span class="keyword">const</span> QByteArray &fileFormat);</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keywordtype">void</span> slotPositionMoveUp();</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span> setDefaultToolValue();</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment">// What we'll draw on</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <a class="code" href="class_painting_area.html">PaintingArea</a>* paintingArea;</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">void</span> slotPositionMoveDown();</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">const</span> QSize Buttonsize = QSize(35,35);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> QPixmap preview;</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> QPushButton* CircleButton;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> QPushButton* FloodFillButton;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> QPushButton* LineButton;</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> QPushButton* PenButton;</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> QPushButton* PlainButton;</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> QPushButton* PolygonButton;</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> QPushButton* RectangleButton;</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> QLabel* WidthLine;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> QLabel* innerAlphaLine;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> QLineEdit* EditLineWidth;</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> QLineEdit* EditLineInnerAlpha;</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> QIntValidator* ValidatorLineWidth;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> QIntValidator* ValidatorInnerAlpha;</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> QPushButton* FirstColorButton;</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> QPushButton* SecondColorButton;</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> QPushButton* SwitchColorButton;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keywordtype">void</span> slotPositionMoveLeft();</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="keywordtype">void</span> slotPositionMoveRight();</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="keywordtype">void</span> slotMoveLayerUp();</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="keywordtype">void</span> slotMoveLayerDown();</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> QLabel* ActiveLayerLine;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> QLabel* ActiveLayerImageLabel;</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> QPushButton* dimActive;</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> QPushButton* dimCanvas;</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment">// The menu widgets</span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> QMenu*saveAsMenu;</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> QMenu*fileMenu;</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> QMenu*renderMenu;</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> QMenu*optionMenu;</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> QMenu*layerCreationMenu;</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> QMenu*layerMenu;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> QMenu*colorMenu;</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> QMenu*toolCreationMenu;</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> QMenu*toolSettingsMenu;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> QMenu*toolMenu;</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> QMenu*helpMenu;</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment">// All the actions that can occur</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment">// meta image actions (need further modularisation)</span></div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> QAction* actionOpen;</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> QAction* actionExit;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment">//Rendersetting actions</span></div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> QAction*actionUpdateRenderSettingsOn;</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> QAction*actionUpdateRenderSettingsOff;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment">// color Picker actions</span></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> QAction* actionColorPickerFirstColor;</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> QAction* actionColorPickerSecondColor;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> QAction* actionColorSwap;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment">// tool actions</span></div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> QAction* actionCreatePenTool;</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> QAction* actionCreatePlainTool;</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> QAction* actionCreateLineTool;</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> QAction* actionCreateRectangleTool;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> QAction* actionCreateCircleTool;</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> QAction* actionCreatePolygonTool;</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> QAction* actionCreateFloodFillTool;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment">// dimension actions</span></div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> QAction*actionChangeDim;</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keywordtype">void</span> slotUpdateFastRenderSettingsOn();</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keywordtype">void</span> slotUpdateFastRenderSettingsOff();</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keywordtype">void</span> slotSetFirstColor();</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="keywordtype">void</span> slotSetSecondColor();</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keywordtype">void</span> slotSwapColor();</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keywordtype">void</span> slotCreatePenTool();</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="keywordtype">void</span> slotCreatePlainTool();</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="keywordtype">void</span> slotCreateLineTool();</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="keywordtype">void</span> slotCreateRectangleTool();</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment">// dialog actions</span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> QAction* actionAboutDialog;</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> QAction* actionAboutQtDialog;</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment">// layer change actions</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> QAction* actionCreateNewRasterLayer;</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> QAction* actionCreateNewShapedLayer;</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> QAction* actionDeleteLayer;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> QAction* actionSetActiveLayer;</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> QAction* actionSetActiveAlpha;</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> QAction* actionSetPolygon;</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> QAction* actionMovePositionUp;</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> QAction* actionMovePositionDown;</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> QAction* actionMovePositionLeft;</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> QAction* actionMovePositionRight;</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> QAction* actionMoveLayerUp;</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> QAction* actionMoveLayerDown;</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment">// Actions tied to specific file formats</span></div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> QList<QAction*> actionSaveAs;</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> QAction* actionSetWidth;</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> QAction* actionSetInnerAlpha;</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment">// main GUI elements</span></div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> QWidget* centralGuiWidget;</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> QGridLayout* mainLayout;</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> };</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keywordtype">void</span> slotCreateCircleTool();</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="keywordtype">void</span> slotCreatePolygonTool();</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="keywordtype">void</span> slotCreateFloodFillTool();</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="keywordtype">void</span> slotCreateGradientTool();</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="keywordtype">void</span> slotAboutDialog();</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keywordtype">void</span> slotChangeDim();</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="keywordtype">void</span> slotEnterPressed();</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  </div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="keywordtype">void</span> slotSetWidth();</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="keywordtype">void</span> slotSetInnerAlpha();</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="keywordtype">void</span> slotResetToolButtons();</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="keywordtype">void</span> slotGoBack();</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  </div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="keywordtype">void</span> slotGoForward();</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="keywordtype">void</span> createActions();</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="keywordtype">void</span> createMenus();</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="keywordtype">void</span> createGui();</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  </div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="keywordtype">void</span> setIntelliStyle();</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="keywordtype">bool</span> maybeSave();</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  </div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keywordtype">bool</span> saveFile(<span class="keyword">const</span> QByteArray &fileFormat);</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="keywordtype">void</span> setDefaultValues();</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  </div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <a class="code" href="class_painting_area.html">PaintingArea</a>* paintingArea;</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> QPixmap preview;</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> QSize Buttonsize;</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> QPushButton* CircleButton;</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  </div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> QPushButton* FloodFillButton;</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  </div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> QPushButton* GradientButton;</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  </div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> QPushButton* LineButton;</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  </div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> QPushButton* PenButton;</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  </div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> QPushButton* PlainButton;</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  </div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> QPushButton* PolygonButton;</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  </div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> QPushButton* RectangleButton;</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> QPushButton* FirstColorButton;</div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  </div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> QPushButton* SecondColorButton;</div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  </div>
|
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> QPushButton* SwitchColorButton;</div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  </div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> QPushButton* dimActive;</div>
|
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  </div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> QPushButton* dimCanvas;</div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  </div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> QLabel* WidthLine;</div>
|
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  </div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> QLabel* innerAlphaLine;</div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  </div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> QLabel* ActiveLayerLabel;</div>
|
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  </div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> QLabel* ActiveLayerImageLabel;</div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  </div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> QLabel* FastRendererLabel;</div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  </div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> QScrollArea* ScrollArea;</div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  </div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> QLineEdit* EditLineWidth;</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  </div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span> QLineEdit* EditLineInnerAlpha;</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  </div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> QIntValidator* ValidatorLineWidth;</div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  </div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> QIntValidator* ValidatorInnerAlpha;</div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  </div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  </div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> QMenu* saveAsMenu;</div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  </div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> QMenu* fileMenu;</div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  </div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span> QMenu* renderMenu;</div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  </div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> QMenu* optionMenu;</div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  </div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> QMenu* layerCreationMenu;</div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  </div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> QMenu* layerMenu;</div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  </div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> QMenu* colorMenu;</div>
|
||||
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  </div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> QMenu* toolCreationMenu;</div>
|
||||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  </div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> QMenu* toolSettingsMenu;</div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  </div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> QMenu* toolMenu;</div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  </div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span> QMenu* helpMenu;</div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  </div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> QAction* actionOpen;</div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  </div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> QAction* actionExit;</div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  </div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> QAction* actionUpdateFastRenderSettingsOn;</div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  </div>
|
||||
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span> QAction* actionUpdateFastRenderSettingsOff;</div>
|
||||
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  </div>
|
||||
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> QAction* actionColorPickerFirstColor;</div>
|
||||
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  </div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span> QAction* actionColorPickerSecondColor;</div>
|
||||
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  </div>
|
||||
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span> QAction* actionColorSwap;</div>
|
||||
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  </div>
|
||||
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span> QAction* actionCreatePenTool;</div>
|
||||
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  </div>
|
||||
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span> QAction* actionCreatePlainTool;</div>
|
||||
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  </div>
|
||||
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span> QAction* actionCreateLineTool;</div>
|
||||
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  </div>
|
||||
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span> QAction* actionCreateRectangleTool;</div>
|
||||
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  </div>
|
||||
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span> QAction* actionCreateCircleTool;</div>
|
||||
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  </div>
|
||||
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span> QAction* actionCreatePolygonTool;</div>
|
||||
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  </div>
|
||||
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span> QAction* actionCreateFloodFillTool;</div>
|
||||
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  </div>
|
||||
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span> QAction* actionCreateGradientTool;</div>
|
||||
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  </div>
|
||||
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span> QAction* actionChangeDim;</div>
|
||||
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  </div>
|
||||
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span> QAction* actionSetWidth;</div>
|
||||
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  </div>
|
||||
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span> QAction* actionSetInnerAlpha;</div>
|
||||
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  </div>
|
||||
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span> QAction* actionAboutDialog;</div>
|
||||
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  </div>
|
||||
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span> QAction* actionAboutQtDialog;</div>
|
||||
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  </div>
|
||||
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span> QAction* actionCreateNewRasterLayer;</div>
|
||||
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  </div>
|
||||
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span> QAction* actionCreateNewShapedLayer;</div>
|
||||
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  </div>
|
||||
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span> QAction* actionDeleteLayer;</div>
|
||||
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  </div>
|
||||
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span> QAction* actionSetActiveLayer;</div>
|
||||
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  </div>
|
||||
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span> QAction* actionSetActiveAlpha;</div>
|
||||
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  </div>
|
||||
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span> QAction* actionSetPolygon;</div>
|
||||
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  </div>
|
||||
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span> QAction* actionMovePositionUp;</div>
|
||||
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  </div>
|
||||
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span> QAction* actionMovePositionDown;</div>
|
||||
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  </div>
|
||||
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span> QAction* actionMovePositionLeft;</div>
|
||||
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  </div>
|
||||
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span> QAction* actionMovePositionRight;</div>
|
||||
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  </div>
|
||||
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span> QAction* actionMoveLayerUp;</div>
|
||||
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  </div>
|
||||
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span> QAction* actionMoveLayerDown;</div>
|
||||
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  </div>
|
||||
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span> QList<QAction*> actionSaveAs;</div>
|
||||
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>  </div>
|
||||
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span> QAction* actionGoBack;</div>
|
||||
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  </div>
|
||||
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span> QAction* actionGoForward;</div>
|
||||
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>  </div>
|
||||
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span> QWidget* centralGuiWidget;</div>
|
||||
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  </div>
|
||||
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span> QGridLayout* mainLayout;</div>
|
||||
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span> };</div>
|
||||
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  </div>
|
||||
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="a_intelli_input_dialog_8h_html"><div class="ttname"><a href="_intelli_input_dialog_8h.html">IntelliInputDialog.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html"><div class="ttname"><a href="class_intelli_photo_gui.html">IntelliPhotoGui</a></div><div class="ttdoc">The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8h_source.html#l00032">IntelliPhotoGui.h:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_ad2aaec3c1517a9aaa461b54e341b97e0"><div class="ttname"><a href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui::IntelliPhotoGui</a></div><div class="ttdeci">IntelliPhotoGui()</div><div class="ttdoc">The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00010">IntelliPhotoGui.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html"><div class="ttname"><a href="class_intelli_photo_gui.html">IntelliPhotoGui</a></div><div class="ttdoc">The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8h_source.html#l00034">IntelliPhotoGui.h:34</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_ad2aaec3c1517a9aaa461b54e341b97e0"><div class="ttname"><a href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui::IntelliPhotoGui</a></div><div class="ttdeci">IntelliPhotoGui()</div><div class="ttdoc">The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00014">IntelliPhotoGui.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a2cf48070236ae8b35245e7f30482ef13"><div class="ttname"><a href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdoc">The closeEvent function handles closing events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00026">IntelliPhotoGui.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a343f8ebf5d27b7242208747de6c92497"><div class="ttname"><a href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">IntelliPhotoGui::setToolWidth</a></div><div class="ttdeci">void setToolWidth(int value)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00828">IntelliPhotoGui.cpp:828</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a2cf48070236ae8b35245e7f30482ef13"><div class="ttname"><a href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdoc">The closeEvent function handles closing events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00030">IntelliPhotoGui.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a343f8ebf5d27b7242208747de6c92497"><div class="ttname"><a href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">IntelliPhotoGui::setToolWidth</a></div><div class="ttdeci">void setToolWidth(int value)</div><div class="ttdoc">setToolWidth stes a width to the tool</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00923">IntelliPhotoGui.cpp:923</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a1dbef8d4688227aa9455aea52db00bf4"><div class="ttname"><a href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">IntelliPhotoGui::UpdateGui</a></div><div class="ttdeci">void UpdateGui()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00837">IntelliPhotoGui.cpp:837</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a1dbef8d4688227aa9455aea52db00bf4"><div class="ttname"><a href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">IntelliPhotoGui::UpdateGui</a></div><div class="ttdeci">void UpdateGui()</div><div class="ttdoc">UpdateGui a function to update all gui elements.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00932">IntelliPhotoGui.cpp:932</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="a_intelli_datamanager_8h_html"><div class="ttname"><a href="_intelli_datamanager_8h.html">IntelliDatamanager.h</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -93,65 +93,81 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413"> 6</a></span> <a class="code" href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage::IntelliRasterImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn)</div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  : <a class="code" href="class_intelli_image.html">IntelliImage</a>(width, height, fastRendererOn){</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a> = fastRendererOn;</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> }</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8"> 12</a></span> <a class="code" href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">IntelliRasterImage::~IntelliRasterImage</a>(){</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> }</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc"> 16</a></span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">IntelliRasterImage::getDeepCopy</a>(){</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>* raster = <span class="keyword">new</span> <a class="code" href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(), <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(), <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  raster-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(Qt::transparent);</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  raster-><a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordflow">return</span> raster;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e"> 13</a></span> <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>* <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">IntelliRasterImage::copy</a>(<span class="keyword">const</span> <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>& image){</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  this-><a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>* raster = <span class="keyword">new</span> <a class="code" href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(), <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(), this->fastRenderering);</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  raster-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.copy(0,0,image.<a class="code" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">getWidth</a>(),image.<a class="code" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">getWidth</a>());</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordflow">return</span> raster;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> }</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8"> 21</a></span> <a class="code" href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">IntelliRasterImage::~IntelliRasterImage</a>(){</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60"> 23</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a>(){</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="comment">// not used in raster image</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> }</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f"> 27</a></span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a>(<span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">getDisplayable</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.size(), alpha);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> }</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884"> 31</a></span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  QImage copy = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  copy = copy.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<copy.height(); y++) {</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<copy.width(); x++) {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  QColor clr = copy.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  clr.setAlpha(std::min(alpha, clr.alpha()));</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  copy.setPixelColor(x,y, clr);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  }</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  copy = copy.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">return</span> copy.scaled(displaySize,Qt::IgnoreAspectRatio);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b"> 49</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">IntelliRasterImage::setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData){</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> }</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc"> 25</a></span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">IntelliRasterImage::getDeepCopy</a>(){</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>* raster = <span class="keyword">new</span> <a class="code" href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(), <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(), <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  raster-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(Qt::transparent);</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  raster-><a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> raster;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60"> 32</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a>(){</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// not used in raster image</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> }</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f"> 36</a></span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a>(<span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">getDisplayable</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.size(), alpha);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884"> 40</a></span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  QImage <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a> = <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  QColor clr = <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  clr.setAlpha(std::min(alpha, clr.alpha()));</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.setPixelColor(x,y, clr);</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a> = <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>.scaled(displaySize,Qt::IgnoreAspectRatio);</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b"> 58</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">IntelliRasterImage::setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData){</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e"> 62</a></span> std::vector<QPoint> <a class="code" href="class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e">IntelliRasterImage::getPolygon</a>(){</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> std::vector<QPoint>();</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a844a2b58c43f7e01f2ca116286371bc8"><div class="ttname"><a href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">IntelliRasterImage::~IntelliRasterImage</a></div><div class="ttdeci">virtual ~IntelliRasterImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00012">IntelliRasterImage.cpp:12</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a844a2b58c43f7e01f2ca116286371bc8"><div class="ttname"><a href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">IntelliRasterImage::~IntelliRasterImage</a></div><div class="ttdeci">virtual ~IntelliRasterImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00021">IntelliRasterImage.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_ae779b571372296f1922af818ba003413"><div class="ttname"><a href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage::IntelliRasterImage</a></div><div class="ttdeci">IntelliRasterImage(int width, int height, bool fastRendererOn)</div><div class="ttdoc">The Construcor of the IntelliRasterImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00006">IntelliRasterImage.cpp:6</a></div></div>
|
||||
<div class="ttc" id="a_intelli_raster_image_8h_html"><div class="ttname"><a href="_intelli_raster_image_8h.html">IntelliRasterImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a6c27fa0d323a1a81d0c4c93c9161f81e"><div class="ttname"><a href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">IntelliRasterImage::copy</a></div><div class="ttdeci">IntelliRasterImage * copy(const IntelliRasterImage &image)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00013">IntelliRasterImage.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa63d34c7932113d021653980ee018671"><div class="ttname"><a href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">IntelliImage::fastRenderering</a></div><div class="ttdeci">bool fastRenderering</div><div class="ttdoc">fastRendering is the flag that represents the usage of 8bit pictures.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00051">IntelliImage.h:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_ae43393397b0141a8033fe34d3a1b1884"><div class="ttname"><a href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00031">IntelliRasterImage.cpp:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_af19828176178cc1dece5160d726d946e"><div class="ttname"><a href="class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e">IntelliRasterImage::getPolygon</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygon()</div><div class="ttdoc">getPolygon</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00062">IntelliRasterImage.cpp:62</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_ae43393397b0141a8033fe34d3a1b1884"><div class="ttname"><a href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00040">IntelliRasterImage.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac460f75e1fa7e44b00a65e7fddac5b80"><div class="ttname"><a href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">IntelliImage::TypeOfImage</a></div><div class="ttdeci">ImageType TypeOfImage</div><div class="ttdoc">The Type, an Image is.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00046">IntelliImage.h:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00041">IntelliImage.h:41</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a8f901301b106504de3c27308ade897dc"><div class="ttname"><a href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">IntelliRasterImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00016">IntelliRasterImage.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a87cf2d360c129d64a5db0db85818eb60"><div class="ttname"><a href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity() override</div><div class="ttdoc">A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00023">IntelliRasterImage.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a6462fa5f94c5e64e9e1f0c4658e0507b"><div class="ttname"><a href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">IntelliRasterImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00049">IntelliRasterImage.cpp:49</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a8f901301b106504de3c27308ade897dc"><div class="ttname"><a href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">IntelliRasterImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00025">IntelliRasterImage.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a87cf2d360c129d64a5db0db85818eb60"><div class="ttname"><a href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity() override</div><div class="ttdoc">A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00032">IntelliRasterImage.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a6462fa5f94c5e64e9e1f0c4658e0507b"><div class="ttname"><a href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">IntelliRasterImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00058">IntelliRasterImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html"><div class="ttname"><a href="class_intelli_raster_image.html">IntelliRasterImage</a></div><div class="ttdoc">The IntelliRasterImage manages a RASTERIMAGE.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8h_source.html#l00012">IntelliRasterImage.h:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aea7b5f173968b330ef034bedb9426520"><div class="ttname"><a href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">IntelliImage::getWidth</a></div><div class="ttdeci">virtual int getWidth() const</div><div class="ttdoc">getWidth returns the width of the Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00163">IntelliImage.cpp:163</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -102,30 +102,36 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8h_source.html',
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <a class="code" href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn);</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">~IntelliRasterImage</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize,<span class="keywordtype">int</span> alpha) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">getDisplayable</a>(<span class="keywordtype">int</span> alpha = 255) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">getDeepCopy</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> };</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>* <a class="code" href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">copy</a>(<span class="keyword">const</span> <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>& image);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">~IntelliRasterImage</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize,<span class="keywordtype">int</span> alpha) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">getDisplayable</a>(<span class="keywordtype">int</span> alpha = 255) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">getDeepCopy</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">virtual</span> std::vector<QPoint> <a class="code" href="class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e">getPolygon</a>();</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> };</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="a_intelli_image_8h_html"><div class="ttname"><a href="_intelli_image_8h.html">IntelliImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a844a2b58c43f7e01f2ca116286371bc8"><div class="ttname"><a href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">IntelliRasterImage::~IntelliRasterImage</a></div><div class="ttdeci">virtual ~IntelliRasterImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00012">IntelliRasterImage.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a844a2b58c43f7e01f2ca116286371bc8"><div class="ttname"><a href="class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8">IntelliRasterImage::~IntelliRasterImage</a></div><div class="ttdeci">virtual ~IntelliRasterImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00021">IntelliRasterImage.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_ae779b571372296f1922af818ba003413"><div class="ttname"><a href="class_intelli_raster_image.html#ae779b571372296f1922af818ba003413">IntelliRasterImage::IntelliRasterImage</a></div><div class="ttdeci">IntelliRasterImage(int width, int height, bool fastRendererOn)</div><div class="ttdoc">The Construcor of the IntelliRasterImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00006">IntelliRasterImage.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a6c27fa0d323a1a81d0c4c93c9161f81e"><div class="ttname"><a href="class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e">IntelliRasterImage::copy</a></div><div class="ttdeci">IntelliRasterImage * copy(const IntelliRasterImage &image)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00013">IntelliRasterImage.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_af19828176178cc1dece5160d726d946e"><div class="ttname"><a href="class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e">IntelliRasterImage::getPolygon</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygon()</div><div class="ttdoc">getPolygon</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00062">IntelliRasterImage.cpp:62</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_ae43393397b0141a8033fe34d3a1b1884"><div class="ttname"><a href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00031">IntelliRasterImage.cpp:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_ae43393397b0141a8033fe34d3a1b1884"><div class="ttname"><a href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00040">IntelliRasterImage.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a8f901301b106504de3c27308ade897dc"><div class="ttname"><a href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">IntelliRasterImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00016">IntelliRasterImage.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a87cf2d360c129d64a5db0db85818eb60"><div class="ttname"><a href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity() override</div><div class="ttdoc">A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00023">IntelliRasterImage.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a6462fa5f94c5e64e9e1f0c4658e0507b"><div class="ttname"><a href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">IntelliRasterImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00049">IntelliRasterImage.cpp:49</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a8f901301b106504de3c27308ade897dc"><div class="ttname"><a href="class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc">IntelliRasterImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00025">IntelliRasterImage.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a87cf2d360c129d64a5db0db85818eb60"><div class="ttname"><a href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity() override</div><div class="ttdoc">A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00032">IntelliRasterImage.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html_a6462fa5f94c5e64e9e1f0c4658e0507b"><div class="ttname"><a href="class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b">IntelliRasterImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8cpp_source.html#l00058">IntelliRasterImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html"><div class="ttname"><a href="class_intelli_raster_image.html">IntelliRasterImage</a></div><div class="ttdoc">The IntelliRasterImage manages a RASTERIMAGE.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8h_source.html#l00012">IntelliRasterImage.h:12</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -94,6 +94,7 @@ $(document).ready(function(){initNavTree('_intelli_render_settings_8h.html','');
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_render_settings.html">IntelliRenderSettings</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_render_settings.html" title="The IntelliRenderSettings class which manages the render Settings.">IntelliRenderSettings</a> class which manages the render Settings. <a href="class_intelli_render_settings.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -92,25 +92,24 @@ $(document).ready(function(){initNavTree('_intelli_render_settings_8h_source.htm
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//for unit testing</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">class </span><a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_intelli_render_settings.html"> 8</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_render_settings.html">IntelliRenderSettings</a></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> {</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <a class="code" href="class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529">IntelliRenderSettings</a>();</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2">setFastRendering</a>(<span class="keywordtype">bool</span> Updatedsetting);</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">isFastRenderering</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">bool</span> fastRenderering = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> };</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_intelli_render_settings.html"> 10</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_render_settings.html">IntelliRenderSettings</a></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> {</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <a class="code" href="class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529">IntelliRenderSettings</a>();</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2">setFastRendering</a>(<span class="keywordtype">bool</span> Updatedsetting);</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">isFastRenderering</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">bool</span> fastRenderering = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> };</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html_a38fd592c4948d2e47b95bb6fabc34073"><div class="ttname"><a href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">IntelliRenderSettings::isFastRenderering</a></div><div class="ttdeci">bool isFastRenderering() const</div><div class="ttdoc">The getfastRenderer gets the value of the flag for the fastRenderer setting.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8cpp_source.html#l00012">IntelliRenderSettings.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html"><div class="ttname"><a href="class_intelli_render_settings.html">IntelliRenderSettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8h_source.html#l00008">IntelliRenderSettings.h:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html"><div class="ttname"><a href="class_intelli_render_settings.html">IntelliRenderSettings</a></div><div class="ttdoc">The IntelliRenderSettings class which manages the render Settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8h_source.html#l00010">IntelliRenderSettings.h:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html_a5ffb878b77e5d448ffe4eb03a8397ac2"><div class="ttname"><a href="class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2">IntelliRenderSettings::setFastRendering</a></div><div class="ttdeci">void setFastRendering(bool Updatedsetting)</div><div class="ttdoc">setFastRendering sets fastRendering to Updatedsetting.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8cpp_source.html#l00008">IntelliRenderSettings.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html_a4a01de6e5e8e516a7eae51d6f1f66529"><div class="ttname"><a href="class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529">IntelliRenderSettings::IntelliRenderSettings</a></div><div class="ttdeci">IntelliRenderSettings()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8cpp_source.html#l00003">IntelliRenderSettings.cpp:3</a></div></div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -94,130 +94,144 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9"> 7</a></span> <a class="code" href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage::IntelliShapedImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn)</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  : <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>(width, height, fastRendererOn){</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">IntelliImage::ImageType::SHAPEDIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this-><a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a> = fastRendererOn;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> }</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9"> 13</a></span> <a class="code" href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">IntelliShapedImage::~IntelliShapedImage</a>(){</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> }</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc"> 17</a></span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a>(<span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">getDisplayable</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.size(),alpha);</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> }</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337"> 21</a></span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a>(){</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>* shaped = <span class="keyword">new</span> <a class="code" href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(), <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(), <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  shaped-><a class="code" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">setPolygon</a>(this-><a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>);</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  shaped-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(Qt::transparent);</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  shaped-><a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">IntelliImage::ImageType::SHAPEDIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> shaped;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keywordtype">void</span> IntelliShapedImage::calculateVisiblity(){</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>.size()<2) {</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>.size()<=2) {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  QColor clr;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  clr = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixel(x,y);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  clr.setAlpha(255);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.setPixelColor(x,y,clr);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  QColor clr;</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  QPoint ptr(x,y);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  clr = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">isInPolygon</a> = <a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">IntelliTriangulation::isInPolygon</a>(triangles, ptr);</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">if</span>(<a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">isInPolygon</a>) {</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  clr.setAlpha(std::min(255, clr.alpha()));</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  clr.setAlpha(0);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.setPixelColor(x,y,clr);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> }</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630"> 70</a></span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  QImage copy = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05"> 13</a></span> <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>* <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">IntelliShapedImage::copy</a>(<span class="keyword">const</span> <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>& image){</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  this-><a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>* shaped = <span class="keyword">new</span> <a class="code" href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(), <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(), this->fastRenderering);</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  shaped-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.copy(0,0,image.<a class="code" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">getWidth</a>(),image.<a class="code" href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">getWidth</a>());</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordflow">return</span> shaped;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> }</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9"> 20</a></span> <a class="code" href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">IntelliShapedImage::~IntelliShapedImage</a>(){</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc"> 24</a></span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a>(<span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">getDisplayable</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.size(),alpha);</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337"> 28</a></span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a>(){</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>* shaped = <span class="keyword">new</span> <a class="code" href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage</a>(<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(), <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(), <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  shaped-><a class="code" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">setPolygon</a>(this-><a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>);</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  shaped-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(Qt::transparent);</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  shaped-><a class="code" href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">TypeOfImage</a> = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> shaped;</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> }</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keywordtype">void</span> IntelliShapedImage::calculateVisiblity(){</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>.size()<2) {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  }</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>.size()<=2) {</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  QColor clr;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  clr = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixel(x,y);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  clr.setAlpha(255);</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.setPixelColor(x,y,clr);</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  QColor clr;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  QPoint ptr(x,y);</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  clr = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">isInPolygon</a> = <a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">IntelliTriangulation::isInPolygon</a>(triangles, ptr);</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">if</span>(<a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">isInPolygon</a>) {</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  clr.setAlpha(std::min(255, clr.alpha()));</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  clr.setAlpha(0);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.setPixelColor(x,y,clr);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  copy = copy.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = this-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<copy.height(); y++) {</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<copy.width(); x++) {</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  QColor clr = copy.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  clr.setAlpha(std::min(alpha,clr.alpha()));</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  copy.setPixelColor(x,y, clr);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630"> 77</a></span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  QImage <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a> = <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  copy = copy.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> copy.scaled(displaySize,Qt::IgnoreAspectRatio);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e"> 88</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">IntelliShapedImage::setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData){</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>.size()<3) {</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  this->polygonData.clear();</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  this->polygonData.clear();</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> element:<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>) {</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  this->polygonData.push_back(QPoint(element.x(), element.y()));</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  }</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  triangles = <a class="code" href="namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5">IntelliTriangulation::calculateTriangles</a>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>);</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  QColor clr = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  clr.setAlpha(255);</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.setPixelColor(x,y,clr);</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  QColor clr = <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  clr.setAlpha(std::min(alpha,clr.alpha()));</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.setPixelColor(x,y, clr);</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a> = <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>.scaled(displaySize,Qt::IgnoreAspectRatio);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e"> 95</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">IntelliShapedImage::setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& polygonData){</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>.size()<3) {</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  this->polygonData.clear();</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  this->polygonData.clear();</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> element:<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>) {</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  this->polygonData.push_back(QPoint(element.x(), element.y()));</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  }</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  triangles = <a class="code" href="namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5">IntelliTriangulation::calculateTriangles</a>(<a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>);</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  calculateVisiblity();</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> }</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.height(); y++) {</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.width(); x++) {</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  QColor clr = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  clr.setAlpha(255);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.setPixelColor(x,y,clr);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">fastRenderering</a>) {</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a> = <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  }</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  calculateVisiblity();</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> }</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b"> 122</a></span> std::vector<QPoint> <a class="code" href="class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b">IntelliShapedImage::getPolygon</a>(){</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>;</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a68cf374247c16f07fd84d50e4cd05630"><div class="ttname"><a href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00070">IntelliShapedImage.cpp:70</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a68cf374247c16f07fd84d50e4cd05630"><div class="ttname"><a href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00077">IntelliShapedImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aee38adc7db9e3fd40e083247219bef05"><div class="ttname"><a href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">IntelliShapedImage::copy</a></div><div class="ttdeci">IntelliShapedImage * copy(const IntelliShapedImage &image)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00013">IntelliShapedImage.cpp:13</a></div></div>
|
||||
<div class="ttc" id="a_intelli_shaped_image_8h_html"><div class="ttname"><a href="_intelli_shaped_image_8h.html">IntelliShapedImage.h</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_triangulation_html_acdaf1ed598e868b25e9e06d580da32e5"><div class="ttname"><a href="namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5">IntelliTriangulation::calculateTriangles</a></div><div class="ttdeci">std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)</div><div class="ttdoc">A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_triangulation_8cpp_source.html#l00007">IntelliTriangulation.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aeff4b2331f4244f170c70526d8ca819b"><div class="ttname"><a href="class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b">IntelliShapedImage::getPolygon</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygon() override</div><div class="ttdoc">getPolygon</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00122">IntelliShapedImage.cpp:122</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html"><div class="ttname"><a href="class_intelli_shaped_image.html">IntelliShapedImage</a></div><div class="ttdoc">The IntelliShapedImage manages a Shapedimage.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00013">IntelliShapedImage.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aed0b31e0fa771104399d1f5ff39a0337"><div class="ttname"><a href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00021">IntelliShapedImage.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aed0b31e0fa771104399d1f5ff39a0337"><div class="ttname"><a href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00028">IntelliShapedImage.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa63d34c7932113d021653980ee018671"><div class="ttname"><a href="class_intelli_image.html#aa63d34c7932113d021653980ee018671">IntelliImage::fastRenderering</a></div><div class="ttdeci">bool fastRenderering</div><div class="ttdoc">fastRendering is the flag that represents the usage of 8bit pictures.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00051">IntelliImage.h:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">IntelliImage::ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ac460f75e1fa7e44b00a65e7fddac5b80"><div class="ttname"><a href="class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80">IntelliImage::TypeOfImage</a></div><div class="ttdeci">ImageType TypeOfImage</div><div class="ttdoc">The Type, an Image is.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00046">IntelliImage.h:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00041">IntelliImage.h:41</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a727d19ce314c0874be6b0633a3a603c8"><div class="ttname"><a href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">IntelliShapedImage::polygonData</a></div><div class="ttdeci">std::vector< QPoint > polygonData</div><div class="ttdoc">The Vertices of The Polygon. Needs to be a planar Polygon.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00031">IntelliShapedImage.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_ae2e612a1fa52d7f878b34a7a7022d8e9"><div class="ttname"><a href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage::IntelliShapedImage</a></div><div class="ttdeci">IntelliShapedImage(int width, int height, bool fastRendererOn)</div><div class="ttdoc">The Construcor of the IntelliShapedImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00007">IntelliShapedImage.cpp:7</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_triangulation_html_ac276696f29d141ed34614c1c3b1c040f"><div class="ttname"><a href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">IntelliTriangulation::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_triangulation_8cpp_source.html#l00116">IntelliTriangulation.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a43d63d8a814852d377ee2030658fbab9"><div class="ttname"><a href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">IntelliShapedImage::~IntelliShapedImage</a></div><div class="ttdeci">virtual ~IntelliShapedImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00013">IntelliShapedImage.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a43d63d8a814852d377ee2030658fbab9"><div class="ttname"><a href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">IntelliShapedImage::~IntelliShapedImage</a></div><div class="ttdeci">virtual ~IntelliShapedImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00020">IntelliShapedImage.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html"><div class="ttname"><a href="class_intelli_raster_image.html">IntelliRasterImage</a></div><div class="ttdoc">The IntelliRasterImage manages a RASTERIMAGE.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8h_source.html#l00012">IntelliRasterImage.h:12</a></div></div>
|
||||
<div class="ttc" id="a_intelli_triangulation_8h_html"><div class="ttname"><a href="_intelli_triangulation_8h.html">IntelliTriangulation.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a4b69d75de7a3b85032482982f249458e"><div class="ttname"><a href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">IntelliShapedImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">A function that sets the data of the visible Polygon.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00088">IntelliShapedImage.cpp:88</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aea7b5f173968b330ef034bedb9426520"><div class="ttname"><a href="class_intelli_image.html#aea7b5f173968b330ef034bedb9426520">IntelliImage::getWidth</a></div><div class="ttdeci">virtual int getWidth() const</div><div class="ttdoc">getWidth returns the width of the Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00163">IntelliImage.cpp:163</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a4b69d75de7a3b85032482982f249458e"><div class="ttname"><a href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">IntelliShapedImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">A function that sets the data of the visible Polygon.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00095">IntelliShapedImage.cpp:95</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -108,37 +108,44 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8h_source.html',
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <a class="code" href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> fastRendererOn);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">~IntelliShapedImage</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha = 255) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">getDisplayable</a>(<span class="keywordtype">int</span> alpha = 255) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">getDeepCopy</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93"> 71</a></span> <span class="keyword">virtual</span> std::vector<QPoint> <a class="code" href="class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93">getPolygonData</a>()<span class="keyword"> override </span>{</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>;</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& <a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> };</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>* <a class="code" href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">copy</a>(<span class="keyword">const</span> <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>& image);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">~IntelliShapedImage</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">getDisplayable</a>(<span class="keyword">const</span> QSize& displaySize, <span class="keywordtype">int</span> alpha = 255) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">virtual</span> QImage <a class="code" href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">getDisplayable</a>(<span class="keywordtype">int</span> alpha = 255) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">getDeepCopy</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93"> 72</a></span> <span class="keyword">virtual</span> std::vector<QPoint> <a class="code" href="class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93">getPolygonData</a>()<span class="keyword"> override </span>{</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">setPolygon</a>(<span class="keyword">const</span> std::vector<QPoint>& <a class="code" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">polygonData</a>) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">virtual</span> std::vector<QPoint> <a class="code" href="class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b">getPolygon</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> };</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a68cf374247c16f07fd84d50e4cd05630"><div class="ttname"><a href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00070">IntelliShapedImage.cpp:70</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a68cf374247c16f07fd84d50e4cd05630"><div class="ttname"><a href="class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630">IntelliShapedImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00077">IntelliShapedImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aee38adc7db9e3fd40e083247219bef05"><div class="ttname"><a href="class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05">IntelliShapedImage::copy</a></div><div class="ttdeci">IntelliShapedImage * copy(const IntelliShapedImage &image)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00013">IntelliShapedImage.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aeff4b2331f4244f170c70526d8ca819b"><div class="ttname"><a href="class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b">IntelliShapedImage::getPolygon</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygon() override</div><div class="ttdoc">getPolygon</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00122">IntelliShapedImage.cpp:122</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html"><div class="ttname"><a href="class_intelli_shaped_image.html">IntelliShapedImage</a></div><div class="ttdoc">The IntelliShapedImage manages a Shapedimage.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00013">IntelliShapedImage.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aed0b31e0fa771104399d1f5ff39a0337"><div class="ttname"><a href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00021">IntelliShapedImage.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aed0b31e0fa771104399d1f5ff39a0337"><div class="ttname"><a href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00028">IntelliShapedImage.cpp:28</a></div></div>
|
||||
<div class="ttc" id="a_intelli_raster_image_8h_html"><div class="ttname"><a href="_intelli_raster_image_8h.html">IntelliRasterImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_ae4518c7f5a105cc4f33fabb60c794a93"><div class="ttname"><a href="class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93">IntelliShapedImage::getPolygonData</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygonData() override</div><div class="ttdoc">A function that returns the Polygondata if existent.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00071">IntelliShapedImage.h:71</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_ae4518c7f5a105cc4f33fabb60c794a93"><div class="ttname"><a href="class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93">IntelliShapedImage::getPolygonData</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygonData() override</div><div class="ttdoc">A function that returns the Polygondata if existent.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00072">IntelliShapedImage.h:72</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a727d19ce314c0874be6b0633a3a603c8"><div class="ttname"><a href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">IntelliShapedImage::polygonData</a></div><div class="ttdeci">std::vector< QPoint > polygonData</div><div class="ttdoc">The Vertices of The Polygon. Needs to be a planar Polygon.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00031">IntelliShapedImage.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_ae2e612a1fa52d7f878b34a7a7022d8e9"><div class="ttname"><a href="class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9">IntelliShapedImage::IntelliShapedImage</a></div><div class="ttdeci">IntelliShapedImage(int width, int height, bool fastRendererOn)</div><div class="ttdoc">The Construcor of the IntelliShapedImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00007">IntelliShapedImage.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a43d63d8a814852d377ee2030658fbab9"><div class="ttname"><a href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">IntelliShapedImage::~IntelliShapedImage</a></div><div class="ttdeci">virtual ~IntelliShapedImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00013">IntelliShapedImage.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a43d63d8a814852d377ee2030658fbab9"><div class="ttname"><a href="class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9">IntelliShapedImage::~IntelliShapedImage</a></div><div class="ttdeci">virtual ~IntelliShapedImage() override</div><div class="ttdoc">An Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00020">IntelliShapedImage.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html"><div class="ttname"><a href="class_intelli_raster_image.html">IntelliRasterImage</a></div><div class="ttdoc">The IntelliRasterImage manages a RASTERIMAGE.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8h_source.html#l00012">IntelliRasterImage.h:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a4b69d75de7a3b85032482982f249458e"><div class="ttname"><a href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">IntelliShapedImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">A function that sets the data of the visible Polygon.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00088">IntelliShapedImage.cpp:88</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_a4b69d75de7a3b85032482982f249458e"><div class="ttname"><a href="class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e">IntelliShapedImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData) override</div><div class="ttdoc">A function that sets the data of the visible Polygon.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00095">IntelliShapedImage.cpp:95</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -88,6 +88,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp.html',''); initResi
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_painting_area_8h_source.html">Layer/PaintingArea.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_photo_gui_8h_source.html">GUI/IntelliPhotoGui.h</a>"</code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_tool_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -88,147 +88,151 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html',''); i
|
||||
<div class="contents">
|
||||
<a href="_intelli_tool_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_8h.html">IntelliTool.h</a>"</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "<a class="code" href="_painting_area_8h.html">Layer/PaintingArea.h</a>"</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526"> 4</a></span> <a class="code" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Area, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* colorPicker, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* Toolsettings){</div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this->Area = <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>;</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this->colorPicker = <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>;</div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this->Toolsettings = <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>;</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a> = <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">Tooltype::NONE</a>;</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this-><a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> }</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2"> 14</a></span> <a class="code" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a>(){</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> }</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966"> 18</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  this->deleteToolLayer();</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  }</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> }</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0"> 25</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">//optional for tool</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c"> 29</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  this-><a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = this->createToolLayer();</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  }</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> }</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b"> 36</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  this->mergeToolLayer();</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  this->deleteToolLayer();</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639"> 46</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>)</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> }</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574"> 51</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">//if needed for future general tasks implement in here</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->DummyGui-><a class="code" href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">setToolWidth</a>(value + <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>-><a class="code" href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">getLineWidth</a>());</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> }</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">bool</span> IntelliTool::createToolLayer(){</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->createTempTopLayer(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)) {</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  this-><a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)];</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer + 1)];</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keywordtype">void</span> IntelliTool::mergeToolLayer(){</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  QColor clr_0;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  QColor clr_1;</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  QImage updatedImage = <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">getImageData</a>();</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">height</a>; y++) {</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>; x++) {</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  clr_0 = updatedImage.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  clr_1 = <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">float</span> t = <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.alpha()) / 255.f;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">int</span> r = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.red()) * (t) + <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_0.red()) * (1.f - t) + 0.5f);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">int</span> g = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.green()) * (t) + <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_0.green()) * (1.f - t) + 0.5f);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">int</span> b = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.blue()) * (t) + <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_0.blue() * (1.f - t)) + 0.5f);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">int</span> a = std::min(clr_0.alpha() + clr_1.alpha(), 255);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  clr_0.setRed(r);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  clr_0.setGreen(g);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  clr_0.setBlue(b);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  clr_0.setAlpha(a);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  updatedImage.setPixelColor(x, y, clr_0);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">setImageData</a>(updatedImage);</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">getPolygonData</a>().size() > 0) {</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">setPolygon</a>(<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">getPolygonData</a>());</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->DummyGui-><a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">void</span> IntelliTool::deleteToolLayer(){</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">deleteLayer</a>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer + 1, <span class="keyword">true</span>);</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> }</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694"> 99</a></span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a> <a class="code" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a>;</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3"> 103</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>;</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "<a class="code" href="_intelli_photo_gui_8h.html">GUI/IntelliPhotoGui.h</a>"</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526"> 5</a></span> <a class="code" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Area, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* colorPicker, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* Toolsettings){</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this->Area = <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>;</div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this->colorPicker = <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>;</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this->Toolsettings = <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this-><a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a> = <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">Tooltype::NONE</a>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  this-><a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> }</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2"> 15</a></span> <a class="code" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a>(){</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> }</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966"> 19</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  this->deleteToolLayer();</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  }</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> }</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0"> 26</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">//optional for tool</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c"> 30</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  this-><a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = this->createToolLayer();</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b"> 37</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  this->mergeToolLayer();</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  this->deleteToolLayer();</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639"> 47</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>)</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574"> 52</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">//if needed for future general tasks implement in here</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->guiReference-><a class="code" href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">setToolWidth</a>(value + <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>-><a class="code" href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">getLineWidth</a>());</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">bool</span> IntelliTool::createToolLayer(){</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->createTempTopLayer(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)) {</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  this-><a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)];</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer + 1)];</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">void</span> IntelliTool::mergeToolLayer(){</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  QColor clr_0;</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  QColor clr_1;</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  QImage updatedImage = <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">getImageData</a>();</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y = 0; y<<a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">height</a>; y++) {</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x = 0; x<<a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>; x++) {</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  clr_0 = updatedImage.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  clr_1 = <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">float</span> t = <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.alpha()) / 255.f;</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">int</span> r = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.red()) * (t) + <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_0.red()) * (1.f - t) + 0.5f);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">int</span> g = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.green()) * (t) + <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_0.green()) * (1.f - t) + 0.5f);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">int</span> b = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_1.blue()) * (t) + <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(clr_0.blue() * (1.f - t)) + 0.5f);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">int</span> a = std::min(clr_0.alpha() + clr_1.alpha(), 255);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  clr_0.setRed(r);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  clr_0.setGreen(g);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  clr_0.setBlue(b);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  clr_0.setAlpha(a);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  updatedImage.setPixelColor(x, y, clr_0);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">setImageData</a>(updatedImage);</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">getPolygonData</a>().size() > 0) {</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">setPolygon</a>(<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">getPolygonData</a>());</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->guiReference-><a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">historyadd</a>();</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> }</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span> IntelliTool::deleteToolLayer(){</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">deleteLayer</a>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer + 1, <span class="keyword">true</span>);</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694"> 101</a></span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a> <a class="code" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a>;</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> }</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3"> 105</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a>()<span class="keyword"> const </span>{</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>;</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af90f0965efbc5c25126691e998f39ca3"><div class="ttname"><a href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a></div><div class="ttdeci">bool getIsDrawing() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00103">IntelliTool.cpp:103</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_adf5c06ad2b2c0d745fb68cf80e7e5694"><div class="ttname"><a href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a></div><div class="ttdeci">Tooltype getTooltype() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00099">IntelliTool.cpp:99</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af90f0965efbc5c25126691e998f39ca3"><div class="ttname"><a href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a></div><div class="ttdeci">bool getIsDrawing() const</div><div class="ttdoc">getIsDrawing returns if the tool is currently drawing</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00105">IntelliTool.cpp:105</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_adf5c06ad2b2c0d745fb68cf80e7e5694"><div class="ttname"><a href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a></div><div class="ttdeci">Tooltype getTooltype() const</div><div class="ttdoc">getTooltype returns the tools type</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00101">IntelliTool.cpp:101</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">IntelliTool::Tooltype::NONE</a></div><div class="ttdeci">@ NONE</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a9b7dc8b8dc0b301ce58206aa76fb1630"><div class="ttname"><a href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int idx, bool isTool=false)</div><div class="ttdoc">The deleteLayer method removes a layer at a given idx.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00081">PaintingArea.cpp:81</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a></div><div class="ttdeci">Tooltype</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00020">IntelliTool.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aaf9f3e8db8666850024bee9aad9966ba"><div class="ttname"><a href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">IntelliImage::getPolygonData</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygonData()</div><div class="ttdoc">A function that returns the Polygondata if existent.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00134">IntelliImage.h:134</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a9b7dc8b8dc0b301ce58206aa76fb1630"><div class="ttname"><a href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int idx, bool isTool=false)</div><div class="ttdoc">The deleteLayer method removes a layer at a given idx.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00113">PaintingArea.cpp:113</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a></div><div class="ttdeci">Tooltype</div><div class="ttdoc">The Tooltype enum categorising the toosl.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00023">IntelliTool.h:23</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aaf9f3e8db8666850024bee9aad9966ba"><div class="ttname"><a href="class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba">IntelliImage::getPolygonData</a></div><div class="ttdeci">virtual std::vector< QPoint > getPolygonData()</div><div class="ttdoc">A function that returns the Polygondata if existent.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00135">IntelliImage.h:135</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width - Stores the width of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00031">PaintingArea.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ad66fbe380ffe0e073a8cd760f8285fe3"><div class="ttname"><a href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a></div><div class="ttdeci">virtual QImage getImageData()</div><div class="ttdoc">getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00134">IntelliImage.cpp:134</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00142">IntelliImage.cpp:142</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a343f8ebf5d27b7242208747de6c92497"><div class="ttname"><a href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">IntelliPhotoGui::setToolWidth</a></div><div class="ttdeci">void setToolWidth(int value)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00828">IntelliPhotoGui.cpp:828</a></div></div>
|
||||
<div class="ttc" id="a_intelli_photo_gui_8h_html"><div class="ttname"><a href="_intelli_photo_gui_8h.html">IntelliPhotoGui.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ad66fbe380ffe0e073a8cd760f8285fe3"><div class="ttname"><a href="class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3">IntelliImage::getImageData</a></div><div class="ttdeci">virtual QImage getImageData()</div><div class="ttdoc">getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00135">IntelliImage.cpp:135</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00143">IntelliImage.cpp:143</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a343f8ebf5d27b7242208747de6c92497"><div class="ttname"><a href="class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497">IntelliPhotoGui::setToolWidth</a></div><div class="ttdeci">void setToolWidth(int value)</div><div class="ttdoc">setToolWidth stes a width to the tool</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00923">IntelliPhotoGui.cpp:923</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a08ef094271ce6248b42f888472463526"><div class="ttname"><a href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00004">IntelliTool.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a1dbef8d4688227aa9455aea52db00bf4"><div class="ttname"><a href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">IntelliPhotoGui::UpdateGui</a></div><div class="ttdeci">void UpdateGui()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00837">IntelliPhotoGui.cpp:837</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a08ef094271ce6248b42f888472463526"><div class="ttname"><a href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00005">IntelliTool.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a1dbef8d4688227aa9455aea52db00bf4"><div class="ttname"><a href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">IntelliPhotoGui::UpdateGui</a></div><div class="ttdeci">void UpdateGui()</div><div class="ttdoc">UpdateGui a function to update all gui elements.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00932">IntelliPhotoGui.cpp:932</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00041">IntelliImage.h:41</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00510">PaintingArea.cpp:510</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00015">IntelliTool.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa4b3f4631bd972456917275afb9fd309"><div class="ttname"><a href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">IntelliImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData)=0</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -102,95 +102,97 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html',''); ini
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_intelli_tool.html"> 17</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool.html">IntelliTool</a> {</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f"> 20</a></span> <span class="keyword">enum class</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> {</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">CIRCLE</a>,</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">FLOODFILL</a>,</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">LINE</a>,</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">PEN</a>,</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">PLAIN</a>,</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">POLYGON</a>,</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">RECTANGLE</a>,</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">NONE</a></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> };</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keywordtype">bool</span> createToolLayer();</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">void</span> mergeToolLayer();</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">void</span> deleteToolLayer();</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289"> 50</a></span> <a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>;</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b"> 52</a></span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> <a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a>;</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef"> 57</a></span> <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>;</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f"> 59</a></span> <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f"> 23</a></span> <span class="keyword">enum class</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> {</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">CIRCLE</a>,</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">FLOODFILL</a>,</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f">GRADIENT</a>,</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">LINE</a>,</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">PEN</a>,</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">PLAIN</a>,</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">POLYGON</a>,</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">RECTANGLE</a>,</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">NONE</a></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> };</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">bool</span> createToolLayer();</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">void</span> mergeToolLayer();</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">void</span> deleteToolLayer();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289"> 54</a></span> <a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>;</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b"> 59</a></span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> <a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a>;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d"> 64</a></span> <a class="code" href="struct_layer_object.html">LayerObject</a>* <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>;</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef"> 64</a></span> <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>;</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77"> 69</a></span> <a class="code" href="struct_layer_object.html">LayerObject</a>* <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>;</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f"> 69</a></span> <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca"> 74</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d"> 74</a></span> <a class="code" href="struct_layer_object.html">LayerObject</a>* <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <a class="code" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">~IntelliTool</a>() = 0;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a>(<span class="keywordtype">int</span> value);</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> <a class="code" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">getTooltype</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">getIsDrawing</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> };</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77"> 79</a></span> <a class="code" href="struct_layer_object.html">LayerObject</a>* <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca"> 84</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <a class="code" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">~IntelliTool</a>() = 0;</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a>(<span class="keywordtype">int</span> value);</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> <a class="code" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">getTooltype</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">getIsDrawing</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> };</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">IntelliTool::Tooltype::PEN</a></div><div class="ttdeci">@ PEN</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af90f0965efbc5c25126691e998f39ca3"><div class="ttname"><a href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a></div><div class="ttdeci">bool getIsDrawing() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00103">IntelliTool.cpp:103</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_adf5c06ad2b2c0d745fb68cf80e7e5694"><div class="ttname"><a href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a></div><div class="ttdeci">Tooltype getTooltype() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00099">IntelliTool.cpp:99</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af90f0965efbc5c25126691e998f39ca3"><div class="ttname"><a href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a></div><div class="ttdeci">bool getIsDrawing() const</div><div class="ttdoc">getIsDrawing returns if the tool is currently drawing</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00105">IntelliTool.cpp:105</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_adf5c06ad2b2c0d745fb68cf80e7e5694"><div class="ttname"><a href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a></div><div class="ttdeci">Tooltype getTooltype() const</div><div class="ttdoc">getTooltype returns the tools type</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00101">IntelliTool.cpp:101</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">IntelliTool::Tooltype::FLOODFILL</a></div><div class="ttdeci">@ FLOODFILL</div></div>
|
||||
<div class="ttc" id="a_intelli_toolsettings_8h_html"><div class="ttname"><a href="_intelli_toolsettings_8h.html">IntelliToolsettings.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">IntelliTool::Tooltype::NONE</a></div><div class="ttdeci">@ NONE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a></div><div class="ttdeci">Tooltype</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00020">IntelliTool.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a></div><div class="ttdeci">Tooltype</div><div class="ttdoc">The Tooltype enum categorising the toosl.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00023">IntelliTool.h:23</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></div><div class="ttdoc">The LayerObject struct holds all the information needed to construct a layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00023">PaintingArea.h:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">IntelliTool::Tooltype::PLAIN</a></div><div class="ttdeci">@ PLAIN</div></div>
|
||||
<div class="ttc" id="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">IntelliTool::Tooltype::POLYGON</a></div><div class="ttdeci">@ POLYGON</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a08ef094271ce6248b42f888472463526"><div class="ttname"><a href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00004">IntelliTool.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a08ef094271ce6248b42f888472463526"><div class="ttname"><a href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00005">IntelliTool.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">IntelliTool::Tooltype::RECTANGLE</a></div><div class="ttdeci">@ RECTANGLE</div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">IntelliTool::Tooltype::LINE</a></div><div class="ttdeci">@ LINE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f">IntelliTool::Tooltype::GRADIENT</a></div><div class="ttdeci">@ GRADIENT</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00015">IntelliTool.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">IntelliTool::Tooltype::CIRCLE</a></div><div class="ttdeci">@ CIRCLE</div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -173,39 +173,39 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a29d7b9ed4960e6fe1f31ff620363e429"><div class="ttname"><a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Clearing the canvas layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00049">IntelliToolCircle.cpp:49</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_aca07540f2f7ccb3d2c0b84890c1afc4c"><div class="ttname"><a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00053">IntelliToolCircle.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae2d9b0fb6695c184c4cb507a5fb75506"><div class="ttname"><a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the edge Width relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00071">IntelliToolCircle.cpp:71</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdoc">getInnerAlpha returns the inner alpha value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_ab41abe8fb7e184db2c33e792f09792e0"><div class="ttname"><a href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor() const</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00019">IntelliColorPicker.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00078">IntelliImage.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a835327842fb71cb6a505e260ac5b69c8"><div class="ttname"><a href="class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8">IntelliToolCircle::IntelliToolCircle</a></div><div class="ttdeci">IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00006">IntelliToolCircle.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a7a03b65b95d7b5d72e6a92c95f068954"><div class="ttname"><a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">IntelliToolCircle::~IntelliToolCircle</a></div><div class="ttdeci">virtual ~IntelliToolCircle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00011">IntelliToolCircle.cpp:11</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a90ee58c5390a86afc75c14ca79b91d7b"><div class="ttname"><a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00076">IntelliToolCircle.cpp:76</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ad8e438ec997c57262b5efc2db4cee1a3"><div class="ttname"><a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00067">IntelliToolCircle.cpp:67</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_circle_8h_html"><div class="ttname"><a href="_intelli_tool_circle_8h.html">IntelliToolCircle.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00116">IntelliImage.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">IntelliTool::Tooltype::CIRCLE</a></div><div class="ttdeci">@ CIRCLE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae883b8ae833c78a8867e626c600f9639"><div class="ttname"><a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Sets the middle point of the cricle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00057">IntelliToolCircle.cpp:57</a></div></div>
|
||||
<!-- start footer part -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -125,12 +125,12 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a29d7b9ed4960e6fe1f31ff620363e429"><div class="ttname"><a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Clearing the canvas layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00049">IntelliToolCircle.cpp:49</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_aca07540f2f7ccb3d2c0b84890c1afc4c"><div class="ttname"><a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00053">IntelliToolCircle.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae2d9b0fb6695c184c4cb507a5fb75506"><div class="ttname"><a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the edge Width relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00071">IntelliToolCircle.cpp:71</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a835327842fb71cb6a505e260ac5b69c8"><div class="ttname"><a href="class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8">IntelliToolCircle::IntelliToolCircle</a></div><div class="ttdeci">IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00006">IntelliToolCircle.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a7a03b65b95d7b5d72e6a92c95f068954"><div class="ttname"><a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">IntelliToolCircle::~IntelliToolCircle</a></div><div class="ttdeci">virtual ~IntelliToolCircle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00011">IntelliToolCircle.cpp:11</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
@@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ad8e438ec997c57262b5efc2db4cee1a3"><div class="ttname"><a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00067">IntelliToolCircle.cpp:67</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html"><div class="ttname"><a href="class_intelli_tool_circle.html">IntelliToolCircle</a></div><div class="ttdoc">The IntelliToolCircle class represents a tool to draw a circle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8h_source.html#l00014">IntelliToolCircle.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae883b8ae833c78a8867e626c600f9639"><div class="ttname"><a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Sets the middle point of the cricle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00057">IntelliToolCircle.cpp:57</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -171,38 +171,38 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8cpp_source.h
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a39cf49c0ce46f96be3510f0b70c9d892"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00021">IntelliToolFloodFill.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00057">IntelliImage.cpp:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00058">IntelliImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">IntelliTool::Tooltype::FLOODFILL</a></div><div class="ttdeci">@ FLOODFILL</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a0b283b1b0135ff909a7199be9da9c076"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076">IntelliToolFloodFill::IntelliToolFloodFill</a></div><div class="ttdeci">IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00008">IntelliToolFloodFill.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a7438ef96c6c36068bce76e2364e8594c"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00072">IntelliToolFloodFill.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ad58cc7c065123beb6b0270f99e99b991"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00076">IntelliToolFloodFill.cpp:76</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_flood_fill_8h_html"><div class="ttname"><a href="_intelli_tool_flood_fill_8h.html">IntelliToolFloodFill.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ac85e3cb6233508ff9612833a8d9e3961"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00025">IntelliToolFloodFill.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b1bd8be0cbb32cdf61a9597ec849ba"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">IntelliToolFloodFill::~IntelliToolFloodFill</a></div><div class="ttdeci">virtual ~IntelliToolFloodFill() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00013">IntelliToolFloodFill.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width - Stores the width of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00031">PaintingArea.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a3cd42cea99bc7583875abcc0c274c668"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00081">IntelliToolFloodFill.cpp:81</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00126">IntelliImage.cpp:126</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00127">IntelliImage.cpp:127</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ada0f7154d119102410a55038763a17e4"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Clearing the canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00017">IntelliToolFloodFill.cpp:17</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -120,16 +120,16 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8h_source.htm
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a39cf49c0ce46f96be3510f0b70c9d892"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00021">IntelliToolFloodFill.cpp:21</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a0b283b1b0135ff909a7199be9da9c076"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076">IntelliToolFloodFill::IntelliToolFloodFill</a></div><div class="ttdeci">IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00008">IntelliToolFloodFill.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a7438ef96c6c36068bce76e2364e8594c"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00072">IntelliToolFloodFill.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ad58cc7c065123beb6b0270f99e99b991"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00076">IntelliToolFloodFill.cpp:76</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ac85e3cb6233508ff9612833a8d9e3961"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00025">IntelliToolFloodFill.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b1bd8be0cbb32cdf61a9597ec849ba"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">IntelliToolFloodFill::~IntelliToolFloodFill</a></div><div class="ttdeci">virtual ~IntelliToolFloodFill() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00013">IntelliToolFloodFill.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a3cd42cea99bc7583875abcc0c274c668"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00081">IntelliToolFloodFill.cpp:81</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8h_source.htm
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ada0f7154d119102410a55038763a17e4"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Clearing the canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00017">IntelliToolFloodFill.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html"><div class="ttname"><a href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a></div><div class="ttdoc">The IntelliToolFloodFill class represents a tool to flood FIll a certian area.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8h_source.html#l00014">IntelliToolFloodFill.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
107
docs/html/_intelli_tool_gradient_8cpp.html
Normal file
@@ -0,0 +1,107 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/Tool/IntelliToolGradient.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_gradient_8cpp.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolGradient.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_tool_gradient_8h_source.html">IntelliToolGradient.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_painting_area_8h_source.html">Layer/PaintingArea.h</a>"</code><br />
|
||||
<code>#include "math.h"</code><br />
|
||||
<code>#include <QDebug></code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_tool_gradient_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_858355f3357c73763e566ff49d1e6a7a.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_gradient_8cpp.html">IntelliToolGradient.cpp</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
268
docs/html/_intelli_tool_gradient_8cpp_source.html
Normal file
@@ -0,0 +1,268 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/Tool/IntelliToolGradient.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_gradient_8cpp_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolGradient.cpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_intelli_tool_gradient_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_gradient_8h.html">IntelliToolGradient.h</a>"</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "<a class="code" href="_painting_area_8h.html">Layer/PaintingArea.h</a>"</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "math.h"</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <QDebug></span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203"> 6</a></span> <a class="code" href="class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203">IntelliToolGradient::IntelliToolGradient</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Area, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* colorPicker, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* Toolsettings)</div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  : <a class="code" href="class_intelli_tool.html">IntelliTool</a>(Area, colorPicker, Toolsettings){</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a> = <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f">Tooltype::GRADIENT</a>;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this->LineColor = QColor(0,0,0,255);</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this->hasMoved = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> }</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539"> 13</a></span> <a class="code" href="class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539">IntelliToolGradient::~IntelliToolGradient</a>(){</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(0,0);</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> }</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1"> 17</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1">IntelliToolGradient::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  doubleStartPoint[0] = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(x);</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  doubleStartPoint[1] = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(y);</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  startPoint = QPoint(x,y);</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  endPoint = QPoint(x,y);</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  VectorStartEnd[0] = 0;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  VectorStartEnd[1] = 0;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">drawPixel</a>(startPoint,LineColor);</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36"> 28</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36">IntelliToolGradient::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11"> 32</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11">IntelliToolGradient::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">if</span>(hasMoved && this-><a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  computeGradientLayer();</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(x,y);</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834"> 39</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834">IntelliToolGradient::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(x,y);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> }</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e"> 43</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e">IntelliToolGradient::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span>(this-><a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a>) {</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  hasMoved = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  endPoint = QPoint(x,y);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  VectorStartEnd[0] = <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(endPoint.x() - startPoint.x());</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  VectorStartEnd[1] = <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(endPoint.y() - startPoint.y());</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  NormalVector[0] = VectorStartEnd[1];</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  NormalVector[1] = (-1 * VectorStartEnd[0]);</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  NormalDotNormal = dotProduct(NormalVector,NormalVector);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(Qt::transparent);</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  computeGradientLayer();</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(startPoint,endPoint,LineColor,1);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(x,y);</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> }</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a"> 59</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a">IntelliToolGradient::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(value);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">void</span> IntelliToolGradient::computeAndDrawPixelColor(QPoint Point){</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">double</span> doublePoint[2];</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  doublePoint[0] = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(Point.x());</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  doublePoint[1] = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(Point.y());</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">double</span> doublePointSubA[2];</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  doublePointSubA[0] = doublePoint[0] - doubleStartPoint[0];</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  doublePointSubA[1] = doublePoint[1] - doubleStartPoint[1];</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">double</span> Perpendicular[2];</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">double</span> PointSubADotNormal = dotProduct(doublePointSubA,NormalVector);</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  Perpendicular[0] = doublePoint[0] - (PointSubADotNormal / NormalDotNormal) * NormalVector[0];</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  Perpendicular[1] = doublePoint[1] - (PointSubADotNormal / NormalDotNormal) * NormalVector[1];</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">double</span> VectorAPoint[2];</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  VectorAPoint[0] = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(Perpendicular[0] - doubleStartPoint[0]);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  VectorAPoint[1] = <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(Perpendicular[1] - doubleStartPoint[1]);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">double</span> ratio;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span>(((VectorAPoint[0] < 0 && VectorStartEnd[0] < 0) || (VectorAPoint[0] > 0 && VectorStartEnd[0] > 0)) && ((VectorAPoint[1] < 0 && VectorStartEnd[1] < 0) || (VectorAPoint[1] > 0 && VectorStartEnd[1] > 0)))</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  ratio = lenghtVector(VectorAPoint) / lenghtVector(VectorStartEnd);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  ratio = -1;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  QColor computedColor;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">if</span>(ratio < 0) {</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  computedColor = <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">getFirstColor</a>();</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(ratio > 1) {</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  computedColor = <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">getSecondColor</a>();</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">int</span> red;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">int</span> green;</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">int</span> blue;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">int</span> alpha;</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">int</span> red2;</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">int</span> green2;</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">int</span> blue2;</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">int</span> alpha2;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">getFirstColor</a>().getRgb(&red,&green,&blue,&alpha);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">getSecondColor</a>().getRgb(&red2,&green2,&blue2,&alpha2);</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  computedColor.setRed(<span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(ratio * red2 + (1 - ratio) * red));</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  computedColor.setGreen(<span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(ratio * green2 + (1 - ratio) * green));</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  computedColor.setBlue(<span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(ratio * blue2 + (1 - ratio) * blue));</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  computedColor.setAlpha(<span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(ratio * alpha2 + (1 - ratio) * alpha));</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">drawPixel</a>(Point,computedColor);</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">double</span> IntelliToolGradient::dotProduct(<span class="keywordtype">double</span> Vector1[2], <span class="keywordtype">double</span> Vector2[2]){</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(Vector1[0] * Vector2[0] + Vector1[1] * Vector2[1]);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> }</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">double</span> IntelliToolGradient::lenghtVector(<span class="keywordtype">double</span> Vector[2]){</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>((sqrt(Vector[0] * Vector[0] + Vector[1] * Vector[1])));</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> }</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">void</span> IntelliToolGradient::computeGradientLayer(){</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">bool</span> switched = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb">isFastRendering</a>()) {</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  switched = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">updateRendererSetting</a>(<span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  }</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i < <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">height</a>; i++) {</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j = 0; j < <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>-><a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>; j++) {</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  computeAndDrawPixelColor(QPoint(j,i));</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">if</span>(switched) {</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">updateRendererSetting</a>(<span class="keyword">true</span>);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a6bbe09b64d8cd69e5ff64a3344725b11"><div class="ttname"><a href="class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11">IntelliToolGradient::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00032">IntelliToolGradient.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a04315a520c97541d76e7723a07e0a834"><div class="ttname"><a href="class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834">IntelliToolGradient::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00039">IntelliToolGradient.cpp:39</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00058">IntelliImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a47941bed3060d8df5f2edce8c7f046cb"><div class="ttname"><a href="class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb">IntelliImage::isFastRendering</a></div><div class="ttdeci">virtual bool isFastRendering() const</div><div class="ttdoc">isFastRendering returns if the Image is in fast rendering mode.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00171">IntelliImage.cpp:171</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a7d5c812815872b7e394e36362358b539"><div class="ttname"><a href="class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539">IntelliToolGradient::~IntelliToolGradient</a></div><div class="ttdeci">virtual ~IntelliToolGradient() override</div><div class="ttdoc">~IntelliToolGradient basic destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00013">IntelliToolGradient.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_aed5ad1f718d53034d944ff8f1e8f9f36"><div class="ttname"><a href="class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36">IntelliToolGradient::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00028">IntelliToolGradient.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a11f77ac474b697ebb6bc185560437f6a"><div class="ttname"><a href="class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a">IntelliToolGradient::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00059">IntelliToolGradient.cpp:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_ab41abe8fb7e184db2c33e792f09792e0"><div class="ttname"><a href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor() const</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00019">IntelliColorPicker.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_ad29617596a4dcf09aa8bcc633d627203"><div class="ttname"><a href="class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203">IntelliToolGradient::IntelliToolGradient</a></div><div class="ttdeci">IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">IntelliToolGradient basic constructor of the gradient tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00006">IntelliToolGradient.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ae4dbaefabce4ec5bec37f5b95e2f62e2"><div class="ttname"><a href="class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2">IntelliImage::updateRendererSetting</a></div><div class="ttdeci">virtual void updateRendererSetting(bool fastRendererOn)</div><div class="ttdoc">updateRendererSetting updates the existing image format to the new format.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00153">IntelliImage.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width - Stores the width of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00031">PaintingArea.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a47700908dab413203d06d64175a12cc1"><div class="ttname"><a href="class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1">IntelliToolGradient::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00017">IntelliToolGradient.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_aff3ccbecb7a33514765fdb44c7ce9e4e"><div class="ttname"><a href="class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e">IntelliToolGradient::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00043">IntelliToolGradient.cpp:43</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f">IntelliTool::Tooltype::GRADIENT</a></div><div class="ttdeci">@ GRADIENT</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_gradient_8h_html"><div class="ttname"><a href="_intelli_tool_gradient_8h.html">IntelliToolGradient.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_858355f3357c73763e566ff49d1e6a7a.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_gradient_8cpp.html">IntelliToolGradient.cpp</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
113
docs/html/_intelli_tool_gradient_8h.html
Normal file
@@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/Tool/IntelliToolGradient.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_gradient_8h.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolGradient.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>"</code><br />
|
||||
</div>
|
||||
<p><a href="_intelli_tool_gradient_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_gradient.html">IntelliToolGradient</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_gradient.html" title="The IntelliToolGradient class that represents a gradient call.">IntelliToolGradient</a> class that represents a gradient call. <a href="class_intelli_tool_gradient.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_858355f3357c73763e566ff49d1e6a7a.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_gradient_8h.html">IntelliToolGradient.h</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
167
docs/html/_intelli_tool_gradient_8h_source.html
Normal file
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: src/Tool/IntelliToolGradient.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_gradient_8h_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolGradient.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_intelli_tool_gradient_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef INTELLITOOLGRADIENT_H</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define INTELLITOOLGRADIENT_H</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_8h.html">IntelliTool.h</a>"</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_intelli_tool_gradient.html"> 7</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_gradient.html">IntelliToolGradient</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a> {</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <a class="code" href="class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203">IntelliToolGradient</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539">~IntelliToolGradient</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36">onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834">onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1">onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11">onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e">onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> QPoint startPoint;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> QPoint endPoint;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keywordtype">double</span> doubleStartPoint[2];</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keywordtype">double</span> VectorStartEnd[2];</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keywordtype">double</span> NormalVector[2];</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">double</span> NormalDotNormal;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> QColor LineColor;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">bool</span> hasMoved;</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">void</span> computeAndDrawPixelColor(QPoint Point);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">double</span> dotProduct(<span class="keywordtype">double</span> Vector1[2], <span class="keywordtype">double</span> Vector2[2]);</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="keywordtype">double</span> lenghtVector(<span class="keywordtype">double</span> Vector[2]);</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keywordtype">void</span> computeGradientLayer();</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> };</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor">#endif // INTELLITOOLGRADIENT_H</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a6bbe09b64d8cd69e5ff64a3344725b11"><div class="ttname"><a href="class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11">IntelliToolGradient::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00032">IntelliToolGradient.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a04315a520c97541d76e7723a07e0a834"><div class="ttname"><a href="class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834">IntelliToolGradient::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00039">IntelliToolGradient.cpp:39</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a7d5c812815872b7e394e36362358b539"><div class="ttname"><a href="class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539">IntelliToolGradient::~IntelliToolGradient</a></div><div class="ttdeci">virtual ~IntelliToolGradient() override</div><div class="ttdoc">~IntelliToolGradient basic destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00013">IntelliToolGradient.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_aed5ad1f718d53034d944ff8f1e8f9f36"><div class="ttname"><a href="class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36">IntelliToolGradient::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00028">IntelliToolGradient.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a11f77ac474b697ebb6bc185560437f6a"><div class="ttname"><a href="class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a">IntelliToolGradient::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00059">IntelliToolGradient.cpp:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_ad29617596a4dcf09aa8bcc633d627203"><div class="ttname"><a href="class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203">IntelliToolGradient::IntelliToolGradient</a></div><div class="ttdeci">IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">IntelliToolGradient basic constructor of the gradient tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00006">IntelliToolGradient.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_a47700908dab413203d06d64175a12cc1"><div class="ttname"><a href="class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1">IntelliToolGradient::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00017">IntelliToolGradient.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html_aff3ccbecb7a33514765fdb44c7ce9e4e"><div class="ttname"><a href="class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e">IntelliToolGradient::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8cpp_source.html#l00043">IntelliToolGradient.cpp:43</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_gradient_html"><div class="ttname"><a href="class_intelli_tool_gradient.html">IntelliToolGradient</a></div><div class="ttdoc">The IntelliToolGradient class that represents a gradient call.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_gradient_8h_source.html#l00007">IntelliToolGradient.h:7</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_858355f3357c73763e566ff49d1e6a7a.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_gradient_8h.html">IntelliToolGradient.h</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.17 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -134,40 +134,40 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a111e83e0f0fec7d4ff773ba9f235e4dc"><div class="ttname"><a href="class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00006">IntelliToolLine.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_abc6324ef0778823fe7e35aef8ae37f9b"><div class="ttname"><a href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00039">IntelliToolLine.cpp:39</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_aaf1d686e1ec43f41b5186ccfd806b125"><div class="ttname"><a href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">IntelliToolLine::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the lineWidth relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00034">IntelliToolLine.cpp:34</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a6214918cba5753f89d97de4559a2b9b2"><div class="ttname"><a href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00019">IntelliToolLine.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_line_8h_html"><div class="ttname"><a href="_intelli_tool_line_8h.html">IntelliToolLine.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_acb600b0f4e9225ebce2937c2b7abb4c2"><div class="ttname"><a href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">IntelliToolLine::~IntelliToolLine</a></div><div class="ttdeci">virtual ~IntelliToolLine() override</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00011">IntelliToolLine.cpp:11</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00078">IntelliImage.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_ac93f76ff20a1c111a403b298bab02482"><div class="ttname"><a href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00030">IntelliToolLine.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a6cce59f3017936214b10b47252a898a3"><div class="ttname"><a href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Clearing the canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00015">IntelliToolLine.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a155d676a5f98311217eb095be4759846"><div class="ttname"><a href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Sets the starting point of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00023">IntelliToolLine.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">IntelliTool::Tooltype::LINE</a></div><div class="ttdeci">@ LINE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00116">IntelliImage.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -121,15 +121,15 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a111e83e0f0fec7d4ff773ba9f235e4dc"><div class="ttname"><a href="class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00006">IntelliToolLine.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_abc6324ef0778823fe7e35aef8ae37f9b"><div class="ttname"><a href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00039">IntelliToolLine.cpp:39</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_aaf1d686e1ec43f41b5186ccfd806b125"><div class="ttname"><a href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">IntelliToolLine::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the lineWidth relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00034">IntelliToolLine.cpp:34</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a6214918cba5753f89d97de4559a2b9b2"><div class="ttname"><a href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00019">IntelliToolLine.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_acb600b0f4e9225ebce2937c2b7abb4c2"><div class="ttname"><a href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">IntelliToolLine::~IntelliToolLine</a></div><div class="ttdeci">virtual ~IntelliToolLine() override</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00011">IntelliToolLine.cpp:11</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_ac93f76ff20a1c111a403b298bab02482"><div class="ttname"><a href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00030">IntelliToolLine.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a6cce59f3017936214b10b47252a898a3"><div class="ttname"><a href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Clearing the canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00015">IntelliToolLine.cpp:15</a></div></div>
|
||||
@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a155d676a5f98311217eb095be4759846"><div class="ttname"><a href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Sets the starting point of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00023">IntelliToolLine.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html"><div class="ttname"><a href="class_intelli_tool_line.html">IntelliToolLine</a></div><div class="ttdoc">The IntelliToolFloodFill class represents a tool to draw a line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8h_source.html#l00013">IntelliToolLine.h:13</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -136,38 +136,38 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8cpp_source.html',''
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">IntelliTool::Tooltype::PEN</a></div><div class="ttdeci">@ PEN</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_ac77a025515d0fed6954556fe2b444818"><div class="ttname"><a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">IntelliToolPen::~IntelliToolPen</a></div><div class="ttdeci">virtual ~IntelliToolPen() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00012">IntelliToolPen.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a58d1d636497b630647ce0c4d652737c2"><div class="ttname"><a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. To draw the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00035">IntelliToolPen.cpp:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a1751e3864a0d36ef42ca55021cae73ce"><div class="ttname"><a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Resetting the current draw.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00016">IntelliToolPen.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abf8562e8cd2da586afdf4d47b3a4ff13"><div class="ttname"><a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00020">IntelliToolPen.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00078">IntelliImage.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_afe3626ddff440ab125f4a2465c45427a"><div class="ttname"><a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing penWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00044">IntelliToolPen.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abda7a22b9766fa4ad254324a53cab94d"><div class="ttname"><a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the drawing to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00031">IntelliToolPen.cpp:31</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a9f885143d6bb7adda3dcd3707d59e14d"><div class="ttname"><a href="class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d">IntelliToolPen::IntelliToolPen</a></div><div class="ttdeci">IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. Reading the penWidth.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00007">IntelliToolPen.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_pen_8h_html"><div class="ttname"><a href="_intelli_tool_pen_8h.html">IntelliToolPen.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a8ff40aef6d38eb55af31a19322429205"><div class="ttname"><a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Starting the drawing procedure.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00024">IntelliToolPen.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -119,15 +119,15 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8h_source.html','');
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_ac77a025515d0fed6954556fe2b444818"><div class="ttname"><a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">IntelliToolPen::~IntelliToolPen</a></div><div class="ttdeci">virtual ~IntelliToolPen() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00012">IntelliToolPen.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a58d1d636497b630647ce0c4d652737c2"><div class="ttname"><a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event. To draw the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00035">IntelliToolPen.cpp:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a1751e3864a0d36ef42ca55021cae73ce"><div class="ttname"><a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Resetting the current draw.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00016">IntelliToolPen.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abf8562e8cd2da586afdf4d47b3a4ff13"><div class="ttname"><a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00020">IntelliToolPen.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html"><div class="ttname"><a href="class_intelli_tool_pen.html">IntelliToolPen</a></div><div class="ttdoc">The IntelliToolPen class represents a tool to draw a line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8h_source.html#l00014">IntelliToolPen.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_afe3626ddff440ab125f4a2465c45427a"><div class="ttname"><a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing penWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00044">IntelliToolPen.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
@@ -136,7 +136,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8h_source.html','');
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a8ff40aef6d38eb55af31a19322429205"><div class="ttname"><a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Starting the drawing procedure.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00024">IntelliToolPen.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -126,34 +126,34 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8cpp_source.html',
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ac23f5d0f07e42fd7c2ea3fc1347da400"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the fill to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00020">IntelliToolPlain.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_adc004ea421e2cc0ac39cc7a6b6d43d0d"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00036">IntelliToolPlain.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a2ae458f1b04eb77a47f6dca5e91e33b8"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00028">IntelliToolPlain.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_plain_8h_html"><div class="ttname"><a href="_intelli_tool_plain_8h.html">IntelliToolPlain.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ab786dd5fa80af863246013d43c4b7ac9"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Filling the whole canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00014">IntelliToolPlain.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">IntelliTool::Tooltype::PLAIN</a></div><div class="ttdeci">@ PLAIN</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_acb0c46e16d2c09370a2244a936de38b1"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Resetting the current fill.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00024">IntelliToolPlain.cpp:24</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a816bcd6aea046994420969bed8b139d2"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2">IntelliToolPlainTool::IntelliToolPlainTool</a></div><div class="ttdeci">IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00005">IntelliToolPlain.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ad7546a6335bb3bb4cbf0e1883788d41c"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00032">IntelliToolPlain.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a91fe568be05c075814d67440472bb658"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">IntelliToolPlainTool::~IntelliToolPlainTool</a></div><div class="ttdeci">virtual ~IntelliToolPlainTool() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00010">IntelliToolPlain.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00116">IntelliImage.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -118,15 +118,15 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8h_source.html',''
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ac23f5d0f07e42fd7c2ea3fc1347da400"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the fill to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00020">IntelliToolPlain.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html"><div class="ttname"><a href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></div><div class="ttdoc">The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8h_source.html#l00013">IntelliToolPlain.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_adc004ea421e2cc0ac39cc7a6b6d43d0d"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00036">IntelliToolPlain.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a2ae458f1b04eb77a47f6dca5e91e33b8"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00028">IntelliToolPlain.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ab786dd5fa80af863246013d43c4b7ac9"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Filling the whole canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00014">IntelliToolPlain.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
@@ -135,7 +135,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8h_source.html',''
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a816bcd6aea046994420969bed8b139d2"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2">IntelliToolPlainTool::IntelliToolPlainTool</a></div><div class="ttdeci">IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00005">IntelliToolPlain.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ad7546a6335bb3bb4cbf0e1883788d41c"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00032">IntelliToolPlain.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a91fe568be05c075814d67440472bb658"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">IntelliToolPlainTool::~IntelliToolPlainTool</a></div><div class="ttdeci">virtual ~IntelliToolPlainTool() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00010">IntelliToolPlain.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -112,9 +112,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp_source.html
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> }</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d"> 26</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">IntelliToolPolygon::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">if</span>(!drawingOfPolygon && <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead">getTypeOfImageRealLayer</a>() == <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">IntelliImage::ImageType::SHAPEDIMAGE</a> && x > 0 && y > 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90">getPolygonDataOfRealLayer</a>().size()>2) {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  std::vector<Triangle> Triangles = <a class="code" href="namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5">IntelliTriangulation::calculateTriangles</a>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90">getPolygonDataOfRealLayer</a>());</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">if</span>(!drawingOfPolygon && <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395">getTypeOfImageActiveLayer</a>() == <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a> && x > 0 && y > 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576">getPolygonDataOfActiveLayer</a>().size()>2) {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  std::vector<Triangle> Triangles = <a class="code" href="namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5">IntelliTriangulation::calculateTriangles</a>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576">getPolygonDataOfActiveLayer</a>());</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  QPoint Point(x,y);</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  isInside = <a class="code" href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">IntelliTriangulation::isInPolygon</a>(Triangles,Point);</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div>
|
||||
@@ -125,7 +125,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp_source.html
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  isInside = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  }</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(!drawingOfPolygon && <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead">getTypeOfImageRealLayer</a>() == <a class="code" href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a> && x >= 0 && y >= 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(!drawingOfPolygon && <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395">getTypeOfImageActiveLayer</a>() == <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a> && x >= 0 && y >= 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  isInside = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  }</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
@@ -239,53 +239,53 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp_source.html
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_polygon_8h_html"><div class="ttname"><a href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00057">IntelliImage.cpp:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00058">IntelliImage.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae6eb9b269cdee993dbabd066e4679576"><div class="ttname"><a href="class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576">PaintingArea::getPolygonDataOfActiveLayer</a></div><div class="ttdeci">std::vector< QPoint > getPolygonDataOfActiveLayer()</div><div class="ttdoc">getPolygonDataOfActiveLayer get the polygon data of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00302">PaintingArea.cpp:302</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_triangulation_html_acdaf1ed598e868b25e9e06d580da32e5"><div class="ttname"><a href="namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5">IntelliTriangulation::calculateTriangles</a></div><div class="ttdeci">std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)</div><div class="ttdoc">A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_triangulation_8cpp_source.html#l00007">IntelliTriangulation.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdoc">getInnerAlpha returns the inner alpha value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a0e3a1135f04c73c159137ae219a38922"><div class="ttname"><a href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">IntelliToolPolygon::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00137">IntelliToolPolygon.cpp:137</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_ab41abe8fb7e184db2c33e792f09792e0"><div class="ttname"><a href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor() const</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00019">IntelliColorPicker.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a point between on a given point in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00078">IntelliImage.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a63b8c7514a87d4608533fbb557ee0db5"><div class="ttname"><a href="class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5">IntelliToolPolygon::IntelliToolPolygon</a></div><div class="ttdeci">IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00008">IntelliToolPolygon.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">IntelliTool::Tooltype::POLYGON</a></div><div class="ttdeci">@ POLYGON</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae92b27dfd09573c224d2ae1958d3bead"><div class="ttname"><a href="class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead">PaintingArea::getTypeOfImageRealLayer</a></div><div class="ttdeci">IntelliImage::ImageType getTypeOfImageRealLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00251">PaintingArea.cpp:251</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width - Stores the width of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00031">PaintingArea.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37">IntelliImage::ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00142">IntelliImage.cpp:142</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_ab09c64e7559f3db32ca3b20ba6339268"><div class="ttname"><a href="class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268">IntelliImage::setImageData</a></div><div class="ttdeci">virtual void setImageData(const QImage &newData)</div><div class="ttdoc">setImageData overwrites the old imageData the new imageData.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00143">IntelliImage.cpp:143</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a63cfff9cd4bc04e0b62d4c76cbf87395"><div class="ttname"><a href="class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395">PaintingArea::getTypeOfImageActiveLayer</a></div><div class="ttdeci">ImageType getTypeOfImageActiveLayer()</div><div class="ttdoc">getTypeOfImageActiveLayer get the type of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00298">PaintingArea.cpp:298</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_aa36b012b48311c36e7cd6771a5081427"><div class="ttname"><a href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Resetting the current fill.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00083">IntelliToolPolygon.cpp:83</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00423">PaintingArea.cpp:423</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00476">PaintingArea.cpp:476</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a087cbf2254010989df6106a357471499"><div class="ttname"><a href="class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499">IntelliToolPolygon::~IntelliToolPolygon</a></div><div class="ttdeci">~IntelliToolPolygon() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00020">IntelliToolPolygon.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9">IntelliImage::ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a7ae21fd031ee1c04f92e042e86be0a90"><div class="ttname"><a href="class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90">PaintingArea::getPolygonDataOfRealLayer</a></div><div class="ttdeci">std::vector< QPoint > getPolygonDataOfRealLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00255">PaintingArea.cpp:255</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_ad5d3b741be6d0647a9cdc9da2cb8bc3d"><div class="ttname"><a href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">IntelliToolPolygon::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Setting polygon points.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00026">IntelliToolPolygon.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a47cad87cd02b128b02dc929713bd1d1b"><div class="ttname"><a href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b">IntelliToolPolygon::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00124">IntelliToolPolygon.cpp:124</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a4e1473ff408ae2e11cf6a43f6f575f21"><div class="ttname"><a href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">IntelliToolPolygon::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the fill to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00091">IntelliToolPolygon.cpp:91</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="anamespace_intelli_triangulation_html_ac276696f29d141ed34614c1c3b1c040f"><div class="ttname"><a href="namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f">IntelliTriangulation::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_triangulation_8cpp_source.html#l00116">IntelliTriangulation.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a713103300c9f023d64d9eec5ac05dd17"><div class="ttname"><a href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">IntelliToolPolygon::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. CHanging the lineWidth relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00128">IntelliToolPolygon.cpp:128</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa4b3f4631bd972456917275afb9fd309"><div class="ttname"><a href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">IntelliImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData)=0</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div></div>
|
||||
<!-- start footer part -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -132,12 +132,12 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8h_source.html',
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a0e3a1135f04c73c159137ae219a38922"><div class="ttname"><a href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">IntelliToolPolygon::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00137">IntelliToolPolygon.cpp:137</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a63b8c7514a87d4608533fbb557ee0db5"><div class="ttname"><a href="class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5">IntelliToolPolygon::IntelliToolPolygon</a></div><div class="ttdeci">IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00008">IntelliToolPolygon.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_aa36b012b48311c36e7cd6771a5081427"><div class="ttname"><a href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Resetting the current fill.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00083">IntelliToolPolygon.cpp:83</a></div></div>
|
||||
@@ -149,7 +149,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8h_source.html',
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html"><div class="ttname"><a href="class_intelli_tool_polygon.html">IntelliToolPolygon</a></div><div class="ttdoc">The IntelliToolPolygon managed the Drawing of Polygonforms.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8h_source.html#l00015">IntelliToolPolygon.h:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a4e1473ff408ae2e11cf6a43f6f575f21"><div class="ttname"><a href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">IntelliToolPolygon::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the fill to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00091">IntelliToolPolygon.cpp:91</a></div></div>
|
||||
<div class="ttc" id="a_intelli_triangulation_8h_html"><div class="ttname"><a href="_intelli_triangulation_8h.html">IntelliTriangulation.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a713103300c9f023d64d9eec5ac05dd17"><div class="ttname"><a href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">IntelliToolPolygon::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. CHanging the lineWidth relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00128">IntelliToolPolygon.cpp:128</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -152,39 +152,39 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a445c53a56e859f970e59f5036e221e0c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.Changing edgeWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00060">IntelliToolRectangle.cpp:60</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00019">IntelliTool.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ad43f653256a6516b9398f82054be0d7f"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00036">IntelliToolRectangle.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00096">IntelliImage.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws a line between two given points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00097">IntelliImage.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00030">IntelliTool.cpp:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a7dc1463e726a21255e6297241dc71fb1"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a></div><div class="ttdeci">virtual ~IntelliToolRectangle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00010">IntelliToolRectangle.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdoc">getInnerAlpha returns the inner alpha value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ae03c307ccf66cbe3fd59e3657712368d"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00040">IntelliToolRectangle.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a480c6804a4963c5a1c3f7ef84b63c1a8"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse.Resetting the current draw.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00032">IntelliToolRectangle.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00084">IntelliTool.h:84</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_ab41abe8fb7e184db2c33e792f09792e0"><div class="ttname"><a href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor() const</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00019">IntelliColorPicker.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00026">IntelliTool.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00079">IntelliTool.h:79</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_rectangle_8h_html"><div class="ttname"><a href="_intelli_tool_rectangle_8h.html">IntelliToolRectangle.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a4b5931071e21eb6949ffe357315e408b"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00051">IntelliToolRectangle.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">IntelliTool::Tooltype::RECTANGLE</a></div><div class="ttdeci">@ RECTANGLE</div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00047">IntelliTool.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a94460e3ff1c19e80bde922c55f53cc43"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the draw to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00047">IntelliToolRectangle.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00116">IntelliImage.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00052">IntelliTool.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00117">IntelliImage.cpp:117</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ada06457247d5b173888a9a520b31ec5c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c">IntelliToolRectangle::IntelliToolRectangle</a></div><div class="ttdeci">IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00005">IntelliToolRectangle.cpp:5</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -124,21 +124,21 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8h_source.html
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a445c53a56e859f970e59f5036e221e0c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.Changing edgeWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00060">IntelliToolRectangle.cpp:60</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ad43f653256a6516b9398f82054be0d7f"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00036">IntelliToolRectangle.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdoc">Toolsettings a refrence to the tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a7dc1463e726a21255e6297241dc71fb1"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a></div><div class="ttdeci">virtual ~IntelliToolRectangle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00010">IntelliToolRectangle.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ae03c307ccf66cbe3fd59e3657712368d"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00040">IntelliToolRectangle.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a480c6804a4963c5a1c3f7ef84b63c1a8"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse.Resetting the current draw.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00032">IntelliToolRectangle.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html"><div class="ttname"><a href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a></div><div class="ttdoc">The IntelliToolRectangle class represents a tool to draw a rectangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8h_source.html#l00015">IntelliToolRectangle.h:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a4b5931071e21eb6949ffe357315e408b"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00051">IntelliToolRectangle.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a94460e3ff1c19e80bde922c55f53cc43"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse. Merging the draw to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00047">IntelliToolRectangle.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ada06457247d5b173888a9a520b31ec5c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c">IntelliToolRectangle::IntelliToolRectangle</a></div><div class="ttdeci">IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00005">IntelliToolRectangle.cpp:5</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -128,13 +128,13 @@ $(document).ready(function(){initNavTree('_intelli_toolsettings_8cpp_source.html
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="a_intelli_toolsettings_8h_html"><div class="ttname"><a href="_intelli_toolsettings_8h.html">IntelliToolsettings.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a927e50594a459c952d06acd34c0eff56"><div class="ttname"><a href="class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56">IntelliToolsettings::~IntelliToolsettings</a></div><div class="ttdeci">virtual ~IntelliToolsettings()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00010">IntelliToolsettings.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a9a61f3de61efeba2287f8b32941f4271"><div class="ttname"><a href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">IntelliToolsettings::setInnerAlpha</a></div><div class="ttdeci">void setInnerAlpha(int innerAlpha)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00032">IntelliToolsettings.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a5560602964ab95380967d63ab7ec6e69"><div class="ttname"><a href="class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69">IntelliToolsettings::IntelliToolsettings</a></div><div class="ttdeci">IntelliToolsettings()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00004">IntelliToolsettings.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdoc">getInnerAlpha returns the inner alpha value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a927e50594a459c952d06acd34c0eff56"><div class="ttname"><a href="class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56">IntelliToolsettings::~IntelliToolsettings</a></div><div class="ttdeci">virtual ~IntelliToolsettings()</div><div class="ttdoc">~IntelliToolsettings - basic destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00010">IntelliToolsettings.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a9a61f3de61efeba2287f8b32941f4271"><div class="ttname"><a href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">IntelliToolsettings::setInnerAlpha</a></div><div class="ttdeci">void setInnerAlpha(int innerAlpha)</div><div class="ttdoc">setInnerAlpha sets the inner alpha attribute of the Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00032">IntelliToolsettings.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a5560602964ab95380967d63ab7ec6e69"><div class="ttname"><a href="class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69">IntelliToolsettings::IntelliToolsettings</a></div><div class="ttdeci">IntelliToolsettings()</div><div class="ttdoc">IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00004">IntelliToolsettings.cpp:4</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -94,6 +94,7 @@ $(document).ready(function(){initNavTree('_intelli_toolsettings_8h.html',''); in
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_toolsettings.html">IntelliToolsettings</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_toolsettings.html" title="The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.">IntelliToolsettings</a> class managing the settings of the tools, independent of an existing tool. <a href="class_intelli_toolsettings.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -91,35 +91,39 @@ $(document).ready(function(){initNavTree('_intelli_toolsettings_8h_source.html',
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//for unit testing</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">class </span><a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_intelli_toolsettings.html"> 7</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a> {</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <a class="code" href="class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69">IntelliToolsettings</a>();</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56">~IntelliToolsettings</a>();</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">getLineWidth</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">setLineWidth</a>(<span class="keywordtype">int</span> LineWidth);</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">getInnerAlpha</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">setInnerAlpha</a>(<span class="keywordtype">int</span> innerAlpha);</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">int</span> lineWidth;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">int</span> innerAlpha;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> };</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_intelli_toolsettings.html"> 9</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a> {</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <a class="code" href="class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69">IntelliToolsettings</a>();</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">virtual</span> <a class="code" href="class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56">~IntelliToolsettings</a>();</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">getLineWidth</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">setLineWidth</a>(<span class="keywordtype">int</span> LineWidth);</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keywordtype">int</span> <a class="code" href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">getInnerAlpha</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">setInnerAlpha</a>(<span class="keywordtype">int</span> innerAlpha);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keywordtype">int</span> lineWidth;</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">int</span> innerAlpha;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> };</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a927e50594a459c952d06acd34c0eff56"><div class="ttname"><a href="class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56">IntelliToolsettings::~IntelliToolsettings</a></div><div class="ttdeci">virtual ~IntelliToolsettings()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00010">IntelliToolsettings.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a9a61f3de61efeba2287f8b32941f4271"><div class="ttname"><a href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">IntelliToolsettings::setInnerAlpha</a></div><div class="ttdeci">void setInnerAlpha(int innerAlpha)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00032">IntelliToolsettings.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_abb3ee5a9c8a379167060799d275e65c3"><div class="ttname"><a href="class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3">IntelliToolsettings::getLineWidth</a></div><div class="ttdeci">int getLineWidth() const</div><div class="ttdoc">getLineWidth returns the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00014">IntelliToolsettings.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a96d267baa782a32784dbeb1b7cd68cc4"><div class="ttname"><a href="class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4">IntelliToolsettings::getInnerAlpha</a></div><div class="ttdeci">int getInnerAlpha() const</div><div class="ttdoc">getInnerAlpha returns the inner alpha value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00028">IntelliToolsettings.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a927e50594a459c952d06acd34c0eff56"><div class="ttname"><a href="class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56">IntelliToolsettings::~IntelliToolsettings</a></div><div class="ttdeci">virtual ~IntelliToolsettings()</div><div class="ttdoc">~IntelliToolsettings - basic destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00010">IntelliToolsettings.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a9a61f3de61efeba2287f8b32941f4271"><div class="ttname"><a href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">IntelliToolsettings::setInnerAlpha</a></div><div class="ttdeci">void setInnerAlpha(int innerAlpha)</div><div class="ttdoc">setInnerAlpha sets the inner alpha attribute of the Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00032">IntelliToolsettings.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a5560602964ab95380967d63ab7ec6e69"><div class="ttname"><a href="class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69">IntelliToolsettings::IntelliToolsettings</a></div><div class="ttdeci">IntelliToolsettings()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00004">IntelliToolsettings.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a73fa94c85c6c2fdc1a33975a33304a6f"><div class="ttname"><a href="class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f">IntelliToolsettings::setLineWidth</a></div><div class="ttdeci">void setLineWidth(int LineWidth)</div><div class="ttdoc">setLineWidth sets the width attribute of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00018">IntelliToolsettings.cpp:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a5560602964ab95380967d63ab7ec6e69"><div class="ttname"><a href="class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69">IntelliToolsettings::IntelliToolsettings</a></div><div class="ttdeci">IntelliToolsettings()</div><div class="ttdoc">IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00004">IntelliToolsettings.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.6</span>
|
||||
 <span id="projectnumber">0.7</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -101,6 +101,8 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp.html',''); initRes
|
||||
<code>#include "<a class="el" href="_intelli_tool_rectangle_8h_source.html">Tool/IntelliToolRectangle.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_tool_flood_fill_8h_source.html">Tool/IntelliToolFloodFill.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_tool_polygon_8h_source.html">Tool/IntelliToolPolygon.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_tool_gradient_8h_source.html">Tool/IntelliToolGradient.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_photo_gui_8h_source.html">GUI/IntelliPhotoGui.h</a>"</code><br />
|
||||
</div>
|
||||
<p><a href="_painting_area_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
</div><!-- contents -->
|
||||
|
||||