diff --git a/README.md b/README.md index 6968d42..413e0c9 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,9 @@ For the user manual see `docs/manual.pdf` - `src` - Source Code - `docs` - Documentation of the source code and user manual -- `Examples` - Temporary folder for example pictures - `Abgabe` - Files that were submitted prior to the development start -## Presentations +## Presentations and Changelog - since `0.3`: https://prezi.com/view/M593VBJhmfwQzuqt3t6f/ diff --git a/conf/intelliphoto_dox b/conf/intelliphoto_dox index c1d0642..7a86a5d 100644 --- a/conf/intelliphoto_dox +++ b/conf/intelliphoto_dox @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = IntelliPhoto -PROJECT_NUMBER = 0.7 +PROJECT_NUMBER = 1 PROJECT_BRIEF = PROJECT_LOGO = OUTPUT_DIRECTORY = docs diff --git a/cppcheck_config.txt b/cppcheck_config.txt deleted file mode 100644 index 5722ced..0000000 --- a/cppcheck_config.txt +++ /dev/null @@ -1,435 +0,0 @@ -src/GUI/IntelliInputDialog.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliInputDialog.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliInputDialog.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliInputDialog.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliInputDialog.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliInputDialog.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliInputDialog.h:10:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:10:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:11:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:12:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:13:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:14:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:15:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/GUI/IntelliPhotoGui.h:16:0: information: Include file: 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: 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: 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: 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: 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: 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: 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: 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] - -^ -src/Image/IntelliImage.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliRasterImage.cpp:1:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] - -^ -src/Image/IntelliRasterImage.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliRasterImage.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliRasterImage.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliShapedImage.cpp:1:0: information: Include file: "Image/IntelliShapedImage.h" not found. [missingInclude] - -^ -src/Image/IntelliShapedImage.cpp:2:0: information: Include file: "IntelliHelper/IntelliTriangulation.h" not found. [missingInclude] - -^ -src/Image/IntelliShapedImage.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliShapedImage.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliShapedImage.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/IntelliHelper/IntelliColorPicker.h:4:0: information: Include file: "QColor" not found. [missingInclude] - -^ -src/IntelliHelper/IntelliColorPicker.h:5:0: information: Include file: "QPoint" not found. [missingInclude] - -^ -src/IntelliHelper/IntelliColorPicker.h:6:0: information: Include file: "QColorDialog" not found. [missingInclude] - -^ -src/IntelliHelper/IntelliDatamanager.h:4:0: information: Include file: 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: 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: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/IntelliHelper/IntelliTriangulation.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/IntelliHelper/IntelliTriangulation.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/IntelliHelper/IntelliTriangulation.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/IntelliHelper/IntelliTriangulation.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/IntelliHelper/IntelliTriangulation.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.cpp:2:0: information: Include file: "string.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.cpp:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.cpp:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.cpp:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Layer/PaintingArea.h:9:0: information: Include file: 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: 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] - -^ -src/Layer/PaintingArea.h:12:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.h:13:0: information: Include file: "Image/IntelliShapedImage.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.h:14:0: information: Include file: "Tool/IntelliTool.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.h:15:0: information: Include file: "IntelliHelper/IntelliColorPicker.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:11:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:12:0: information: Include file: "Image/IntelliShapedImage.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:13:0: information: Include file: "Tool/IntelliToolPen.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:14:0: information: Include file: "Tool/IntelliToolPlain.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:15:0: information: Include file: "Tool/IntelliToolLine.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:16:0: information: Include file: "Tool/IntelliToolCircle.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:17:0: information: Include file: "Tool/IntelliToolRectangle.h" not found. [missingInclude] - -^ -src/Layer/PaintingArea.cpp:18:0: information: Include file: "Tool/IntelliToolFloodFill.h" not found. [missingInclude] - -^ -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] - -^ -src/Tool/IntelliTool.h:5:0: information: Include file: "IntelliHelper/IntelliToolsettings.h" not found. [missingInclude] - -^ -src/Tool/IntelliTool.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -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] - -^ -src/Tool/IntelliToolCircle.h:6:0: information: Include file: "QPoint" not found. [missingInclude] - -^ -src/Tool/IntelliToolCircle.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolCircle.cpp:3:0: information: Include file: "QInputDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolCircle.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolFloodFill.h:5:0: information: Include file: "QColor" not found. [missingInclude] - -^ -src/Tool/IntelliToolFloodFill.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolFloodFill.cpp:3:0: information: Include file: "QColorDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolFloodFill.cpp:4:0: information: Include file: "QInputDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolFloodFill.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolFloodFill.cpp:6:0: information: Include file: 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: 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] - -^ -src/Tool/IntelliToolLine.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolLine.cpp:3:0: information: Include file: "QColorDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolLine.cpp:4:0: information: Include file: "QInputDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolPen.h:5:0: information: Include file: "QColor" not found. [missingInclude] - -^ -src/Tool/IntelliToolPen.h:6:0: information: Include file: "QPoint" not found. [missingInclude] - -^ -src/Tool/IntelliToolPen.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolPen.cpp:3:0: information: Include file: "QDebug" not found. [missingInclude] - -^ -src/Tool/IntelliToolPen.cpp:4:0: information: Include file: "QColorDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolPen.cpp:5:0: information: Include file: "QInputDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolPlain.h:5:0: information: Include file: "QColor" not found. [missingInclude] - -^ -src/Tool/IntelliToolPlain.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolPlain.cpp:3:0: information: Include file: "QColorDialog" not found. [missingInclude] - -^ -src/Tool/IntelliToolPolygon.h:5:0: information: Include file: "IntelliHelper/IntelliTriangulation.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolPolygon.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolPolygon.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolPolygon.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolPolygon.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolPolygon.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolPolygon.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolPolygon.cpp:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Tool/IntelliToolRectangle.h:6:0: information: Include file: "QColor" not found. [missingInclude] - -^ -src/Tool/IntelliToolRectangle.h:7:0: information: Include file: "QPoint" not found. [missingInclude] - -^ -src/Tool/IntelliToolRectangle.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] - -^ -src/Tool/IntelliToolRectangle.cpp:3:0: information: Include file: "QInputDialog" not found. [missingInclude] - -^ -src/main.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/main.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/main.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/main.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/mainUnitTest.cpp:1:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/mainUnitTest.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/mainUnitTest.cpp:252:0: information: Include file: "tst_unittest.moc" not found. [missingInclude] - -^ -src/tst_unittest.cpp:1:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/tst_unittest.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/Image/IntelliImage.h:11:0: information: Include file: "IntelliHelper/IntelliTriangulation.h" not found. [missingInclude] - -^ -src/Image/IntelliImage.h:12:0: information: Include file: "IntelliHelper/IntelliRenderSettings.h" not found. [missingInclude] - -^ -src/Image/IntelliRasterImage.h:4:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude] - -^ -src/Image/IntelliShapedImage.h:4:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] - -^ -src/Image/IntelliShapedImage.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] - -^ -src/tst_unittest.cpp:1697:0: information: Include file: "tst_unittest.moc" not found. [missingInclude] - -^ diff --git a/cppcheck_errors.txt b/cppcheck_errors.txt deleted file mode 100644 index 9e96fd5..0000000 --- a/cppcheck_errors.txt +++ /dev/null @@ -1,335 +0,0 @@ -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] - -^ -src/tst_unittest.cpp:1388:0: style: The function 'bench_Circle_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1409:0: style: The function 'bench_FloodFill_fullDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1427:0: style: The function 'bench_FloodFill_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1448:0: style: The function 'bench_Line_fullDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1466:0: style: The function 'bench_Line_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1487:0: style: The function 'bench_Pen_fullDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1505:0: style: The function 'bench_Pen_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1525:0: style: The function 'bench_Plain_fullDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1543:0: style: The function 'bench_Plain_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1563:0: style: The function 'bench_Polygon_fullDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1602:0: style: The function 'bench_Polygon_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1222:0: style: The function 'bench_RasterImage_drawLine' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1210:0: style: The function 'bench_RasterImage_drawPixel' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1235:0: style: The function 'bench_RasterImage_drawPoint' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1247:0: style: The function 'bench_RasterImage_getDisplayable' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1269:0: style: The function 'bench_RasterImage_getImageData' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1257:0: style: The function 'bench_RasterImage_getPixelColor' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1279:0: style: The function 'bench_RasterImage_setImageData' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1626:0: style: The function 'bench_Rectangle_fullDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1645:0: style: The function 'bench_Rectangle_interruptedDraw' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1302:0: style: The function 'bench_ShapedImage_drawLine' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1290:0: style: The function 'bench_ShapedImage_drawPixel' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1315:0: style: The function 'bench_ShapedImage_drawPoint' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1327:0: style: The function 'bench_ShapedImage_getDisplayable' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1349:0: style: The function 'bench_ShapedImage_getImageData' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1337:0: style: The function 'bench_ShapedImage_getPixelColor' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1359:0: style: The function 'bench_ShapedImage_setImageData' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1666:0: style: The function 'bench_Triangulation_Coverage' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1079:0: style: The function 'bench_addLayer' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1180:0: style: The function 'bench_createTools' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1086:0: style: The function 'bench_deleteLayer' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1115:0: style: The function 'bench_floodFill' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1125:0: style: The function 'bench_moveActive' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1093:0: style: The function 'bench_setActive' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1105:0: style: The function 'bench_setAlpha' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1168:0: style: The function 'bench_setLayerDown' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1155:0: style: The function 'bench_setLayerUp' is never used. [unusedFunction] - -^ -src/tst_unittest.cpp:1138:0: style: The function 'bench_setPolygon' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:118:0: style: The function 'cleanupTestCase' 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:328:0: style: The function 'mouseMoveEvent' is never used. [unusedFunction] - -^ -src/Layer/PaintingArea.cpp:309:0: style: The function 'mousePressEvent' is never used. [unusedFunction] - -^ -src/Layer/PaintingArea.cpp:341:0: style: The function 'mouseReleaseEvent' is never used. [unusedFunction] - -^ -src/Layer/PaintingArea.cpp:371:0: style: The function 'paintEvent' is never used. [unusedFunction] - -^ -src/Layer/PaintingArea.cpp:222:0: style: The function 'slotActivateLayer' 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] - -^ -src/mainUnitTest.cpp:213:0: style: The function 'test_Circle_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:216:0: style: The function 'test_FloodFill_fullDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:218:0: style: The function 'test_FloodFill_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:221:0: style: The function 'test_Line_fullDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:223:0: style: The function 'test_Line_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:226:0: style: The function 'test_Pen_fullDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:228:0: style: The function 'test_Pen_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:231:0: style: The function 'test_Plain_fullDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:233:0: style: The function 'test_Plain_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:236:0: style: The function 'test_Polygon_fullDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:238:0: style: The function 'test_Polygon_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:157:0: style: The function 'test_RasterImage_drawLine' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:155:0: style: The function 'test_RasterImage_drawPixel' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:159:0: style: The function 'test_RasterImage_drawPoint' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:161:0: style: The function 'test_RasterImage_getDisplayable' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:169:0: style: The function 'test_RasterImage_getImageData' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:167:0: style: The function 'test_RasterImage_getPixelColor' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:165:0: style: The function 'test_RasterImage_loadImage' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:171:0: style: The function 'test_RasterImage_setImageData' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:163:0: style: The function 'test_RasterImage_setPolygon' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:241:0: style: The function 'test_Rectangle_fullDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:243:0: style: The function 'test_Rectangle_interruptedDraw' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:177:0: style: The function 'test_ShapedImage_drawLine' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:175:0: style: The function 'test_ShapedImage_drawPixel' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:179:0: style: The function 'test_ShapedImage_drawPoint' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:181:0: style: The function 'test_ShapedImage_getDisplayable' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:189:0: style: The function 'test_ShapedImage_getImageData' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:187:0: style: The function 'test_ShapedImage_getPixelColor' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:185:0: style: The function 'test_ShapedImage_loadImage' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:191:0: style: The function 'test_ShapedImage_setImageData' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:183:0: style: The function 'test_ShapedImage_setPolygon' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:247:0: style: The function 'test_Triangulation_Coverage' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:132:0: style: The function 'test_addLayer' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:195:0: style: The function 'test_createTool_Circle' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:197:0: style: The function 'test_createTool_FloodFill' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:199:0: style: The function 'test_createTool_Line' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:201:0: style: The function 'test_createTool_Pen' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:203:0: style: The function 'test_createTool_Plain' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:205:0: style: The function 'test_createTool_Polygon' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:207:0: style: The function 'test_createTool_Rectangle' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:151:0: style: The function 'test_createTools' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:134:0: style: The function 'test_deleteLayer' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:140:0: style: The function 'test_floodFill' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:142:0: style: The function 'test_moveActive' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:136:0: style: The function 'test_setActive' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:138:0: style: The function 'test_setAlpha' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:148:0: style: The function 'test_setLayerDown' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:146:0: style: The function 'test_setLayerUp' is never used. [unusedFunction] - -^ -src/mainUnitTest.cpp:144:0: style: The function 'test_setPolygon' 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] - diff --git a/docs/CRC-Karten/CRC-Karten.docx b/docs-src/CRC-Karten/CRC-Karten.docx similarity index 100% rename from docs/CRC-Karten/CRC-Karten.docx rename to docs-src/CRC-Karten/CRC-Karten.docx diff --git a/docs/CRC-Karten/CRC-Karten.pdf b/docs-src/CRC-Karten/CRC-Karten.pdf similarity index 100% rename from docs/CRC-Karten/CRC-Karten.pdf rename to docs-src/CRC-Karten/CRC-Karten.pdf diff --git a/docs/Charts/Author Work per Week/author_work_per_week.svg b/docs-src/Charts/Author Work per Week/author_work_per_week.svg similarity index 100% rename from docs/Charts/Author Work per Week/author_work_per_week.svg rename to docs-src/Charts/Author Work per Week/author_work_per_week.svg diff --git a/docs/Charts/Author Work per Week/convert-data.py b/docs-src/Charts/Author Work per Week/convert-data.py similarity index 100% rename from docs/Charts/Author Work per Week/convert-data.py rename to docs-src/Charts/Author Work per Week/convert-data.py diff --git a/docs/Charts/Author Work per Week/lines_of_code_by_author.dat b/docs-src/Charts/Author Work per Week/lines_of_code_by_author.dat similarity index 100% rename from docs/Charts/Author Work per Week/lines_of_code_by_author.dat rename to docs-src/Charts/Author Work per Week/lines_of_code_by_author.dat diff --git a/docs/Charts/Author Work per Week/lines_of_code_by_author.plot b/docs-src/Charts/Author Work per Week/lines_of_code_by_author.plot similarity index 100% rename from docs/Charts/Author Work per Week/lines_of_code_by_author.plot rename to docs-src/Charts/Author Work per Week/lines_of_code_by_author.plot diff --git a/docs/Charts/Author Work per Week/output.dat b/docs-src/Charts/Author Work per Week/output.dat similarity index 100% rename from docs/Charts/Author Work per Week/output.dat rename to docs-src/Charts/Author Work per Week/output.dat diff --git a/docs/Charts/Author Work per Week/workload_per_week.plt b/docs-src/Charts/Author Work per Week/workload_per_week.plt similarity index 100% rename from docs/Charts/Author Work per Week/workload_per_week.plt rename to docs-src/Charts/Author Work per Week/workload_per_week.plt diff --git a/docs/Charts/Work Pies/Code.svg b/docs-src/Charts/Work Pies/Code.svg similarity index 100% rename from docs/Charts/Work Pies/Code.svg rename to docs-src/Charts/Work Pies/Code.svg diff --git a/docs/Charts/Work Pies/Dokumentation.svg b/docs-src/Charts/Work Pies/Dokumentation.svg similarity index 100% rename from docs/Charts/Work Pies/Dokumentation.svg rename to docs-src/Charts/Work Pies/Dokumentation.svg diff --git a/docs/Charts/Work Pies/Kundenkommunikation.svg b/docs-src/Charts/Work Pies/Kundenkommunikation.svg similarity index 100% rename from docs/Charts/Work Pies/Kundenkommunikation.svg rename to docs-src/Charts/Work Pies/Kundenkommunikation.svg diff --git a/docs/Charts/Work Pies/Legende.svg b/docs-src/Charts/Work Pies/Legende.svg similarity index 100% rename from docs/Charts/Work Pies/Legende.svg rename to docs-src/Charts/Work Pies/Legende.svg diff --git a/docs/Charts/Work Pies/Teammanagment.svg b/docs-src/Charts/Work Pies/Teammanagment.svg similarity index 100% rename from docs/Charts/Work Pies/Teammanagment.svg rename to docs-src/Charts/Work Pies/Teammanagment.svg diff --git a/docs/Charts/Work Pies/UI Design.svg b/docs-src/Charts/Work Pies/UI Design.svg similarity index 100% rename from docs/Charts/Work Pies/UI Design.svg rename to docs-src/Charts/Work Pies/UI Design.svg diff --git a/docs/Charts/Work Pies/aufteilungen.txt b/docs-src/Charts/Work Pies/aufteilungen.txt similarity index 100% rename from docs/Charts/Work Pies/aufteilungen.txt rename to docs-src/Charts/Work Pies/aufteilungen.txt diff --git a/docs/Charts/Workload_per_Week.svg b/docs-src/Charts/Workload_per_Week.svg similarity index 100% rename from docs/Charts/Workload_per_Week.svg rename to docs-src/Charts/Workload_per_Week.svg diff --git a/docs/Entwicklerhandbuch/Entwicklerhandbuch.docx b/docs-src/Entwicklerhandbuch/Entwicklerhandbuch.docx similarity index 100% rename from docs/Entwicklerhandbuch/Entwicklerhandbuch.docx rename to docs-src/Entwicklerhandbuch/Entwicklerhandbuch.docx diff --git a/docs/Entwicklerhandbuch/Entwicklerhandbuch.pdf b/docs-src/Entwicklerhandbuch/Entwicklerhandbuch.pdf similarity index 100% rename from docs/Entwicklerhandbuch/Entwicklerhandbuch.pdf rename to docs-src/Entwicklerhandbuch/Entwicklerhandbuch.pdf diff --git a/docs/Entwicklerhandbuch/Sequenzdiagram-PenTool.svg b/docs-src/Entwicklerhandbuch/Sequenzdiagram-PenTool.svg similarity index 100% rename from docs/Entwicklerhandbuch/Sequenzdiagram-PenTool.svg rename to docs-src/Entwicklerhandbuch/Sequenzdiagram-PenTool.svg diff --git a/docs/Entwicklerhandbuch/Sequenzdiagram-PlainTool.svg b/docs-src/Entwicklerhandbuch/Sequenzdiagram-PlainTool.svg similarity index 100% rename from docs/Entwicklerhandbuch/Sequenzdiagram-PlainTool.svg rename to docs-src/Entwicklerhandbuch/Sequenzdiagram-PlainTool.svg diff --git a/docs/Entwicklerhandbuch/UML.svg b/docs-src/Entwicklerhandbuch/UML.svg similarity index 100% rename from docs/Entwicklerhandbuch/UML.svg rename to docs-src/Entwicklerhandbuch/UML.svg diff --git a/docs/Entwicklerhandbuch/Use_Case_1.svg b/docs-src/Entwicklerhandbuch/Use_Case_1.svg similarity index 100% rename from docs/Entwicklerhandbuch/Use_Case_1.svg rename to docs-src/Entwicklerhandbuch/Use_Case_1.svg diff --git a/docs/Entwicklerhandbuch/Use_Case_2.svg b/docs-src/Entwicklerhandbuch/Use_Case_2.svg similarity index 100% rename from docs/Entwicklerhandbuch/Use_Case_2.svg rename to docs-src/Entwicklerhandbuch/Use_Case_2.svg diff --git a/docs/Entwicklerhandbuch/Zustandsiagram-Layer-Color.svg b/docs-src/Entwicklerhandbuch/Zustandsiagram-Layer-Color.svg similarity index 100% rename from docs/Entwicklerhandbuch/Zustandsiagram-Layer-Color.svg rename to docs-src/Entwicklerhandbuch/Zustandsiagram-Layer-Color.svg diff --git a/docs/Entwicklerhandbuch/Zustandsiagram-Tool.svg b/docs-src/Entwicklerhandbuch/Zustandsiagram-Tool.svg similarity index 100% rename from docs/Entwicklerhandbuch/Zustandsiagram-Tool.svg rename to docs-src/Entwicklerhandbuch/Zustandsiagram-Tool.svg diff --git a/docs/Manual/assets/all-tools.png b/docs-src/Manual/assets/all-tools.png similarity index 100% rename from docs/Manual/assets/all-tools.png rename to docs-src/Manual/assets/all-tools.png diff --git a/docs/Manual/assets/change-colors.png b/docs-src/Manual/assets/change-colors.png similarity index 100% rename from docs/Manual/assets/change-colors.png rename to docs-src/Manual/assets/change-colors.png diff --git a/docs/Manual/assets/close-window.png b/docs-src/Manual/assets/close-window.png similarity index 100% rename from docs/Manual/assets/close-window.png rename to docs-src/Manual/assets/close-window.png diff --git a/docs/Manual/assets/color-switch.png b/docs-src/Manual/assets/color-switch.png similarity index 100% rename from docs/Manual/assets/color-switch.png rename to docs-src/Manual/assets/color-switch.png diff --git a/docs/Manual/assets/create-layer.png b/docs-src/Manual/assets/create-layer.png similarity index 100% rename from docs/Manual/assets/create-layer.png rename to docs-src/Manual/assets/create-layer.png diff --git a/docs/Manual/assets/file-open.png b/docs-src/Manual/assets/file-open.png similarity index 100% rename from docs/Manual/assets/file-open.png rename to docs-src/Manual/assets/file-open.png diff --git a/docs/Manual/assets/file-options.png b/docs-src/Manual/assets/file-options.png similarity index 100% rename from docs/Manual/assets/file-options.png rename to docs-src/Manual/assets/file-options.png diff --git a/docs/Manual/assets/file-save.png b/docs-src/Manual/assets/file-save.png similarity index 100% rename from docs/Manual/assets/file-save.png rename to docs-src/Manual/assets/file-save.png diff --git a/docs/Manual/assets/icon.png b/docs-src/Manual/assets/icon.png similarity index 100% rename from docs/Manual/assets/icon.png rename to docs-src/Manual/assets/icon.png diff --git a/docs/Manual/assets/icon.svg b/docs-src/Manual/assets/icon.svg similarity index 100% rename from docs/Manual/assets/icon.svg rename to docs-src/Manual/assets/icon.svg diff --git a/docs/Manual/assets/layer-options.png b/docs-src/Manual/assets/layer-options.png similarity index 100% rename from docs/Manual/assets/layer-options.png rename to docs-src/Manual/assets/layer-options.png diff --git a/docs/Manual/assets/maximize-window.png b/docs-src/Manual/assets/maximize-window.png similarity index 100% rename from docs/Manual/assets/maximize-window.png rename to docs-src/Manual/assets/maximize-window.png diff --git a/docs/Manual/assets/minimize-window.png b/docs-src/Manual/assets/minimize-window.png similarity index 100% rename from docs/Manual/assets/minimize-window.png rename to docs-src/Manual/assets/minimize-window.png diff --git a/docs/Manual/assets/startup.png b/docs-src/Manual/assets/startup.png similarity index 100% rename from docs/Manual/assets/startup.png rename to docs-src/Manual/assets/startup.png diff --git a/docs/Manual/assets/tool-circle.png b/docs-src/Manual/assets/tool-circle.png similarity index 100% rename from docs/Manual/assets/tool-circle.png rename to docs-src/Manual/assets/tool-circle.png diff --git a/docs/Manual/assets/tool-flood-fill.png b/docs-src/Manual/assets/tool-flood-fill.png similarity index 100% rename from docs/Manual/assets/tool-flood-fill.png rename to docs-src/Manual/assets/tool-flood-fill.png diff --git a/docs/Manual/assets/tool-gradient.png b/docs-src/Manual/assets/tool-gradient.png similarity index 100% rename from docs/Manual/assets/tool-gradient.png rename to docs-src/Manual/assets/tool-gradient.png diff --git a/docs/Manual/assets/tool-magic-wand.png b/docs-src/Manual/assets/tool-magic-wand.png similarity index 100% rename from docs/Manual/assets/tool-magic-wand.png rename to docs-src/Manual/assets/tool-magic-wand.png diff --git a/docs/Manual/assets/tool-pen.png b/docs-src/Manual/assets/tool-pen.png similarity index 100% rename from docs/Manual/assets/tool-pen.png rename to docs-src/Manual/assets/tool-pen.png diff --git a/docs/Manual/assets/tool-plain.png b/docs-src/Manual/assets/tool-plain.png similarity index 100% rename from docs/Manual/assets/tool-plain.png rename to docs-src/Manual/assets/tool-plain.png diff --git a/docs/Manual/assets/toollist.png b/docs-src/Manual/assets/toollist.png similarity index 100% rename from docs/Manual/assets/toollist.png rename to docs-src/Manual/assets/toollist.png diff --git a/docs/Manual/manual.aux b/docs-src/Manual/manual.aux similarity index 100% rename from docs/Manual/manual.aux rename to docs-src/Manual/manual.aux diff --git a/docs/Manual/manual.log b/docs-src/Manual/manual.log similarity index 100% rename from docs/Manual/manual.log rename to docs-src/Manual/manual.log diff --git a/docs/Manual/manual.pdf b/docs-src/Manual/manual.pdf similarity index 100% rename from docs/Manual/manual.pdf rename to docs-src/Manual/manual.pdf diff --git a/docs/Manual/manual.synctex.gz b/docs-src/Manual/manual.synctex.gz similarity index 100% rename from docs/Manual/manual.synctex.gz rename to docs-src/Manual/manual.synctex.gz diff --git a/docs/Manual/manual.tex b/docs-src/Manual/manual.tex similarity index 100% rename from docs/Manual/manual.tex rename to docs-src/Manual/manual.tex diff --git a/docs/Manual/manual.toc b/docs-src/Manual/manual.toc similarity index 100% rename from docs/Manual/manual.toc rename to docs-src/Manual/manual.toc diff --git a/docs/Sequenzdiagramme/Sequenzdiagram-PenTool.uxf b/docs-src/Sequenzdiagramme/Sequenzdiagram-PenTool.uxf similarity index 100% rename from docs/Sequenzdiagramme/Sequenzdiagram-PenTool.uxf rename to docs-src/Sequenzdiagramme/Sequenzdiagram-PenTool.uxf diff --git a/docs/Sequenzdiagramme/Sequenzdiagram-PlainTool.uxf b/docs-src/Sequenzdiagramme/Sequenzdiagram-PlainTool.uxf similarity index 100% rename from docs/Sequenzdiagramme/Sequenzdiagram-PlainTool.uxf rename to docs-src/Sequenzdiagramme/Sequenzdiagram-PlainTool.uxf diff --git a/docs/ToDo/todo.org b/docs-src/ToDo/todo.org similarity index 100% rename from docs/ToDo/todo.org rename to docs-src/ToDo/todo.org diff --git a/docs/ToDo/todo.pdf b/docs-src/ToDo/todo.pdf similarity index 100% rename from docs/ToDo/todo.pdf rename to docs-src/ToDo/todo.pdf diff --git a/docs/UML.uxf b/docs-src/UML.uxf similarity index 95% rename from docs/UML.uxf rename to docs-src/UML.uxf index 7b6c53b..ec2c8c5 100644 --- a/docs/UML.uxf +++ b/docs-src/UML.uxf @@ -1,640 +1,640 @@ - - - 6 - - UMLClass - - 1338 - 84 - 192 - 120 - - /*IntelliImage*/ --- -#imageData: QImage --isFastRendering: Boolean --- -#resizeImage(image, newSize): void -+drawPixel(p1, color): void -+drawLine(p1, p2, color, penWidth): void -+drawPlain(color): void -/+getDisplayable(displaySize, alpha): QImage/ -+loadImage(fileName): Boolean -+getPixelColor(point): QColor -... - - - - UMLClass - - 1344 - 270 - 186 - 48 - - *IntelliRasterImage* --- --- -#calculateVisibility(): void -+getDisplayable(displaySize, alpha): QImage -... - - - - UMLClass - - 1338 - 438 - 192 - 90 - - *IntelliShapedImage* --- --triangles: vector<Triangle> -#polygonData: vector<QPoint> --- --calculateVisibility(): void -+getDisplayable(displaySize, alpha): QImage -+getPolygonData(): vector<QPoint> -+setPolygon(polygonData): void -... - - - - UMLClass - - 744 - 366 - 174 - 150 - - /*IntelliTool*/ --- -#Area: PaintingArea -#colorPicker: IntelliColorPicker -#Active: LayerObject -#Canvas: LayerObject -#drawing: Boolean -#ActiveType: Tooltype --- -/+onMouseRightPressed(x,y): void/ -/+onMouseLeftPressed(x,y): void/ -/+onMouseRightReleased(x,y): void/ -/+onMousLeftReleased(x,y): void/ -/+onWheelScrolled(value): void/ -/+onMouseMoved(x,y): void/ -... - - - - Relation - - 1392 - 198 - 18 - 84 - - lt=<<- - 10.0;10.0;10.0;120.0 - - - Relation - - 1392 - 312 - 18 - 138 - - lt=<<- - 10.0;10.0;10.0;210.0 - - - UMLClass - - 870 - 210 - 144 - 48 - - <<Enumeration>> -*ImageType* --- - RASTERIMAGE - SHAPEDIMAGE - - - - UMLClass - - 432 - 810 - 150 - 90 - - *IntelliToolFloodFill* --- --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - UMLClass - - 432 - 564 - 150 - 90 - - *IntelliToolPlain* --- --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - UMLClass - - 876 - 774 - 144 - 120 - - *IntelliToolGradient* --- --startPoint: QPoint --endPoint: QPoint --LineColor: QColor --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - UMLClass - - 1122 - 780 - 150 - 108 - - *IntelliToolRectangle* --- --alphaInner: Integer --edgeWidth: Integer --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - UMLClass - - 1128 - 642 - 144 - 120 - - *IntelliToolLine* --- --start: QPoint --lineWidth: Integer --lineStyle: LineStyle --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - UMLClass - - 672 - 768 - 150 - 126 - - *IntelliToolPolygon* --- --lineWidth: Integer --isDrawingOfPolygon: Boolean --PointIsNearStart: Boolean --alphaInner: Integer --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - Relation - - 816 - 510 - 210 - 276 - - lt=<<- - 10.0;10.0;330.0;440.0 - - - Relation - - 576 - 510 - 228 - 312 - - lt=<<- - 360.0;10.0;10.0;500.0 - - - Relation - - 498 - 510 - 264 - 66 - - lt=<<- - 420.0;10.0;10.0;90.0 - - - Relation - - 834 - 510 - 306 - 282 - - lt=<<- - 10.0;10.0;490.0;450.0 - - - Relation - - 858 - 510 - 282 - 144 - - lt=<<- - 10.0;10.0;450.0;220.0 - - - Relation - - 732 - 510 - 90 - 270 - - lt=<<- - 130.0;10.0;10.0;430.0 - - - UMLClass - - 432 - 684 - 150 - 120 - - *IntelliToolCircle* --- --Middle: QPoint --alphaInner: Integer --edgeWidth: Integer --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - Relation - - 576 - 510 - 216 - 186 - - lt=<<- - 340.0;10.0;10.0;290.0 - - - UMLClass - - 1164 - 84 - 168 - 246 - - *PaintingArea* --- --Canvas: QImage --maxWidth: Integer --maxHeigth: Integer --Tool: IntelliTool --colorPicker: IntelliColorPicker --layerBundle: vector<LayerObject> --activeLayer: Integer --- -+open(fileName): Boolean -+save(fileName, fileFormat): void -+addLayer(width, heigth, widthOffset, -heigthOffset, ImageType): Integer -+addLayerAt(idx, width, heigth, widthOffset, -heigthOffset, ImageType): Integer -+deleteLayer(index): void -+setLayerToActive(index): void -+movePositionActive(x,y): void -+moveActiveLayer(idx): void -+setAlphaOfLayer(index, alpha): void -+floodFill(r,g,b,a): void -+getWidthOfActive(): Integer -+getHeigthOfActive(): Integer --- - Also overrides every Inputevent and - creates every Tool. - -group=1 - - - - UMLClass - - 1020 - 84 - 138 - 90 - - <<dataType>> -*LayerObject* --- -+image: IntelliImage -+width: Integer -+heigth: Integer -+widthOffset: Integer -+heigthOffset: Integer -+alpha: Integer --- - - - - UMLClass - - 324 - 150 - 192 - 78 - - /*IntelliToolSetttings*/ --- --lineWidth: Integer --innerAlpha: Integer --- -+getInnerAlpha(): Integer -+setInnerAlpha( innerAlpha): void -+getLineWidth(): Integer -+setLineWidth( LineWidth): void - - - - UMLClass - - 522 - 84 - 150 - 90 - - /*IntelliColorPicker*/ --- --firstColor: QColor --secondColor: QColor --- -+switchColors(): void -+setFirstColor(Color): void -+setSecondColor(Color): void -+getFirstColor(): QColor -+getSecondColor(): QColor - - - - UMLClass - - 1020 - 180 - 138 - 60 - - <<dataType>> -*Triangle* --- -+A: QPoint -+B: QPoint -+C: QPoint --- - - - - UMLClass - - 1020 - 246 - 138 - 42 - - <<dataType>> -*QImage* --- --- --- - Handles the ImageData - - - - UMLClass - - 1020 - 294 - 138 - 42 - - <<dataType>> -*QPoint* --- --- --- - Handles points with x,y,z. - - - - UMLClass - - 1020 - 348 - 138 - 42 - - <<dataType>> -*QColor* --- --- --- - Cotains RGBA Color Data. - - - - UMLClass - - 1128 - 516 - 144 - 108 - - *IntelliToolPen* --- --penWidth: Integer --point: QPoint --- -+onMouseRightPressed(x,y): void -+onMouseLeftPressed(x,y): void -+onMouseRightReleased(x,y): void -+onMousLeftReleased(x,y): void -+onWheelScrolled(value): void -+onMouseMoved(x,y): void -... - - - - Relation - - 912 - 498 - 228 - 30 - - lt=<<- - 10.0;10.0;360.0;30.0 - - - UMLClass - - 870 - 84 - 144 - 114 - - <<Enumeration>> -*Tooltype* --- - CIRCLE - FLOODFILL - GRADIENT - LINE - PEN - PLAIN - POLYGON - RECTANGLE - NONE - - - - UMLClass - - 1020 - 408 - 138 - 54 - - <<dataType>> -*vector<T>* --- --- --- - Is a Vector of witch contains - data with equal type as type T. - - - - UMLClass - - 324 - 84 - 192 - 54 - - /*IntelliRenderSettings*/ --- --fastRendering: Boolean --- -+isFastRendering(): Boolean -+setFastRendering(Updatesetting): void - - - - UMLClass - - 324 - 240 - 192 - 54 - - /*IntelliTriangulation*/ --- --- -+isInTriangle(tri, P): Boolean -+calculateTriangles(polyPoints): vector<Triangle> -+isInPolygon(triangles, point): Boolean - - - - UMLClass - - 684 - 84 - 174 - 48 - - <<NAMESPACE>> -*IntelliDatamanager* --- - ::loadProject(Canvas, filePath): Boolean - ::saveProject(Canvas, filePath): Boolean - - - + + + 6 + + UMLClass + + 1338 + 84 + 192 + 120 + + /*IntelliImage*/ +-- +#imageData: QImage +-isFastRendering: Boolean +-- +#resizeImage(image, newSize): void ++drawPixel(p1, color): void ++drawLine(p1, p2, color, penWidth): void ++drawPlain(color): void +/+getDisplayable(displaySize, alpha): QImage/ ++loadImage(fileName): Boolean ++getPixelColor(point): QColor +... + + + + UMLClass + + 1344 + 270 + 186 + 48 + + *IntelliRasterImage* +-- +-- +#calculateVisibility(): void ++getDisplayable(displaySize, alpha): QImage +... + + + + UMLClass + + 1338 + 438 + 192 + 90 + + *IntelliShapedImage* +-- +-triangles: vector<Triangle> +#polygonData: vector<QPoint> +-- +-calculateVisibility(): void ++getDisplayable(displaySize, alpha): QImage ++getPolygonData(): vector<QPoint> ++setPolygon(polygonData): void +... + + + + UMLClass + + 744 + 366 + 174 + 150 + + /*IntelliTool*/ +-- +#Area: PaintingArea +#colorPicker: IntelliColorPicker +#Active: LayerObject +#Canvas: LayerObject +#drawing: Boolean +#ActiveType: Tooltype +-- +/+onMouseRightPressed(x,y): void/ +/+onMouseLeftPressed(x,y): void/ +/+onMouseRightReleased(x,y): void/ +/+onMousLeftReleased(x,y): void/ +/+onWheelScrolled(value): void/ +/+onMouseMoved(x,y): void/ +... + + + + Relation + + 1392 + 198 + 18 + 84 + + lt=<<- + 10.0;10.0;10.0;120.0 + + + Relation + + 1392 + 312 + 18 + 138 + + lt=<<- + 10.0;10.0;10.0;210.0 + + + UMLClass + + 870 + 210 + 144 + 48 + + <<Enumeration>> +*ImageType* +-- + RASTERIMAGE + SHAPEDIMAGE + + + + UMLClass + + 432 + 810 + 150 + 90 + + *IntelliToolFloodFill* +-- +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + UMLClass + + 432 + 564 + 150 + 90 + + *IntelliToolPlain* +-- +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + UMLClass + + 876 + 774 + 144 + 120 + + *IntelliToolGradient* +-- +-startPoint: QPoint +-endPoint: QPoint +-LineColor: QColor +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + UMLClass + + 1122 + 780 + 150 + 108 + + *IntelliToolRectangle* +-- +-alphaInner: Integer +-edgeWidth: Integer +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + UMLClass + + 1128 + 642 + 144 + 120 + + *IntelliToolLine* +-- +-start: QPoint +-lineWidth: Integer +-lineStyle: LineStyle +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + UMLClass + + 672 + 768 + 150 + 126 + + *IntelliToolPolygon* +-- +-lineWidth: Integer +-isDrawingOfPolygon: Boolean +-PointIsNearStart: Boolean +-alphaInner: Integer +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + Relation + + 816 + 510 + 210 + 276 + + lt=<<- + 10.0;10.0;330.0;440.0 + + + Relation + + 576 + 510 + 228 + 312 + + lt=<<- + 360.0;10.0;10.0;500.0 + + + Relation + + 498 + 510 + 264 + 66 + + lt=<<- + 420.0;10.0;10.0;90.0 + + + Relation + + 834 + 510 + 306 + 282 + + lt=<<- + 10.0;10.0;490.0;450.0 + + + Relation + + 858 + 510 + 282 + 144 + + lt=<<- + 10.0;10.0;450.0;220.0 + + + Relation + + 732 + 510 + 90 + 270 + + lt=<<- + 130.0;10.0;10.0;430.0 + + + UMLClass + + 432 + 684 + 150 + 120 + + *IntelliToolCircle* +-- +-Middle: QPoint +-alphaInner: Integer +-edgeWidth: Integer +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + Relation + + 576 + 510 + 216 + 186 + + lt=<<- + 340.0;10.0;10.0;290.0 + + + UMLClass + + 1164 + 84 + 168 + 246 + + *PaintingArea* +-- +-Canvas: QImage +-maxWidth: Integer +-maxHeigth: Integer +-Tool: IntelliTool +-colorPicker: IntelliColorPicker +-layerBundle: vector<LayerObject> +-activeLayer: Integer +-- ++open(fileName): Boolean ++save(fileName, fileFormat): void ++addLayer(width, heigth, widthOffset, +heigthOffset, ImageType): Integer ++addLayerAt(idx, width, heigth, widthOffset, +heigthOffset, ImageType): Integer ++deleteLayer(index): void ++setLayerToActive(index): void ++movePositionActive(x,y): void ++moveActiveLayer(idx): void ++setAlphaOfLayer(index, alpha): void ++floodFill(r,g,b,a): void ++getWidthOfActive(): Integer ++getHeigthOfActive(): Integer +-- + Also overrides every Inputevent and + creates every Tool. + +group=1 + + + + UMLClass + + 1020 + 84 + 138 + 90 + + <<dataType>> +*LayerObject* +-- ++image: IntelliImage ++width: Integer ++heigth: Integer ++widthOffset: Integer ++heigthOffset: Integer ++alpha: Integer +-- + + + + UMLClass + + 324 + 150 + 192 + 78 + + /*IntelliToolSetttings*/ +-- +-lineWidth: Integer +-innerAlpha: Integer +-- ++getInnerAlpha(): Integer ++setInnerAlpha( innerAlpha): void ++getLineWidth(): Integer ++setLineWidth( LineWidth): void + + + + UMLClass + + 522 + 84 + 150 + 90 + + /*IntelliColorPicker*/ +-- +-firstColor: QColor +-secondColor: QColor +-- ++switchColors(): void ++setFirstColor(Color): void ++setSecondColor(Color): void ++getFirstColor(): QColor ++getSecondColor(): QColor + + + + UMLClass + + 1020 + 180 + 138 + 60 + + <<dataType>> +*Triangle* +-- ++A: QPoint ++B: QPoint ++C: QPoint +-- + + + + UMLClass + + 1020 + 246 + 138 + 42 + + <<dataType>> +*QImage* +-- +-- +-- + Handles the ImageData + + + + UMLClass + + 1020 + 294 + 138 + 42 + + <<dataType>> +*QPoint* +-- +-- +-- + Handles points with x,y,z. + + + + UMLClass + + 1020 + 348 + 138 + 42 + + <<dataType>> +*QColor* +-- +-- +-- + Cotains RGBA Color Data. + + + + UMLClass + + 1128 + 516 + 144 + 108 + + *IntelliToolPen* +-- +-penWidth: Integer +-point: QPoint +-- ++onMouseRightPressed(x,y): void ++onMouseLeftPressed(x,y): void ++onMouseRightReleased(x,y): void ++onMousLeftReleased(x,y): void ++onWheelScrolled(value): void ++onMouseMoved(x,y): void +... + + + + Relation + + 912 + 498 + 228 + 30 + + lt=<<- + 10.0;10.0;360.0;30.0 + + + UMLClass + + 870 + 84 + 144 + 114 + + <<Enumeration>> +*Tooltype* +-- + CIRCLE + FLOODFILL + GRADIENT + LINE + PEN + PLAIN + POLYGON + RECTANGLE + NONE + + + + UMLClass + + 1020 + 408 + 138 + 54 + + <<dataType>> +*vector<T>* +-- +-- +-- + Is a Vector of witch contains + data with equal type as type T. + + + + UMLClass + + 324 + 84 + 192 + 54 + + /*IntelliRenderSettings*/ +-- +-fastRendering: Boolean +-- ++isFastRendering(): Boolean ++setFastRendering(Updatesetting): void + + + + UMLClass + + 324 + 240 + 192 + 54 + + /*IntelliTriangulation*/ +-- +-- ++isInTriangle(tri, P): Boolean ++calculateTriangles(polyPoints): vector<Triangle> ++isInPolygon(triangles, point): Boolean + + + + UMLClass + + 684 + 84 + 174 + 48 + + <<NAMESPACE>> +*IntelliDatamanager* +-- + ::loadProject(Canvas, filePath): Boolean + ::saveProject(Canvas, filePath): Boolean + + + diff --git a/docs/UnitTest_Benchmark.xlsx b/docs-src/UnitTest_Benchmark.xlsx similarity index 100% rename from docs/UnitTest_Benchmark.xlsx rename to docs-src/UnitTest_Benchmark.xlsx diff --git a/docs/Use Case/Use_Case_1.uxf b/docs-src/Use Case/Use_Case_1.uxf similarity index 100% rename from docs/Use Case/Use_Case_1.uxf rename to docs-src/Use Case/Use_Case_1.uxf diff --git a/docs/Use Case/Use_Case_2.uxf b/docs-src/Use Case/Use_Case_2.uxf similarity index 100% rename from docs/Use Case/Use_Case_2.uxf rename to docs-src/Use Case/Use_Case_2.uxf diff --git a/docs/Volere Snow Cards/Req_0001.txt b/docs-src/Volere Snow Cards/Req_0001.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0001.txt rename to docs-src/Volere Snow Cards/Req_0001.txt diff --git a/docs/Volere Snow Cards/Req_0002.txt b/docs-src/Volere Snow Cards/Req_0002.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0002.txt rename to docs-src/Volere Snow Cards/Req_0002.txt diff --git a/docs/Volere Snow Cards/Req_0003.txt b/docs-src/Volere Snow Cards/Req_0003.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0003.txt rename to docs-src/Volere Snow Cards/Req_0003.txt diff --git a/docs/Volere Snow Cards/Req_0004.txt b/docs-src/Volere Snow Cards/Req_0004.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0004.txt rename to docs-src/Volere Snow Cards/Req_0004.txt diff --git a/docs/Volere Snow Cards/Req_0005.txt b/docs-src/Volere Snow Cards/Req_0005.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0005.txt rename to docs-src/Volere Snow Cards/Req_0005.txt diff --git a/docs/Volere Snow Cards/Req_0006.txt b/docs-src/Volere Snow Cards/Req_0006.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0006.txt rename to docs-src/Volere Snow Cards/Req_0006.txt diff --git a/docs/Volere Snow Cards/Req_0007.txt b/docs-src/Volere Snow Cards/Req_0007.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0007.txt rename to docs-src/Volere Snow Cards/Req_0007.txt diff --git a/docs/Volere Snow Cards/Req_0008.txt b/docs-src/Volere Snow Cards/Req_0008.txt similarity index 100% rename from docs/Volere Snow Cards/Req_0008.txt rename to docs-src/Volere Snow Cards/Req_0008.txt diff --git a/docs/Zustandsdiagramm/Zustandsiagram-Layer-Color.uxf b/docs-src/Zustandsdiagramm/Zustandsiagram-Layer-Color.uxf similarity index 100% rename from docs/Zustandsdiagramm/Zustandsiagram-Layer-Color.uxf rename to docs-src/Zustandsdiagramm/Zustandsiagram-Layer-Color.uxf diff --git a/docs/Zustandsdiagramm/Zustandsiagram-Tool.uxf b/docs-src/Zustandsdiagramm/Zustandsiagram-Tool.uxf similarity index 100% rename from docs/Zustandsdiagramm/Zustandsiagram-Tool.uxf rename to docs-src/Zustandsdiagramm/Zustandsiagram-Tool.uxf diff --git a/docs-src/html/_intelli_color_picker_8cpp.html b/docs-src/html/_intelli_color_picker_8cpp.html new file mode 100644 index 0000000..5962e3b --- /dev/null +++ b/docs-src/html/_intelli_color_picker_8cpp.html @@ -0,0 +1,104 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp File Reference
+
+ +
+ + + + diff --git a/docs-src/html/_intelli_color_picker_8cpp_source.html b/docs-src/html/_intelli_color_picker_8cpp_source.html new file mode 100644 index 0000000..8b8d5ff --- /dev/null +++ b/docs-src/html/_intelli_color_picker_8cpp_source.html @@ -0,0 +1,143 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliColorPicker.h"
+
2 
+ +
4  initializeColors();
+
5 }
+
6 
+ +
8 
+
9 }
+
10 
+ +
12  std::swap(firstColor, secondColor);
+
13 }
+
14 
+ +
16  return this->firstColor;
+
17 }
+
18 
+ +
20  return this->secondColor;
+
21 }
+
22 
+ +
24  this->firstColor = Color;
+
25 }
+
26 
+ +
28  this->secondColor = Color;
+
29 }
+
30 
+
31 void IntelliColorPicker::initializeColors(){
+
32  this->firstColor = QColor(255,0,0,255);
+
33  this->secondColor = QColor(0,0,0,255);
+
34 }
+
+
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
QColor getSecondColor() const
A function to read the secondary selected color.
+ +
void setFirstColor(QColor Color)
A function to set the primary color.
+
void swapColors()
A function switching primary and secondary color.
+
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
+ + + + diff --git a/docs-src/html/_intelli_color_picker_8h.html b/docs-src/html/_intelli_color_picker_8h.html new file mode 100644 index 0000000..c1b1408 --- /dev/null +++ b/docs-src/html/_intelli_color_picker_8h.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliColorPicker.h File Reference
+
+
+
#include "QColor"
+#include "QPoint"
+#include "QColorDialog"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliColorPicker
 The IntelliColorPicker manages the selected colors for one whole project. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_color_picker_8h__dep__incl.dot b/docs-src/html/_intelli_color_picker_8h__dep__incl.dot new file mode 100644 index 0000000..154a774 --- /dev/null +++ b/docs-src/html/_intelli_color_picker_8h__dep__incl.dot @@ -0,0 +1,65 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliColorPicker.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliColorPicker.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Intelli\lHelper/IntelliColorPicker.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_2_intelli_color_picker_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node3 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node3 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node3 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node3 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node3 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node3 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node3 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node1 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliColorPicker.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_tool_2_intelli_color_picker_8cpp.html",tooltip=" "]; + Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node15 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "]; + Node16 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "]; + Node17 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "]; + Node18 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "]; + Node19 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "]; + Node20 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node21 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node22 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "]; + Node22 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_color_picker_8h__incl.dot b/docs-src/html/_intelli_color_picker_8h__incl.dot new file mode 100644 index 0000000..4c74e72 --- /dev/null +++ b/docs-src/html/_intelli_color_picker_8h__incl.dot @@ -0,0 +1,13 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliColorPicker.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliColorPicker.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_color_picker_8h_source.html b/docs-src/html/_intelli_color_picker_8h_source.html new file mode 100644 index 0000000..4c94c90 --- /dev/null +++ b/docs-src/html/_intelli_color_picker_8h_source.html @@ -0,0 +1,146 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLSETCOLORTOOL_H
+
2 #define INTELLITOOLSETCOLORTOOL_H
+
3 
+
4 #include "QColor"
+
5 #include "QPoint"
+
6 #include "QColorDialog"
+
7 
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+ +
15 friend UnitTest;
+
16 public:
+ +
21 
+
25 virtual ~IntelliColorPicker();
+
26 
+
30 void swapColors();
+
31 
+
36 QColor getFirstColor() const;
+
37 
+
42 QColor getSecondColor() const;
+
43 
+
48 void setFirstColor(QColor Color);
+
49 
+
54 void setSecondColor(QColor Color);
+
55 
+
56 private:
+
60 QColor firstColor;
+
61 
+
65 QColor secondColor;
+
66 
+
70 void initializeColors();
+
71 };
+
72 
+
73 #endif
+
+
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
void setFirstColor(QColor Color)
A function to set the primary color.
+
The IntelliColorPicker manages the selected colors for one whole project.
+ +
void swapColors()
A function switching primary and secondary color.
+
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
+ + + + diff --git a/docs-src/html/_intelli_datamanager_8cpp.html b/docs-src/html/_intelli_datamanager_8cpp.html new file mode 100644 index 0000000..d720eb0 --- /dev/null +++ b/docs-src/html/_intelli_datamanager_8cpp.html @@ -0,0 +1,105 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliDatamanager.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliDatamanager.cpp File Reference
+
+ +
+ + + + diff --git a/docs-src/html/_intelli_datamanager_8cpp_source.html b/docs-src/html/_intelli_datamanager_8cpp_source.html new file mode 100644 index 0000000..935572b --- /dev/null +++ b/docs-src/html/_intelli_datamanager_8cpp_source.html @@ -0,0 +1,219 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliDatamanager.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliDatamanager.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliDatamanager.h"
+
2 #include "Layer/PaintingArea.h"
+
3 
+
4 bool IntelliDatamanager::saveProject(PaintingArea* Canvas, QString filePath){
+
5  QFile openFile(filePath);
+
6 
+
7  if(openFile.open(QIODevice::WriteOnly)) {
+
8 
+
9  QTextStream out(&openFile);
+
10  std::vector<LayerObject>* layerBundle = Canvas->getLayerBundle();
+
11  size_t numberOfLayers = layerBundle->size();
+
12  out << 7 << endl; //version tag
+
13  out << Canvas->getRenderSettings() << " ";
+
14  out << Canvas->getMaxWidth() << " " << Canvas->getMaxHeight() << endl; //dimensions of canvas
+
15  out << numberOfLayers << endl; //number of layers
+
16  for(size_t i = 0; i<numberOfLayers; i++) {
+
17  int width = layerBundle->at(i).width;
+
18  int height = layerBundle->at(i).height;
+
19  out << width << endl; //width
+
20  out << height << endl; //height
+
21  out << layerBundle->at(i).widthOffset << endl; //widthOffset
+
22  out << layerBundle->at(i).heightOffset << endl; //HeightOffset
+
23  out << layerBundle->at(i).alpha << endl; //alpha of layer
+
24  if(layerBundle->at(i).image->getTypeOfImage() == ImageType::RASTERIMAGE) {
+
25  out << 0 << " ";
+
26  }else{
+
27  out << 1 << " ";
+
28  }
+
29  std::vector<QPoint> points = layerBundle->at(i).image->getPolygonData();
+
30  out << points.size() << " ";
+
31  for(size_t j = 0; j<points.size(); j++) {
+
32  out << points.at(j).x() << " " << points.at(j).y() << " ";
+
33  }
+
34  for(int j = 0; j<height; j++) {
+
35  for(int k = 0; k<width; k++) {
+
36  QColor pixColor = layerBundle->at(i).image->getImageData().pixelColor(j,k);
+
37  out << pixColor.red() << " " << pixColor.green() << " " << pixColor.blue() << " " << pixColor.alpha() << " ";
+
38  }
+
39  }
+
40 
+
41  }
+
42  out << "\nFormat designed and approved by IntelliPhoto Team 7. All rigths reserved.";
+
43  openFile.close();
+
44  return true;
+
45  }
+
46 
+
47  return false;
+
48 }
+
49 
+
50 bool IntelliDatamanager::loadProject(PaintingArea* Canvas, QString filePath){
+
51  QFile openFile(filePath);
+
52  Canvas->deleteAllLayers();
+
53  if(openFile.open(QIODevice::ReadOnly)) {
+
54  QTextStream in(&openFile);
+
55 
+
56  float version;
+
57  int rendersetting;
+
58  int widthCanvas, heightCanvas, numberOffLayers;
+
59  in >> version;
+
60  in >> rendersetting;
+
61  in >> widthCanvas >> heightCanvas;
+
62  in >> numberOffLayers;
+
63 
+
64  Canvas->setCanvasDimensions(widthCanvas, heightCanvas);
+
65  for(int i = 0; i<numberOffLayers; i++) {
+
66  int width, height, widthOffset, heightOffset, alpha;
+
67  in >> width >> height >> widthOffset >> heightOffset >> alpha;
+
68 
+
69  int typeFlag;
+
70  size_t numberOfPoints;
+
71  std::vector<QPoint> polyPoints;
+
72 
+
73  in >> typeFlag >> numberOfPoints;
+
74  if(typeFlag==0) {
+
75  Canvas->addLayer(width, height, widthOffset, heightOffset, alpha, ImageType::RASTERIMAGE);
+
76  }else{
+
77  Canvas->addLayer(width, height, widthOffset, heightOffset, alpha, ImageType::SHAPEDIMAGE);
+
78  }
+
79  polyPoints.reserve(numberOfPoints);
+
80  for(size_t j = 0; j<numberOfPoints; j++) {
+
81  int x, y;
+
82  in >> x >> y;
+
83  polyPoints.push_back(QPoint(x,y));
+
84  }
+
85  Canvas->setPolygonDataToActive(polyPoints);
+
86 
+
87  for(int j = 0; j<height; j++) {
+
88  for(int k = 0; k<width; k++) {
+
89  int red, green, blue, alpha;
+
90  in >> red >> green >> blue >> alpha;
+
91  Canvas->drawPixelOntoActive(QColor(red, green, blue, alpha), QPoint(j, k));
+
92  }
+
93  }
+
94  }
+
95  Canvas->setRenderSettings(static_cast<bool>(rendersetting));
+
96  openFile.close();
+
97  return true;
+
98  }
+
99 
+
100  return false;
+
101 }
+
+
+ +
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
+
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
loadProject loads a project from a file, closes current project.
+
int getMaxHeight()
getMaxHeight gets the max height of the Canvas.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
void drawPixelOntoActive(QColor color, QPoint point)
drawPixelOntoActive draws a pixel onto the image data of the active Layer.
+
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+ + +
void deleteAllLayers()
deleteAllLayers deletes all layers
+
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
+
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
saveProject saves the current project to a file.
+
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
void setPolygonDataToActive(std::vector< QPoint > points)
setPolygonDataToActive sets polygondata to the active Layer.
+ + + + + diff --git a/docs-src/html/_intelli_datamanager_8h.html b/docs-src/html/_intelli_datamanager_8h.html new file mode 100644 index 0000000..cfe6b8a --- /dev/null +++ b/docs-src/html/_intelli_datamanager_8h.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliDatamanager.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliDatamanager.h File Reference
+
+
+
#include <QFile>
+#include <QDebug>
+
+

Go to the source code of this file.

+ + + + +

+Namespaces

 IntelliDatamanager
 
+ + + + + + + +

+Functions

bool IntelliDatamanager::loadProject (PaintingArea *Canvas, QString filePath="unnamed.idf")
 loadProject loads a project from a file, closes current project. More...
 
bool IntelliDatamanager::saveProject (PaintingArea *Canvas, QString filePath="unnamed.idf")
 saveProject saves the current project to a file. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_datamanager_8h.js b/docs-src/html/_intelli_datamanager_8h.js new file mode 100644 index 0000000..e31fa0f --- /dev/null +++ b/docs-src/html/_intelli_datamanager_8h.js @@ -0,0 +1,5 @@ +var _intelli_datamanager_8h = +[ + [ "loadProject", "_intelli_datamanager_8h.html#a41920e07aa9e0b2756323779f7fe8de2", null ], + [ "saveProject", "_intelli_datamanager_8h.html#ac02f6f47ff8785ad9d49588baaca3d54", null ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_datamanager_8h_source.html b/docs-src/html/_intelli_datamanager_8h_source.html new file mode 100644 index 0000000..603f53d --- /dev/null +++ b/docs-src/html/_intelli_datamanager_8h_source.html @@ -0,0 +1,122 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliDatamanager.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliDatamanager.h
+
+
+Go to the documentation of this file.
1  #ifndef INTELLIDATAMANAGER_H
+
2 #define INTELLIDATAMANAGER_H
+
3 
+
4 #include <QFile>
+
5 #include <QDebug>
+
6 
+
7 class PaintingArea;
+
8 
+
9 namespace IntelliDatamanager {
+
10 
+
17 bool loadProject(PaintingArea* Canvas, QString filePath = "unnamed.idf");
+
18 
+
25 bool saveProject(PaintingArea* Canvas, QString filePath = "unnamed.idf");
+
26 
+
27 }
+
28 
+
29 #endif // INTELLIDATAMANAGER_H
+
+
+ +
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
loadProject loads a project from a file, closes current project.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
saveProject saves the current project to a file.
+ + + + diff --git a/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp.html b/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp.html new file mode 100644 index 0000000..c91b3b8 --- /dev/null +++ b/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp.html @@ -0,0 +1,104 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp File Reference
+
+ +
+ + + + diff --git a/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp__incl.dot b/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp__incl.dot new file mode 100644 index 0000000..3dfeb55 --- /dev/null +++ b/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp__incl.dot @@ -0,0 +1,15 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliColorPicker.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliColorPicker.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html b/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html new file mode 100644 index 0000000..5ff0ba5 --- /dev/null +++ b/docs-src/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html @@ -0,0 +1,139 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliColorPicker.h"
+
2 
+ +
4  firstColor = {255,0,0,255};
+
5  secondColor = {0,255,255,255};
+
6 }
+
7 
+ +
9 
+
10 }
+
11 
+ +
13  std::swap(firstColor, secondColor);
+
14 }
+
15 
+ +
17  return this->firstColor;
+
18 }
+
19 
+ +
21  return this->secondColor;
+
22 }
+
23 
+ +
25  this->firstColor = Color;
+
26 }
+
27 
+ +
29  this->secondColor = Color;
+
30 }
+
+
+
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
QColor getSecondColor()
A function to read the secondary selected color.
+ +
void setFirstColor(QColor Color)
A function to set the primary color.
+
QColor getFirstColor()
A function to read the primary selected color.
+
void swapColors()
A function switching primary and secondary color.
+
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
+ + + + diff --git a/docs-src/html/_intelli_helper_8cpp.html b/docs-src/html/_intelli_helper_8cpp.html new file mode 100644 index 0000000..c4f89ed --- /dev/null +++ b/docs-src/html/_intelli_helper_8cpp.html @@ -0,0 +1,116 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/IntelliHelper/IntelliHelper.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliHelper.cpp File Reference
+
+
+
#include "IntelliHelper.h"
+#include <algorithm>
+#include <queue>
+#include <cmath>
+
+Include dependency graph for IntelliHelper.cpp:
+
+
+
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_helper_8cpp__incl.dot b/docs-src/html/_intelli_helper_8cpp__incl.dot new file mode 100644 index 0000000..3f3ebd7 --- /dev/null +++ b/docs-src/html/_intelli_helper_8cpp__incl.dot @@ -0,0 +1,19 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliHelper.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliHelper.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="algorithm",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="queue",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="cmath",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_helper_8cpp_source.html b/docs-src/html/_intelli_helper_8cpp_source.html new file mode 100644 index 0000000..1b67b46 --- /dev/null +++ b/docs-src/html/_intelli_helper_8cpp_source.html @@ -0,0 +1,236 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/IntelliHelper/IntelliHelper.cpp Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliHelper.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliHelper.h"
+
2 #include <algorithm>
+
3 #include <queue>
+
4 #include <cmath>
+
5 
+
6 
+
7 std::vector<Triangle> IntelliHelper::calculateTriangles(std::vector<QPoint> polyPoints){
+
8  // helper for managing the triangle vertices and their state
+
9  struct TriangleHelper {
+
10  QPoint vertex;
+
11  float interiorAngle;
+
12  int index;
+
13  bool isTip;
+
14  };
+
15 
+
16  // calculates the inner angle of 'point'
+
17  auto calculateInner = [](QPoint& point, QPoint& prev, QPoint& post){
+
18  QPoint AP(point.x()-prev.x(), point.y()-prev.y());
+
19  QPoint BP(point.x()-post.x(), point.y()-post.y());
+
20 
+
21  float topSclar = AP.x()*BP.x()+AP.y()*BP.y();
+
22  float absolute = sqrt(pow(AP.x(),2.)+pow(AP.y(),2.))*sqrt(pow(BP.x(),2.)+pow(BP.y(),2.));
+
23  return acos(topSclar/absolute);
+
24  };
+
25 
+
26  // gets the first element of vec for which element.isTip == true holds
+
27  auto getTip= [](const std::vector<TriangleHelper>& vec){
+
28  size_t min = 0;
+
29  for(size_t i=0; i<vec.size(); i++) {
+
30  if(vec[i].interiorAngle<vec[min].interiorAngle) {
+
31  min = i;
+
32  }
+
33  }
+
34  return vec[min];
+
35  };
+
36 
+
37  // get the vertex Index bevor index in relation to the container length
+
38  auto getPrev = [](int index, int length){
+
39  return (index-1)>=0 ? (index-1) : (length-1);
+
40  };
+
41 
+
42  // get the vertex Index after index in relation to the container lenght
+
43  auto getPost = [](int index, int length){
+
44  return (index+1)%length;
+
45  };
+
46 
+
47  // return if the vertex is a tip
+
48  auto isTip = [](float angle){
+
49  return static_cast<double>(angle)<(M_PI/2.);
+
50  };
+
51 
+
52  std::vector<TriangleHelper> Vertices;
+
53  std::vector<Triangle> Triangles;
+
54 
+
55  // set up all vertices and calculate intirior angle
+
56  for(int i=0; i<static_cast<int>(polyPoints.size()); i++) {
+
57  TriangleHelper helper;
+
58  int prev = getPrev(i, static_cast<int>(polyPoints.size()));
+
59  int post = getPost(i, static_cast<int>(polyPoints.size()));
+
60 
+
61  helper.vertex = polyPoints[static_cast<size_t>(i)];
+
62  helper.index = i;
+
63 
+
64  helper.interiorAngle = calculateInner(polyPoints[static_cast<size_t>(i)],
+
65  polyPoints[static_cast<size_t>(prev)],
+
66  polyPoints[static_cast<size_t>(post)]);
+
67  helper.isTip = isTip(helper.interiorAngle);
+
68  Vertices.push_back(helper);
+
69  }
+
70 
+
71  // search triangles based on the intirior angles of each vertey
+
72  while(Triangles.size() != polyPoints.size()-2) {
+
73  Triangle tri;
+
74  TriangleHelper smallest = getTip(Vertices);
+
75  int prev = getPrev(smallest.index, static_cast<int>(Vertices.size()));
+
76  int post = getPost(smallest.index, static_cast<int>(Vertices.size()));
+
77 
+
78  // set triangle and push it
+
79  tri.A = Vertices[static_cast<size_t>(prev)].vertex;
+
80  tri.B = Vertices[static_cast<size_t>(smallest.index)].vertex;
+
81  tri.C = Vertices[static_cast<size_t>(post)].vertex;
+
82  Triangles.push_back(tri);
+
83 
+
84  // update Vertice array
+
85  Vertices.erase(Vertices.begin()+smallest.index);
+
86  for(size_t i=static_cast<size_t>(smallest.index); i<Vertices.size(); i++) {
+
87  Vertices[i].index-=1;
+
88  }
+
89 
+
90  // update post und prev index
+
91  post = post-1;
+
92  prev = prev<smallest.index ? prev : (prev-1);
+
93 
+
94  // calcultae neighboors of prev and post to calculate new interior angles
+
95  int prevOfPrev = getPrev(prev, static_cast<int>(Vertices.size()));
+
96  int postOfPrev = getPost(prev, static_cast<int>(Vertices.size()));
+
97 
+
98  int prevOfPost = getPrev(post, static_cast<int>(Vertices.size()));
+
99  int postOfPost = getPost(post, static_cast<int>(Vertices.size()));
+
100 
+
101  // update vertices with interior angles
+
102  // updtae prev
+
103  Vertices[static_cast<size_t>(prev)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(prev)].vertex,
+
104  Vertices[static_cast<size_t>(prevOfPrev)].vertex,
+
105  Vertices[static_cast<size_t>(postOfPrev)].vertex);
+
106  Vertices[static_cast<size_t>(prev)].isTip = isTip(Vertices[static_cast<size_t>(prev)].interiorAngle);
+
107  // update post
+
108  Vertices[static_cast<size_t>(post)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(post)].vertex,
+
109  Vertices[static_cast<size_t>(prevOfPost)].vertex,
+
110  Vertices[static_cast<size_t>(postOfPost)].vertex);
+
111  Vertices[static_cast<size_t>(post)].isTip = isTip(Vertices[static_cast<size_t>(post)].interiorAngle);
+
112  }
+
113  return Triangles;
+
114 }
+
115 
+
116 bool IntelliHelper::isInPolygon(std::vector<Triangle> &triangles, QPoint &point){
+
117  for(auto triangle : triangles) {
+
118  if(IntelliHelper::isInTriangle(triangle, point)) {
+
119  return true;
+
120  }
+
121  }
+
122  return false;
+
123 }
+
+
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
Definition: IntelliHelper.h:33
+ +
QPoint B
Definition: IntelliHelper.h:11
+
QPoint C
Definition: IntelliHelper.h:11
+
The Triangle struct holds the 3 vertices of a triangle.
Definition: IntelliHelper.h:10
+
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+
QPoint A
Definition: IntelliHelper.h:11
+
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
+ + + + diff --git a/docs-src/html/_intelli_helper_8h.html b/docs-src/html/_intelli_helper_8h.html new file mode 100644 index 0000000..f0a631b --- /dev/null +++ b/docs-src/html/_intelli_helper_8h.html @@ -0,0 +1,150 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/IntelliHelper/IntelliHelper.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliHelper.h File Reference
+
+
+
#include <QPoint>
+#include <vector>
+
+Include dependency graph for IntelliHelper.h:
+
+
+
+
+This graph shows which files directly or indirectly include this file:
+
+
+
+
+

Go to the source code of this file.

+ + + + + +

+Classes

struct  Triangle
 The Triangle struct holds the 3 vertices of a triangle. More...
 
+ + + +

+Namespaces

 IntelliHelper
 
+ + + + + + + + + + + + + +

+Functions

float IntelliHelper::sign (QPoint &p1, QPoint &p2, QPoint &p3)
 A function to get the 2*area of a traingle, using its determinat. More...
 
bool IntelliHelper::isInTriangle (Triangle &tri, QPoint &P)
 A function to check if a given point is in a triangle. More...
 
std::vector< TriangleIntelliHelper::calculateTriangles (std::vector< QPoint > polyPoints)
 A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph. More...
 
bool IntelliHelper::isInPolygon (std::vector< Triangle > &triangles, QPoint &point)
 A function to check if a point lies in a polygon by checking its spanning triangles. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_helper_8h.js b/docs-src/html/_intelli_helper_8h.js new file mode 100644 index 0000000..769083d --- /dev/null +++ b/docs-src/html/_intelli_helper_8h.js @@ -0,0 +1,8 @@ +var _intelli_helper_8h = +[ + [ "Triangle", "struct_triangle.html", "struct_triangle" ], + [ "calculateTriangles", "_intelli_helper_8h.html#a214dc3624ba4562a03dc922e3dd7b617", null ], + [ "isInPolygon", "_intelli_helper_8h.html#a44d516b3e619e2a743e9c98dd75cf901", null ], + [ "isInTriangle", "_intelli_helper_8h.html#a9fcfe72f00e870be4a8ab9f2e17483c9", null ], + [ "sign", "_intelli_helper_8h.html#afdd9fe78cc5d21b59642910220768149", null ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_helper_8h__dep__incl.dot b/docs-src/html/_intelli_helper_8h__dep__incl.dot new file mode 100644 index 0000000..a439ef7 --- /dev/null +++ b/docs-src/html/_intelli_helper_8h__dep__incl.dot @@ -0,0 +1,43 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliHelper.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliHelper.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node4 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node4 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node4 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node4 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node4 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node4 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node4 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node4 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node4 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node3 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Intelli\lHelper/IntelliHelper.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_8cpp.html",tooltip=" "]; + Node1 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/main.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$main_8cpp.html",tooltip=" "]; + Node1 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node17 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_helper_8h__incl.dot b/docs-src/html/_intelli_helper_8h__incl.dot new file mode 100644 index 0000000..cce00ee --- /dev/null +++ b/docs-src/html/_intelli_helper_8h__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliHelper.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliHelper.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_helper_8h_source.html b/docs-src/html/_intelli_helper_8h_source.html new file mode 100644 index 0000000..c6c3d54 --- /dev/null +++ b/docs-src/html/_intelli_helper_8h_source.html @@ -0,0 +1,150 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/IntelliHelper/IntelliHelper.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliHelper.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLIHELPER_H
+
2 #define INTELLIHELPER_H
+
3 
+
4 #include <QPoint>
+
5 #include <vector>
+
6 
+
10 struct Triangle {
+
11  QPoint A,B,C;
+
12 };
+
13 
+
14 namespace IntelliHelper {
+
15 
+
23 inline float sign(QPoint& p1, QPoint& p2, QPoint& p3){
+
24  return (p1.x()-p3.x())*(p2.y()-p3.y())-(p2.x()-p3.x())*(p1.y()-p3.y());
+
25 }
+
26 
+
33 inline bool isInTriangle(Triangle& tri, QPoint& P){
+
34  float val1, val2, val3;
+
35  bool neg, pos;
+
36 
+
37  val1 = IntelliHelper::sign(P,tri.A,tri.B);
+
38  val2 = IntelliHelper::sign(P,tri.B,tri.C);
+
39  val3 = IntelliHelper::sign(P,tri.C,tri.A);
+
40 
+
41  neg = (val1<0.f) || (val2<0.f) || (val3<0.f);
+
42  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);
+
43 
+
44  return !(neg && pos);
+
45 }
+
46 
+
52 std::vector<Triangle> calculateTriangles(std::vector<QPoint> polyPoints);
+
53 
+
60 bool isInPolygon(std::vector<Triangle> &triangles, QPoint &point);
+
61 }
+
62 
+
63 #endif
+
+
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
Definition: IntelliHelper.h:33
+
QPoint B
Definition: IntelliHelper.h:11
+
QPoint C
Definition: IntelliHelper.h:11
+ +
The Triangle struct holds the 3 vertices of a triangle.
Definition: IntelliHelper.h:10
+
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+
QPoint A
Definition: IntelliHelper.h:11
+
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
+
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
Definition: IntelliHelper.h:23
+ + + + diff --git a/docs-src/html/_intelli_image_8cpp.html b/docs-src/html/_intelli_image_8cpp.html new file mode 100644 index 0000000..5a9a149 --- /dev/null +++ b/docs-src/html/_intelli_image_8cpp.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliImage.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliImage.cpp File Reference
+
+
+
#include "Image/IntelliImage.h"
+#include <QSize>
+#include <QPainter>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_image_8cpp__incl.dot b/docs-src/html/_intelli_image_8cpp__incl.dot new file mode 100644 index 0000000..e551c27 --- /dev/null +++ b/docs-src/html/_intelli_image_8cpp__incl.dot @@ -0,0 +1,30 @@ +digraph "intelliphoto/src/Image/IntelliImage.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliImage.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node9 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QPainter",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_image_8cpp_source.html b/docs-src/html/_intelli_image_8cpp_source.html new file mode 100644 index 0000000..e6ac50e --- /dev/null +++ b/docs-src/html/_intelli_image_8cpp_source.html @@ -0,0 +1,292 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliImage.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliImage.cpp
+
+
+Go to the documentation of this file.
1 #include "Image/IntelliImage.h"
+
2 #include <QSize>
+
3 #include <QPainter>
+
4 
+
5 IntelliImage:: IntelliImage(int width, int height, bool fastRendererOn)
+
6  : imageData(QSize(width, height), fastRendererOn ? QImage::Format_Indexed8 : QImage::Format_ARGB32){
+
7  if(fastRendererOn) {
+
8  imageData = imageData.convertToFormat(QImage::Format_ARGB32);
+
9  }
+
10  imageData.fill(QColor(255,255,255,255));
+
11  if(fastRendererOn) {
+
12  imageData = imageData.convertToFormat(QImage::Format_Indexed8);
+
13  }
+
14  this->fastRenderering = fastRendererOn;
+
15 
+
16 }
+
17 
+
18 
+ +
20 
+
21 }
+
22 
+
23 bool IntelliImage::loadImage(const QString &filePath){
+
24  // Holds the image
+
25  QImage loadedImage;
+
26 
+
27  // If the image wasn't loaded leave this function
+
28  if (!loadedImage.load(filePath))
+
29  return false;
+
30 
+
31  // scaled Image to size of Layer
+
32  loadedImage = loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
+
33 
+
34  imageData = loadedImage.convertToFormat(fastRenderering ? QImage::Format_Indexed8 : QImage::Format_ARGB32);
+
35  return true;
+
36 }
+
37 
+
38 void IntelliImage::resizeImage(QImage*image, const QSize &newSize){
+
39  // Check if we need to redraw the image
+
40  if (image->size() == newSize)
+
41  return;
+
42 
+
43  // Create a new image to display and fill it with white
+
44  QImage newImage(newSize, QImage::Format_ARGB32);
+
45  newImage.fill(qRgb(255, 255, 255));
+
46 
+
47  // Draw the image
+
48  QPainter painter(&newImage);
+
49  painter.drawImage(QPoint(0, 0), *image);
+
50  if(fastRenderering) {
+
51  *image = newImage.convertToFormat(QImage::Format_Indexed8);
+
52  }
+
53  else{
+
54  *image = newImage;
+
55  }
+
56 }
+
57 
+
58 void IntelliImage::drawPixel(const QPoint &p1, const QColor& color){
+
59  if(fastRenderering) {
+
60  this->imageData = this->imageData.convertToFormat(QImage::Format_ARGB32);
+
61  }
+
62  // Used to draw on the widget
+
63  QPainter* painter = new QPainter(&imageData);
+
64 
+
65  // Set the current settings for the pen
+
66  painter->setPen(QPen(color, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+
67 
+
68  // Draw a line from the last registered point to the current
+
69  painter->drawPoint(p1);
+
70  delete painter;
+
71  painter = nullptr;
+
72 
+
73  if(fastRenderering) {
+
74  this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8);
+
75  }
+
76 }
+
77 
+
78 void IntelliImage::drawPoint(const QPoint &p1, const QColor& color, const int& penWidth){
+
79  if(fastRenderering) {
+
80  this->imageData = this->imageData.convertToFormat(QImage::Format_ARGB32);
+
81  }
+
82  // Used to draw on the widget
+
83  QPainter* painter = new QPainter(&imageData);
+
84 
+
85  // Set the current settings for the pen
+
86  painter->setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+
87  // Draw a line from the last registered point to the current
+
88  painter->drawPoint(p1);
+
89  delete painter;
+
90 
+
91  painter = nullptr;
+
92  if(fastRenderering) {
+
93  this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8);
+
94  }
+
95 }
+
96 
+
97 void IntelliImage::drawLine(const QPoint &p1, const QPoint& p2, const QColor& color, const int& penWidth){
+
98  if(fastRenderering) {
+
99  this->imageData = this->imageData.convertToFormat(QImage::Format_ARGB32);
+
100  }
+
101  // Used to draw on the widget
+
102  QPainter* painter = new QPainter(&imageData);
+
103 
+
104  // Set the current settings for the pen
+
105  painter->setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+
106 
+
107  // Draw a line from the last registered point to the current
+
108  painter->drawLine(p1, p2);
+
109  delete painter;
+
110  painter = nullptr;
+
111 
+
112  if(fastRenderering) {
+
113  this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8);
+
114  }
+
115 }
+
116 
+
117 void IntelliImage::drawPlain(const QColor& color){
+
118  if(fastRenderering) {
+
119  this->imageData = this->imageData.convertToFormat(QImage::Format_ARGB32);
+
120  }
+
121  imageData.fill(color);
+
122  if(fastRenderering) {
+
123  this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8);
+
124  }
+
125 }
+
126 
+
127 QColor IntelliImage::getPixelColor(QPoint& point){
+
128  if(fastRenderering) {
+
129  QImage copy = this->imageData.convertToFormat(QImage::Format_ARGB32);
+
130  return copy.pixelColor(point);
+
131  }
+
132  return imageData.pixelColor(point);
+
133 }
+
134 
+ +
136  QImage copy = imageData;
+
137  if(fastRenderering) {
+
138  copy = copy.convertToFormat(QImage::Format_ARGB32);
+
139  }
+
140  return copy;
+
141 }
+
142 
+
143 void IntelliImage::setImageData(const QImage& newData){
+
144  imageData = newData;
+
145  if(fastRenderering) {
+
146  this->imageData = imageData.convertToFormat(QImage::Format_Indexed8);
+
147  }
+
148  else {
+
149  this->imageData = imageData.convertToFormat(QImage::Format_ARGB32);
+
150  }
+
151 }
+
152 
+
153 void IntelliImage::updateRendererSetting(bool fastRendererOn){
+
154  this->fastRenderering = fastRendererOn;
+
155  if(fastRenderering) {
+
156  this->imageData = imageData.convertToFormat(QImage::Format_Indexed8);
+
157  }
+
158  else {
+
159  this->imageData = imageData.convertToFormat(QImage::Format_ARGB32);
+
160  }
+
161 }
+
162 
+ +
164  return imageData.width();
+
165 }
+
166 
+ +
168  return imageData.height();
+
169 }
+
170 
+ +
172  return this->fastRenderering;
+
173 }
+
+
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+ +
virtual ~IntelliImage()=0
An Abstract Destructor.
+
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
+
virtual bool isFastRendering() const
isFastRendering returns if the Image is in fast rendering mode.
+
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
void resizeImage(QImage *image, const QSize &newSize)
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
virtual int getHeight() const
getHeight returns the height of the Image.
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
+
virtual int getWidth() const
getWidth returns the width of the Image.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+ + + + diff --git a/docs-src/html/_intelli_image_8h.html b/docs-src/html/_intelli_image_8h.html new file mode 100644 index 0000000..cd1515b --- /dev/null +++ b/docs-src/html/_intelli_image_8h.html @@ -0,0 +1,160 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliImage.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliImage.h File Reference
+
+
+
#include <QImage>
+#include <QPoint>
+#include <QColor>
+#include <QSize>
+#include <QWidget>
+#include <vector>
+#include "IntelliHelper/IntelliTriangulation.h"
+#include "IntelliHelper/IntelliRenderSettings.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliImage
 An abstract class which manages the basic IntelliImage operations. More...
 
+ + + + +

+Enumerations

enum  ImageType { ImageType::RASTERIMAGE, +ImageType::SHAPEDIMAGE + }
 The Types, which an Image can be. More...
 
+

Enumeration Type Documentation

+ +

◆ ImageType

+ +
+
+ + + + + +
+ + + + +
enum ImageType
+
+strong
+
+ +

The Types, which an Image can be.

+ + + +
Enumerator
RASTERIMAGE 
SHAPEDIMAGE 
+ +

Definition at line 22 of file IntelliImage.h.

+ +
+
+
+
+ + + + diff --git a/docs-src/html/_intelli_image_8h.js b/docs-src/html/_intelli_image_8h.js new file mode 100644 index 0000000..a944119 --- /dev/null +++ b/docs-src/html/_intelli_image_8h.js @@ -0,0 +1,8 @@ +var _intelli_image_8h = +[ + [ "IntelliImage", "class_intelli_image.html", "class_intelli_image" ], + [ "ImageType", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0", [ + [ "RASTERIMAGE", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9", null ], + [ "SHAPEDIMAGE", "_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37", null ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_image_8h__dep__incl.dot b/docs-src/html/_intelli_image_8h__dep__incl.dot new file mode 100644 index 0000000..f000464 --- /dev/null +++ b/docs-src/html/_intelli_image_8h__dep__incl.dot @@ -0,0 +1,43 @@ +digraph "intelliphoto/src/Image/IntelliImage.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Image\l/IntelliImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Image\l/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Image\l/IntelliRasterImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8cpp.html",tooltip=" "]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node5 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8cpp.html",tooltip=" "]; + Node5 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node7 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node7 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node7 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node7 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node7 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node7 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node7 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node7 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node7 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node7 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node5 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_image_8h__incl.dot b/docs-src/html/_intelli_image_8h__incl.dot new file mode 100644 index 0000000..39d5fcc --- /dev/null +++ b/docs-src/html/_intelli_image_8h__incl.dot @@ -0,0 +1,25 @@ +digraph "intelliphoto/src/Image/IntelliImage.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node8 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_image_8h_source.html b/docs-src/html/_intelli_image_8h_source.html new file mode 100644 index 0000000..e0ca3b1 --- /dev/null +++ b/docs-src/html/_intelli_image_8h_source.html @@ -0,0 +1,222 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliImage.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliImage.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLIIMAGE_H
+
2 #define INTELLIIMAGE_H
+
3 
+
4 #include <QImage>
+
5 #include <QPoint>
+
6 #include <QColor>
+
7 #include <QSize>
+
8 #include <QWidget>
+
9 #include <vector>
+
10 
+ + +
13 
+
14 //for unit testing
+
15 class UnitTest;
+
16 
+
17 class IntelliTool;
+
18 
+
22 enum class ImageType {
+ + +
25 };
+
26 
+
30 class IntelliImage {
+
31 friend UnitTest;
+
32 friend IntelliTool;
+
33 public:
+
34 
+
35 protected:
+
36 void resizeImage(QImage*image, const QSize &newSize);
+
37 
+
41 QImage imageData;
+
42 
+ +
47 
+ +
52 
+
53 public:
+
60 IntelliImage(int width, int height, bool fastRendererOn);
+
61 
+
62 
+
66 virtual ~IntelliImage() = 0;
+
67 
+
68 
+
74 virtual void drawPixel(const QPoint &p1, const QColor& color);
+
75 
+
83 virtual void drawLine(const QPoint &p1, const QPoint& p2, const QColor& color, const int& penWidth);
+
84 
+
91 virtual void drawPoint(const QPoint &p1, const QColor& color, const int& penWidth);
+
92 
+
97 virtual void drawPlain(const QColor& color);
+
98 
+
105 virtual QImage getDisplayable(const QSize& displaySize, int alpha) = 0;
+
106 
+
112 virtual QImage getDisplayable(int alpha = 255) = 0;
+
113 
+
118 virtual IntelliImage* getDeepCopy() = 0;
+
119 
+
123 virtual void calculateVisiblity() = 0;
+
124 
+
129 virtual void setPolygon(const std::vector<QPoint>& polygonData) = 0;
+
130 
+
135 virtual std::vector<QPoint> getPolygonData(){
+
136  return std::vector<QPoint>();
+
137 }
+
138 
+ +
140  return TypeOfImage;
+
141 }
+
142 
+
148 virtual bool loadImage(const QString &filePath);
+
149 
+
155 virtual QColor getPixelColor(QPoint& point);
+
156 
+
161 virtual void updateRendererSetting(bool fastRendererOn);
+
162 
+
166 virtual QImage getImageData();
+
167 
+
172 virtual void setImageData(const QImage& newData);
+
173 
+
178 virtual int getWidth() const;
+
179 
+
184 virtual int getHeight() const;
+
185 
+
190 virtual bool isFastRendering() const;
+
191 
+
192 };
+
193 
+
194 #endif
+
+
+ +
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:22
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+
virtual ~IntelliImage()=0
An Abstract Destructor.
+ +
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
+
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
+
virtual bool isFastRendering() const
isFastRendering returns if the Image is in fast rendering mode.
+
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:139
+
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:135
+
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
void resizeImage(QImage *image, const QSize &newSize)
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+ +
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
+
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
virtual int getHeight() const
getHeight returns the height of the Image.
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+ +
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
virtual IntelliImage * getDeepCopy()=0
A function that copys all that returns a [allocated] Image.
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+ +
virtual int getWidth() const
getWidth returns the width of the Image.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
+ + + + diff --git a/docs-src/html/_intelli_input_dialog_8cpp.html b/docs-src/html/_intelli_input_dialog_8cpp.html new file mode 100644 index 0000000..4ce2fb6 --- /dev/null +++ b/docs-src/html/_intelli_input_dialog_8cpp.html @@ -0,0 +1,104 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliInputDialog.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliInputDialog.cpp File Reference
+
+ +
+ + + + diff --git a/docs-src/html/_intelli_input_dialog_8cpp_source.html b/docs-src/html/_intelli_input_dialog_8cpp_source.html new file mode 100644 index 0000000..a2d0a2d --- /dev/null +++ b/docs-src/html/_intelli_input_dialog_8cpp_source.html @@ -0,0 +1,191 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliInputDialog.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliInputDialog.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliInputDialog.h"
+
2 
+
3 IntelliInputDialog::IntelliInputDialog(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok)
+
4 {
+
5  this->valueInt = value;
+
6  this->notClosed = ok;
+
7  if(notClosed != nullptr) {
+
8  *notClosed = false;
+
9  }
+
10  createInputBox(Title, Label, value, minValue, maxValue, step);
+
11  createConnections();
+
12  setInputBoxStyle();
+
13  this->exec();
+
14 }
+
15 
+
16 int IntelliInputDialog::getInt(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok){
+
17  IntelliInputDialog dialog(Title, Label, value, minValue, maxValue, step, ok);
+
18  return dialog.valueInt;
+
19 }
+
20 
+
21 void IntelliInputDialog::createInputBox(QString Title, QString Label, int value, int minValue, int maxValue, int step){
+
22  this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
+
23  if(Title == nullptr) {
+
24  this->setWindowTitle("Input Box");
+
25  }
+
26  else{
+
27  this->setWindowTitle(Title);
+
28  }
+
29  this->Layout = new QGridLayout();
+
30  this->ButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
+
31 
+
32  this->InputLabel = new QLabel();
+
33  if(Label == nullptr) {
+
34  this->InputLabel->setText("Width:");
+
35  }
+
36  else{
+
37  this->InputLabel->setText(Label);
+
38  }
+
39  this->InputLabel->setFixedSize(Linesize);
+
40 
+
41  this->Input = new QSpinBox();
+
42  this->Input->setFixedSize(Linesize);
+
43  this->Input->setRange(minValue,maxValue);
+
44  this->Input->setSingleStep(step);
+
45  this->Input->setValue(value);
+
46 
+
47  this->okButton = ButtonBox->button(QDialogButtonBox::Ok);
+
48  this->okButton->setFixedSize(Buttonsize);
+
49  this->okButton->setAutoDefault(false);
+
50  this->okButton->setDefault(false);
+
51 
+
52  this->cancelButton = ButtonBox->button(QDialogButtonBox::Cancel);
+
53  this->cancelButton->setFixedSize(Buttonsize);
+
54  this->cancelButton->setAutoDefault(false);
+
55  this->cancelButton->setDefault(false);
+
56 
+
57  Layout->addWidget(InputLabel,1,1,1,1);
+
58  Layout->addWidget(Input,2,1,1,1);
+
59  Layout->addWidget(ButtonBox,3,1,1,1);
+
60  this->setLayout(Layout);
+
61  this->resize(172,94);
+
62  this->show();
+
63 }
+
64 
+
65 void IntelliInputDialog::createConnections(){
+
66  connect(okButton, SIGNAL(clicked()), this, SLOT(slotEingabe()));
+
67  connect(cancelButton, SIGNAL(clicked()), this, SLOT(slotCloseEvent()));
+
68 }
+
69 
+
70 void IntelliInputDialog::setInputBoxStyle(){
+
71  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
+
72 }
+
73 
+ +
75  this->close();
+
76 }
+
77 
+ +
79  valueInt = QString("%1").arg(Input->value()).toInt();
+
80  if(notClosed != nullptr) {
+
81  *notClosed = true;
+
82  }
+
83  this->close();
+
84 }
+
+
+
void slotCloseEvent()
slotCloseEvent is a slot for catching the close Event.
+ +
The IntelliInputDialog class is a customized Input Dialog to get Integers.
+
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
IntelliInputDialog is the baisc constructor to for the InputDialog.
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.
+
void slotEingabe()
slotEingabe is a slot for catching the Input Event.
+ + + + diff --git a/docs-src/html/_intelli_input_dialog_8h.html b/docs-src/html/_intelli_input_dialog_8h.html new file mode 100644 index 0000000..4641e20 --- /dev/null +++ b/docs-src/html/_intelli_input_dialog_8h.html @@ -0,0 +1,119 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliInputDialog.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliInputDialog.h File Reference
+
+
+
#include <QSize>
+#include <QDialog>
+#include <QLabel>
+#include <QGridLayout>
+#include <QDialogButtonBox>
+#include <QPushButton>
+#include <QSpinBox>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliInputDialog
 The IntelliInputDialog class is a customized Input Dialog to get Integers. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_input_dialog_8h_source.html b/docs-src/html/_intelli_input_dialog_8h_source.html new file mode 100644 index 0000000..157061d --- /dev/null +++ b/docs-src/html/_intelli_input_dialog_8h_source.html @@ -0,0 +1,159 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliInputDialog.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliInputDialog.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLIINPUTDIALOG_H
+
2 #define INTELLIINPUTDIALOG_H
+
3 
+
4 #include <QSize>
+
5 #include <QDialog>
+
6 #include <QLabel>
+
7 #include <QGridLayout>
+
8 #include <QDialogButtonBox>
+
9 #include <QPushButton>
+
10 #include <QSpinBox>
+
11 
+
15 class IntelliInputDialog : public QDialog
+
16 {
+
17 Q_OBJECT
+
18 public:
+
29 IntelliInputDialog(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
30 
+
42 static int getInt(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
43 
+
44 public slots:
+
48 void slotCloseEvent();
+
49 
+
53 void slotEingabe();
+
54 
+
55 private:
+
65 void createInputBox(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1);
+
66 
+
70 void createConnections();
+
71 
+
75 void setInputBoxStyle();
+
76 
+
80 int valueInt;
+
81 
+
85 QGridLayout* Layout;
+
86 
+
90 QDialogButtonBox* ButtonBox;
+
91 
+
95 bool* notClosed;
+
96 
+
100 const QSize Linesize = QSize(150,20);
+
101 
+
105 const QSize Buttonsize = QSize(72,20);
+
106 
+
110 QLabel* InputLabel;
+
111 
+
115 QSpinBox* Input;
+
116 
+
120 QPushButton* okButton;
+
121 
+
125 QPushButton* cancelButton;
+
126 };
+
127 
+
128 #endif // INTELLIINPUTDIALOG_H
+
+
+
void slotCloseEvent()
slotCloseEvent is a slot for catching the close Event.
+
The IntelliInputDialog class is a customized Input Dialog to get Integers.
+
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
IntelliInputDialog is the baisc constructor to for the InputDialog.
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.
+
void slotEingabe()
slotEingabe is a slot for catching the Input Event.
+ + + + diff --git a/docs-src/html/_intelli_photo_gui_8cpp.html b/docs-src/html/_intelli_photo_gui_8cpp.html new file mode 100644 index 0000000..aaa354d --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8cpp.html @@ -0,0 +1,111 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliPhotoGui.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliPhotoGui.cpp File Reference
+
+
+
#include "IntelliPhotoGui.h"
+#include "Layer/PaintingArea.h"
+#include <QEvent>
+#include <QCloseEvent>
+#include <QDebug>
+#include <string>
+#include <QScreen>
+#include <QGuiApplication>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_photo_gui_8cpp.js b/docs-src/html/_intelli_photo_gui_8cpp.js new file mode 100644 index 0000000..ebdbfbd --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8cpp.js @@ -0,0 +1,5 @@ +var _intelli_photo_gui_8cpp = +[ + [ "slotCreateFloodFillTool", "_intelli_photo_gui_8cpp.html#ac2f8320173dfaf943bb39e39cb1a23e5", null ], + [ "slotCreatePenTool", "_intelli_photo_gui_8cpp.html#a30169da42b55e0339af0d28dfc8ccd40", null ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_photo_gui_8cpp__incl.dot b/docs-src/html/_intelli_photo_gui_8cpp__incl.dot new file mode 100644 index 0000000..8c50d72 --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8cpp__incl.dot @@ -0,0 +1,74 @@ +digraph "intelliphoto/src/GUI/IntelliPhotoGui.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node17 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node17 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node17 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node20 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node12 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node22 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node23 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="Tool/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node24 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node25 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node24 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node24 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_photo_gui_8cpp_source.html b/docs-src/html/_intelli_photo_gui_8cpp_source.html new file mode 100644 index 0000000..79a41e6 --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8cpp_source.html @@ -0,0 +1,1115 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliPhotoGui.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliPhotoGui.cpp
+
+
+Go to the documentation of this file.
1 // ---------- IntelliPhotoGui.cpp ----------
+
2 
+
3 #include "IntelliPhotoGui.h"
+
4 #include "Layer/PaintingArea.h"
+
5 
+
6 #include <QEvent>
+
7 #include <QCloseEvent>
+
8 #include <QDebug>
+
9 #include <string>
+
10 #include <QScreen>
+
11 #include <QGuiApplication>
+
12 
+
13 // IntelliPhotoGui constructor
+ +
15  // create Gui elements and lay them out
+
16  createGui();
+
17  // Create actions
+
18  createActions();
+
19  // create Menus
+
20  createMenus();
+
21  // set style of the gui
+
22  setIntelliStyle();
+
23  // Size the app
+
24  resize(600,600);
+
25  showMaximized();
+
26  setDefaultValues();
+
27 }
+
28 
+
29 // User tried to close the app
+
30 void IntelliPhotoGui::closeEvent(QCloseEvent*event){
+
31  // If they try to close maybeSave() returns true
+
32  // if no changes have been made and the app closes
+
33  if (maybeSave()) {
+
34  event->accept();
+
35  } else {
+
36  // If there have been changes ignore the event
+
37  event->ignore();
+
38  }
+
39 }
+
40 
+
41 // Check if the current image has been changed and then
+
42 // open a dialog to open a file
+
43 void IntelliPhotoGui::slotOpen(){
+
44  // Check if changes have been made since last save
+
45  // maybeSave() returns true if no changes have been made
+
46  if (maybeSave()) {
+
47 
+
48  // Get the file to open from a dialog
+
49  // tr sets the window title to Open File
+
50  // QDir opens the current dirctory
+
51  QString fileName = QFileDialog::getOpenFileName(this,
+
52  tr("Open File"), QDir::currentPath(), nullptr, nullptr, QFileDialog::DontUseNativeDialog);
+
53 
+
54  // If we have a file name load the image and place
+
55  // it in the paintingArea
+
56  if (!fileName.isEmpty()) {
+
57  bool rightFileType = true;
+
58  if(fileName.size()>=4) {
+
59  QString endung(".idf");
+
60  int length = fileName.size();
+
61  for(int i = 0; i<4; i++) {
+
62  if(endung[i]!=fileName[length - 4 + i]) {
+
63  rightFileType = false;
+
64  break;
+
65  }
+
66  }
+
67  }
+
68 
+
69  if(rightFileType) {
+
70  IntelliDatamanager::loadProject(paintingArea,fileName);
+
71  UpdateGui();
+
72 
+
73  }
+
74  else{
+
75  paintingArea->open(fileName);
+
76  }
+
77  }
+
78  }
+
79 }
+
80 
+
81 // Called when the user clicks Save As in the menu
+
82 void IntelliPhotoGui::slotSave(){
+
83  // A QAction represents the action of the user clicking
+
84  QAction*action = qobject_cast<QAction*>(sender());
+
85 
+
86  // Stores the array of bytes of the users data
+
87  QByteArray fileFormat = action->data().toByteArray();
+
88 
+
89  // Pass it to be saved
+
90  saveFile(fileFormat);
+
91 }
+
92 
+
93 // Opens a dialog that allows the user to create a New RASTER Layer
+
94 void IntelliPhotoGui::slotCreateNewRasterLayer(){
+
95  // Stores button value
+
96  bool ok1, ok2;
+
97 
+
98  // "New Layer" is the title of the window
+
99  // the next tr is the text to display
+
100  // Define the standard Value, min, max, step and ok button
+
101  int width = IntelliInputDialog::getInt("New Raster Layer", "Width:", 200, 1, paintingArea->getMaxWidth(), 1, &ok1);
+
102 
+
103  int height = IntelliInputDialog::getInt("New Raster Layer", "Height:", 200, 1, paintingArea->getMaxHeight(), 1, &ok2);
+
104 
+
105  // Create New Layer
+
106  if (ok1&&ok2) {
+
107  paintingArea->addLayer(width,height,0,0,255,ImageType::RASTERIMAGE);
+
108  paintingArea->historyadd();
+
109  UpdateGui();
+
110  }
+
111 }
+
112 
+
113 // Opens a dialog that allows the user to create a New SHAPED Layer
+
114 void IntelliPhotoGui::slotCreateNewShapedLayer(){
+
115  // Stores button value
+
116  bool ok1, ok2;
+
117 
+
118  // "New Layer" is the title of the window
+
119  // the next tr is the text to display
+
120  // Define the standard Value, min, max, step and ok button
+
121  int width = IntelliInputDialog::getInt("New Shaped Layer", "Width:", 200, 1, paintingArea->getMaxWidth(), 1, &ok1);
+
122 
+
123  int height = IntelliInputDialog::getInt("New Shaped Layer", "Height:", 200, 1, paintingArea->getMaxHeight(), 1, &ok2);
+
124 
+
125  // Create New Layer
+
126  if (ok1&&ok2) {
+
127  paintingArea->addLayer(width, height, 0, 0,255, ImageType::SHAPEDIMAGE);
+
128  paintingArea->historyadd();
+
129  UpdateGui();
+
130  }
+
131 }
+
132 
+
133 // Opens a dialog that allows the user to change Dimension
+
134 void IntelliPhotoGui::slotChangeDim(){
+
135  // Stores button value
+
136  bool ok1, ok2;
+
137 
+
138  // "change Dimension" is the title of the window
+
139  // the next tr is the text to display
+
140  // Define the standard Value, min, step and ok button
+
141  int width = IntelliInputDialog::getInt("New Canvas Size", "Width:", 600, 1, 50000, 1, &ok1);
+
142 
+
143  int height = IntelliInputDialog::getInt("New Canvas Size", "Height:", 600, 1, 50000, 1, &ok2);
+
144 
+
145 
+
146  // Change dimension
+
147  if (ok1&&ok2) {
+
148  paintingArea->setCanvasDimensions(width,height);
+
149  UpdateGui();
+
150  }
+
151 }
+
152 
+
153 // Opens a dialog that allows the user to delete a Layer
+
154 void IntelliPhotoGui::slotDeleteLayer(){
+
155 
+
156  bool ok1;
+
157  // "delete Layer" is the title of the window
+
158  // the next tr is the text to display
+
159  // Define the standard Value, min, max, step and ok button
+
160  int layerNumber = IntelliInputDialog::getInt("Delete Layer", "Number:", paintingArea->getIndexOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
161 
+
162  // Create New Layer
+
163  if(ok1) {
+
164  paintingArea->deleteLayer(layerNumber - 1);
+
165  paintingArea->historyadd();
+
166  UpdateGui();
+
167  }
+
168 }
+
169 
+
170 void IntelliPhotoGui::slotSetActiveAlpha(){
+
171 
+
172  bool ok1, ok2;
+
173  // "Layer to set on" is the title of the window
+
174  // the next tr is the text to display
+
175  // Define the standard Value, min, max, step and ok button
+
176 
+
177  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", paintingArea->getIndexOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
178 
+
179  // "New Alpha" is the title of the window
+
180  int alpha = IntelliInputDialog::getInt("Layer to set on", "Alpha:", 255, 0, 255, 1, &ok2);
+
181 
+
182  if (ok1&&ok2)
+
183  {
+
184  paintingArea->setLayerAlpha(layer - 1,alpha);
+
185  UpdateGui();
+
186  }
+
187 }
+
188 
+
189 void IntelliPhotoGui::slotSetPolygon(){
+
190  // Stores button value
+
191  bool ok1;
+
192 
+
193  // "Layer to set on" is the title of the window
+
194  // the next tr is the text to display
+
195  // Define the standard Value, min, max, step and ok button
+
196  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", paintingArea->getIndexOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
197 
+
198  if (ok1)
+
199  {
+
200  paintingArea->setPolygon(layer - 1);
+
201  UpdateGui();
+
202  }
+
203 }
+
204 
+
205 void IntelliPhotoGui::slotPositionMoveUp(){
+
206  paintingArea->movePositionActive(0,-20);
+
207  update();
+
208 }
+
209 
+
210 void IntelliPhotoGui::slotPositionMoveDown(){
+
211  paintingArea->movePositionActive(0,20);
+
212  update();
+
213 }
+
214 
+
215 void IntelliPhotoGui::slotPositionMoveLeft(){
+
216  paintingArea->movePositionActive(-20,0);
+
217  update();
+
218 }
+
219 
+
220 void IntelliPhotoGui::slotPositionMoveRight(){
+
221  paintingArea->movePositionActive(20,0);
+
222  update();
+
223 }
+
224 
+
225 void IntelliPhotoGui::slotMoveLayerUp(){
+
226  paintingArea->moveActiveLayer(1);
+
227  update();
+
228 }
+
229 
+
230 void IntelliPhotoGui::slotMoveLayerDown(){
+
231  paintingArea->moveActiveLayer(-1);
+
232  update();
+
233 }
+
234 
+
235 void IntelliPhotoGui::slotSetActiveLayer(){
+
236  bool ok1;
+
237  // "Layer to set on" is the title of the window
+
238  // the next tr is the text to display
+
239  // Define the standard Value, min, max, step and ok button
+
240  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
241 
+
242  if(ok1) {
+
243  paintingArea->setLayerActive(layer - 1);
+
244  UpdateGui();
+
245  }
+
246 }
+
247 
+
248 void IntelliPhotoGui::slotUpdateFastRenderSettingsOn(){
+
249  paintingArea->setRenderSettings(true);
+
250  FastRendererLabel->setText("Fast Render: On");
+
251  UpdateGui();
+
252 }
+
253 
+
254 void IntelliPhotoGui::slotUpdateFastRenderSettingsOff(){
+
255  paintingArea->setRenderSettings(false);
+
256  FastRendererLabel->setText("Fast Render: Off");
+
257  UpdateGui();
+
258 }
+
259 
+
260 void IntelliPhotoGui::slotSetFirstColor(){
+
261  paintingArea->colorPickerSetFirstColor();
+
262  UpdateGui();
+
263 }
+
264 
+
265 void IntelliPhotoGui::slotSetSecondColor(){
+
266  paintingArea->colorPickerSetSecondColor();
+
267  UpdateGui();
+
268 }
+
269 
+
270 void IntelliPhotoGui::slotSwapColor(){
+
271  paintingArea->colorPickerSwapColors();
+
272  UpdateGui();
+
273 }
+
274 
+
275 void IntelliPhotoGui::slotCreatePenTool(){
+
276  PenButton->setChecked(true);
+
277  paintingArea->createPenTool();
+
278 }
+
279 
+
280 void IntelliPhotoGui::slotCreatePlainTool(){
+
281  PlainButton->setChecked(true);
+
282  paintingArea->createPlainTool();
+
283 }
+
284 
+
285 void IntelliPhotoGui::slotCreateLineTool(){
+
286  LineButton->setChecked(true);
+
287  paintingArea->createLineTool();
+
288 }
+
289 
+
290 void IntelliPhotoGui::slotCreateRectangleTool(){
+
291  RectangleButton->setChecked(true);
+
292  paintingArea->createRectangleTool();
+
293 }
+
294 
+
295 void IntelliPhotoGui::slotCreateCircleTool(){
+
296  CircleButton->setChecked(true);
+
297  paintingArea->createCircleTool();
+
298 }
+
299 
+
300 void IntelliPhotoGui::slotCreatePolygonTool(){
+
301  PolygonButton->setChecked(true);
+
302  paintingArea->createPolygonTool();
+
303 }
+
304 
+
305 void IntelliPhotoGui::slotCreateFloodFillTool(){
+
306  FloodFillButton->setChecked(true);
+
307  paintingArea->createFloodFillTool();
+
308 }
+
309 
+
310 void IntelliPhotoGui::slotCreateGradientTool(){
+
311  GradientButton->setChecked(true);
+
312  paintingArea->createGradientTool();
+
313 }
+
314 
+
315 // Open an about dialog
+
316 void IntelliPhotoGui::slotAboutDialog(){
+
317  // Window title and text to display
+
318  QMessageBox::about(this, tr("About Us"),
+
319  tr("<h1>About IntelliPhoto</h1><p>Version: v1.0<br>Developed by: Team 7<br>Interactive painting tool with layering and drawing capabilities.</p>"));
+
320 }
+
321 
+
322 void IntelliPhotoGui::slotEnterPressed(){
+
323  QString string = EditLineWidth->text();
+
324  if(string.toInt() > 50) {
+
325  EditLineWidth->setText("50");
+
326  }
+
327  paintingArea->Toolsettings.setLineWidth(string.toInt());
+
328  string = EditLineInnerAlpha->text();
+
329  if(string.toInt() > 255) {
+
330  EditLineInnerAlpha->setText("255");
+
331  }
+
332  paintingArea->Toolsettings.setInnerAlpha(string.toInt());
+
333 }
+
334 
+
335 void IntelliPhotoGui::slotResetToolButtons(){
+
336  CircleButton->setChecked(false);
+
337  FloodFillButton->setChecked(false);
+
338  GradientButton->setChecked(false);
+
339  LineButton->setChecked(false);
+
340  PenButton->setChecked(false);
+
341  PlainButton->setChecked(false);
+
342  PolygonButton->setChecked(false);
+
343  RectangleButton->setChecked(false);
+
344 }
+
345 
+
346 void IntelliPhotoGui::slotSetWidth(){
+
347  bool ok1;
+
348  int temp = IntelliInputDialog::getInt("Toolsettings", "Width:", 5, 1, 50, 1, &ok1);
+
349  if(ok1) {
+
350  paintingArea->Toolsettings.setLineWidth(temp);
+
351  EditLineWidth->setText(QString("%1").arg(temp));
+
352  }
+
353 }
+
354 
+
355 void IntelliPhotoGui::slotSetInnerAlpha(){
+
356  bool ok1;
+
357  int temp = IntelliInputDialog::getInt("Toolsettings", "Alpha:", 5, 1, 50, 1, &ok1);
+
358  if(ok1) {
+
359  paintingArea->Toolsettings.setInnerAlpha(temp);
+
360  EditLineInnerAlpha->setText(QString("%1").arg(temp));
+
361  }
+
362 }
+
363 
+
364 void IntelliPhotoGui::slotGoBack(){
+
365  paintingArea->historyGoBack();
+
366 }
+
367 
+
368 void IntelliPhotoGui::slotGoForward(){
+
369  paintingArea->historyGoForward();
+
370 }
+
371 
+
372 // Define menu actions that call functions
+
373 void IntelliPhotoGui::createActions(){
+
374  // Get a list of the supported file formats
+
375  // QImageWriter is used to write images to files
+
376  foreach (QByteArray format, QImageWriter::supportedImageFormats()) {
+
377  QString text = tr("%1...").arg(QString(format).toUpper());
+
378 
+
379  // Create an action for each file format
+
380  QAction*action = new QAction(text, this);
+
381 
+
382  // Set an action for each file format
+
383  action->setData(format);
+
384 
+
385  // When clicked call IntelliPhotoGui::save()
+
386  connect(action, SIGNAL(triggered()), this, SLOT(slotSave()));
+
387 
+
388  // Attach each file format option menu item to Save As
+
389  actionSaveAs.append(action);
+
390  }
+
391 
+
392  // Set exporter to actions
+
393  QAction*pngSaveAction = new QAction("PNG-8...", this);
+
394  pngSaveAction->setData("PNG");
+
395  // When clicked call IntelliPhotoGui::save()
+
396  connect(pngSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
+
397  // Attach each PNG in save Menu
+
398  actionSaveAs.append(pngSaveAction);
+
399  pngSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));
+
400 
+
401  // Create exit action and tie to IntelliPhotoGui::close()
+
402  actionExit = new QAction(tr("&Exit"), this);
+
403  actionExit->setShortcuts(QKeySequence::Quit);
+
404  connect(actionExit, SIGNAL(triggered()), this, SLOT(close()));
+
405 
+
406  actionOpen = new QAction(tr("&Open"), this);
+
407  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));
+
408  connect(actionOpen, SIGNAL(triggered()), this, SLOT(slotOpen()));
+
409 
+
410  // Create New RASTER Layer action and tie to IntelliPhotoGui::newLayer()
+
411  actionCreateNewRasterLayer = new QAction(tr("&Raster Image"), this);
+
412  actionCreateNewRasterLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));
+
413  connect(actionCreateNewRasterLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewRasterLayer()));
+
414 
+
415 
+
416  // Create New SHAPED Layer action and tie to IntelliPhotoGui::newLayer()
+
417  actionCreateNewShapedLayer = new QAction(tr("&Shaped Image"), this);
+
418  actionCreateNewShapedLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N + Qt::ALT));
+
419  connect(actionCreateNewShapedLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewShapedLayer()));
+
420 
+
421  // Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()
+
422  actionDeleteLayer = new QAction(tr("&Delete Layer"), this);
+
423  actionDeleteLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_D));
+
424  connect(actionDeleteLayer, SIGNAL(triggered()), this, SLOT(slotDeleteLayer()));
+
425 
+
426  actionChangeDim = new QAction(tr("&Change Dimension"), this);
+
427  actionChangeDim->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_X));
+
428  connect(actionChangeDim, SIGNAL(triggered()), this, SLOT(slotChangeDim()));
+
429  connect(dimCanvas, SIGNAL(clicked()), this, SLOT(slotChangeDim()));
+
430 
+
431  actionSetActiveLayer = new QAction(tr("&Set Active"), this);
+
432  actionSetActiveLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_A));
+
433  connect(actionSetActiveLayer, SIGNAL(triggered()), this, SLOT(slotSetActiveLayer()));
+
434 
+
435  actionSetActiveAlpha = new QAction(tr("&Set Alpha"), this);
+
436  actionSetActiveAlpha->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_A));
+
437  connect(actionSetActiveAlpha, SIGNAL(triggered()), this, SLOT(slotSetActiveAlpha()));
+
438 
+
439  actionSetPolygon = new QAction(tr("&Set Polygon Data"), this);
+
440  actionSetPolygon->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_P));
+
441  connect(actionSetPolygon, SIGNAL(triggered()), this, SLOT(slotSetPolygon()));
+
442 
+
443  actionMovePositionUp = new QAction(tr("&Move Up"), this);
+
444  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));
+
445  connect(actionMovePositionUp, SIGNAL(triggered()), this, SLOT(slotPositionMoveUp()));
+
446 
+
447  actionMovePositionDown = new QAction(tr("&Move Down"), this);
+
448  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));
+
449  connect(actionMovePositionDown, SIGNAL(triggered()), this, SLOT(slotPositionMoveDown()));
+
450 
+
451  actionMovePositionLeft = new QAction(tr("&Move Left"), this);
+
452  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));
+
453  connect(actionMovePositionLeft, SIGNAL(triggered()), this, SLOT(slotPositionMoveLeft()));
+
454 
+
455  actionMovePositionRight = new QAction(tr("&Move Right"), this);
+
456  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));
+
457  connect(actionMovePositionRight, SIGNAL(triggered()), this, SLOT(slotPositionMoveRight()));
+
458 
+
459  actionMoveLayerUp = new QAction(tr("&Move Forth"), this);
+
460  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));
+
461  connect(actionMoveLayerUp, SIGNAL(triggered()), this, SLOT(slotMoveLayerUp()));
+
462 
+
463  actionMoveLayerDown = new QAction(tr("&Move Back"), this);
+
464  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));
+
465  connect(actionMoveLayerDown, SIGNAL(triggered()), this, SLOT(slotMoveLayerDown()));
+
466 
+
467  // Create Update RenderSettings Actions here
+
468  actionUpdateFastRenderSettingsOn = new QAction(tr("&On"), this);
+
469  actionUpdateFastRenderSettingsOn->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_A));
+
470  connect(actionUpdateFastRenderSettingsOn, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOn()));
+
471 
+
472  actionUpdateFastRenderSettingsOff = new QAction(tr("&Off"), this);
+
473  actionUpdateFastRenderSettingsOff->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_D));
+
474  connect(actionUpdateFastRenderSettingsOff, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOff()));
+
475 
+
476  // Create Color Actions here
+
477  actionColorPickerFirstColor = new QAction(tr("&Main"), this);
+
478  actionColorPickerFirstColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_N));
+
479  connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
+
480  connect(FirstColorButton, SIGNAL(clicked()), this, SLOT(slotSetFirstColor()));
+
481 
+
482  actionColorPickerSecondColor = new QAction(tr("&Secondary"), this);
+
483  actionColorPickerSecondColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_M));
+
484  connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetSecondColor()));
+
485  connect(SecondColorButton, SIGNAL(clicked()), this, SLOT(slotSetSecondColor()));
+
486 
+
487  actionColorSwap = new QAction(tr("&Switch"), this);
+
488  actionColorSwap->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_S));
+
489  connect(actionColorSwap, SIGNAL(triggered()), this, SLOT(slotSwapColor()));
+
490  connect(SwitchColorButton, SIGNAL(clicked()), this, SLOT(slotSwapColor()));
+
491 
+
492  // Create Tool actions down here
+
493  actionCreatePlainTool = new QAction(tr("&Plain"), this);
+
494  actionCreatePlainTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_P));
+
495  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
496  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotCreatePlainTool()));
+
497 
+
498 
+
499  actionCreatePenTool = new QAction(tr("&Pen"),this);
+
500  actionCreatePenTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_S));
+
501  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
502  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotCreatePenTool()));
+
503 
+
504  actionCreateLineTool = new QAction(tr("&Line"), this);
+
505  actionCreateLineTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_L));
+
506  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
507  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotCreateLineTool()));
+
508 
+
509  actionCreateCircleTool = new QAction(tr("&Circle"), this);
+
510  actionCreateCircleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_C));
+
511  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
512  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotCreateCircleTool()));
+
513 
+
514  actionCreateRectangleTool = new QAction(tr("&Rectangle"), this);
+
515  actionCreateRectangleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_R));
+
516  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
517  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotCreateRectangleTool()));
+
518 
+
519  actionCreatePolygonTool = new QAction(tr("&Polygon"), this);
+
520  actionCreatePolygonTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_V));
+
521  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
522  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotCreatePolygonTool()));
+
523 
+
524  actionCreateFloodFillTool = new QAction(tr("&FloodFill"), this);
+
525  actionCreateFloodFillTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_F));
+
526  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
527  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotCreateFloodFillTool()));
+
528 
+
529  actionCreateGradientTool = new QAction(tr("&Gradient"),this);
+
530  actionCreateGradientTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_G));
+
531  connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
532  connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotCreateGradientTool()));
+
533 
+
534  // Create about action and tie to IntelliPhotoGui::about()
+
535  actionAboutDialog = new QAction(tr("&About"), this);
+
536  connect(actionAboutDialog, SIGNAL(triggered()), this, SLOT(slotAboutDialog()));
+
537 
+
538  // Create about Qt action and tie to IntelliPhotoGui::aboutQt()
+
539  actionAboutQtDialog = new QAction(tr("About &Qt"), this);
+
540  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
+
541 
+
542  connect(EditLineWidth, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed()));
+
543  connect(EditLineInnerAlpha, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed()));
+
544 
+
545  connect(CircleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
546  connect(CircleButton, SIGNAL(clicked()), this, SLOT(slotCreateCircleTool()));
+
547 
+
548  connect(FloodFillButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
549  connect(FloodFillButton, SIGNAL(clicked()), this, SLOT(slotCreateFloodFillTool()));
+
550 
+
551  connect(GradientButton, SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
552  connect(GradientButton, SIGNAL(clicked()), this, SLOT(slotCreateGradientTool()));
+
553 
+
554  connect(LineButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
555  connect(LineButton, SIGNAL(clicked()), this, SLOT(slotCreateLineTool()));
+
556 
+
557  connect(PenButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
558  connect(PenButton, SIGNAL(clicked()), this, SLOT(slotCreatePenTool()));
+
559 
+
560  connect(PlainButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
561  connect(PlainButton, SIGNAL(clicked()), this, SLOT(slotCreatePlainTool()));
+
562 
+
563  connect(PolygonButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
564  connect(PolygonButton, SIGNAL(clicked()), this, SLOT(slotCreatePolygonTool()));
+
565 
+
566  connect(RectangleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
567  connect(RectangleButton, SIGNAL(clicked()), this, SLOT(slotCreateRectangleTool()));
+
568 
+
569  actionSetWidth = new QAction(tr("&Set Width"),this);
+
570  actionSetWidth->setShortcut(QKeySequence(Qt::ALT + Qt::Key_W));
+
571  connect(actionSetWidth, SIGNAL(triggered()), this, SLOT(slotSetWidth()));
+
572 
+
573  actionSetInnerAlpha = new QAction(tr("&Set Inner Alpha"),this);
+
574  actionSetInnerAlpha->setShortcut(QKeySequence(Qt::ALT + Qt::Key_A));
+
575  connect(actionSetInnerAlpha, SIGNAL(triggered()), this, SLOT(slotSetInnerAlpha()));
+
576 
+
577  actionGoBack = new QAction(tr("&Undo"),this);
+
578  actionGoBack->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Z));
+
579  connect(actionGoBack, SIGNAL(triggered()), this, SLOT(slotGoBack()));
+
580 
+
581  actionGoForward = new QAction(tr("&Redo"),this);
+
582  actionGoForward->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Y));
+
583  connect(actionGoForward, SIGNAL(triggered()), this, SLOT(slotGoForward()));
+
584 }
+
585 
+
586 // Create the menubar
+
587 void IntelliPhotoGui::createMenus(){
+
588  // Create Save As option and the list of file types
+
589  saveAsMenu = new QMenu(tr("&Export As"), this);
+
590  foreach (QAction * action, actionSaveAs)
+
591  saveAsMenu->addAction(action);
+
592 
+
593  // Attach all actions to file menu
+
594  fileMenu = new QMenu(tr("&File"), this);
+
595  fileMenu->addAction(actionOpen);
+
596  fileMenu->addMenu(saveAsMenu);
+
597  fileMenu->addSeparator();
+
598  fileMenu->addAction(actionExit);
+
599 
+
600  // Attach the save project option to file menu
+
601  QAction*projectSaveAction = new QAction("Save Project", this);
+
602  projectSaveAction->setData("idf");
+
603  connect(projectSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
+
604  projectSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S));
+
605  fileMenu->addAction(projectSaveAction);
+
606 
+
607  // Attach all actions to Render Settings
+
608  renderMenu = new QMenu(tr("&Fast Renderer"), this);
+
609  renderMenu->addAction(actionUpdateFastRenderSettingsOn);
+
610  renderMenu->addAction(actionUpdateFastRenderSettingsOff);
+
611 
+
612  // Attach all Layer Creations to Menu
+
613  layerCreationMenu = new QMenu(tr("&Create Layer"), this);
+
614  layerCreationMenu->addAction(actionCreateNewRasterLayer);
+
615  layerCreationMenu->addAction(actionCreateNewShapedLayer);
+
616 
+
617  // Attach all actions to Layer
+
618  layerMenu = new QMenu(tr("&Layer"), this);
+
619  layerMenu->addMenu(layerCreationMenu);
+
620  layerMenu->addSeparator();
+
621  layerMenu->addAction(actionSetActiveAlpha);
+
622  layerMenu->addAction(actionSetActiveLayer);
+
623  layerMenu->addAction(actionSetPolygon);
+
624  layerMenu->addSeparator();
+
625  layerMenu->addAction(actionMovePositionUp);
+
626  layerMenu->addAction(actionMovePositionDown);
+
627  layerMenu->addAction(actionMovePositionLeft);
+
628  layerMenu->addAction(actionMovePositionRight);
+
629  layerMenu->addAction(actionMoveLayerUp);
+
630  layerMenu->addAction(actionMoveLayerDown);
+
631  layerMenu->addSeparator();
+
632  layerMenu->addAction(actionDeleteLayer);
+
633 
+
634  // Attach all Color Options
+
635  colorMenu = new QMenu(tr("&Color"), this);
+
636  colorMenu->addAction(actionColorPickerFirstColor);
+
637  colorMenu->addAction(actionColorPickerSecondColor);
+
638  colorMenu->addAction(actionColorSwap);
+
639 
+
640  // Attach all Tool Creation Actions
+
641  toolCreationMenu = new QMenu(tr("&Tool Selection"), this);
+
642  toolCreationMenu->addAction(actionCreateCircleTool);
+
643  toolCreationMenu->addAction(actionCreateFloodFillTool);
+
644  toolCreationMenu->addAction(actionCreateGradientTool);
+
645  toolCreationMenu->addAction(actionCreateLineTool);
+
646  toolCreationMenu->addAction(actionCreatePenTool);
+
647  toolCreationMenu->addAction(actionCreatePlainTool);
+
648  toolCreationMenu->addAction(actionCreatePolygonTool);
+
649  toolCreationMenu->addAction(actionCreateRectangleTool);
+
650 
+
651  // Attach all Tool Setting Actions
+
652  toolSettingsMenu = new QMenu(tr("&Tool Settings"), this);
+
653  toolSettingsMenu->addAction(actionSetWidth);
+
654  toolSettingsMenu->addAction(actionSetInnerAlpha);
+
655 
+
656  // Attach all Tool Options
+
657  toolMenu = new QMenu(tr("&Tools"), this);
+
658  toolMenu->addMenu(toolCreationMenu);
+
659  toolMenu->addMenu(toolSettingsMenu);
+
660 
+
661  // Attach all actions to Options
+
662  optionMenu = new QMenu(tr("&Options"), this);
+
663  optionMenu->addAction(actionGoBack);
+
664  optionMenu->addAction(actionGoForward);
+
665  optionMenu->addSeparator();
+
666  optionMenu->addMenu(renderMenu);
+
667  optionMenu->addAction(actionChangeDim);
+
668 
+
669  // Attach all actions to Help
+
670  helpMenu = new QMenu(tr("&Help"), this);
+
671  helpMenu->addAction(actionAboutDialog);
+
672  helpMenu->addAction(actionAboutQtDialog);
+
673 
+
674  // Add menu items to the menubar
+
675  menuBar()->addMenu(fileMenu);
+
676  menuBar()->addMenu(optionMenu);
+
677  menuBar()->addMenu(layerMenu);
+
678  menuBar()->addMenu(toolMenu);
+
679  menuBar()->addMenu(colorMenu);
+
680  menuBar()->addMenu(helpMenu);
+
681 }
+
682 
+
683 void IntelliPhotoGui::createGui(){
+
684  // create a central widget to work on
+
685  centralGuiWidget = new QWidget(this);
+
686  setCentralWidget(centralGuiWidget);
+
687 
+
688  // create the grid for the layout
+
689  mainLayout = new QGridLayout(centralGuiWidget);
+
690  centralGuiWidget->setLayout(mainLayout);
+
691 
+
692  // create Gui elements
+
693  // get and set max width and height
+
694  paintingArea = new PaintingArea(1280, 720);
+
695  paintingArea->guiReference = this;
+
696 
+
697  QScreen*screen = QGuiApplication::primaryScreen();
+
698  QRect screenGeometry = screen->geometry();
+
699  Buttonsize.setWidth(screenGeometry.width() / 20);
+
700  Buttonsize.setHeight(screenGeometry.height() / 20);
+
701 
+
702  preview = QPixmap(":/Icons/Buttons/icons/circle-tool.svg");
+
703  CircleButton = new QPushButton();
+
704  CircleButton->setFixedSize(Buttonsize);
+
705  CircleButton->setIcon(preview);
+
706  CircleButton->setIconSize(Buttonsize);
+
707  CircleButton->setCheckable(true);
+
708 
+
709  preview = QPixmap(":/Icons/Buttons/icons/flood-fill-tool.svg");
+
710  FloodFillButton = new QPushButton();
+
711  FloodFillButton->setFixedSize(Buttonsize);
+
712  FloodFillButton->setIcon(preview);
+
713  FloodFillButton->setIconSize(Buttonsize);
+
714  FloodFillButton->setCheckable(true);
+
715 
+
716  preview = QPixmap(":/Icons/Buttons/icons/gradient-tool.svg");
+
717  GradientButton = new QPushButton();
+
718  GradientButton->setFixedSize(Buttonsize);
+
719  GradientButton->setIcon(preview);
+
720  GradientButton->setIconSize(Buttonsize);
+
721  GradientButton->setCheckable(true);
+
722 
+
723  preview = QPixmap(":/Icons/Buttons/icons/line-tool.svg");
+
724  LineButton = new QPushButton();
+
725  LineButton->setFixedSize(Buttonsize);
+
726  LineButton->setIcon(preview);
+
727  LineButton->setIconSize(Buttonsize);
+
728  LineButton->setCheckable(true);
+
729 
+
730  preview = QPixmap(":/Icons/Buttons/icons/pen-tool.svg");
+
731  PenButton = new QPushButton();
+
732  PenButton->setFixedSize(Buttonsize);
+
733  PenButton->setIcon(preview);
+
734  PenButton->setIconSize(Buttonsize);
+
735  PenButton->setCheckable(true);
+
736 
+
737  preview = QPixmap(":/Icons/Buttons/icons/plain-tool.svg");
+
738  PlainButton = new QPushButton();
+
739  PlainButton->setFixedSize(Buttonsize);
+
740  PlainButton->setIcon(preview);
+
741  PlainButton->setIconSize(Buttonsize);
+
742  PlainButton->setCheckable(true);
+
743 
+
744  preview = QPixmap(":/Icons/Buttons/icons/polygon-tool.svg");
+
745  PolygonButton = new QPushButton();
+
746  PolygonButton->setFixedSize(Buttonsize);
+
747  PolygonButton->setIcon(preview);
+
748  PolygonButton->setIconSize(Buttonsize);
+
749  PolygonButton->setCheckable(true);
+
750 
+
751  preview = QPixmap(":/Icons/Buttons/icons/rectangle-tool.svg");
+
752  RectangleButton = new QPushButton();
+
753  RectangleButton->setFixedSize(Buttonsize);
+
754  RectangleButton->setIcon(preview);
+
755  RectangleButton->setIconSize(Buttonsize);
+
756  RectangleButton->setCheckable(true);
+
757 
+
758  WidthLine = new QLabel();
+
759  WidthLine->setText("Width");
+
760  WidthLine->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
761 
+
762  EditLineWidth = new QLineEdit();
+
763  EditLineWidth->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
764  EditLineWidth->setText("5");
+
765  ValidatorLineWidth = new QIntValidator();
+
766  ValidatorLineWidth->setTop(99);
+
767  ValidatorLineWidth->setBottom(1);
+
768  EditLineWidth->setValidator(ValidatorLineWidth);
+
769 
+
770  innerAlphaLine = new QLabel();
+
771  innerAlphaLine->setText("Inner Alpha");
+
772  innerAlphaLine->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
773 
+
774  EditLineInnerAlpha = new QLineEdit();
+
775  EditLineInnerAlpha->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
776  EditLineInnerAlpha->setText("255");
+
777  ValidatorInnerAlpha = new QIntValidator();
+
778  ValidatorInnerAlpha->setTop(999);
+
779  ValidatorInnerAlpha->setBottom(0);
+
780  EditLineInnerAlpha->setValidator(ValidatorInnerAlpha);
+
781 
+
782  FirstColorButton = new QPushButton();
+
783  FirstColorButton->setFixedSize(Buttonsize);
+
784 
+
785  SecondColorButton = new QPushButton();
+
786  SecondColorButton->setFixedSize(Buttonsize);
+
787 
+
788  preview = QPixmap(":/Icons/Buttons/icons/Wechselpfeile.png");
+
789  SwitchColorButton = new QPushButton();
+
790  SwitchColorButton->setFixedSize(Buttonsize.width() * 2,Buttonsize.height());
+
791  SwitchColorButton->setIcon(preview);
+
792  SwitchColorButton->setIconSize(QSize(Buttonsize.width() * 2,Buttonsize.height()));
+
793 
+
794  ActiveLayerLabel = new QLabel();
+
795  QString string = QString("Active Layer: %1").arg(paintingArea->getIndexOfActiveLayer() + 1);
+
796  ActiveLayerLabel->setText(string);
+
797  ActiveLayerLabel->setFixedSize(Buttonsize.width() * 2 + 10,(Buttonsize.height() * 2) / 3);
+
798 
+
799  IntelliImage* activePicture = paintingArea->getImageOfActiveLayer();
+
800  if(activePicture) {
+
801  preview = preview.fromImage(activePicture->getImageData());
+
802  }else{
+
803  QImage tmp(1,1,QImage::Format_ARGB32);
+
804  tmp.fill(Qt::transparent);
+
805  preview = preview.fromImage(tmp);
+
806  }
+
807 
+
808  ActiveLayerImageLabel = new QLabel();
+
809  ActiveLayerImageLabel->setFixedSize(Buttonsize * 2);
+
810  ActiveLayerImageLabel->setPixmap(preview.scaled(Buttonsize * 2));
+
811 
+
812  dimActive = new QPushButton();
+
813  dimActive->setFixedSize(Buttonsize.width() * 2,Buttonsize.height() / 2);
+
814  dimActive->setText("0x0");
+
815 
+
816  dimCanvas = new QPushButton();
+
817  dimCanvas->setFixedSize(Buttonsize.width() * 2,Buttonsize.height() / 2);
+
818  QString String = QString("%1x%2").arg(paintingArea->Canvas->width()).arg(paintingArea->Canvas->height());
+
819  dimCanvas->setText(String);
+
820 
+
821  FastRendererLabel = new QLabel();
+
822  FastRendererLabel->setFixedSize(Buttonsize.width() * 2 + 15,(Buttonsize.height() * 2) / 3);
+
823  FastRendererLabel->setText("Fast Render: On");
+
824 
+
825  ScrollArea = new QScrollArea(this);
+
826  ScrollArea->setBackgroundRole(QPalette::Dark);
+
827  ScrollArea->setWidget(paintingArea);
+
828  ScrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
+
829  ScrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
+
830 
+
831  // set gui elements
+
832  mainLayout->addWidget(ScrollArea,1,1,20,1);
+
833  mainLayout->addWidget(CircleButton,1,2,1,1);
+
834  mainLayout->addWidget(FloodFillButton,1,3,1,1);
+
835  mainLayout->addWidget(LineButton,2,2,1,1);
+
836  mainLayout->addWidget(PenButton,2,3,1,1);
+
837  mainLayout->addWidget(PlainButton,3,2,1,1);
+
838  mainLayout->addWidget(PolygonButton,3,3,1,1);
+
839  mainLayout->addWidget(RectangleButton,4,2,1,1);
+
840  mainLayout->addWidget(GradientButton,4,3,1,1);
+
841  mainLayout->addWidget(WidthLine,5,2,1,2);
+
842  mainLayout->addWidget(EditLineWidth,6,2,1,2);
+
843  mainLayout->addWidget(innerAlphaLine,7,2,1,2);
+
844  mainLayout->addWidget(EditLineInnerAlpha,8,2,1,2);
+
845  mainLayout->addWidget(FirstColorButton,9,2,1,1);
+
846  mainLayout->addWidget(SecondColorButton,9,3,1,1);
+
847  mainLayout->addWidget(SwitchColorButton,10,2,1,2);
+
848  mainLayout->addWidget(ActiveLayerLabel,11,2,1,2);
+
849  mainLayout->addWidget(ActiveLayerImageLabel,12,2,1,2);
+
850  mainLayout->addWidget(dimActive,13,2,1,2);
+
851  mainLayout->addWidget(dimCanvas,14,2,1,2);
+
852  mainLayout->addWidget(FastRendererLabel,15,2,1,2);
+
853  mainLayout->setHorizontalSpacing(0);
+
854 
+
855 }
+
856 
+
857 void IntelliPhotoGui::setIntelliStyle(){
+
858  // Set the title
+
859  setWindowTitle("IntelliPhoto v1.0");
+
860  // Set style sheet
+
861  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
+
862 
+
863  QString string = QString("background-color: %1").arg(paintingArea->colorPicker.getFirstColor().name());
+
864  FirstColorButton->setStyleSheet(string);
+
865  string = QString("background-color: %1").arg(paintingArea->colorPicker.getSecondColor().name());
+
866  SecondColorButton->setStyleSheet(string);
+
867 }
+
868 
+
869 bool IntelliPhotoGui::maybeSave(){
+
870  // Check for changes since last save
+
871 #ifdef QT_NO_DEBUG
+
872  QMessageBox::StandardButton ret;
+
873 
+
874  // Painting is the title of the window
+
875  // Add text and the buttons
+
876  ret = QMessageBox::warning(this, tr("Painting"),
+
877  tr("The image has been modified.\n"
+
878  "Do you want to save your changes?"),
+
879  QMessageBox::Save | QMessageBox::Discard
+
880  | QMessageBox::Cancel);
+
881 
+
882  // If save button clicked call for file to be saved
+
883  if (ret == QMessageBox::Save) {
+
884  return saveFile("png");
+
885 
+
886  // If cancel do nothing
+
887  } else if (ret == QMessageBox::Cancel) {
+
888  return false;
+
889  }
+
890 #endif
+
891  return true;
+
892 }
+
893 
+
894 bool IntelliPhotoGui::saveFile(const QByteArray &fileFormat){
+
895  // Define path, name and default file type
+
896  QString initialPath = QDir::currentPath() + "/untitled." + fileFormat;
+
897 
+
898  // Get selected file from dialog
+
899  // Add the proper file formats and extensions
+
900  QString fileName = QFileDialog::getSaveFileName(this, tr("Save As"),
+
901  initialPath,
+
902  tr("%1 Files (*.%2);;All Files (*)")
+
903  .arg(QString::fromLatin1(fileFormat.toUpper()))
+
904  .arg(QString::fromLatin1(fileFormat)), nullptr, QFileDialog::DontUseNativeDialog);
+
905 
+
906  // If no file do nothing
+
907  if (fileName.isEmpty()) {
+
908  return false;
+
909  } else {
+
910  // Call for the file to be saved
+
911  if(fileFormat == "idf") {
+
912  return IntelliDatamanager::saveProject(paintingArea, fileName);
+
913 
+
914  }
+
915  return paintingArea->save(fileName, fileFormat.constData());
+
916  }
+
917 }
+
918 
+
919 void IntelliPhotoGui::setDefaultValues(){
+
920  slotEnterPressed();
+
921 }
+
922 
+ +
924  if(value < 1) {
+
925  value = 1;
+
926  }else if(value > 50) {
+
927  value = 50;
+
928  }
+
929  EditLineWidth->setText(QString("%1").arg(value));
+
930 }
+
931 
+ +
933  QString string = QString("Active Layer: %1").arg(paintingArea->getIndexOfActiveLayer() + 1);
+
934  ActiveLayerLabel->setText(string);
+
935 
+
936  IntelliImage* activePicture = paintingArea->getImageOfActiveLayer();
+
937  if(activePicture) {
+
938  preview = preview.fromImage(activePicture->getImageData());
+
939  }else{
+
940  QImage tmp(1,1,QImage::Format_ARGB32);
+
941  tmp.fill(Qt::transparent);
+
942  preview = preview.fromImage(tmp);
+
943  }
+
944 
+
945 
+
946  ActiveLayerImageLabel->setPixmap(preview.scaled(Buttonsize * 2));
+
947 
+
948  string = QString("background-color: %1").arg(paintingArea->colorPicker.getFirstColor().name());
+
949  FirstColorButton->setStyleSheet(string);
+
950  string = QString("background-color: %1").arg(paintingArea->colorPicker.getSecondColor().name());
+
951  SecondColorButton->setStyleSheet(string);
+
952 
+
953  string = QString("%1x%2").arg(paintingArea->Canvas->width()).arg(paintingArea->Canvas->height());
+
954  dimCanvas->setText(string);
+
955 
+
956  if(paintingArea->layerBundle.size() != 0) {
+
957  string = QString("%1x%2").arg(paintingArea->layerBundle[static_cast<size_t>
+
958  (paintingArea->getIndexOfActiveLayer())].width).arg(paintingArea->layerBundle[static_cast<size_t>
+
959  (paintingArea->getIndexOfActiveLayer())].height);
+
960  dimActive->setText(string);
+
961  }
+
962  else{
+
963  dimActive->setText("0x0");
+
964  }
+
965 }
+
+
+
void createCircleTool()
createCircleTool creates a Circle Tool.
+
QColor getFirstColor() const
A function to read the primary selected color.
+ +
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
+
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
+
void createRectangleTool()
createRectangleTool creates a Rectangle Tool.
+
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
loadProject loads a project from a file, closes current project.
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
int getMaxHeight()
getMaxHeight gets the max height of the Canvas.
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
void createPlainTool()
createPlainTool creates a Plain Tool.
+
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
void createPenTool()
createPenTool creates a Pen Tool.
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
+
void historyGoBack()
historyGoBack go back in hisotry
+
void createLineTool()
createLineTool creates a Line Tool.
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.
+ +
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+ +
void setToolWidth(int value)
setToolWidth stes a width to the tool
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
void createPolygonTool()
createPolygonTool creates a Polygon Tool.
+
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
+
IntelliColorPicker colorPicker
colorPicker a class to manage Tool color.
Definition: PaintingArea.h:286
+ +
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
+
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
+
void setInnerAlpha(int innerAlpha)
setInnerAlpha sets the inner alpha attribute of the Tool.
+
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
saveProject saves the current project to a file.
+
void UpdateGui()
UpdateGui a function to update all gui elements.
+
IntelliToolsettings Toolsettings
Toolsettings - a class to manage Tool settings.
Definition: PaintingArea.h:281
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
+
void historyadd()
historyadd adds an hisotry step
+
void createGradientTool()
createGradientTool creates a Gradient Tool.
+ + + + diff --git a/docs-src/html/_intelli_photo_gui_8h.html b/docs-src/html/_intelli_photo_gui_8h.html new file mode 100644 index 0000000..1159e3d --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8h.html @@ -0,0 +1,128 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliPhotoGui.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliPhotoGui.h File Reference
+
+
+
#include <QAction>
+#include <QFileDialog>
+#include <QMessageBox>
+#include <QImageWriter>
+#include <QMenu>
+#include <QMenuBar>
+#include <QList>
+#include <QMainWindow>
+#include <QGridLayout>
+#include <QPushButton>
+#include <QTextEdit>
+#include <QLabel>
+#include <QLineEdit>
+#include <QScrollArea>
+#include "IntelliInputDialog.h"
+#include "IntelliHelper/IntelliDatamanager.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliPhotoGui
 The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_photo_gui_8h__dep__incl.dot b/docs-src/html/_intelli_photo_gui_8h__dep__incl.dot new file mode 100644 index 0000000..2dae499 --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8h__dep__incl.dot @@ -0,0 +1,32 @@ +digraph "intelliphoto/src/GUI/IntelliPhotoGui.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node3 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node3 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node3 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node3 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node3 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node3 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node1 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/main.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$main_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_photo_gui_8h__incl.dot b/docs-src/html/_intelli_photo_gui_8h__incl.dot new file mode 100644 index 0000000..127439f --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8h__incl.dot @@ -0,0 +1,25 @@ +digraph "intelliphoto/src/GUI/IntelliPhotoGui.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_photo_gui_8h_source.html b/docs-src/html/_intelli_photo_gui_8h_source.html new file mode 100644 index 0000000..978638d --- /dev/null +++ b/docs-src/html/_intelli_photo_gui_8h_source.html @@ -0,0 +1,397 @@ + + + + + + + +IntelliPhoto: src/GUI/IntelliPhotoGui.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliPhotoGui.h
+
+
+Go to the documentation of this file.
1 #ifndef IntelliPhotoGui_H
+
2 #define IntelliPhotoGui_H
+
3 
+
4 #include <QAction>
+
5 #include <QFileDialog>
+
6 #include <QMessageBox>
+
7 #include <QImageWriter>
+
8 #include <QMenu>
+
9 #include <QMenuBar>
+
10 #include <QList>
+
11 #include <QMainWindow>
+
12 #include <QGridLayout>
+
13 #include <QPushButton>
+
14 #include <QTextEdit>
+
15 #include <QLabel>
+
16 #include <QLineEdit>
+
17 #include <QScrollArea>
+
18 #include "IntelliInputDialog.h"
+ +
20 
+
21 //for unit testing
+
22 class UnitTest;
+
23 
+
24 // PaintingArea used to paint the image
+
25 class PaintingArea;
+
26 
+
27 class IntelliTool;
+
28 
+
29 class IntelliColorPicker;
+
30 
+
34 class IntelliPhotoGui : public QMainWindow {
+
35 friend UnitTest;
+
36 // Declares our class as a QObject which is the base class
+
37 // for all Qt objects
+
38 // QObjects handle events
+
39 Q_OBJECT
+
40 public:
+ +
45 
+
49 void UpdateGui();
+
50 
+
55 void setToolWidth(int value);
+
56 
+
57 protected:
+
61 void closeEvent(QCloseEvent*event) override;
+
62 
+
63 private slots:
+
64 
+
68 void slotOpen();
+
69 
+
73 void slotSave();
+
74 
+
78 void slotCreateNewRasterLayer();
+
79 
+
83 void slotCreateNewShapedLayer();
+
84 
+
88 void slotDeleteLayer();
+
89 
+
93 void slotSetActiveLayer();
+
94 
+
98 void slotSetActiveAlpha();
+
99 
+
103 void slotSetPolygon();
+
104 
+
108 void slotPositionMoveUp();
+
109 
+
113 void slotPositionMoveDown();
+
114 
+
118 void slotPositionMoveLeft();
+
119 
+
123 void slotPositionMoveRight();
+
124 
+
128 void slotMoveLayerUp();
+
129 
+
133 void slotMoveLayerDown();
+
134 
+
138 void slotUpdateFastRenderSettingsOn();
+
139 
+
143 void slotUpdateFastRenderSettingsOff();
+
144 
+
148 void slotSetFirstColor();
+
149 
+
153 void slotSetSecondColor();
+
154 
+
158 void slotSwapColor();
+
159 
+
163 void slotCreatePenTool();
+
164 
+
168 void slotCreatePlainTool();
+
169 
+
173 void slotCreateLineTool();
+
174 
+
178 void slotCreateRectangleTool();
+
179 
+
183 void slotCreateCircleTool();
+
184 
+
188 void slotCreatePolygonTool();
+
189 
+
193 void slotCreateFloodFillTool();
+
194 
+
198 void slotCreateGradientTool();
+
199 
+
203 void slotAboutDialog();
+
204 
+
208 void slotChangeDim();
+
209 
+
213 void slotEnterPressed();
+
214 
+
218 void slotSetWidth();
+
219 
+
223 void slotSetInnerAlpha();
+
224 
+
228 void slotResetToolButtons();
+
229 
+
233 void slotGoBack();
+
234 
+
238 void slotGoForward();
+
239 
+
240 private:
+
241 
+
245 void createActions();
+
246 
+
250 void createMenus();
+
251 
+
255 void createGui();
+
256 
+
260 void setIntelliStyle();
+
261 
+
266 bool maybeSave();
+
267 
+
273 bool saveFile(const QByteArray &fileFormat);
+
274 
+
278 void setDefaultValues();
+
279 
+
283 PaintingArea* paintingArea;
+
284 
+
288 QPixmap preview;
+
289 
+
293 QSize Buttonsize;
+
294 
+
298 QPushButton* CircleButton;
+
299 
+
303 QPushButton* FloodFillButton;
+
304 
+
308 QPushButton* GradientButton;
+
309 
+
313 QPushButton* LineButton;
+
314 
+
318 QPushButton* PenButton;
+
319 
+
323 QPushButton* PlainButton;
+
324 
+
328 QPushButton* PolygonButton;
+
329 
+
333 QPushButton* RectangleButton;
+
334 
+
338 QPushButton* FirstColorButton;
+
339 
+
343 QPushButton* SecondColorButton;
+
344 
+
348 QPushButton* SwitchColorButton;
+
349 
+
353 QPushButton* dimActive;
+
354 
+
358 QPushButton* dimCanvas;
+
359 
+
363 QLabel* WidthLine;
+
364 
+
368 QLabel* innerAlphaLine;
+
369 
+
373 QLabel* ActiveLayerLabel;
+
374 
+
378 QLabel* ActiveLayerImageLabel;
+
379 
+
383 QLabel* FastRendererLabel;
+
384 
+
388 QScrollArea* ScrollArea;
+
389 
+
393 QLineEdit* EditLineWidth;
+
394 
+
398 QLineEdit* EditLineInnerAlpha;
+
399 
+
403 QIntValidator* ValidatorLineWidth;
+
404 
+
408 QIntValidator* ValidatorInnerAlpha;
+
409 
+
410 
+
414 QMenu* saveAsMenu;
+
415 
+
419 QMenu* fileMenu;
+
420 
+
424 QMenu* renderMenu;
+
425 
+
429 QMenu* optionMenu;
+
430 
+
434 QMenu* layerCreationMenu;
+
435 
+
439 QMenu* layerMenu;
+
440 
+
444 QMenu* colorMenu;
+
445 
+
449 QMenu* toolCreationMenu;
+
450 
+
454 QMenu* toolSettingsMenu;
+
455 
+
459 QMenu* toolMenu;
+
460 
+
464 QMenu* helpMenu;
+
465 
+
469 QAction* actionOpen;
+
470 
+
474 QAction* actionExit;
+
475 
+
479 QAction* actionUpdateFastRenderSettingsOn;
+
480 
+
484 QAction* actionUpdateFastRenderSettingsOff;
+
485 
+
489 QAction* actionColorPickerFirstColor;
+
490 
+
494 QAction* actionColorPickerSecondColor;
+
495 
+
499 QAction* actionColorSwap;
+
500 
+
504 QAction* actionCreatePenTool;
+
505 
+
509 QAction* actionCreatePlainTool;
+
510 
+
514 QAction* actionCreateLineTool;
+
515 
+
519 QAction* actionCreateRectangleTool;
+
520 
+
524 QAction* actionCreateCircleTool;
+
525 
+
529 QAction* actionCreatePolygonTool;
+
530 
+
534 QAction* actionCreateFloodFillTool;
+
535 
+
539 QAction* actionCreateGradientTool;
+
540 
+
544 QAction* actionChangeDim;
+
545 
+
549 QAction* actionSetWidth;
+
550 
+
554 QAction* actionSetInnerAlpha;
+
555 
+
559 QAction* actionAboutDialog;
+
560 
+
564 QAction* actionAboutQtDialog;
+
565 
+
569 QAction* actionCreateNewRasterLayer;
+
570 
+
574 QAction* actionCreateNewShapedLayer;
+
575 
+
579 QAction* actionDeleteLayer;
+
580 
+
584 QAction* actionSetActiveLayer;
+
585 
+
589 QAction* actionSetActiveAlpha;
+
590 
+
594 QAction* actionSetPolygon;
+
595 
+
599 QAction* actionMovePositionUp;
+
600 
+
604 QAction* actionMovePositionDown;
+
605 
+
609 QAction* actionMovePositionLeft;
+
610 
+
614 QAction* actionMovePositionRight;
+
615 
+
619 QAction* actionMoveLayerUp;
+
620 
+
624 QAction* actionMoveLayerDown;
+
625 
+
629 QList<QAction*> actionSaveAs;
+
630 
+
634 QAction* actionGoBack;
+
635 
+
639 QAction* actionGoForward;
+
640 
+
644 QWidget* centralGuiWidget;
+
645 
+
649 QGridLayout* mainLayout;
+
650 };
+
651 
+
652 #endif
+
+
+ +
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
+
The IntelliColorPicker manages the selected colors for one whole project.
+
void UpdateGui()
UpdateGui a function to update all gui elements.
+ + + + + + diff --git a/docs-src/html/_intelli_raster_image_8cpp.html b/docs-src/html/_intelli_raster_image_8cpp.html new file mode 100644 index 0000000..21b14dc --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8cpp.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliRasterImage.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRasterImage.cpp File Reference
+
+
+
#include "Image/IntelliRasterImage.h"
+#include <QPainter>
+#include <QRect>
+#include <QDebug>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_raster_image_8cpp__incl.dot b/docs-src/html/_intelli_raster_image_8cpp__incl.dot new file mode 100644 index 0000000..ca2ddaa --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8cpp__incl.dot @@ -0,0 +1,35 @@ +digraph "intelliphoto/src/Image/IntelliRasterImage.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliRasterImage.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QPainter",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QRect",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_raster_image_8cpp_source.html b/docs-src/html/_intelli_raster_image_8cpp_source.html new file mode 100644 index 0000000..5633ab7 --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8cpp_source.html @@ -0,0 +1,170 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliRasterImage.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRasterImage.cpp
+
+
+Go to the documentation of this file.
+
2 #include <QPainter>
+
3 #include <QRect>
+
4 #include <QDebug>
+
5 
+
6 IntelliRasterImage::IntelliRasterImage(int width, int height, bool fastRendererOn)
+
7  : IntelliImage(width, height, fastRendererOn){
+ +
9 }
+
10 
+
11 
+ +
13 
+
14 }
+
15 
+ +
17  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false);
+
18  raster->imageData.fill(Qt::transparent);
+ +
20  return raster;
+
21 }
+
22 
+ +
24  // not used in raster image
+
25 }
+
26 
+ +
28  return getDisplayable(imageData.size(), alpha);
+
29 }
+
30 
+
31 QImage IntelliRasterImage::getDisplayable(const QSize& displaySize, int alpha){
+
32  QImage copy = imageData;
+
33  if(fastRenderering) {
+
34  copy = copy.convertToFormat(QImage::Format_ARGB32);
+
35  }
+
36  for(int y = 0; y<copy.height(); y++) {
+
37  for(int x = 0; x<copy.width(); x++) {
+
38  QColor clr = copy.pixelColor(x,y);
+
39  clr.setAlpha(std::min(alpha, clr.alpha()));
+
40  copy.setPixelColor(x,y, clr);
+
41  }
+
42  }
+
43  if(fastRenderering) {
+
44  copy = copy.convertToFormat(QImage::Format_Indexed8);
+
45  }
+
46  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
+
47 }
+
48 
+
49 void IntelliRasterImage::setPolygon(const std::vector<QPoint>& polygonData){
+
50  return;
+
51 }
+
52 
+
53 std::vector<QPoint> IntelliRasterImage::getPolygon(){
+
54  return std::vector<QPoint>();
+
55 }
+
+
+ +
virtual ~IntelliRasterImage() override
An Destructor.
+
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
+ +
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
virtual std::vector< QPoint > getPolygon()
getPolygon
+
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
+
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
+
virtual void calculateVisiblity() override
A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
+
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
An abstract function that sets the data of the visible Polygon, if needed.
+
The IntelliRasterImage manages a RASTERIMAGE.
+ + + + diff --git a/docs-src/html/_intelli_raster_image_8h.html b/docs-src/html/_intelli_raster_image_8h.html new file mode 100644 index 0000000..b81f2a4 --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8h.html @@ -0,0 +1,113 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliRasterImage.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliRasterImage.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliRasterImage
 The IntelliRasterImage manages a RASTERIMAGE. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_raster_image_8h__dep__incl.dot b/docs-src/html/_intelli_raster_image_8h__dep__incl.dot new file mode 100644 index 0000000..aa77306 --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8h__dep__incl.dot @@ -0,0 +1,38 @@ +digraph "intelliphoto/src/Image/IntelliRasterImage.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Image\l/IntelliRasterImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8cpp.html",tooltip=" "]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node5 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node5 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node5 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node5 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node5 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node5 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node5 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node5 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node5 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node5 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_raster_image_8h__incl.dot b/docs-src/html/_intelli_raster_image_8h__incl.dot new file mode 100644 index 0000000..4bb933b --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8h__incl.dot @@ -0,0 +1,27 @@ +digraph "intelliphoto/src/Image/IntelliRasterImage.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node9 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_raster_image_8h_source.html b/docs-src/html/_intelli_raster_image_8h_source.html new file mode 100644 index 0000000..d2cfed5 --- /dev/null +++ b/docs-src/html/_intelli_raster_image_8h_source.html @@ -0,0 +1,143 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliRasterImage.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRasterImage.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLIRASTER_H
+
2 #define INTELLIRASTER_H
+
3 
+
4 #include "Image/IntelliImage.h"
+
5 
+
6 //for unit testing
+
7 class UnitTest;
+
8 
+ +
13 friend UnitTest;
+
14 friend IntelliTool;
+
15 protected:
+
19 virtual void calculateVisiblity() override;
+
20 public:
+
27 IntelliRasterImage(int width, int height, bool fastRendererOn);
+
28 
+
32 virtual ~IntelliRasterImage() override;
+
33 
+
40 virtual QImage getDisplayable(const QSize& displaySize,int alpha) override;
+
41 
+
47 virtual QImage getDisplayable(int alpha = 255) override;
+
48 
+
53 virtual IntelliImage* getDeepCopy() override;
+
54 
+
59 virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
+
60 
+
65 virtual std::vector<QPoint> getPolygon();
+
66 };
+
67 
+
68 #endif
+
+
+ +
virtual ~IntelliRasterImage() override
An Destructor.
+
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
+
virtual std::vector< QPoint > getPolygon()
getPolygon
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
+ +
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
+
virtual void calculateVisiblity() override
A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
+
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
An abstract function that sets the data of the visible Polygon, if needed.
+
The IntelliRasterImage manages a RASTERIMAGE.
+ + + + diff --git a/docs-src/html/_intelli_render_settings_8cpp.html b/docs-src/html/_intelli_render_settings_8cpp.html new file mode 100644 index 0000000..b190e8c --- /dev/null +++ b/docs-src/html/_intelli_render_settings_8cpp.html @@ -0,0 +1,104 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliRenderSettings.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRenderSettings.cpp File Reference
+
+ +
+ + + + diff --git a/docs-src/html/_intelli_render_settings_8cpp__incl.dot b/docs-src/html/_intelli_render_settings_8cpp__incl.dot new file mode 100644 index 0000000..8af1fea --- /dev/null +++ b/docs-src/html/_intelli_render_settings_8cpp__incl.dot @@ -0,0 +1,9 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliRenderSettings.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliRenderSettings.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRenderSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_render_settings_8cpp_source.html b/docs-src/html/_intelli_render_settings_8cpp_source.html new file mode 100644 index 0000000..fd5c90c --- /dev/null +++ b/docs-src/html/_intelli_render_settings_8cpp_source.html @@ -0,0 +1,119 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliRenderSettings.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRenderSettings.cpp
+
+
+Go to the documentation of this file.
+
2 
+ +
4 {
+
5 
+
6 }
+
7 
+
8 void IntelliRenderSettings::setFastRendering(bool Updatedsetting){
+
9  this->fastRenderering = Updatedsetting;
+
10 }
+
11 
+ +
13  return fastRenderering;
+
14 }
+
+
+
bool isFastRenderering() const
The getfastRenderer gets the value of the flag for the fastRenderer setting.
+ +
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
+ + + + + diff --git a/docs-src/html/_intelli_render_settings_8h.html b/docs-src/html/_intelli_render_settings_8h.html new file mode 100644 index 0000000..8829ae8 --- /dev/null +++ b/docs-src/html/_intelli_render_settings_8h.html @@ -0,0 +1,112 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliRenderSettings.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliRenderSettings.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliRenderSettings
 The IntelliRenderSettings class which manages the render Settings. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_render_settings_8h__dep__incl.dot b/docs-src/html/_intelli_render_settings_8h__dep__incl.dot new file mode 100644 index 0000000..3d1fc66 --- /dev/null +++ b/docs-src/html/_intelli_render_settings_8h__dep__incl.dot @@ -0,0 +1,47 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliRenderSettings.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliRenderSettings.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Image\l/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Image\l/IntelliImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8cpp.html",tooltip=" "]; + Node2 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Image\l/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Image\l/IntelliRasterImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8cpp.html",tooltip=" "]; + Node4 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node6 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8cpp.html",tooltip=" "]; + Node6 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node8 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node8 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node8 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node8 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node8 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node8 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node8 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node8 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node8 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node8 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node6 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="intelliphoto/src/Intelli\lHelper/IntelliRenderSettings.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_render_settings_8h_source.html b/docs-src/html/_intelli_render_settings_8h_source.html new file mode 100644 index 0000000..72e54e7 --- /dev/null +++ b/docs-src/html/_intelli_render_settings_8h_source.html @@ -0,0 +1,126 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliRenderSettings.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRenderSettings.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLIRENDERSETTINGS_H
+
2 #define INTELLIRENDERSETTINGS_H
+
3 
+
4 //for unit testing
+
5 class UnitTest;
+
6 
+ +
11 {
+
12 friend UnitTest;
+
13 public:
+ +
15 
+
20 void setFastRendering(bool Updatedsetting);
+
25 bool isFastRenderering() const;
+
26 
+
27 private:
+
31 bool fastRenderering = true;
+
32 };
+
33 
+
34 #endif
+
+
+
bool isFastRenderering() const
The getfastRenderer gets the value of the flag for the fastRenderer setting.
+
The IntelliRenderSettings class which manages the render Settings.
+
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
+ + + + + + diff --git a/docs-src/html/_intelli_shaped_image_8cpp.html b/docs-src/html/_intelli_shaped_image_8cpp.html new file mode 100644 index 0000000..41a5357 --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8cpp.html @@ -0,0 +1,108 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliShapedImage.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliShapedImage.cpp File Reference
+
+
+
#include "Image/IntelliShapedImage.h"
+#include "IntelliHelper/IntelliTriangulation.h"
+#include <QPainter>
+#include <QRect>
+#include <QDebug>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_shaped_image_8cpp__incl.dot b/docs-src/html/_intelli_shaped_image_8cpp__incl.dot new file mode 100644 index 0000000..094d457 --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8cpp__incl.dot @@ -0,0 +1,39 @@ +digraph "intelliphoto/src/Image/IntelliShapedImage.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node11 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node2 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QPainter",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QRect",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_shaped_image_8cpp_source.html b/docs-src/html/_intelli_shaped_image_8cpp_source.html new file mode 100644 index 0000000..c93728a --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8cpp_source.html @@ -0,0 +1,235 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliShapedImage.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliShapedImage.cpp
+
+
+Go to the documentation of this file.
+ +
3 #include <QPainter>
+
4 #include <QRect>
+
5 #include <QDebug>
+
6 
+
7 IntelliShapedImage::IntelliShapedImage(int width, int height, bool fastRendererOn)
+
8  : IntelliRasterImage(width, height, fastRendererOn){
+ +
10 }
+
11 
+ +
13 
+
14 }
+
15 
+ +
17  return getDisplayable(imageData.size(),alpha);
+
18 }
+
19 
+ +
21  IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), false);
+
22  shaped->setPolygon(this->polygonData);
+
23  shaped->imageData.fill(Qt::transparent);
+ +
25  return shaped;
+
26 }
+
27 
+
28 void IntelliShapedImage::calculateVisiblity(){
+
29  if(polygonData.size()<2) {
+
30  return;
+
31  }
+
32  if(fastRenderering) {
+
33  this->imageData = imageData.convertToFormat(QImage::Format_ARGB32);
+
34  }
+
35 
+
36  if(polygonData.size()<=2) {
+
37  QColor clr;
+
38  for(int y = 0; y<imageData.height(); y++) {
+
39  for(int x = 0; x<imageData.width(); x++) {
+
40  clr = imageData.pixel(x,y);
+
41  clr.setAlpha(255);
+
42  imageData.setPixelColor(x,y,clr);
+
43  }
+
44  }
+
45  if(fastRenderering) {
+
46  this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8);
+
47  }
+
48  return;
+
49  }
+
50  QColor clr;
+
51  for(int y = 0; y<imageData.height(); y++) {
+
52  for(int x = 0; x<imageData.width(); x++) {
+
53  QPoint ptr(x,y);
+
54  clr = imageData.pixelColor(x,y);
+
55  bool isInPolygon = IntelliTriangulation::isInPolygon(triangles, ptr);
+
56  if(isInPolygon) {
+
57  clr.setAlpha(std::min(255, clr.alpha()));
+
58  }else{
+
59  clr.setAlpha(0);
+
60  }
+
61  imageData.setPixelColor(x,y,clr);
+
62  }
+
63  }
+
64  if(fastRenderering) {
+
65  this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8);
+
66  }
+
67 }
+
68 
+
69 QImage IntelliShapedImage::getDisplayable(const QSize& displaySize, int alpha){
+
70  QImage copy = imageData;
+
71  if(fastRenderering) {
+
72  copy = copy.convertToFormat(QImage::Format_ARGB32);
+
73  }
+
74  for(int y = 0; y<copy.height(); y++) {
+
75  for(int x = 0; x<copy.width(); x++) {
+
76  QColor clr = copy.pixelColor(x,y);
+
77  clr.setAlpha(std::min(alpha,clr.alpha()));
+
78  copy.setPixelColor(x,y, clr);
+
79  }
+
80  }
+
81  if(fastRenderering) {
+
82  copy = copy.convertToFormat(QImage::Format_Indexed8);
+
83  }
+
84  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
+
85 }
+
86 
+
87 void IntelliShapedImage::setPolygon(const std::vector<QPoint>& polygonData){
+
88  if(polygonData.size()<3) {
+
89  this->polygonData.clear();
+
90  }else{
+
91  this->polygonData.clear();
+
92  for(auto element:polygonData) {
+
93  this->polygonData.push_back(QPoint(element.x(), element.y()));
+
94  }
+ +
96  if(fastRenderering) {
+
97  imageData = imageData.convertToFormat(QImage::Format_ARGB32);
+
98  }
+
99  for(int y = 0; y<imageData.height(); y++) {
+
100  for(int x = 0; x<imageData.width(); x++) {
+
101  QColor clr = imageData.pixelColor(x,y);
+
102  clr.setAlpha(255);
+
103  imageData.setPixelColor(x,y,clr);
+
104  }
+
105  }
+
106  if(fastRenderering) {
+
107  imageData = imageData.convertToFormat(QImage::Format_Indexed8);
+
108  }
+
109  }
+
110  calculateVisiblity();
+
111  return;
+
112 }
+
113 
+
114 std::vector<QPoint> IntelliShapedImage::getPolygon(){
+
115  return polygonData;
+
116 }
+
+
+
virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
A function returning the displayable ImageData in a requested transparence and size.
+ +
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
+
virtual std::vector< QPoint > getPolygon() override
getPolygon
+
The IntelliShapedImage manages a Shapedimage.
+
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+ +
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
std::vector< QPoint > polygonData
The Vertices of The Polygon. Needs to be a planar Polygon.
+
IntelliShapedImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliShapedImage. Given the Image dimensions.
+
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+
virtual ~IntelliShapedImage() override
An Destructor.
+
The IntelliRasterImage manages a RASTERIMAGE.
+ +
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
A function that sets the data of the visible Polygon.
+ + + + diff --git a/docs-src/html/_intelli_shaped_image_8h.html b/docs-src/html/_intelli_shaped_image_8h.html new file mode 100644 index 0000000..362277e --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8h.html @@ -0,0 +1,114 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliShapedImage.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliShapedImage.h File Reference
+
+
+
#include "Image/IntelliRasterImage.h"
+#include <vector>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliShapedImage
 The IntelliShapedImage manages a Shapedimage. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_shaped_image_8h__dep__incl.dot b/docs-src/html/_intelli_shaped_image_8h__dep__incl.dot new file mode 100644 index 0000000..39ac329 --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8h__dep__incl.dot @@ -0,0 +1,32 @@ +digraph "intelliphoto/src/Image/IntelliShapedImage.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node3 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node3 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node3 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node3 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node3 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node3 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node3 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_shaped_image_8h__incl.dot b/docs-src/html/_intelli_shaped_image_8h__incl.dot new file mode 100644 index 0000000..d7a68a4 --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8h__incl.dot @@ -0,0 +1,30 @@ +digraph "intelliphoto/src/Image/IntelliShapedImage.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_shaped_image_8h_source.html b/docs-src/html/_intelli_shaped_image_8h_source.html new file mode 100644 index 0000000..1a04314 --- /dev/null +++ b/docs-src/html/_intelli_shaped_image_8h_source.html @@ -0,0 +1,157 @@ + + + + + + + +IntelliPhoto: src/Image/IntelliShapedImage.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliShapedImage.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLISHAPE_H
+
2 #define INTELLISHAPE_H
+
3 
+ +
5 #include <vector>
+
6 
+
7 //for unit testing
+
8 class UnitTest;
+
9 
+ +
14 friend UnitTest;
+
15 friend IntelliTool;
+
16 private:
+
20 std::vector<Triangle> triangles;
+
21 
+
25 virtual void calculateVisiblity() override;
+
26 protected:
+
27 
+
31 std::vector<QPoint> polygonData;
+
32 public:
+
39 IntelliShapedImage(int width, int height, bool fastRendererOn);
+
40 
+
44 virtual ~IntelliShapedImage() override;
+
45 
+
52 virtual QImage getDisplayable(const QSize& displaySize, int alpha = 255) override;
+
53 
+
59 virtual QImage getDisplayable(int alpha = 255) override;
+
60 
+
65 virtual IntelliImage* getDeepCopy() override;
+
66 
+
71 virtual std::vector<QPoint> getPolygonData() override {
+
72  return polygonData;
+
73 }
+
74 
+
79 virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
+
80 
+
81 
+
86 virtual std::vector<QPoint> getPolygon() override;
+
87 };
+
88 
+
89 
+
90 #endif
+
+
+
virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
A function returning the displayable ImageData in a requested transparence and size.
+
virtual std::vector< QPoint > getPolygon() override
getPolygon
+
The IntelliShapedImage manages a Shapedimage.
+
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
+ +
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual std::vector< QPoint > getPolygonData() override
A function that returns the Polygondata if existent.
+ +
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
std::vector< QPoint > polygonData
The Vertices of The Polygon. Needs to be a planar Polygon.
+
IntelliShapedImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliShapedImage. Given the Image dimensions.
+
virtual ~IntelliShapedImage() override
An Destructor.
+
The IntelliRasterImage manages a RASTERIMAGE.
+
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
A function that sets the data of the visible Polygon.
+ + + + diff --git a/docs-src/html/_intelli_tool_8cpp.html b/docs-src/html/_intelli_tool_8cpp.html new file mode 100644 index 0000000..4862a26 --- /dev/null +++ b/docs-src/html/_intelli_tool_8cpp.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliTool.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliTool.cpp File Reference
+
+ +
+ + + + diff --git a/docs-src/html/_intelli_tool_8cpp__incl.dot b/docs-src/html/_intelli_tool_8cpp__incl.dot new file mode 100644 index 0000000..0e9cd44 --- /dev/null +++ b/docs-src/html/_intelli_tool_8cpp__incl.dot @@ -0,0 +1,74 @@ +digraph "intelliphoto/src/Tool/IntelliTool.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node9 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node9 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node9 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node9 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node13 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node13 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node9 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node22 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node22 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node24 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node9 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node26 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node27 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_8cpp_source.html b/docs-src/html/_intelli_tool_8cpp_source.html new file mode 100644 index 0000000..46ce301 --- /dev/null +++ b/docs-src/html/_intelli_tool_8cpp_source.html @@ -0,0 +1,247 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliTool.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliTool.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliTool.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "GUI/IntelliPhotoGui.h"
+
4 
+ +
6  this->Area = Area;
+
7  this->colorPicker = colorPicker;
+
8  this->Toolsettings = Toolsettings;
+
9  this->isDrawing = false;
+
10  this->ActiveType = Tooltype::NONE;
+
11  this->activeLayer = nullptr;
+
12  this->Canvas = nullptr;
+
13 }
+
14 
+ +
16 
+
17 }
+
18 
+ +
20  if(isDrawing) {
+
21  isDrawing = false;
+
22  this->deleteToolLayer();
+
23  }
+
24 }
+
25 
+ +
27  //optional for tool
+
28 }
+
29 
+ +
31  this->isDrawing = this->createToolLayer();
+
32  if(isDrawing) {
+ +
34  }
+
35 }
+
36 
+ +
38  if(isDrawing) {
+
39  isDrawing = false;
+
40  this->mergeToolLayer();
+
41  this->deleteToolLayer();
+ +
43  Area->historyadd();
+
44 
+
45  }
+
46 }
+
47 
+
48 void IntelliTool::onMouseMoved(int x, int y){
+
49  if(isDrawing)
+ +
51 }
+
52 
+ +
54  //if needed for future general tasks implement in here
+
55  Area->guiReference->setToolWidth(value + Toolsettings->getLineWidth());
+
56 }
+
57 
+
58 bool IntelliTool::createToolLayer(){
+
59  if(Area->createTempTopLayer(Area->activeLayer)) {
+
60  this->activeLayer = &Area->layerBundle[static_cast<unsigned long long>(Area->activeLayer)];
+
61  this->Canvas = &Area->layerBundle[static_cast<unsigned long long>(Area->activeLayer + 1)];
+
62  return true;
+
63  }
+
64  return false;
+
65 }
+
66 
+
67 void IntelliTool::mergeToolLayer(){
+
68  QColor clr_0;
+
69  QColor clr_1;
+
70  QImage updatedImage = activeLayer->image->getImageData();
+
71 
+
72  for(int y = 0; y<activeLayer->height; y++) {
+
73  for(int x = 0; x<activeLayer->width; x++) {
+
74  clr_0 = updatedImage.pixelColor(x,y);
+
75  clr_1 = Canvas->image->imageData.pixelColor(x,y);
+
76  float t = static_cast<float>(clr_1.alpha()) / 255.f;
+
77  int r = static_cast<int>(static_cast<float>(clr_1.red()) * (t) + static_cast<float>(clr_0.red()) * (1.f - t) + 0.5f);
+
78  int g = static_cast<int>(static_cast<float>(clr_1.green()) * (t) + static_cast<float>(clr_0.green()) * (1.f - t) + 0.5f);
+
79  int b = static_cast<int>(static_cast<float>(clr_1.blue()) * (t) + static_cast<float>(clr_0.blue() * (1.f - t)) + 0.5f);
+
80  int a = std::min(clr_0.alpha() + clr_1.alpha(), 255);
+
81  clr_0.setRed(r);
+
82  clr_0.setGreen(g);
+
83  clr_0.setBlue(b);
+
84  clr_0.setAlpha(a);
+
85 
+
86  updatedImage.setPixelColor(x, y, clr_0);
+
87  }
+
88  }
+
89  activeLayer->image->setImageData(updatedImage);
+
90  if(Canvas->image->getPolygonData().size() > 0) {
+ +
92  }
+
93  Area->guiReference->UpdateGui();
+
94 }
+
95 
+
96 void IntelliTool::deleteToolLayer(){
+
97  Area->deleteLayer(Area->activeLayer + 1, true);
+
98  this->Canvas = nullptr;
+
99 }
+
100 
+ +
102  return ActiveType;
+
103 }
+
104 
+ +
106  return isDrawing;
+
107 }
+
+
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
Tooltype getTooltype() const
getTooltype returns the tools type
+ +
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
Tooltype
The Tooltype enum categorising the toosl.
Definition: IntelliTool.h:23
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:135
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+ +
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
+ +
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:5
+
void UpdateGui()
UpdateGui a function to update all gui elements.
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
void historyadd()
historyadd adds an hisotry step
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:15
+
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
+ + + + diff --git a/docs-src/html/_intelli_tool_8h.html b/docs-src/html/_intelli_tool_8h.html new file mode 100644 index 0000000..220856d --- /dev/null +++ b/docs-src/html/_intelli_tool_8h.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliTool.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliTool.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliTool
 An abstract class that manages the basic events, like mouse clicks or scrolls events. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_8h__dep__incl.dot b/docs-src/html/_intelli_tool_8h__dep__incl.dot new file mode 100644 index 0000000..c1cead2 --- /dev/null +++ b/docs-src/html/_intelli_tool_8h__dep__incl.dot @@ -0,0 +1,58 @@ +digraph "intelliphoto/src/Tool/IntelliTool.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node2 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node2 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node2 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node2 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node2 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node2 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node2 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node2 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node2 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "]; + Node13 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "]; + Node14 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "]; + Node15 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "]; + Node16 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "]; + Node17 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node18 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "]; + Node19 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_8h__incl.dot b/docs-src/html/_intelli_tool_8h__incl.dot new file mode 100644 index 0000000..3b0686b --- /dev/null +++ b/docs-src/html/_intelli_tool_8h__incl.dot @@ -0,0 +1,19 @@ +digraph "intelliphoto/src/Tool/IntelliTool.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_8h_source.html b/docs-src/html/_intelli_tool_8h_source.html new file mode 100644 index 0000000..4765f89 --- /dev/null +++ b/docs-src/html/_intelli_tool_8h_source.html @@ -0,0 +1,207 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliTool.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliTool.h
+
+
+Go to the documentation of this file.
1 #ifndef Intelli_Tool_H
+
2 #define Intelli_Tool_H
+
3 
+ + +
6 #include <vector>
+
7 
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+
11 struct LayerObject;
+
12 class PaintingArea;
+
13 
+
17 class IntelliTool {
+
18 friend UnitTest;
+
19 public:
+
23 enum class Tooltype {
+
24  CIRCLE,
+
25  FLOODFILL,
+
26  GRADIENT,
+
27  LINE,
+
28  PEN,
+
29  PLAIN,
+
30  POLYGON,
+
31  RECTANGLE,
+
32  NONE
+
33 };
+
34 private:
+
39 bool createToolLayer();
+
40 
+
44 void mergeToolLayer();
+
45 
+
49 void deleteToolLayer();
+
50 protected:
+ +
55 
+ +
60 
+ +
65 
+ +
70 
+ +
75 
+ +
80 
+
84 bool isDrawing = false;
+
85 
+
86 public:
+ +
93 
+
97 virtual ~IntelliTool() = 0;
+
98 
+
104 virtual void onMouseRightPressed(int x, int y);
+
105 
+
111 virtual void onMouseRightReleased(int x, int y);
+
112 
+
118 virtual void onMouseLeftPressed(int x, int y);
+
119 
+
125 virtual void onMouseLeftReleased(int x, int y);
+
126 
+
131 virtual void onWheelScrolled(int value);
+
132 
+
138 virtual void onMouseMoved(int x, int y);
+
139 
+
144 Tooltype getTooltype() const;
+
145 
+
150 bool getIsDrawing() const;
+
151 
+
152 };
+
153 #endif
+
+
+ +
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
Tooltype getTooltype() const
getTooltype returns the tools type
+ + + +
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
Tooltype
The Tooltype enum categorising the toosl.
Definition: IntelliTool.h:23
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
+ + + +
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:5
+ + + + +
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:15
+ + + + + diff --git a/docs-src/html/_intelli_tool_circle_8cpp.html b/docs-src/html/_intelli_tool_circle_8cpp.html new file mode 100644 index 0000000..34f4c92 --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8cpp.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolCircle.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolCircle.cpp File Reference
+
+
+
#include "IntelliToolCircle.h"
+#include "Layer/PaintingArea.h"
+#include "QInputDialog"
+#include <cmath>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_circle_8cpp__incl.dot b/docs-src/html/_intelli_tool_circle_8cpp__incl.dot new file mode 100644 index 0000000..cbac39b --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8cpp__incl.dot @@ -0,0 +1,82 @@ +digraph "intelliphoto/src/Tool/IntelliToolCircle.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node23 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node25 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node10 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node30 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 [label="cmath",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_circle_8cpp_source.html b/docs-src/html/_intelli_tool_circle_8cpp_source.html new file mode 100644 index 0000000..bf7014e --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8cpp_source.html @@ -0,0 +1,221 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolCircle.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolCircle.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolCircle.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "QInputDialog"
+
4 #include <cmath>
+
5 
+ +
7  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
9 }
+
10 
+ + +
13 }
+
14 
+
15 void IntelliToolCircle::drawCircle(int radius){
+
16  QColor inner = this->colorPicker->getSecondColor();
+
17  inner.setAlpha(Toolsettings->getInnerAlpha());
+
18  int yMinimum, yMaximum, xMinimum, xMaximum;
+
19  yMinimum = centerPoint.y() - radius;
+
20  yMaximum = centerPoint.y() + radius;
+
21  // x = x0+-sqrt(r2-(y-y0)2)
+
22  for(int i = yMinimum; i<=yMaximum; i++) {
+
23  xMinimum = static_cast<int>(centerPoint.x() - sqrt(pow(radius,2) - pow(i - centerPoint.y(),2)));
+
24  xMaximum = static_cast<int>(centerPoint.x() + sqrt(pow(radius,2) - pow(i - centerPoint.y(),2)));
+
25  this->Canvas->image->drawLine(QPoint(xMinimum,i), QPoint(xMaximum,i),inner,1);
+
26  }
+
27 
+
28  //TODO implement circle drawing algorithm bresenham
+
29  radius = static_cast<int>(radius + (Toolsettings->getLineWidth() / 2.));
+
30  yMinimum = (centerPoint.y() - radius);
+
31  yMaximum = (centerPoint.y() + radius);
+
32  for(int i = yMinimum; i<=yMaximum; i++) {
+
33  xMinimum = static_cast<int>(centerPoint.x() - sqrt(pow(radius,2) - pow(i - centerPoint.y(),2)));
+
34  xMaximum = static_cast<int>(centerPoint.x() + sqrt(pow(radius,2) - pow(i - centerPoint.y(),2)));
+
35  this->Canvas->image->drawPoint(QPoint(xMinimum,i), colorPicker->getFirstColor(),Toolsettings->getLineWidth());
+
36  this->Canvas->image->drawPoint(QPoint(xMaximum,i), colorPicker->getFirstColor(),Toolsettings->getLineWidth());
+
37  }
+
38 
+
39  xMinimum = (centerPoint.x() - radius);
+
40  xMaximum = (centerPoint.x() + radius);
+
41  for(int i = xMinimum; i<=xMaximum; i++) {
+
42  int yMin = static_cast<int>(centerPoint.y() - sqrt(pow(radius,2) - pow(i - centerPoint.x(),2)));
+
43  int yMax = static_cast<int>(centerPoint.y() + sqrt(pow(radius,2) - pow(i - centerPoint.x(),2)));
+ + +
46  }
+
47 }
+
48 
+ + +
51 }
+
52 
+ + +
55 }
+
56 
+ + +
59  if(this->isDrawing) {
+
60  this->centerPoint = QPoint(x,y);
+
61  int radius = 1;
+
62  drawCircle(radius);
+ +
64  }
+
65 }
+
66 
+ + +
69 }
+
70 
+ + + +
74 }
+
75 
+ +
77  if(this->isDrawing) {
+
78  this->Canvas->image->drawPlain(Qt::transparent);
+
79  QPoint next(x,y);
+
80  int radius = static_cast<int>(sqrt(pow((centerPoint.x() - x),2) + pow((centerPoint.y() - y),2)));
+
81  drawCircle(radius);
+
82  }
+ +
84 }
+
+
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas layer.
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
+
virtual ~IntelliToolCircle() override
A Destructor.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+ +
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit...
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+ +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+ +
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the middle point of the cricle.
+ + + + diff --git a/docs-src/html/_intelli_tool_circle_8h.html b/docs-src/html/_intelli_tool_circle_8h.html new file mode 100644 index 0000000..6a2b3db --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8h.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolCircle.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolCircle.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "QColor"
+#include "QPoint"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolCircle
 The IntelliToolCircle class represents a tool to draw a circle. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_circle_8h__dep__incl.dot b/docs-src/html/_intelli_tool_circle_8h__dep__incl.dot new file mode 100644 index 0000000..caf097a --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolCircle.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_circle_8h__incl.dot b/docs-src/html/_intelli_tool_circle_8h__incl.dot new file mode 100644 index 0000000..3ab8d29 --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8h__incl.dot @@ -0,0 +1,23 @@ +digraph "intelliphoto/src/Tool/IntelliToolCircle.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_circle_8h_source.html b/docs-src/html/_intelli_tool_circle_8h_source.html new file mode 100644 index 0000000..7cd1234 --- /dev/null +++ b/docs-src/html/_intelli_tool_circle_8h_source.html @@ -0,0 +1,154 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolCircle.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolCircle.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLCIRCLE_H
+
2 #define INTELLITOOLCIRCLE_H
+
3 #include "IntelliTool.h"
+
4 
+
5 #include "QColor"
+
6 #include "QPoint"
+
7 
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+ +
15 friend UnitTest;
+
20 void drawCircle(int radius);
+
21 
+
25 QPoint centerPoint;
+
26 
+
27 public:
+ +
34 
+
38 virtual ~IntelliToolCircle() override;
+
39 
+
45 virtual void onMouseRightPressed(int x, int y) override;
+
46 
+
52 virtual void onMouseRightReleased(int x, int y) override;
+
53 
+
59 virtual void onMouseLeftPressed(int x, int y) override;
+
60 
+
66 virtual void onMouseLeftReleased(int x, int y) override;
+
67 
+
72 virtual void onWheelScrolled(int value) override;
+
73 
+
79 virtual void onMouseMoved(int x, int y) override;
+
80 };
+
81 
+
82 #endif
+
+
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas layer.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
+
virtual ~IntelliToolCircle() override
A Destructor.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit...
+ +
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
The IntelliToolCircle class represents a tool to draw a circle.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the middle point of the cricle.
+ + + + diff --git a/docs-src/html/_intelli_tool_flood_fill_8cpp.html b/docs-src/html/_intelli_tool_flood_fill_8cpp.html new file mode 100644 index 0000000..8f3dcd2 --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8cpp.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolFloodFill.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolFloodFill.cpp File Reference
+
+
+
#include "IntelliToolFloodFill.h"
+#include "Layer/PaintingArea.h"
+#include "QColorDialog"
+#include "QInputDialog"
+#include <functional>
+#include <queue>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_flood_fill_8cpp__incl.dot b/docs-src/html/_intelli_tool_flood_fill_8cpp__incl.dot new file mode 100644 index 0000000..db18bea --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8cpp__incl.dot @@ -0,0 +1,84 @@ +digraph "intelliphoto/src/Tool/IntelliToolFloodFill.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node23 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node25 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node10 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node30 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 [label="functional",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node31 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node31 [label="queue",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_flood_fill_8cpp_source.html b/docs-src/html/_intelli_tool_flood_fill_8cpp_source.html new file mode 100644 index 0000000..f1babb5 --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8cpp_source.html @@ -0,0 +1,216 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolFloodFill.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolFloodFill.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolFloodFill.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "QColorDialog"
+
4 #include "QInputDialog"
+
5 #include <functional>
+
6 #include <queue>
+
7 
+ +
9  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
11 }
+
12 
+ + +
15 }
+
16 
+ + +
19 }
+
20 
+ + +
23 }
+
24 
+ +
26  if(!(x>=0 && x<Area->getWidthOfActive() && y>=0 && y<Area->getHeightOfActive())) {
+
27  return;
+
28  }
+ +
30 
+
31  QPoint start(x,y);
+
32  std::queue<QPoint> Q;
+
33  Q.push(start);
+
34 
+
35  QColor oldColor = this->activeLayer->image->getPixelColor(start);
+
36  QColor newColor = this->colorPicker->getFirstColor();
+
37  if(newColor == oldColor) {
+
38  return;
+
39  }
+
40  Canvas->image->drawPixel(start,newColor);
+
41 
+
42  QPoint left, right, top, down;
+
43  while(!Q.empty()) {
+
44  QPoint Current = Q.front();
+
45  Q.pop();
+
46 
+
47  left = QPoint(Current.x() - 1,Current.y() );
+
48  right = QPoint(Current.x() + 1,Current.y() );
+
49  top = QPoint(Current.x(),Current.y() - 1);
+
50  down = QPoint(Current.x(),Current.y() + 1);
+
51  if((right.x() < Canvas->width) && (Canvas->image->getPixelColor(right) != newColor) && (activeLayer->image->getPixelColor(right) == oldColor)) {
+
52  Canvas->image->drawPixel(right,newColor);
+
53  Q.push(right);
+
54  }
+
55  if((left.x() >= 0) && (Canvas->image->getPixelColor(left) != newColor) && (activeLayer->image->getPixelColor(left) == oldColor)) {
+
56  Canvas->image->drawPixel(left,newColor);
+
57  Q.push(left);
+
58  }
+
59  if((top.y() >= 0) && (Canvas->image->getPixelColor(top) != newColor) && (activeLayer->image->getPixelColor(top) == oldColor)) {
+
60  Canvas->image->drawPixel(top,newColor);
+
61  Q.push(top);
+
62  }
+
63  if((down.y() < Canvas->height) && (Canvas->image->getPixelColor(down) != newColor) && (activeLayer->image->getPixelColor(down) == oldColor)) {
+
64  Canvas->image->drawPixel(down,newColor);
+
65  Q.push(down);
+
66  }
+
67  }
+
68 
+ +
70 }
+
71 
+ + +
74 }
+
75 
+ + +
78 
+
79 }
+
80 
+ + +
83 }
+
+
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
+ +
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
+ +
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
virtual ~IntelliToolFloodFill() override
A Destructor.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+ +
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_intelli_tool_flood_fill_8h.html b/docs-src/html/_intelli_tool_flood_fill_8h.html new file mode 100644 index 0000000..680ae30 --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8h.html @@ -0,0 +1,114 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolFloodFill.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolFloodFill.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "QColor"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolFloodFill
 The IntelliToolFloodFill class represents a tool to flood FIll a certian area. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_flood_fill_8h__dep__incl.dot b/docs-src/html/_intelli_tool_flood_fill_8h__dep__incl.dot new file mode 100644 index 0000000..a688139 --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolFloodFill.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_flood_fill_8h__incl.dot b/docs-src/html/_intelli_tool_flood_fill_8h__incl.dot new file mode 100644 index 0000000..85688f4 --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8h__incl.dot @@ -0,0 +1,22 @@ +digraph "intelliphoto/src/Tool/IntelliToolFloodFill.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_flood_fill_8h_source.html b/docs-src/html/_intelli_tool_flood_fill_8h_source.html new file mode 100644 index 0000000..bc91aa5 --- /dev/null +++ b/docs-src/html/_intelli_tool_flood_fill_8h_source.html @@ -0,0 +1,151 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolFloodFill.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolFloodFill.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLFLOODFILL_H
+
2 #define INTELLITOOLFLOODFILL_H
+
3 #include "IntelliTool.h"
+
4 
+
5 #include "QColor"
+
6 
+
7 //for unit testing
+
8 class UnitTest;
+
9 
+
10 
+ +
15 friend UnitTest;
+
16 public:
+ +
23 
+
27 virtual ~IntelliToolFloodFill() override;
+
28 
+
29 
+
35 virtual void onMouseRightPressed(int x, int y) override;
+
36 
+
42 virtual void onMouseRightReleased(int x, int y) override;
+
43 
+
49 virtual void onMouseLeftPressed(int x, int y) override;
+
50 
+
56 virtual void onMouseLeftReleased(int x, int y) override;
+
57 
+
62 virtual void onWheelScrolled(int value) override;
+
63 
+
69 virtual void onMouseMoved(int x, int y) override;
+
70 };
+
71 
+
72 #endif
+
+
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
virtual ~IntelliToolFloodFill() override
A Destructor.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
+ +
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_intelli_tool_gradient_8cpp.html b/docs-src/html/_intelli_tool_gradient_8cpp.html new file mode 100644 index 0000000..56bf5b4 --- /dev/null +++ b/docs-src/html/_intelli_tool_gradient_8cpp.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolGradient.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolGradient.cpp File Reference
+
+
+
#include "IntelliToolGradient.h"
+#include "Layer/PaintingArea.h"
+#include "math.h"
+#include <QDebug>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_gradient_8cpp_source.html b/docs-src/html/_intelli_tool_gradient_8cpp_source.html new file mode 100644 index 0000000..4f50725 --- /dev/null +++ b/docs-src/html/_intelli_tool_gradient_8cpp_source.html @@ -0,0 +1,257 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolGradient.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolGradient.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolGradient.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "math.h"
+
4 #include <QDebug>
+
5 
+ +
7  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
9  this->LineColor = QColor(0,0,0,255);
+
10  this->hasMoved = false;
+
11 }
+
12 
+ + +
15 }
+
16 
+ + +
19  doubleStartPoint[0] = static_cast<double>(x);
+
20  doubleStartPoint[1] = static_cast<double>(y);
+
21  startPoint = QPoint(x,y);
+
22  endPoint = QPoint(x,y);
+
23  VectorStartEnd[0] = 0;
+
24  VectorStartEnd[1] = 0;
+
25  Canvas->image->drawPixel(startPoint,LineColor);
+
26 }
+
27 
+ + +
30 }
+
31 
+ +
33  if(hasMoved && this->isDrawing) {
+
34  computeGradientLayer();
+ +
36  }
+
37 }
+
38 
+ + +
41 }
+
42 
+ +
44  if(this->isDrawing) {
+
45  hasMoved = true;
+
46  endPoint = QPoint(x,y);
+
47  this->Canvas->image->drawPlain(Qt::transparent);
+
48  computeGradientLayer();
+
49  Canvas->image->drawLine(startPoint,endPoint,LineColor,1);
+
50  }
+ +
52 }
+
53 
+ + +
56 }
+
57 
+
58 void IntelliToolGradient::computeAndDrawPixelColor(QPoint Point, int FirstColor[4], int SecondColor[4], double NormalVector[2], double NormalDotNormal){
+
59  double doublePoint[2];
+
60  doublePoint[0] = static_cast<double>(Point.x());
+
61  doublePoint[1] = static_cast<double>(Point.y());
+
62  double doublePointSubA[2];
+
63  doublePointSubA[0] = doublePoint[0] - doubleStartPoint[0];
+
64  doublePointSubA[1] = doublePoint[1] - doubleStartPoint[1];
+
65  double Perpendicular[2];
+
66  double PointSubADotNormal = dotProduct(doublePointSubA,NormalVector);
+
67  Perpendicular[0] = doublePoint[0] - (PointSubADotNormal / NormalDotNormal) * NormalVector[0];
+
68  Perpendicular[1] = doublePoint[1] - (PointSubADotNormal / NormalDotNormal) * NormalVector[1];
+
69  double VectorAPoint[2];
+
70  VectorAPoint[0] = static_cast<double>(Perpendicular[0] - doubleStartPoint[0]);
+
71  VectorAPoint[1] = static_cast<double>(Perpendicular[1] - doubleStartPoint[1]);
+
72  double ratio;
+
73  if(((VectorAPoint[0] < 0 && VectorStartEnd[0] < 0) || (VectorAPoint[0] > 0 && VectorStartEnd[0] > 0)) && ((VectorAPoint[1] < 0 && VectorStartEnd[1] < 0) || (VectorAPoint[1] > 0 && VectorStartEnd[1] > 0)))
+
74  ratio = lenghtVector(VectorAPoint) / lenghtVector(VectorStartEnd);
+
75  else{
+
76  ratio = -1;
+
77  }
+
78  QColor computedColor;
+
79  if(ratio < 0) {
+
80  computedColor = colorPicker->getFirstColor();
+
81  }
+
82  else if(ratio > 1) {
+
83  computedColor = colorPicker->getSecondColor();
+
84  }
+
85  else{
+
86  computedColor.setRed(static_cast<int>(ratio * SecondColor[0] + (1 - ratio) * FirstColor[0]));
+
87  computedColor.setGreen(static_cast<int>(ratio * SecondColor[1] + (1 - ratio) * FirstColor[1]));
+
88  computedColor.setBlue(static_cast<int>(ratio * SecondColor[2] + (1 - ratio) * FirstColor[2]));
+
89  computedColor.setAlpha(static_cast<int>(ratio * SecondColor[3] + (1 - ratio) * FirstColor[3]));
+
90  }
+
91  Canvas->image->drawPixel(Point,computedColor);
+
92 }
+
93 
+
94 double IntelliToolGradient::dotProduct(double Vector1[2], double Vector2[2]){
+
95  return static_cast<double>(Vector1[0] * Vector2[0] + Vector1[1] * Vector2[1]);
+
96 }
+
97 
+
98 double IntelliToolGradient::lenghtVector(double Vector[2]){
+
99  return static_cast<double>((sqrt(Vector[0] * Vector[0] + Vector[1] * Vector[1])));
+
100 }
+
101 
+
102 void IntelliToolGradient::computeGradientLayer(){
+
103  int FirstColor[4];
+
104  colorPicker->getFirstColor().getRgb(&FirstColor[0],&FirstColor[1],&FirstColor[2],&FirstColor[3]);
+
105  int SecondColor[4];
+
106  colorPicker->getSecondColor().getRgb(&SecondColor[0],&SecondColor[1],&SecondColor[2],&SecondColor[3]);
+
107 
+
108  double NormalVector[2];
+
109  double NormalDotNormal;
+
110 
+
111  VectorStartEnd[0] = static_cast<double>(endPoint.x() - startPoint.x());
+
112  VectorStartEnd[1] = static_cast<double>(endPoint.y() - startPoint.y());
+
113  NormalVector[0] = VectorStartEnd[1];
+
114  NormalVector[1] = (-1 * VectorStartEnd[0]);
+
115  NormalDotNormal = dotProduct(NormalVector,NormalVector);
+
116 
+
117  for(int i = 0; i < activeLayer->height; i++) {
+
118  for(int j = 0; j < activeLayer->width; j++) {
+
119  computeAndDrawPixelColor(QPoint(j,i), FirstColor, SecondColor, NormalVector, NormalDotNormal);
+
120  }
+
121  }
+
122 }
+
+
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click Released of a Mouse. Call this in child classes!
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
+
virtual ~IntelliToolGradient() override
~IntelliToolGradient basic destructor.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
IntelliToolGradient basic constructor of the gradient tool.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click Pressed of a Mouse. Resetting the current draw....
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Call this in child classes!
+ +
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+ +
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ +
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+ + + + diff --git a/docs-src/html/_intelli_tool_gradient_8h.html b/docs-src/html/_intelli_tool_gradient_8h.html new file mode 100644 index 0000000..2ba7603 --- /dev/null +++ b/docs-src/html/_intelli_tool_gradient_8h.html @@ -0,0 +1,113 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolGradient.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolGradient.h File Reference
+
+
+
#include "IntelliTool.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolGradient
 The IntelliToolGradient class that represents a gradient call. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_gradient_8h_source.html b/docs-src/html/_intelli_tool_gradient_8h_source.html new file mode 100644 index 0000000..bfe96a7 --- /dev/null +++ b/docs-src/html/_intelli_tool_gradient_8h_source.html @@ -0,0 +1,163 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolGradient.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolGradient.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLGRADIENT_H
+
2 #define INTELLITOOLGRADIENT_H
+
3 #include "IntelliTool.h"
+ +
8 
+
9 public:
+ +
17 
+
21 virtual ~IntelliToolGradient() override;
+
22 
+
28 virtual void onMouseRightPressed(int x, int y) override;
+
29 
+
35 virtual void onMouseRightReleased(int x, int y) override;
+
36 
+
42 virtual void onMouseLeftPressed(int x, int y) override;
+
43 
+
49 virtual void onMouseLeftReleased(int x, int y) override;
+
50 
+
55 virtual void onWheelScrolled(int value) override;
+
56 
+
62 virtual void onMouseMoved(int x, int y) override;
+
63 
+
64 private:
+
65 
+
69 QPoint startPoint;
+
70 
+
74 QPoint endPoint;
+
78 double doubleStartPoint[2];
+
79 
+
83 double VectorStartEnd[2];
+
84 
+
88 QColor LineColor;
+
89 
+
93 bool hasMoved;
+
94 
+
99 void computeAndDrawPixelColor(QPoint Point, int FirstColor[4], int SecondColor[4], double NormalVector[2], double NormalDotNormal);
+
100 
+
107 double dotProduct(double Vector1[2], double Vector2[2]);
+
108 
+
114 double lenghtVector(double Vector[2]);
+
115 
+
119 void computeGradientLayer();
+
120 };
+
121 
+
122 #endif // INTELLITOOLGRADIENT_H
+
+
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click Released of a Mouse. Call this in child classes!
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
virtual ~IntelliToolGradient() override
~IntelliToolGradient basic destructor.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
+
IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
IntelliToolGradient basic constructor of the gradient tool.
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click Pressed of a Mouse. Resetting the current draw....
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Call this in child classes!
+
The IntelliColorPicker manages the selected colors for one whole project.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
The IntelliToolGradient class that represents a gradient call.
+ + + + diff --git a/docs-src/html/_intelli_tool_line_8cpp.html b/docs-src/html/_intelli_tool_line_8cpp.html new file mode 100644 index 0000000..172eb59 --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8cpp.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolLine.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolLine.cpp File Reference
+
+
+
#include "IntelliToolLine.h"
+#include "Layer/PaintingArea.h"
+#include "QColorDialog"
+#include "QInputDialog"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_line_8cpp__incl.dot b/docs-src/html/_intelli_tool_line_8cpp__incl.dot new file mode 100644 index 0000000..d1e7181 --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8cpp__incl.dot @@ -0,0 +1,80 @@ +digraph "intelliphoto/src/Tool/IntelliToolLine.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node23 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node25 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node10 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_line_8cpp_source.html b/docs-src/html/_intelli_tool_line_8cpp_source.html new file mode 100644 index 0000000..43832cf --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8cpp_source.html @@ -0,0 +1,181 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolLine.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolLine.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolLine.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "QColorDialog"
+
4 #include "QInputDialog"
+
5 
+ +
7  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
9 }
+
10 
+ + +
13 }
+
14 
+ + +
17 }
+
18 
+ + +
21 }
+
22 
+ + +
25  this->lineStartingPoint = QPoint(x,y);
+
26  this->Canvas->image->drawPoint(lineStartingPoint, colorPicker->getFirstColor(),Toolsettings->getLineWidth());
+ +
28 }
+
29 
+ + +
32 }
+
33 
+ + + +
37 }
+
38 
+
39 void IntelliToolLine::onMouseMoved(int x, int y){
+
40  if(this->isDrawing) {
+
41  this->Canvas->image->drawPlain(Qt::transparent);
+
42  QPoint next(x,y);
+
43  this->Canvas->image->drawLine(lineStartingPoint,next,colorPicker->getFirstColor(),Toolsettings->getLineWidth());
+
44  }
+ +
46 }
+
+
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+ +
virtual ~IntelliToolLine() override
An abstract Destructor.
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+ +
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the starting point of the line.
+ +
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+ + + + diff --git a/docs-src/html/_intelli_tool_line_8h.html b/docs-src/html/_intelli_tool_line_8h.html new file mode 100644 index 0000000..78e0d66 --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8h.html @@ -0,0 +1,114 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolLine.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolLine.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "QPoint"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolLine
 The IntelliToolFloodFill class represents a tool to draw a line. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_line_8h.js b/docs-src/html/_intelli_tool_line_8h.js new file mode 100644 index 0000000..dde1f78 --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8h.js @@ -0,0 +1,8 @@ +var _intelli_tool_line_8h = +[ + [ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ], + [ "LineStyle", "_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7", [ + [ "SOLID_LINE", "_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199", null ], + [ "DOTTED_LINE", "_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e", null ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_tool_line_8h__dep__incl.dot b/docs-src/html/_intelli_tool_line_8h__dep__incl.dot new file mode 100644 index 0000000..caaea0b --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolLine.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_line_8h__incl.dot b/docs-src/html/_intelli_tool_line_8h__incl.dot new file mode 100644 index 0000000..1cc4f4d --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8h__incl.dot @@ -0,0 +1,22 @@ +digraph "intelliphoto/src/Tool/IntelliToolLine.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_line_8h_source.html b/docs-src/html/_intelli_tool_line_8h_source.html new file mode 100644 index 0000000..c400cc4 --- /dev/null +++ b/docs-src/html/_intelli_tool_line_8h_source.html @@ -0,0 +1,152 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolLine.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolLine.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLLINE_H
+
2 #define INTELLITOOLLINE_H
+
3 #include "IntelliTool.h"
+
4 
+
5 #include "QPoint"
+
6 
+
7 //for unit testing
+
8 class UnitTest;
+
9 
+
13 class IntelliToolLine : public IntelliTool {
+
14 friend UnitTest;
+
18 QPoint lineStartingPoint;
+
19 
+
20 public:
+
21 
+ +
28 
+
32 virtual ~IntelliToolLine() override;
+
33 
+
39 virtual void onMouseRightPressed(int x, int y) override;
+
40 
+
46 virtual void onMouseRightReleased(int x, int y) override;
+
47 
+
53 virtual void onMouseLeftPressed(int x, int y) override;
+
54 
+
60 virtual void onMouseLeftReleased(int x, int y) override;
+
61 
+
66 virtual void onWheelScrolled(int value) override;
+
67 
+
73 virtual void onMouseMoved(int x, int y) override;
+
74 };
+
75 
+
76 #endif
+
+
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
virtual ~IntelliToolLine() override
An abstract Destructor.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
+ +
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the starting point of the line.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
The IntelliToolFloodFill class represents a tool to draw a line.
+ + + + diff --git a/docs-src/html/_intelli_tool_pen_8cpp.html b/docs-src/html/_intelli_tool_pen_8cpp.html new file mode 100644 index 0000000..fb17e86 --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8cpp.html @@ -0,0 +1,108 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPen.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPen.cpp File Reference
+
+
+
#include "IntelliToolPen.h"
+#include "Layer/PaintingArea.h"
+#include "QDebug"
+#include "QColorDialog"
+#include "QInputDialog"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_pen_8cpp__incl.dot b/docs-src/html/_intelli_tool_pen_8cpp__incl.dot new file mode 100644 index 0000000..3c494b2 --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8cpp__incl.dot @@ -0,0 +1,83 @@ +digraph "intelliphoto/src/Tool/IntelliToolPen.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node23 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node25 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node10 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node30 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_pen_8cpp_source.html b/docs-src/html/_intelli_tool_pen_8cpp_source.html new file mode 100644 index 0000000..85207c0 --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8cpp_source.html @@ -0,0 +1,181 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPen.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPen.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolPen.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "QDebug"
+
4 #include "QColorDialog"
+
5 #include "QInputDialog"
+
6 
+ +
8  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
10 }
+
11 
+ + +
14 }
+
15 
+ + +
18 }
+
19 
+ + +
22 }
+
23 
+ + +
26  this->previousPoint = QPoint(x,y);
+ + +
29 }
+
30 
+ + +
33 }
+
34 
+
35 void IntelliToolPen::onMouseMoved(int x, int y){
+
36  if(this->isDrawing) {
+
37  QPoint newPoint(x,y);
+
38  this->Canvas->image->drawLine(this->previousPoint, newPoint, colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
39  this->previousPoint = newPoint;
+
40  }
+ +
42 }
+
43 
+ + + +
47 }
+
+
+ +
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
virtual ~IntelliToolPen() override
A Destructor.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. To draw the line.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current draw.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing penWidth relativ to value.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the drawing to the active layer.
+ +
IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. Reading the penWidth.
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+ +
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Starting the drawing procedure.
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_intelli_tool_pen_8h.html b/docs-src/html/_intelli_tool_pen_8h.html new file mode 100644 index 0000000..9a08486 --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8h.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPen.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolPen.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "QColor"
+#include "QPoint"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolPen
 The IntelliToolPen class represents a tool to draw a line. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_pen_8h__dep__incl.dot b/docs-src/html/_intelli_tool_pen_8h__dep__incl.dot new file mode 100644 index 0000000..3f34edc --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolPen.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_pen_8h__incl.dot b/docs-src/html/_intelli_tool_pen_8h__incl.dot new file mode 100644 index 0000000..1057a48 --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8h__incl.dot @@ -0,0 +1,23 @@ +digraph "intelliphoto/src/Tool/IntelliToolPen.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_pen_8h_source.html b/docs-src/html/_intelli_tool_pen_8h_source.html new file mode 100644 index 0000000..4a4e257 --- /dev/null +++ b/docs-src/html/_intelli_tool_pen_8h_source.html @@ -0,0 +1,150 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPen.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPen.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLPEN_H
+
2 #define INTELLITOOLPEN_H
+
3 
+
4 #include "IntelliTool.h"
+
5 #include "QColor"
+
6 #include "QPoint"
+
7 
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+
14 class IntelliToolPen : public IntelliTool {
+
15 friend UnitTest;
+
19 QPoint previousPoint;
+
20 public:
+ +
30 virtual ~IntelliToolPen() override;
+
31 
+
37 virtual void onMouseRightPressed(int x, int y) override;
+
38 
+
44 virtual void onMouseRightReleased(int x, int y) override;
+
45 
+
51 virtual void onMouseLeftPressed(int x, int y) override;
+
52 
+
58 virtual void onMouseLeftReleased(int x, int y) override;
+
59 
+
64 virtual void onWheelScrolled(int value) override;
+
65 
+
71 virtual void onMouseMoved(int x, int y) override;
+
72 };
+
73 
+
74 #endif
+
+
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
virtual ~IntelliToolPen() override
A Destructor.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. To draw the line.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current draw.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
The IntelliToolPen class represents a tool to draw a line.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing penWidth relativ to value.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the drawing to the active layer.
+
IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. Reading the penWidth.
+
The IntelliColorPicker manages the selected colors for one whole project.
+ +
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Starting the drawing procedure.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_intelli_tool_plain_8cpp.html b/docs-src/html/_intelli_tool_plain_8cpp.html new file mode 100644 index 0000000..8c261c5 --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8cpp.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPlain.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPlain.cpp File Reference
+
+
+
#include "IntelliToolPlain.h"
+#include "Layer/PaintingArea.h"
+#include "QColorDialog"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_plain_8cpp__incl.dot b/docs-src/html/_intelli_tool_plain_8cpp__incl.dot new file mode 100644 index 0000000..924948c --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8cpp__incl.dot @@ -0,0 +1,78 @@ +digraph "intelliphoto/src/Tool/IntelliToolPlain.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node23 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node25 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node10 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_plain_8cpp_source.html b/docs-src/html/_intelli_tool_plain_8cpp_source.html new file mode 100644 index 0000000..ba6d543 --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8cpp_source.html @@ -0,0 +1,167 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPlain.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPlain.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolPlain.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "QColorDialog"
+
4 
+ +
6  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
8 }
+
9 
+ + +
12 }
+
13 
+ + + + +
18 }
+
19 
+ + +
22 }
+
23 
+ + +
26 }
+
27 
+ + +
30 }
+
31 
+ + +
34 }
+
35 
+ + +
38 }
+
+
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+ +
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
+ +
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+ +
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
virtual ~IntelliToolPlainTool() override
A Destructor.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+ + + + diff --git a/docs-src/html/_intelli_tool_plain_8h.html b/docs-src/html/_intelli_tool_plain_8h.html new file mode 100644 index 0000000..1dc1813 --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8h.html @@ -0,0 +1,114 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPlain.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolPlain.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "QColor"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolPlainTool
 The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_plain_8h__dep__incl.dot b/docs-src/html/_intelli_tool_plain_8h__dep__incl.dot new file mode 100644 index 0000000..7fe536a --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolPlain.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_plain_8h__incl.dot b/docs-src/html/_intelli_tool_plain_8h__incl.dot new file mode 100644 index 0000000..04d0217 --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8h__incl.dot @@ -0,0 +1,22 @@ +digraph "intelliphoto/src/Tool/IntelliToolPlain.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_plain_8h_source.html b/docs-src/html/_intelli_tool_plain_8h_source.html new file mode 100644 index 0000000..337104c --- /dev/null +++ b/docs-src/html/_intelli_tool_plain_8h_source.html @@ -0,0 +1,149 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPlain.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPlain.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLFLOODFILLTOOL_H
+
2 #define INTELLITOOLFLOODFILLTOOL_H
+
3 
+
4 #include "IntelliTool.h"
+
5 #include "QColor"
+
6 
+
7 //for unit testing
+
8 class UnitTest;
+
9 
+ +
14 friend UnitTest;
+
15 public:
+ +
25 virtual ~IntelliToolPlainTool() override;
+
26 
+
32 virtual void onMouseRightPressed(int x, int y) override;
+
33 
+
39 virtual void onMouseRightReleased(int x, int y) override;
+
40 
+
46 virtual void onMouseLeftPressed(int x, int y) override;
+
47 
+
53 virtual void onMouseLeftReleased(int x, int y) override;
+
54 
+
59 virtual void onWheelScrolled(int value) override;
+
60 
+
66 virtual void onMouseMoved(int x, int y) override;
+
67 
+
68 };
+
69 
+
70 #endif
+
+
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+ +
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
virtual ~IntelliToolPlainTool() override
A Destructor.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_intelli_tool_polygon_8cpp.html b/docs-src/html/_intelli_tool_polygon_8cpp.html new file mode 100644 index 0000000..cd97de3 --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8cpp.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPolygon.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPolygon.cpp File Reference
+
+
+
#include "IntelliToolPolygon.h"
+#include "Layer/PaintingArea.h"
+#include <QCursor>
+#include <QInputDialog>
+#include <QDebug>
+#include <cmath>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_polygon_8cpp__incl.dot b/docs-src/html/_intelli_tool_polygon_8cpp__incl.dot new file mode 100644 index 0000000..61c8707 --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8cpp__incl.dot @@ -0,0 +1,85 @@ +digraph "intelliphoto/src/Tool/IntelliToolPolygon.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node11 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node11 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node11 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node11 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node15 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node15 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node11 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node24 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node24 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node11 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="QCursor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node30 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node31 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node31 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_polygon_8cpp_source.html b/docs-src/html/_intelli_tool_polygon_8cpp_source.html new file mode 100644 index 0000000..6ec27c8 --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8cpp_source.html @@ -0,0 +1,301 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPolygon.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPolygon.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolPolygon.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include <QCursor>
+
4 #include <QInputDialog>
+
5 #include <QDebug>
+
6 #include <cmath>
+
7 
+
8 IntelliToolPolygon::IntelliToolPolygon(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings, bool isSettingPolygon)
+
9  : IntelliTool(Area, colorPicker, Toolsettings){
+
10  isPointNearStart = false;
+
11  drawingOfPolygon = false;
+
12  isInside = false;
+
13  this->isSettingPolygon = isSettingPolygon;
+
14  if(isSettingPolygon) {
+ +
16  }
+ +
18 }
+
19 
+ +
21  if(drawingOfPolygon) {
+ +
23  }
+
24 }
+
25 
+ +
27  if(!drawingOfPolygon && Area->getTypeOfImageActiveLayer() == ImageType::SHAPEDIMAGE && x > 0 && y > 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {
+
28  if(Area->getPolygonDataOfActiveLayer().size()>2) {
+ +
30  QPoint Point(x,y);
+
31  isInside = IntelliTriangulation::isInPolygon(Triangles,Point);
+
32  }
+
33  else{
+
34  isInside = true;
+
35  }
+
36  if(isSettingPolygon) {
+
37  isInside = true;
+
38  }
+
39  }
+
40  else if(!drawingOfPolygon && Area->getTypeOfImageActiveLayer() == ImageType::RASTERIMAGE && x >= 0 && y >= 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {
+
41  isInside = true;
+
42  }
+
43 
+
44  if(isInside && !drawingOfPolygon) {
+ +
46  QPoint drawingPoint = QPoint(x,y);
+
47 
+
48  drawingOfPolygon = true;
+
49  QPointList.push_back(drawingPoint);
+
50 
+
51  this->Canvas->image->drawPoint(QPointList.back(), colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
52  if(!isSettingPolygon) {
+ +
54  }
+
55  }
+
56  else if(drawingOfPolygon && QPointList.size() > 0 && isNearStart(x,y,QPointList.front())) {
+
57  if(QPointList.size() > 2) {
+
58  isPointNearStart = true;
+
59  this->Canvas->image->drawLine(QPointList.back(), QPointList.front(), colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
60  if(!isSettingPolygon) {
+ +
62  }
+
63  }
+
64  else{
+
65  isInside = false;
+
66  drawingOfPolygon = false;
+
67  QPointList.clear();
+ + +
70  }
+
71 
+
72  }
+
73  else if(drawingOfPolygon) {
+
74  QPoint drawingPoint(x,y);
+
75  QPointList.push_back(drawingPoint);
+
76  this->Canvas->image->drawLine(QPointList[QPointList.size() - 2], QPointList[QPointList.size() - 1], colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
77  if(!isSettingPolygon) {
+ +
79  }
+
80  }
+
81 }
+
82 
+ +
84  drawingOfPolygon = false;
+
85  isInside = false;
+
86  isPointNearStart = false;
+
87  QPointList.clear();
+ +
89 }
+
90 
+ +
92  if(isPointNearStart) {
+
93  isInside = false;
+
94  isPointNearStart = false;
+
95  drawingOfPolygon = false;
+
96  if(!isSettingPolygon) {
+
97  std::vector<Triangle> Triangles = IntelliTriangulation::calculateTriangles(QPointList);
+
98  QPoint Point;
+
99  QColor colorTwo(colorPicker->getSecondColor());
+
100  colorTwo.setAlpha(Toolsettings->getInnerAlpha());
+
101  for(int i = 0; i < activeLayer->width; i++) {
+
102  for(int j = 0; j < activeLayer->height; j++) {
+
103  Point = QPoint(i,j);
+
104  if(IntelliTriangulation::isInPolygon(Triangles,Point)) {
+
105  this->Canvas->image->drawPixel(Point, colorTwo);
+
106  }
+
107  }
+
108  }
+
109  for(int i = 0; i<static_cast<int>(QPointList.size()); i++) {
+
110  int next = static_cast<int>((i + static_cast<int>(1)) % static_cast<int>(QPointList.size()));
+
111  this->Canvas->image->drawLine(QPointList[static_cast<unsigned long long>(i)], QPointList[static_cast<unsigned long long>(next)], colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
112  }
+
113 
+
114  }
+
115  else{
+
116  Canvas->image->setPolygon(QPointList);
+ +
118  }
+ +
120  QPointList.clear();
+
121  }
+
122 }
+
123 
+ + +
126 }
+
127 
+ +
129  if(!isSettingPolygon) {
+ +
131  if(!isDrawing) {
+ +
133  }
+
134  }
+
135 }
+
136 
+ +
138  if(!isSettingPolygon) {
+ +
140  }
+
141 }
+
142 
+
143 bool IntelliToolPolygon::isNearStart(int x, int y, QPoint Startpoint){
+
144  int StartX = Startpoint.x();
+
145  int StartY = Startpoint.y();
+
146  int valueToNear = 5;
+
147 
+
148  float euklid = sqrt(pow(static_cast<float>(StartX - x),2.f) + pow(static_cast<float>(StartY - y),2.f));
+
149 
+
150  return static_cast<int>(euklid)<valueToNear;
+
151 }
+
+
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+ +
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+ +
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
+
std::vector< QPoint > getPolygonDataOfActiveLayer()
getPolygonDataOfActiveLayer get the polygon data of the active Layer.
+
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
+
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
+
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
+ +
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+ +
ImageType getTypeOfImageActiveLayer()
getTypeOfImageActiveLayer get the type of the active Layer.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+ +
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
The IntelliColorPicker manages the selected colors for one whole project.
+
~IntelliToolPolygon() override
A Destructor.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
+
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
+ + + + diff --git a/docs-src/html/_intelli_tool_polygon_8h.html b/docs-src/html/_intelli_tool_polygon_8h.html new file mode 100644 index 0000000..885cb85 --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8h.html @@ -0,0 +1,116 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPolygon.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolPolygon.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "IntelliHelper/IntelliTriangulation.h"
+#include <vector>
+#include <QPoint>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolPolygon
 The IntelliToolPolygon managed the Drawing of Polygonforms. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_polygon_8h__dep__incl.dot b/docs-src/html/_intelli_tool_polygon_8h__dep__incl.dot new file mode 100644 index 0000000..1093625 --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolPolygon.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_polygon_8h__incl.dot b/docs-src/html/_intelli_tool_polygon_8h__incl.dot new file mode 100644 index 0000000..8415d5b --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8h__incl.dot @@ -0,0 +1,27 @@ +digraph "intelliphoto/src/Tool/IntelliToolPolygon.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node9 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_polygon_8h_source.html b/docs-src/html/_intelli_tool_polygon_8h_source.html new file mode 100644 index 0000000..bc72609 --- /dev/null +++ b/docs-src/html/_intelli_tool_polygon_8h_source.html @@ -0,0 +1,164 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolPolygon.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPolygon.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLPOLYGON_H
+
2 #define INTELLITOOLPOLYGON_H
+
3 
+
4 #include "IntelliTool.h"
+ +
6 #include <vector>
+
7 #include <QPoint>
+
8 
+
9 //for unit testing
+
10 class UnitTest;
+
11 
+ +
16 {
+
17 friend UnitTest;
+
25 bool isNearStart(int x, int y, QPoint Startpoint);
+
26 
+
30 bool drawingOfPolygon;
+
31 
+
35 bool isInside;
+
36 
+
40 bool isSettingPolygon;
+
41 
+
45 bool isPointNearStart;
+
46 
+
50 std::vector<QPoint> QPointList;
+
51 public:
+ +
62 ~IntelliToolPolygon() override;
+
63 
+
69 virtual void onMouseLeftPressed(int x, int y) override;
+
70 
+
76 virtual void onMouseLeftReleased(int x, int y) override;
+
77 
+
83 virtual void onMouseRightPressed(int x, int y) override;
+
84 
+
90 virtual void onMouseRightReleased(int x, int y) override;
+
91 
+
96 virtual void onWheelScrolled(int value) override;
+
97 
+
103 virtual void onMouseMoved(int x, int y) override;
+
104 
+
105 };
+
106 
+
107 #endif
+
+
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
~IntelliToolPolygon() override
A Destructor.
+ +
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The IntelliToolPolygon managed the Drawing of Polygonforms.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
+ +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
+ + + + diff --git a/docs-src/html/_intelli_tool_rectangle_8cpp.html b/docs-src/html/_intelli_tool_rectangle_8cpp.html new file mode 100644 index 0000000..970cd98 --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8cpp.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolRectangle.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolRectangle.cpp File Reference
+
+
+
#include "IntelliToolRectangle.h"
+#include "Layer/PaintingArea.h"
+#include "QInputDialog"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_rectangle_8cpp__incl.dot b/docs-src/html/_intelli_tool_rectangle_8cpp__incl.dot new file mode 100644 index 0000000..d1bd66c --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8cpp__incl.dot @@ -0,0 +1,80 @@ +digraph "intelliphoto/src/Tool/IntelliToolRectangle.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node14 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node10 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node23 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node25 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node10 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node27 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node28 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_rectangle_8cpp_source.html b/docs-src/html/_intelli_tool_rectangle_8cpp_source.html new file mode 100644 index 0000000..798fc6f --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8cpp_source.html @@ -0,0 +1,199 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolRectangle.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolRectangle.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolRectangle.h"
+
2 #include "Layer/PaintingArea.h"
+
3 #include "QInputDialog"
+
4 
+ +
6  : IntelliTool(Area, colorPicker, Toolsettings){
+ +
8 }
+
9 
+ + +
12 }
+
13 
+
14 void IntelliToolRectangle::drawRectangle(QPoint otherCorner){
+
15  int xMin = std::min(originCorner.x(), otherCorner.x());
+
16  int xMax = std::max(originCorner.x(), otherCorner.x());
+
17 
+
18  int yMin = std::min(originCorner.y(), otherCorner.y());
+
19  int yMax = std::max(originCorner.y(), otherCorner.y());
+
20 
+
21  QColor clr = colorPicker->getSecondColor();
+
22  clr.setAlpha(Toolsettings->getInnerAlpha());
+
23  for(int y = yMin; y<=yMax; y++) {
+
24  this->Canvas->image->drawLine(QPoint(xMin,y), QPoint(xMax, y), clr, 1);
+
25  }
+
26  this->Canvas->image->drawLine(QPoint(xMin, yMin),QPoint(xMin, yMax), this->colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
27  this->Canvas->image->drawLine(QPoint(xMin, yMin),QPoint(xMax, yMin), this->colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
28  this->Canvas->image->drawLine(QPoint(xMax, yMax),QPoint(xMin, yMax), this->colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
29  this->Canvas->image->drawLine(QPoint(xMax, yMax),QPoint(xMax, yMin), this->colorPicker->getFirstColor(), Toolsettings->getLineWidth());
+
30 }
+
31 
+ + +
34 }
+
35 
+ + +
38 }
+
39 
+ + +
42  this->originCorner = QPoint(x,y);
+
43  drawRectangle(originCorner);
+ +
45 }
+
46 
+ + +
49 }
+
50 
+ +
52  if(this->isDrawing) {
+
53  this->Canvas->image->drawPlain(Qt::transparent);
+
54  QPoint next(x,y);
+
55  drawRectangle(next);
+
56  }
+ +
58 }
+
59 
+ + + +
63 }
+
+
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.Changing edgeWidth relativ to value.
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
virtual ~IntelliToolRectangle() override
A Destructor.
+
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
+ +
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+ +
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
+
The IntelliColorPicker manages the selected colors for one whole project.
+ +
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the draw to the active layer.
+
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
+ + + + diff --git a/docs-src/html/_intelli_tool_rectangle_8h.html b/docs-src/html/_intelli_tool_rectangle_8h.html new file mode 100644 index 0000000..2a2d84a --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8h.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolRectangle.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolRectangle.h File Reference
+
+
+
#include "IntelliTool.h"
+#include "QColor"
+#include "QPoint"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolRectangle
 The IntelliToolRectangle class represents a tool to draw a rectangle. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_tool_rectangle_8h__dep__incl.dot b/docs-src/html/_intelli_tool_rectangle_8h__dep__incl.dot new file mode 100644 index 0000000..01a2967 --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8h__dep__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Tool/IntelliToolRectangle.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_tool_rectangle_8h__incl.dot b/docs-src/html/_intelli_tool_rectangle_8h__incl.dot new file mode 100644 index 0000000..688c75e --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8h__incl.dot @@ -0,0 +1,23 @@ +digraph "intelliphoto/src/Tool/IntelliToolRectangle.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_tool_rectangle_8h_source.html b/docs-src/html/_intelli_tool_rectangle_8h_source.html new file mode 100644 index 0000000..fd52d68 --- /dev/null +++ b/docs-src/html/_intelli_tool_rectangle_8h_source.html @@ -0,0 +1,153 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliToolRectangle.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolRectangle.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLIRECTANGLETOOL_H
+
2 #define INTELLIRECTANGLETOOL_H
+
3 
+
4 #include "IntelliTool.h"
+
5 
+
6 #include "QColor"
+
7 #include "QPoint"
+
8 
+
9 //for unit testing
+
10 class UnitTest;
+
11 
+ +
16 friend UnitTest;
+
21 void drawRectangle(QPoint otherCorner);
+
22 
+
26 QPoint originCorner;
+
27 public:
+ +
37 virtual ~IntelliToolRectangle() override;
+
38 
+
44 virtual void onMouseRightPressed(int x, int y) override;
+
45 
+
51 virtual void onMouseRightReleased(int x, int y) override;
+
52 
+
58 virtual void onMouseLeftPressed(int x, int y) override;
+
59 
+
65 virtual void onMouseLeftReleased(int x, int y) override;
+
66 
+
71 virtual void onWheelScrolled(int value) override;
+
72 
+
78 virtual void onMouseMoved(int x, int y) override;
+
79 };
+
80 
+
81 #endif
+
+
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.Changing edgeWidth relativ to value.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
+ +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
virtual ~IntelliToolRectangle() override
A Destructor.
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
The IntelliToolRectangle class represents a tool to draw a rectangle.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
+
The IntelliColorPicker manages the selected colors for one whole project.
+ +
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the draw to the active layer.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
+ + + + diff --git a/docs-src/html/_intelli_toolsettings_8cpp.html b/docs-src/html/_intelli_toolsettings_8cpp.html new file mode 100644 index 0000000..b7ae367 --- /dev/null +++ b/docs-src/html/_intelli_toolsettings_8cpp.html @@ -0,0 +1,105 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliToolsettings.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolsettings.cpp File Reference
+
+
+
#include "IntelliToolsettings.h"
+#include <QInputDialog>
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_intelli_toolsettings_8cpp__incl.dot b/docs-src/html/_intelli_toolsettings_8cpp__incl.dot new file mode 100644 index 0000000..9458335 --- /dev/null +++ b/docs-src/html/_intelli_toolsettings_8cpp__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliToolsettings.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliToolsettings.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_toolsettings_8cpp_source.html b/docs-src/html/_intelli_toolsettings_8cpp_source.html new file mode 100644 index 0000000..4837275 --- /dev/null +++ b/docs-src/html/_intelli_toolsettings_8cpp_source.html @@ -0,0 +1,148 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliToolsettings.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolsettings.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliToolsettings.h"
+
2 #include <QInputDialog>
+
3 
+ +
5 {
+
6  lineWidth = 1;
+
7  innerAlpha = 255;
+
8 }
+
9 
+ +
11 
+
12 }
+
13 
+ +
15  return lineWidth;
+
16 }
+
17 
+ +
19  if(LineWidth < 1) {
+
20  LineWidth = 1;
+
21  }
+
22  else if(LineWidth > 50) {
+
23  LineWidth = 50;
+
24  }
+
25  lineWidth = LineWidth;
+
26 }
+
27 
+ +
29  return this->innerAlpha;
+
30 }
+
31 
+ +
33  if(innerAlpha < 0) {
+
34  innerAlpha = 0;
+
35  }
+
36  else if(innerAlpha > 255) {
+
37  innerAlpha = 255;
+
38  }
+
39  this->innerAlpha = innerAlpha;
+
40 }
+
+
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+ +
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
virtual ~IntelliToolsettings()
~IntelliToolsettings - basic destructor.
+
void setInnerAlpha(int innerAlpha)
setInnerAlpha sets the inner alpha attribute of the Tool.
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
IntelliToolsettings()
IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.
+ + + + diff --git a/docs-src/html/_intelli_toolsettings_8h.html b/docs-src/html/_intelli_toolsettings_8h.html new file mode 100644 index 0000000..eee9354 --- /dev/null +++ b/docs-src/html/_intelli_toolsettings_8h.html @@ -0,0 +1,112 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliToolsettings.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolsettings.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + +

+Classes

class  IntelliToolsettings
 The IntelliToolsettings class managing the settings of the tools, independent of an existing tool. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_toolsettings_8h__dep__incl.dot b/docs-src/html/_intelli_toolsettings_8h__dep__incl.dot new file mode 100644 index 0000000..e71a1a5 --- /dev/null +++ b/docs-src/html/_intelli_toolsettings_8h__dep__incl.dot @@ -0,0 +1,62 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliToolsettings.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Intelli\lHelper/IntelliToolsettings.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Tool\l/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node4 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node4 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node4 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node4 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node4 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node4 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node4 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node4 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node4 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "]; + Node15 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "]; + Node16 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "]; + Node17 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "]; + Node18 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "]; + Node19 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node20 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "]; + Node21 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_toolsettings_8h_source.html b/docs-src/html/_intelli_toolsettings_8h_source.html new file mode 100644 index 0000000..a36e815 --- /dev/null +++ b/docs-src/html/_intelli_toolsettings_8h_source.html @@ -0,0 +1,137 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliToolsettings.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolsettings.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITOOLSETTINGS_H
+
2 #define INTELLITOOLSETTINGS_H
+
3 
+
4 //for unit testing
+
5 class UnitTest;
+ +
10 friend UnitTest;
+
11 public:
+ +
16 
+
20 virtual ~IntelliToolsettings();
+
21 
+
26 int getLineWidth() const;
+
27 
+
32 void setLineWidth(int LineWidth);
+
33 
+
38 int getInnerAlpha() const;
+
39 
+
44 void setInnerAlpha(int innerAlpha);
+
45 
+
46 private:
+
47 
+
51 int lineWidth;
+
52 
+
56 int innerAlpha;
+
57 };
+
58 
+
59 #endif
+
+
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
virtual ~IntelliToolsettings()
~IntelliToolsettings - basic destructor.
+
void setInnerAlpha(int innerAlpha)
setInnerAlpha sets the inner alpha attribute of the Tool.
+ +
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
IntelliToolsettings()
IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_intelli_triangulation_8cpp.html b/docs-src/html/_intelli_triangulation_8cpp.html new file mode 100644 index 0000000..e77d2dc --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8cpp.html @@ -0,0 +1,132 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliTriangulation.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliTriangulation.cpp File Reference
+
+
+
#include "IntelliTriangulation.h"
+#include <algorithm>
+#include <queue>
+#include <cmath>
+
+

Go to the source code of this file.

+ + + + +

+Macros

#define pi   3.1415926535897932384626433832795
 
+

Macro Definition Documentation

+ +

◆ pi

+ +
+
+ + + + +
#define pi   3.1415926535897932384626433832795
+
+ +

Definition at line 5 of file IntelliTriangulation.cpp.

+ +
+
+
+
+ + + + diff --git a/docs-src/html/_intelli_triangulation_8cpp.js b/docs-src/html/_intelli_triangulation_8cpp.js new file mode 100644 index 0000000..f187ea4 --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8cpp.js @@ -0,0 +1,4 @@ +var _intelli_triangulation_8cpp = +[ + [ "pi", "_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74", null ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_triangulation_8cpp__incl.dot b/docs-src/html/_intelli_triangulation_8cpp__incl.dot new file mode 100644 index 0000000..d4ea95e --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8cpp__incl.dot @@ -0,0 +1,19 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliTriangulation.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliTriangulation.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="algorithm",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="queue",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="cmath",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_triangulation_8cpp_source.html b/docs-src/html/_intelli_triangulation_8cpp_source.html new file mode 100644 index 0000000..254abb7 --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8cpp_source.html @@ -0,0 +1,233 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliTriangulation.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliTriangulation.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliTriangulation.h"
+
2 #include <algorithm>
+
3 #include <queue>
+
4 #include <cmath>
+
5 #define pi 3.1415926535897932384626433832795
+
6 
+
7 std::vector<Triangle> IntelliTriangulation::calculateTriangles(std::vector<QPoint> polyPoints){
+
8  // helper for managing the triangle vertices and their state
+
9  struct TriangleHelper {
+
10  QPoint vertex;
+
11  float interiorAngle;
+
12  int idx;
+
13  bool isTip;
+
14  };
+
15 
+
16  // calculates the inner angle of 'point'
+
17  auto calculateInner = [] (QPoint& point, QPoint& prev, QPoint& post) {
+
18  QPoint AP(point.x() - prev.x(), point.y() - prev.y());
+
19  QPoint BP(point.x() - post.x(), point.y() - post.y());
+
20 
+
21  float topSclar = AP.x() * BP.x() + AP.y() * BP.y();
+
22  float absolute = static_cast<float>(sqrt(pow(AP.x(),2.) + pow(AP.y(),2.)) * sqrt(pow(BP.x(),2.) + pow(BP.y(),2.)));
+
23  return acos(topSclar / absolute);
+
24  };
+
25 
+
26  // gets the first element of vec for which element.isTip == true holds
+
27  auto getTip = [] (const std::vector<TriangleHelper>& vec) {
+
28  size_t min = 0;
+
29  for(size_t i = 0; i<vec.size(); i++) {
+
30  if(vec[i].interiorAngle<vec[min].interiorAngle) {
+
31  min = i;
+
32  }
+
33  }
+
34  return vec[min];
+
35  };
+
36 
+
37  // get the vertex idx bevor idx in relation to the container length
+
38  auto getPrev = [] (int idx, int length) {
+
39  return (idx - 1)>=0 ? (idx - 1) : (length - 1);
+
40  };
+
41 
+
42  // get the vertex idx after idx in relation to the container lenght
+
43  auto getPost = [] (int idx, int length) {
+
44  return (idx + 1) % length;
+
45  };
+
46 
+
47  // return if the vertex is a tip
+
48  auto isTip = [] (float angle) {
+
49  return static_cast<double>(angle)<(pi / 2.);
+
50  };
+
51 
+
52  std::vector<TriangleHelper> Vertices;
+
53  std::vector<Triangle> Triangles;
+
54 
+
55  // set up all vertices and calculate intirior angle
+
56  for(int i = 0; i<static_cast<int>(polyPoints.size()); i++) {
+
57  TriangleHelper helper;
+
58  int prev = getPrev(i, static_cast<int>(polyPoints.size()));
+
59  int post = getPost(i, static_cast<int>(polyPoints.size()));
+
60 
+
61  helper.vertex = polyPoints[static_cast<size_t>(i)];
+
62  helper.idx = i;
+
63 
+
64  helper.interiorAngle = calculateInner(polyPoints[static_cast<size_t>(i)],
+
65  polyPoints[static_cast<size_t>(prev)],
+
66  polyPoints[static_cast<size_t>(post)]);
+
67  helper.isTip = isTip(helper.interiorAngle);
+
68  Vertices.push_back(helper);
+
69  }
+
70 
+
71  // search triangles based on the intirior angles of each vertey
+
72  while(Triangles.size() != polyPoints.size() - 2) {
+
73  Triangle tri;
+
74  TriangleHelper smallest = getTip(Vertices);
+
75  int prev = getPrev(smallest.idx, static_cast<int>(Vertices.size()));
+
76  int post = getPost(smallest.idx, static_cast<int>(Vertices.size()));
+
77 
+
78  // set triangle and push it
+
79  tri.A = Vertices[static_cast<size_t>(prev)].vertex;
+
80  tri.B = Vertices[static_cast<size_t>(smallest.idx)].vertex;
+
81  tri.C = Vertices[static_cast<size_t>(post)].vertex;
+
82  Triangles.push_back(tri);
+
83 
+
84  // update Vertice array
+
85  Vertices.erase(Vertices.begin() + smallest.idx);
+
86  for(size_t i = static_cast<size_t>(smallest.idx); i<Vertices.size(); i++) {
+
87  Vertices[i].idx -= 1;
+
88  }
+
89 
+
90  // update post und prev idx
+
91  post = getPrev(post, Vertices.size());
+
92  prev = prev<smallest.idx ? prev : (prev - 1);
+
93 
+
94  // calcultae neighboors of prev and post to calculate new interior angles
+
95  int prevOfPrev = getPrev(prev, static_cast<int>(Vertices.size()));
+
96  int postOfPrev = getPost(prev, static_cast<int>(Vertices.size()));
+
97 
+
98  int prevOfPost = getPrev(post, static_cast<int>(Vertices.size()));
+
99  int postOfPost = getPost(post, static_cast<int>(Vertices.size()));
+
100 
+
101  // update vertices with interior angles
+
102  // updtae prev
+
103  Vertices[static_cast<size_t>(prev)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(prev)].vertex,
+
104  Vertices[static_cast<size_t>(prevOfPrev)].vertex,
+
105  Vertices[static_cast<size_t>(postOfPrev)].vertex);
+
106  Vertices[static_cast<size_t>(prev)].isTip = isTip(Vertices[static_cast<size_t>(prev)].interiorAngle);
+
107  // update post
+
108  Vertices[static_cast<size_t>(post)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(post)].vertex,
+
109  Vertices[static_cast<size_t>(prevOfPost)].vertex,
+
110  Vertices[static_cast<size_t>(postOfPost)].vertex);
+
111  Vertices[static_cast<size_t>(post)].isTip = isTip(Vertices[static_cast<size_t>(post)].interiorAngle);
+
112  }
+
113  return Triangles;
+
114 }
+
115 
+
116 bool IntelliTriangulation::isInPolygon(const std::vector<Triangle> &triangles, QPoint &point){
+
117  for(auto triangle : triangles) {
+
118  if(IntelliTriangulation::isInTriangle(triangle, point)) {
+
119  return true;
+
120  }
+
121  }
+
122  return false;
+
123 }
+
+
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
+
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
+ +
#define pi
+ +
The Triangle struct holds the 3 vertices of a triangle.
+ +
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+ + + + + diff --git a/docs-src/html/_intelli_triangulation_8h.html b/docs-src/html/_intelli_triangulation_8h.html new file mode 100644 index 0000000..17c8ebc --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8h.html @@ -0,0 +1,136 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliTriangulation.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliTriangulation.h File Reference
+
+
+
#include <QPoint>
+#include <vector>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

struct  Triangle
 The Triangle struct holds the 3 vertices of a triangle. More...
 
+ + + +

+Namespaces

 IntelliTriangulation
 
+ + + + + + + + + + + + + +

+Functions

float IntelliTriangulation::sign (QPoint &p1, QPoint &p2, QPoint &p3)
 A function to get the 2*area of a traingle, using its determinat. More...
 
bool IntelliTriangulation::isInTriangle (Triangle &tri, QPoint &P)
 A function to check if a given point is in a triangle. More...
 
std::vector< TriangleIntelliTriangulation::calculateTriangles (std::vector< QPoint > polyPoints)
 A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph. More...
 
bool IntelliTriangulation::isInPolygon (const std::vector< Triangle > &triangles, QPoint &point)
 A function to check if a point lies in a polygon by checking its spanning triangles. More...
 
+
+
+ + + + diff --git a/docs-src/html/_intelli_triangulation_8h.js b/docs-src/html/_intelli_triangulation_8h.js new file mode 100644 index 0000000..1dfa6d3 --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8h.js @@ -0,0 +1,8 @@ +var _intelli_triangulation_8h = +[ + [ "Triangle", "struct_triangle.html", "struct_triangle" ], + [ "calculateTriangles", "_intelli_triangulation_8h.html#acdaf1ed598e868b25e9e06d580da32e5", null ], + [ "isInPolygon", "_intelli_triangulation_8h.html#ac276696f29d141ed34614c1c3b1c040f", null ], + [ "isInTriangle", "_intelli_triangulation_8h.html#ac150fee67fd41a451bd2592f10e00197", null ], + [ "sign", "_intelli_triangulation_8h.html#af9af549a7faff35a74c1265b290ea0ca", null ] +]; \ No newline at end of file diff --git a/docs-src/html/_intelli_triangulation_8h__dep__incl.dot b/docs-src/html/_intelli_triangulation_8h__dep__incl.dot new file mode 100644 index 0000000..00b4148 --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8h__dep__incl.dot @@ -0,0 +1,52 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliTriangulation.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/Image\l/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Image\l/IntelliImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8cpp.html",tooltip=" "]; + Node2 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Image\l/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Image\l/IntelliRasterImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8cpp.html",tooltip=" "]; + Node4 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Image\l/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node6 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Image\l/IntelliShapedImage.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8cpp.html",tooltip=" "]; + Node6 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node8 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node8 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node8 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node8 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node8 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node8 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node8 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node8 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node8 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node8 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; + Node6 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="intelliphoto/src/Intelli\lHelper/IntelliTriangulation.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8cpp.html",tooltip=" "]; + Node1 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node20 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_intelli_triangulation_8h__incl.dot b/docs-src/html/_intelli_triangulation_8h__incl.dot new file mode 100644 index 0000000..123f428 --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8h__incl.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/IntelliHelper/IntelliTriangulation.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Intelli\lHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_intelli_triangulation_8h_source.html b/docs-src/html/_intelli_triangulation_8h_source.html new file mode 100644 index 0000000..f307e18 --- /dev/null +++ b/docs-src/html/_intelli_triangulation_8h_source.html @@ -0,0 +1,150 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliTriangulation.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliTriangulation.h
+
+
+Go to the documentation of this file.
1 #ifndef INTELLITRIANGULATION_H
+
2 #define INTELLITRIANGULATION_H
+
3 
+
4 //for unit testing
+
5 class UnitTest;
+
6 
+
7 #include <QPoint>
+
8 #include <vector>
+
9 
+
13 struct Triangle {
+
14  QPoint A,B,C;
+
15 };
+
16 
+ +
18 
+
26 inline float sign(QPoint& p1, QPoint& p2, QPoint& p3){
+
27  return (p1.x() - p3.x()) * (p2.y() - p3.y()) - (p2.x() - p3.x()) * (p1.y() - p3.y());
+
28 }
+
29 
+
36 inline bool isInTriangle(Triangle& tri, QPoint& P){
+
37  float val1, val2, val3;
+
38  bool neg, pos;
+
39 
+
40  val1 = IntelliTriangulation::sign(P,tri.A,tri.B);
+
41  val2 = IntelliTriangulation::sign(P,tri.B,tri.C);
+
42  val3 = IntelliTriangulation::sign(P,tri.C,tri.A);
+
43 
+
44  neg = (val1<0.f) || (val2<0.f) || (val3<0.f);
+
45  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);
+
46 
+
47  return !(neg && pos);
+
48 }
+
49 
+
55 std::vector<Triangle> calculateTriangles(std::vector<QPoint> polyPoints);
+
56 
+
63 bool isInPolygon(const std::vector<Triangle> &triangles, QPoint &point);
+
64 }
+
65 
+
66 #endif
+
+
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
+
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
+
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
+ + +
The Triangle struct holds the 3 vertices of a triangle.
+ + + +
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+ + + + diff --git a/docs-src/html/_painting_area_8cpp.html b/docs-src/html/_painting_area_8cpp.html new file mode 100644 index 0000000..6e96bd3 --- /dev/null +++ b/docs-src/html/_painting_area_8cpp.html @@ -0,0 +1,120 @@ + + + + + + + +IntelliPhoto: src/Layer/PaintingArea.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PaintingArea.cpp File Reference
+
+
+
#include "string.h"
+#include <vector>
+#include <QtWidgets>
+#include <QPoint>
+#include <QRect>
+#include "PaintingArea.h"
+#include "Image/IntelliRasterImage.h"
+#include "Image/IntelliShapedImage.h"
+#include "Tool/IntelliToolPen.h"
+#include "Tool/IntelliToolPlain.h"
+#include "Tool/IntelliToolLine.h"
+#include "Tool/IntelliToolCircle.h"
+#include "Tool/IntelliToolRectangle.h"
+#include "Tool/IntelliToolFloodFill.h"
+#include "Tool/IntelliToolPolygon.h"
+#include "Tool/IntelliToolGradient.h"
+#include "GUI/IntelliPhotoGui.h"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_painting_area_8cpp__incl.dot b/docs-src/html/_painting_area_8cpp__incl.dot new file mode 100644 index 0000000..dfa6149 --- /dev/null +++ b/docs-src/html/_painting_area_8cpp__incl.dot @@ -0,0 +1,115 @@ +digraph "intelliphoto/src/Layer/PaintingArea.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="string.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QRect",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "]; + Node7 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node12 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node12 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node20 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node20 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node22 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node7 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node24 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node25 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="Tool/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node26 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node27 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node26 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node26 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node30 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 [label="Tool/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "]; + Node30 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node31 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node31 [label="Tool/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "]; + Node31 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node31 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node32 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node32 [label="Tool/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "]; + Node32 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node32 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node33 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node33 [label="Tool/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "]; + Node33 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node33 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node33 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node34 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node34 [label="Tool/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "]; + Node34 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node34 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node34 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node35 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node35 [label="Tool/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "]; + Node35 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node35 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node36 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 [label="Tool/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "]; + Node36 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_painting_area_8cpp_source.html b/docs-src/html/_painting_area_8cpp_source.html new file mode 100644 index 0000000..6a43410 --- /dev/null +++ b/docs-src/html/_painting_area_8cpp_source.html @@ -0,0 +1,747 @@ + + + + + + + +IntelliPhoto: src/Layer/PaintingArea.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PaintingArea.cpp
+
+
+Go to the documentation of this file.
1 // ---------- PaintingArea.cpp ----------
+
2 #include "string.h"
+
3 
+
4 #include <vector>
+
5 
+
6 #include <QtWidgets>
+
7 #include <QPoint>
+
8 #include <QRect>
+
9 
+
10 #include "PaintingArea.h"
+ + +
13 #include "Tool/IntelliToolPen.h"
+
14 #include "Tool/IntelliToolPlain.h"
+
15 #include "Tool/IntelliToolLine.h"
+
16 #include "Tool/IntelliToolCircle.h"
+ + + + +
21 #include "GUI/IntelliPhotoGui.h"
+
22 
+ +
24 
+
25 }
+
26 
+ + +
29  this->image = new IntelliRasterImage(*dynamic_cast<IntelliRasterImage*>(layer.image));
+
30  }else if(layer.image->getTypeOfImage()==ImageType::SHAPEDIMAGE) {
+
31  this->image = new IntelliShapedImage(*dynamic_cast<IntelliShapedImage*>(layer.image));
+
32  }
+
33  this->width = layer.width;
+
34  this->height = layer.height;
+
35  this->widthOffset = layer.widthOffset;
+
36  this->heightOffset = layer.heightOffset;
+
37  this->alpha = layer.alpha;
+
38 }
+
39 
+
40 PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget*parent)
+
41  : QLabel(parent){
+
42  this->Tool = nullptr;
+
43  this->setCanvasDimensions(maxWidth, maxHeight);
+
44  activeLayer = -1;
+
45 }
+
46 
+ +
48  delete Tool;
+
49 }
+
50 
+
51 void PaintingArea::setRenderSettings(bool isFastRenderingOn){
+
52  bool ToolIsActive;
+
53 
+
54  if(Tool!=nullptr) {
+
55  ToolIsActive = Tool->getIsDrawing();
+
56  }
+
57  else{
+
58  ToolIsActive = false;
+
59  }
+
60  if(isFastRenderingOn != renderSettings.isFastRenderering() && !ToolIsActive) {
+
61  renderSettings.setFastRendering(isFastRenderingOn);
+
62  for(auto& layer : layerBundle) {
+
63  layer.image->updateRendererSetting(isFastRenderingOn);
+
64  }
+
65  }
+
66 }
+
67 
+ +
69  return this->renderSettings.isFastRenderering();
+
70 }
+
71 
+
72 void PaintingArea::setCanvasDimensions(int maxWidth, int maxHeight){
+
73  //set standart parameter
+
74  this->maxWidth = maxWidth;
+
75  this->maxHeight = maxHeight;
+
76  Canvas = new QImage(maxWidth,maxHeight, QImage::Format_ARGB32);
+
77 
+
78  this->offsetXDimension = maxWidth / 2;
+
79  this->offsetYDimension = maxHeight / 2;
+
80 
+
81  // Roots the widget to the top left even if resized
+
82  setAttribute(Qt::WA_StaticContents);
+
83 
+
84 }
+
85 
+
86 void PaintingArea::drawPixelOntoActive(QColor color, QPoint point){
+
87  layerBundle[static_cast<size_t>(activeLayer)].image->drawPixel(point, color);
+
88 }
+
89 
+
90 void PaintingArea::setPolygonDataToActive(std::vector<QPoint> points){
+
91  layerBundle[static_cast<size_t>(activeLayer)].image->setPolygon(points);
+
92 }
+
93 
+
94 int PaintingArea::addLayer(int width, int height, int widthOffset, int heightOffset,int alpha, ImageType type){
+
95  LayerObject newLayer;
+
96  updateTools();
+
97  newLayer.width = width;
+
98  newLayer.height = height;
+
99  newLayer.widthOffset = widthOffset;
+
100  newLayer.heightOffset = heightOffset;
+
101  newLayer.alpha = alpha;
+
102  if(type==ImageType::RASTERIMAGE) {
+
103  newLayer.image = new IntelliRasterImage(width,height,renderSettings.isFastRenderering());
+
104  }else if(type==ImageType::SHAPEDIMAGE) {
+
105  newLayer.image = new IntelliShapedImage(width, height, renderSettings.isFastRenderering());
+
106  }
+
107  this->layerBundle.push_back(newLayer);
+
108  activeLayer = static_cast<int>(layerBundle.size()) - 1;
+
109  return activeLayer;
+
110 }
+
111 
+
112 
+
113 void PaintingArea::deleteLayer(int idx, bool isTool){
+
114  if(!isTool) {
+
115  updateTools();
+
116  }
+
117  if(idx<static_cast<int>(layerBundle.size())&&idx>=0) {
+
118  this->layerBundle.erase(layerBundle.begin() + idx);
+
119  if(activeLayer>=idx) {
+
120  activeLayer--;
+
121  }
+
122  if(activeLayer < 0 && layerBundle.size()) {
+
123  activeLayer = 0;
+
124  }
+
125  }
+
126 }
+
127 
+ +
129  if(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())) {
+
130  this->layerBundle.erase(layerBundle.begin() + activeLayer);
+
131  activeLayer--;
+
132  }
+
133  historyadd();
+
134 }
+
135 
+ +
137  updateTools();
+
138  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
+
139  this->activeLayer = idx;
+
140  }
+
141 }
+
142 
+
143 void PaintingArea::setLayerAlpha(int idx, int alpha){
+
144  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
+
145  if(alpha>=0 && alpha<=255) {
+
146  layerBundle[static_cast<size_t>(idx)].alpha = alpha;
+
147  }
+
148  }
+
149 }
+ +
151  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
+
152  if(layerBundle[static_cast<size_t>(idx)].image->getTypeOfImage()==ImageType::SHAPEDIMAGE) {
+
153  delete this->Tool;
+
154  this->Tool = new IntelliToolPolygon(this,&colorPicker,&Toolsettings, true);
+
155  isSettingPolygon = true;
+
156  this->guiReference->setToolWidth(5);
+
157  }
+
158  }
+
159 }
+
160 
+
161 // Used to load the image and place it in the widget
+
162 bool PaintingArea::open(const QString &filePath){
+
163  if(this->activeLayer==-1) {
+
164  return false;
+
165  }
+
166  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
+
167  bool open = active->loadImage(filePath);
+
168  active->calculateVisiblity();
+
169  update();
+
170  return open;
+
171 }
+
172 
+ +
174  for(auto layer: layerBundle) {
+
175  delete layer.image;
+
176  }
+
177  layerBundle.clear();
+
178 }
+
179 
+
180 // Save the current image
+
181 bool PaintingArea::save(const QString &filePath, const char*fileFormat){
+
182  if(layerBundle.size()==0) {
+
183  return false;
+
184  }
+
185  this->drawLayers(true);
+
186 
+
187  if(!strcmp(fileFormat,"PNG")) {
+
188  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
+
189  fileFormat = "png";
+
190  if (visibleImage.save(filePath, fileFormat)) {
+
191  return true;
+
192  } else {
+
193  return false;
+
194  }
+
195  }
+
196 
+
197  if (Canvas->save(filePath, fileFormat)) {
+
198  return true;
+
199  } else {
+
200  return false;
+
201  }
+
202 }
+
203 
+ +
205  updateTools();
+
206  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;
+
207  layerBundle[static_cast<size_t>(activeLayer)].heightOffset += y;
+
208  historyadd();
+
209 }
+
210 
+ +
212  updateTools();
+
213  if(idx==1) {
+
214  this->selectLayerUp();
+
215  }else if(idx==-1) {
+
216  this->selectLayerDown();
+
217  }
+
218  guiReference->UpdateGui();
+
219  historyadd();
+
220 }
+
221 
+ +
223  updateTools();
+
224  if(a>=0 && a < static_cast<int>(layerBundle.size())) {
+
225  this->setLayerActive(a);
+
226  }
+
227 }
+
228 
+ +
230  QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color", QColorDialog::DontUseNativeDialog);
+
231  this->colorPicker.setFirstColor(clr);
+
232 }
+
233 
+ +
235  QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color", QColorDialog::DontUseNativeDialog);
+
236  this->colorPicker.setSecondColor(clr);
+
237 }
+
238 
+ +
240  this->colorPicker.swapColors();
+
241 }
+
242 
+ +
244  delete this->Tool;
+
245  Tool = new IntelliToolPen(this, &colorPicker, &Toolsettings);
+
246 }
+
247 
+ +
249  delete this->Tool;
+
250  Tool = new IntelliToolPlainTool(this, &colorPicker, &Toolsettings);
+
251 }
+
252 
+ +
254  delete this->Tool;
+
255  Tool = new IntelliToolLine(this, &colorPicker, &Toolsettings);
+
256 }
+
257 
+ +
259  delete this->Tool;
+
260  Tool = new IntelliToolRectangle(this, &colorPicker, &Toolsettings);
+
261 }
+
262 
+ +
264  delete this->Tool;
+
265  Tool = new IntelliToolCircle(this, &colorPicker, &Toolsettings);
+
266 }
+ +
268  delete this->Tool;
+
269  Tool = new IntelliToolPolygon(this, &colorPicker, &Toolsettings);
+
270 }
+
271 
+ +
273  delete this->Tool;
+
274  Tool = new IntelliToolFloodFill(this, &colorPicker, &Toolsettings);
+
275 }
+
276 
+ +
278  delete this->Tool;
+
279  Tool = new IntelliToolGradient(this, &colorPicker, &Toolsettings);
+
280 }
+
281 
+ +
283  return this->layerBundle[static_cast<size_t>(activeLayer)].width;
+
284 }
+
285 
+ +
287  return this->layerBundle[static_cast<size_t>(activeLayer)].height;
+
288 }
+
289 
+ +
291  return this->maxWidth;
+
292 }
+
293 
+ +
295  return this->maxHeight;
+
296 }
+
297 
+ +
299  return this->layerBundle[static_cast<size_t>(activeLayer)].image->getTypeOfImage();
+
300 }
+
301 
+ +
303  return this->layerBundle[static_cast<size_t>(activeLayer)].image->getPolygonData();
+
304 }
+
305 
+
306 // If a mouse button is pressed check if it was the
+
307 // left button and if so store the current position
+
308 // Set that we are currently drawing
+
309 void PaintingArea::mousePressEvent(QMouseEvent*event){
+
310  if(this->activeLayer < 0) {
+
311  return;
+
312  }
+
313  if(Tool == nullptr)
+
314  return;
+
315  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
+
316  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
+
317  if(event->button() == Qt::LeftButton) {
+
318  Tool->onMouseLeftPressed(x, y);
+
319  }else if(event->button() == Qt::RightButton) {
+
320  Tool->onMouseRightPressed(x, y);
+
321  }
+
322  update();
+
323 }
+
324 
+
325 // When the mouse moves if the left button is clicked
+
326 // we call the drawline function which draws a line
+
327 // from the last position to the current
+
328 void PaintingArea::mouseMoveEvent(QMouseEvent*event){
+
329  if(this->activeLayer < 0) {
+
330  return;
+
331  }
+
332  if(Tool == nullptr)
+
333  return;
+
334  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
+
335  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
+
336  Tool->onMouseMoved(x, y);
+
337  update();
+
338 }
+
339 
+
340 // If the button is released we set variables to stop drawing
+
341 void PaintingArea::mouseReleaseEvent(QMouseEvent*event){
+
342  if(this->activeLayer < 0)
+
343  return;
+
344  if(Tool == nullptr)
+
345  return;
+
346  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
+
347  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
+
348  if(event->button() == Qt::LeftButton) {
+
349  Tool->onMouseLeftReleased(x, y);
+
350  }else if(event->button() == Qt::RightButton) {
+
351  Tool->onMouseRightReleased(x, y);
+
352  }
+
353  update();
+
354 }
+
355 
+
356 void PaintingArea::wheelEvent(QWheelEvent*event){
+
357  if(this->activeLayer < 0)
+
358  return;
+
359  if(this->Tool != nullptr) {
+
360  QPoint numDegrees = event->angleDelta() / 8;
+
361  if(!numDegrees.isNull()) {
+
362  QPoint numSteps = numDegrees / 15;
+
363  Tool->onWheelScrolled(numSteps.y() * -1);
+
364  }
+
365  }
+
366 }
+
367 
+
368 // QPainter provides functions to draw on the widget
+
369 // The QPaintEvent is sent to widgets that need to
+
370 // update themselves
+
371 void PaintingArea::paintEvent(QPaintEvent*event){
+
372  this->setFixedSize(QSize(maxWidth * 2,maxHeight * 2));
+
373  this->drawLayers();
+
374 
+
375  QPainter painter(this);
+
376 
+
377  //insert zoom factor here
+
378  painter.scale(1,1);
+
379 
+
380  //calulate image here for scroll
+
381  //Todo set offset in first to parameters and calulate them into mouse position
+
382  painter.drawImage(0, 0, *Canvas, -offsetXDimension, -offsetYDimension);
+
383  update();
+
384 }
+
385 
+
386 void PaintingArea::selectLayerUp(){
+
387  updateTools();
+
388  if(activeLayer != -1 && static_cast<size_t>(activeLayer)<layerBundle.size() - 1) {
+
389  std::swap(layerBundle[static_cast<size_t>(activeLayer)], layerBundle[static_cast<size_t>(activeLayer + 1)]);
+
390  activeLayer++;
+
391  }
+
392 }
+
393 
+
394 void PaintingArea::selectLayerDown(){
+
395  updateTools();
+
396  if(activeLayer>0) {
+
397  std::swap(layerBundle[static_cast<size_t>(activeLayer)], layerBundle[static_cast<size_t>(activeLayer - 1)]);
+
398  activeLayer--;
+
399  }
+
400 }
+
401 
+
402 void PaintingArea::drawLayers(bool forSaving){
+
403  if(forSaving) {
+
404  Canvas->fill(Qt::GlobalColor::transparent);
+
405  }else{
+
406  Canvas->fill(Qt::GlobalColor::black);
+
407  }
+
408  for(size_t i = 0; i<layerBundle.size(); i++) {
+
409  LayerObject layer = layerBundle[i];
+
410  QImage cpy = layer.image->getDisplayable(layer.alpha);
+
411  QColor clr_0;
+
412  QColor clr_1;
+
413  for(int y = 0; y<layer.height; y++) {
+
414  if(layer.heightOffset + y<0) continue;
+
415  if(layer.heightOffset + y>=maxHeight) break;
+
416  for(int x = 0; x<layer.width; x++) {
+
417  if(layer.widthOffset + x<0) continue;
+
418  if(layer.widthOffset + x>=maxWidth) break;
+
419  clr_0 = Canvas->pixelColor(layer.widthOffset + x, layer.heightOffset + y);
+
420  clr_1 = cpy.pixelColor(x,y);
+
421  float t = static_cast<float>(clr_1.alpha()) / 255.f;
+
422  int r = static_cast<int>(static_cast<float>(clr_1.red()) * (t) + static_cast<float>(clr_0.red()) * (1.f - t) + 0.5f);
+
423  int g = static_cast<int>(static_cast<float>(clr_1.green()) * (t) + static_cast<float>(clr_0.green()) * (1.f - t) + 0.5f);
+
424  int b = static_cast<int>(static_cast<float>(clr_1.blue()) * (t) + static_cast<float>(clr_0.blue() * (1.f - t)) + 0.5f);
+
425  int a = std::min(clr_0.alpha() + clr_1.alpha(), 255);
+
426  clr_0.setRed(r);
+
427  clr_0.setGreen(g);
+
428  clr_0.setBlue(b);
+
429  clr_0.setAlpha(a);
+
430 
+
431  Canvas->setPixelColor(layer.widthOffset + x, layer.heightOffset + y, clr_0);
+
432  }
+
433  }
+
434  }
+
435 }
+
436 
+
437 bool PaintingArea::createTempTopLayer(int idx){
+
438  if(idx>=0) {
+
439  LayerObject newLayer;
+
440  newLayer.alpha = 255;
+
441  newLayer.height = layerBundle[static_cast<size_t>(idx)].height;
+
442  newLayer.width = layerBundle[static_cast<size_t>(idx)].width;
+
443  newLayer.heightOffset = layerBundle[static_cast<size_t>(idx)].heightOffset;
+
444  newLayer.widthOffset = layerBundle[static_cast<size_t>(idx)].widthOffset;
+
445  newLayer.image = layerBundle[static_cast<size_t>(idx)].image->getDeepCopy();
+
446  layerBundle.insert(layerBundle.begin() + idx + 1,newLayer);
+
447  return true;
+
448  }
+
449  return false;
+
450 }
+
451 
+
452 IntelliTool* PaintingArea::copyActiveTool(){
+
453  switch(Tool->getTooltype()) {
+ + + + + + + +
461  default: return nullptr;
+
462  }
+
463 }
+
464 
+ +
466  return activeLayer;
+
467 }
+
468 
+ +
470  if(activeLayer<0) {
+
471  return nullptr;
+
472  }
+
473  return layerBundle[static_cast<size_t>(activeLayer)].image;
+
474 }
+
475 
+ +
477  QImage returnImage;
+
478  if(activeLayer<0) {
+
479  returnImage = QImage(QSize(10,10),QImage::Format_ARGB32);
+
480  returnImage.fill(QColor(255,255,255,255));
+
481  }
+
482  else{
+
483  returnImage = layerBundle[static_cast<size_t>(activeLayer)].image->getImageData();
+
484  if(renderSettings.isFastRenderering()) {
+
485  returnImage = returnImage.convertToFormat(QImage::Format_ARGB32);
+
486  }
+
487  }
+
488  return returnImage;
+
489 }
+
490 
+
491 std::vector<LayerObject>* PaintingArea::getLayerBundle(){
+
492  return &layerBundle;
+
493 }
+
494 
+
495 void PaintingArea::updateTools(){
+
496  if(Tool!=nullptr) {
+
497  if(Tool->getIsDrawing()) {
+
498  IntelliTool* temp = copyActiveTool();
+
499  delete this->Tool;
+
500  this->Tool = temp;
+
501  }
+
502  if(isSettingPolygon) {
+
503  delete this->Tool;
+
504  this->Tool = nullptr;
+
505  isSettingPolygon = false;
+
506  }
+
507  }
+
508 }
+
509 
+ +
511 
+
512  history.erase(history.begin() + historyPresent + 1,history.end());
+
513  historyPresent++;
+
514  history.push_back(layerBundle);
+
515 }
+
516 
+ +
518  historyPresent--;
+
519  if( historyPresent<0) {
+
520  historyPresent = 0;
+
521  }
+
522  layerBundle = history[static_cast<size_t>(historyPresent)];
+
523  this->guiReference->UpdateGui();
+
524 }
+
525 
+ +
527  historyPresent++;
+
528  if(historyPresent>=static_cast<int>(history.size())) {
+
529  historyPresent = history.size() - 1;
+
530  }
+
531  layerBundle = history[static_cast<size_t>(historyPresent)];
+
532  this->guiReference->UpdateGui();
+
533 }
+
+
+
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
+ +
void createCircleTool()
createCircleTool creates a Circle Tool.
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
+
QColor getFirstColor() const
A function to read the primary selected color.
+ +
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
+
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:22
+
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
+
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
+
void mouseReleaseEvent(QMouseEvent *event) override
mouseReleaseEvent handles a mouse released event
+
void createRectangleTool()
createRectangleTool creates a Rectangle Tool.
+ +
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
+
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
+
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+ +
bool isFastRenderering() const
The getfastRenderer gets the value of the flag for the fastRenderer setting.
+
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
+
Tooltype getTooltype() const
getTooltype returns the tools type
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+ +
std::vector< QPoint > getPolygonDataOfActiveLayer()
getPolygonDataOfActiveLayer get the polygon data of the active Layer.
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
+
int getMaxHeight()
getMaxHeight gets the max height of the Canvas.
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
The IntelliShapedImage manages a Shapedimage.
+
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
+
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
+ +
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
+
void createPlainTool()
createPlainTool creates a Plain Tool.
+
void wheelEvent(QWheelEvent *event) override
wheelEvent handles a mouse wheel event
+
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:139
+
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
void createPenTool()
createPenTool creates a Pen Tool.
+ +
void mousePressEvent(QMouseEvent *event) override
mousePressEvent handles a mouse pressed event.
+ +
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
+
QColor getSecondColor() const
A function to read the secondary selected color.
+
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
+
void drawPixelOntoActive(QColor color, QPoint point)
drawPixelOntoActive draws a pixel onto the image data of the active Layer.
+
void historyGoBack()
historyGoBack go back in hisotry
+
The IntelliToolRectangle class represents a tool to draw a rectangle.
+
void createLineTool()
createLineTool creates a Line Tool.
+ +
The IntelliToolPen class represents a tool to draw a line.
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
+
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
+ + +
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+ +
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
+
void mouseMoveEvent(QMouseEvent *event) override
mouseMoveEvent handles a mouse moved event
+ +
void setFirstColor(QColor Color)
A function to set the primary color.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
+ +
ImageType getTypeOfImageActiveLayer()
getTypeOfImageActiveLayer get the type of the active Layer.
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
void createPolygonTool()
createPolygonTool creates a Polygon Tool.
+
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
+
IntelliColorPicker colorPicker
colorPicker a class to manage Tool color.
Definition: PaintingArea.h:286
+
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
+ +
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
void deleteAllLayers()
deleteAllLayers deletes all layers
+
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
+
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
void paintEvent(QPaintEvent *event) override
paintEvent handles a painting event
+
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
+
void UpdateGui()
UpdateGui a function to update all gui elements.
+ +
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
+
IntelliToolsettings Toolsettings
Toolsettings - a class to manage Tool settings.
Definition: PaintingArea.h:281
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+ +
void swapColors()
A function switching primary and secondary color.
+
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+ +
The IntelliToolCircle class represents a tool to draw a circle.
+
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
The IntelliToolPolygon managed the Drawing of Polygonforms.
+
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
+
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
void historyadd()
historyadd adds an hisotry step
+ +
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
+
The IntelliRasterImage manages a RASTERIMAGE.
+
void setPolygonDataToActive(std::vector< QPoint > points)
setPolygonDataToActive sets polygondata to the active Layer.
+ +
void createGradientTool()
createGradientTool creates a Gradient Tool.
+
The IntelliToolGradient class that represents a gradient call.
+ + +
The IntelliToolFloodFill class represents a tool to draw a line.
+ + + + diff --git a/docs-src/html/_painting_area_8h.html b/docs-src/html/_painting_area_8h.html new file mode 100644 index 0000000..48ea728 --- /dev/null +++ b/docs-src/html/_painting_area_8h.html @@ -0,0 +1,126 @@ + + + + + + + +IntelliPhoto: src/Layer/PaintingArea.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PaintingArea.h File Reference
+
+
+
#include <QColor>
+#include <QImage>
+#include <QPoint>
+#include <QWidget>
+#include <QList>
+#include <QLabel>
+#include "Image/IntelliImage.h"
+#include "Image/IntelliRasterImage.h"
+#include "Image/IntelliShapedImage.h"
+#include "Tool/IntelliTool.h"
+#include "IntelliHelper/IntelliColorPicker.h"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Classes

struct  LayerObject
 The LayerObject struct holds all the information needed to construct a layer. More...
 
class  PaintingArea
 The PaintingArea class manages the methods and stores information about the current painting area, which is the currently opened project. More...
 
+
+
+ + + + diff --git a/docs-src/html/_painting_area_8h__dep__incl.dot b/docs-src/html/_painting_area_8h__dep__incl.dot new file mode 100644 index 0000000..5bef6e6 --- /dev/null +++ b/docs-src/html/_painting_area_8h__dep__incl.dot @@ -0,0 +1,27 @@ +digraph "intelliphoto/src/Layer/PaintingArea.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="intelliphoto/src/GUI\l/IntelliPhotoGui.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8cpp.html",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="intelliphoto/src/Tool\l/IntelliTool.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8cpp.html",tooltip=" "]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="intelliphoto/src/Tool\l/IntelliToolCircle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8cpp.html",tooltip=" "]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8cpp.html",tooltip=" "]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="intelliphoto/src/Tool\l/IntelliToolLine.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8cpp.html",tooltip=" "]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="intelliphoto/src/Tool\l/IntelliToolPen.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8cpp.html",tooltip=" "]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "]; + Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "]; + Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "]; +} diff --git a/docs-src/html/_painting_area_8h__incl.dot b/docs-src/html/_painting_area_8h__incl.dot new file mode 100644 index 0000000..40d5420 --- /dev/null +++ b/docs-src/html/_painting_area_8h__incl.dot @@ -0,0 +1,71 @@ +digraph "intelliphoto/src/Layer/PaintingArea.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Layer\l/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node7 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node7 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "]; + Node16 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node16 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node16 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="IntelliHelper/IntelliTriangulation.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_triangulation_8h.html",tooltip=" "]; + Node19 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="IntelliHelper/IntelliRender\lSettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_render_settings_8h.html",tooltip=" "]; + Node1 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "]; + Node21 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "]; + Node22 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="Tool/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "]; + Node23 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node24 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node23 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliHelper/IntelliToolsettings.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_toolsettings_8h.html",tooltip=" "]; + Node23 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/_painting_area_8h_source.html b/docs-src/html/_painting_area_8h_source.html new file mode 100644 index 0000000..7a5e167 --- /dev/null +++ b/docs-src/html/_painting_area_8h_source.html @@ -0,0 +1,351 @@ + + + + + + + +IntelliPhoto: src/Layer/PaintingArea.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PaintingArea.h
+
+
+Go to the documentation of this file.
1 
+
2 #ifndef PaintingArea_H
+
3 #define PaintingArea_H
+
4 
+
5 #include <QColor>
+
6 #include <QImage>
+
7 #include <QPoint>
+
8 #include <QWidget>
+
9 #include <QList>
+
10 #include <QLabel>
+
11 #include "Image/IntelliImage.h"
+ + +
14 #include "Tool/IntelliTool.h"
+ +
16 
+
17 //for unit testing
+
18 class UnitTest;
+
19 class IntelliPhotoGui;
+
23 struct LayerObject {
+ +
31  int width;
+
35  int height;
+ + +
47  int alpha = 255;
+
48 
+
49  LayerObject();
+
50 
+
51  LayerObject(const LayerObject& layer);
+
52 };
+
53 
+
57 class PaintingArea : public QLabel
+
58 {
+
59 friend UnitTest;
+
60 // Declares our class as a QObject which is the base class
+
61 // for all Qt objects
+
62 // QObjects handle events
+
63 Q_OBJECT
+
64 friend IntelliTool;
+
65 friend IntelliPhotoGui;
+
66 public:
+
73 PaintingArea(int maxWidth = 600, int maxHeight = 600, QWidget*parent = nullptr);
+
74 
+
78 ~PaintingArea() override;
+
79 
+
84 void setRenderSettings(bool isFastRenderingOn);
+
85 
+
90 bool getRenderSettings();
+
91 
+
97 bool open(const QString &filePath);
+
104 bool save(const QString &filePath, const char*fileFormat);
+
105 
+
109 void deleteAllLayers();
+
120 int addLayer(int width, int height, int widthOffset = 0, int heightOffset = 0, int alpha = 255, ImageType type = ImageType::RASTERIMAGE);
+
131 int addLayerAt(int idx, int width, int height, int widthOffset = 0, int heightOffset = 0, ImageType type = ImageType::RASTERIMAGE);
+
137 void deleteLayer(int idx, bool isTool = false);
+
142 void setLayerActive(int idx);
+
148 void setLayerAlpha(int idx, int alpha);
+
153 void setPolygon(int idx);
+
159 void movePositionActive(int x, int y);
+
164 void moveActiveLayer(int idx);
+
165 
+ + +
177 void colorPickerSwapColors();
+
178 
+
182 void createPenTool();
+
183 
+
187 void createPlainTool();
+
188 
+
192 void createLineTool();
+
193 
+
197 void createRectangleTool();
+
198 
+
202 void createCircleTool();
+
203 
+
207 void createPolygonTool();
+
208 
+
212 void createFloodFillTool();
+
213 
+
217 void createGradientTool();
+
218 
+
223 int getWidthOfActive();
+
228 int getHeightOfActive();
+
229 
+
234 int getMaxWidth();
+
235 
+
240 int getMaxHeight();
+
241 
+ +
247 
+
252 std::vector<QPoint> getPolygonDataOfActiveLayer();
+
253 
+ +
259 
+ +
265 
+ +
271 
+
276 std::vector<LayerObject>* getLayerBundle();
+
277 
+ +
282 
+ +
287 
+
291 void historyadd();
+
292 
+
296 void historyGoBack();
+
297 
+
301 void historyGoForward();
+
302 
+
308 void setCanvasDimensions(int maxWidth, int maxHeight);
+
309 
+
315 void drawPixelOntoActive(QColor color, QPoint point);
+
316 
+
321 void setPolygonDataToActive(std::vector<QPoint> points);
+
322 public slots:
+
327 void slotActivateLayer(int a);
+
331 void slotDeleteActiveLayer();
+
332 
+
333 protected:
+
338 void mousePressEvent(QMouseEvent*event) override;
+
339 
+
344 void mouseMoveEvent(QMouseEvent*event) override;
+
345 
+
350 void mouseReleaseEvent(QMouseEvent*event) override;
+
351 
+
356 void wheelEvent(QWheelEvent*event) override;
+
357 
+
362 void paintEvent(QPaintEvent*event) override;
+
363 
+
364 private:
+
368 int offsetXDimension;
+
369 
+
373 int offsetYDimension;
+
374 
+
378 void selectLayerUp();
+
379 
+
383 void selectLayerDown();
+
384 
+
389 IntelliTool* copyActiveTool();
+
390 
+
394 QImage* Canvas;
+
395 
+
399 QImage ScaledCanvas;
+
400 
+
404 int maxWidth;
+
405 
+
409 int maxHeight;
+
410 
+
414 bool isSettingPolygon = false;
+
415 
+
419 IntelliRenderSettings renderSettings;
+
420 
+
424 IntelliTool* Tool;
+
425 
+
429 IntelliPhotoGui* guiReference;
+
430 
+
434 std::vector<LayerObject> layerBundle;
+
435 
+
439 int activeLayer = -1;
+
440 
+
445 void drawLayers(bool forSaving = false);
+
446 
+
452 bool createTempTopLayer(int idx);
+
453 
+
457 void updateTools();
+
458 
+
462 std::vector<std::vector<LayerObject> > history = {layerBundle};
+
463 
+
467 int historyPresent = 0;
+
468 
+
469 };
+
470 
+
471 #endif
+
+
+
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
+
void createCircleTool()
createCircleTool creates a Circle Tool.
+ +
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:22
+
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::RASTERIMAGE)
The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer...
+
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
+
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
+
void mouseReleaseEvent(QMouseEvent *event) override
mouseReleaseEvent handles a mouse released event
+
void createRectangleTool()
createRectangleTool creates a Rectangle Tool.
+ +
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+ + +
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
std::vector< QPoint > getPolygonDataOfActiveLayer()
getPolygonDataOfActiveLayer get the polygon data of the active Layer.
+
The IntelliRenderSettings class which manages the render Settings.
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
+
int getMaxHeight()
getMaxHeight gets the max height of the Canvas.
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
+
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
+
void createPlainTool()
createPlainTool creates a Plain Tool.
+
void wheelEvent(QWheelEvent *event) override
wheelEvent handles a mouse wheel event
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
void createPenTool()
createPenTool creates a Pen Tool.
+
void mousePressEvent(QMouseEvent *event) override
mousePressEvent handles a mouse pressed event.
+ +
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
+
void drawPixelOntoActive(QColor color, QPoint point)
drawPixelOntoActive draws a pixel onto the image data of the active Layer.
+
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
+
void historyGoBack()
historyGoBack go back in hisotry
+
void createLineTool()
createLineTool creates a Line Tool.
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
+ +
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
+
void mouseMoveEvent(QMouseEvent *event) override
mouseMoveEvent handles a mouse moved event
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
+
ImageType getTypeOfImageActiveLayer()
getTypeOfImageActiveLayer get the type of the active Layer.
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
void createPolygonTool()
createPolygonTool creates a Polygon Tool.
+
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
+
IntelliColorPicker colorPicker
colorPicker a class to manage Tool color.
Definition: PaintingArea.h:286
+
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
void deleteAllLayers()
deleteAllLayers deletes all layers
+
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
+
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
void paintEvent(QPaintEvent *event) override
paintEvent handles a painting event
+ +
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
IntelliToolsettings Toolsettings
Toolsettings - a class to manage Tool settings.
Definition: PaintingArea.h:281
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
+
void historyadd()
historyadd adds an hisotry step
+ +
void setPolygonDataToActive(std::vector< QPoint > points)
setPolygonDataToActive sets polygondata to the active Layer.
+
void createGradientTool()
createGradientTool creates a Gradient Tool.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
+ + + + diff --git a/docs-src/html/_tool_2_intelli_color_picker_8cpp.html b/docs-src/html/_tool_2_intelli_color_picker_8cpp.html new file mode 100644 index 0000000..85db597 --- /dev/null +++ b/docs-src/html/_tool_2_intelli_color_picker_8cpp.html @@ -0,0 +1,105 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliColorPicker.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp File Reference
+
+
+
#include "IntelliColorPicker.h"
+#include "QDebug"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs-src/html/_tool_2_intelli_color_picker_8cpp__incl.dot b/docs-src/html/_tool_2_intelli_color_picker_8cpp__incl.dot new file mode 100644 index 0000000..1a77fa3 --- /dev/null +++ b/docs-src/html/_tool_2_intelli_color_picker_8cpp__incl.dot @@ -0,0 +1,17 @@ +digraph "intelliphoto/src/Tool/IntelliColorPicker.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/Tool\l/IntelliColorPicker.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/_tool_2_intelli_color_picker_8cpp_source.html b/docs-src/html/_tool_2_intelli_color_picker_8cpp_source.html new file mode 100644 index 0000000..3f2f951 --- /dev/null +++ b/docs-src/html/_tool_2_intelli_color_picker_8cpp_source.html @@ -0,0 +1,144 @@ + + + + + + + +IntelliPhoto: src/Tool/IntelliColorPicker.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliColorPicker.h"
+
2 #include "QDebug"
+
3 
+ +
5  : IntelliTool(Area){
+
6  firstColor = {255,0,0,255};
+
7  secondColor = {0,0,255,255};
+
8 }
+
9 
+ +
11 
+
12 }
+
13 
+
14 void IntelliColorPicker::getColorbar(int firstOrSecondColor = 1){
+
15  QString Titel;
+
16  QColor newColor;
+
17  if(firstOrSecondColor == 1) {
+
18  Titel = "Choose first Color";
+
19  newColor = QColorDialog::getColor(this->firstColor,nullptr,Titel);
+
20  this->firstColor = newColor;
+
21  qDebug() << "Firstcolor" << this->firstColor;
+
22  }
+
23  else{
+
24  Titel = "Choose second Color";
+
25  newColor = QColorDialog::getColor(this->secondColor,nullptr,Titel);
+
26  this->secondColor = newColor;
+
27  }
+
28 }
+
29 
+ +
31  return firstColor;
+
32 }
+
33 
+ +
35  return secondColor;
+
36 }
+
+
+
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
+
QColor getSecondColor()
A function to read the secondary selected color.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+ +
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
QColor getFirstColor()
A function to read the primary selected color.
+
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
+ + + + diff --git a/docs-src/html/annotated.html b/docs-src/html/annotated.html new file mode 100644 index 0000000..eb95d12 --- /dev/null +++ b/docs-src/html/annotated.html @@ -0,0 +1,125 @@ + + + + + + + +IntelliPhoto: Class List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+ + + + + + + + + + + + + + + + + + + + + + +
 CIntelliColorPickerThe IntelliColorPicker manages the selected colors for one whole project
 CIntelliImageAn abstract class which manages the basic IntelliImage operations
 CIntelliInputDialogCustomized Input Dialog to get Integers
 CIntelliPhotoGuiThe IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program
 CIntelliRasterImageThe IntelliRasterImage manages a RASTERIMAGE
 CIntelliRenderSettingsWhich manages the render Settings
 CIntelliShapedImageThe IntelliShapedImage manages a Shapedimage
 CIntelliToolAn abstract class that manages the basic events, like mouse clicks or scrolls events
 CIntelliToolCircleTool to draw a circle
 CIntelliToolFloodFillTool to flood FIll a certian area
 CIntelliToolGradientThat represents a gradient call
 CIntelliToolLineThe IntelliToolFloodFill class represents a tool to draw a line
 CIntelliToolPenTool to draw a line
 CIntelliToolPlainToolTool to fill the whole canvas with one color
 CIntelliToolPolygonThe IntelliToolPolygon managed the Drawing of Polygonforms
 CIntelliToolRectangleTool to draw a rectangle
 CIntelliToolsettingsManaging the settings of the tools, independent of an existing tool
 CLayerObjectThe LayerObject struct holds all the information needed to construct a layer
 CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project
 CTriangleThe Triangle struct holds the 3 vertices of a triangle
 CUnitTest
+
+
+
+ + + + diff --git a/docs-src/html/annotated_dup.js b/docs-src/html/annotated_dup.js new file mode 100644 index 0000000..28c407f --- /dev/null +++ b/docs-src/html/annotated_dup.js @@ -0,0 +1,24 @@ +var annotated_dup = +[ + [ "IntelliColorPicker", "class_intelli_color_picker.html", "class_intelli_color_picker" ], + [ "IntelliImage", "class_intelli_image.html", "class_intelli_image" ], + [ "IntelliInputDialog", "class_intelli_input_dialog.html", "class_intelli_input_dialog" ], + [ "IntelliPhotoGui", "class_intelli_photo_gui.html", "class_intelli_photo_gui" ], + [ "IntelliRasterImage", "class_intelli_raster_image.html", "class_intelli_raster_image" ], + [ "IntelliRenderSettings", "class_intelli_render_settings.html", "class_intelli_render_settings" ], + [ "IntelliShapedImage", "class_intelli_shaped_image.html", "class_intelli_shaped_image" ], + [ "IntelliTool", "class_intelli_tool.html", "class_intelli_tool" ], + [ "IntelliToolCircle", "class_intelli_tool_circle.html", "class_intelli_tool_circle" ], + [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", "class_intelli_tool_flood_fill" ], + [ "IntelliToolGradient", "class_intelli_tool_gradient.html", "class_intelli_tool_gradient" ], + [ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ], + [ "IntelliToolPen", "class_intelli_tool_pen.html", "class_intelli_tool_pen" ], + [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", "class_intelli_tool_plain_tool" ], + [ "IntelliToolPolygon", "class_intelli_tool_polygon.html", "class_intelli_tool_polygon" ], + [ "IntelliToolRectangle", "class_intelli_tool_rectangle.html", "class_intelli_tool_rectangle" ], + [ "IntelliToolsettings", "class_intelli_toolsettings.html", "class_intelli_toolsettings" ], + [ "LayerObject", "struct_layer_object.html", "struct_layer_object" ], + [ "PaintingArea", "class_painting_area.html", "class_painting_area" ], + [ "Triangle", "struct_triangle.html", "struct_triangle" ], + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] +]; \ No newline at end of file diff --git a/docs-src/html/bc_s.png b/docs-src/html/bc_s.png new file mode 100644 index 0000000..6054c8c Binary files /dev/null and b/docs-src/html/bc_s.png differ diff --git a/docs-src/html/bdwn.png b/docs-src/html/bdwn.png new file mode 100644 index 0000000..fd803bc Binary files /dev/null and b/docs-src/html/bdwn.png differ diff --git a/docs-src/html/class_intelli_color_picker-members.html b/docs-src/html/class_intelli_color_picker-members.html new file mode 100644 index 0000000..6190a20 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker-members.html @@ -0,0 +1,110 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker Member List
+
+ +
+ + + + diff --git a/docs-src/html/class_intelli_color_picker.html b/docs-src/html/class_intelli_color_picker.html new file mode 100644 index 0000000..976e766 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker.html @@ -0,0 +1,315 @@ + + + + + + + +IntelliPhoto: IntelliColorPicker Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliColorPicker Class Reference
+
+
+ +

The IntelliColorPicker manages the selected colors for one whole project. + More...

+ +

#include <IntelliColorPicker.h>

+ + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliColorPicker ()
 IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in production. More...
 
virtual ~IntelliColorPicker ()
 IntelliColorPicker destructor clears up his used memory, if there is some. More...
 
void swapColors ()
 A function switching primary and secondary color. More...
 
QColor getFirstColor () const
 A function to read the primary selected color. More...
 
QColor getSecondColor () const
 A function to read the secondary selected color. More...
 
void setFirstColor (QColor Color)
 A function to set the primary color. More...
 
void setSecondColor (QColor Color)
 A function to set the secondary color. More...
 
+

Detailed Description

+

The IntelliColorPicker manages the selected colors for one whole project.

+ +

Definition at line 14 of file IntelliColorPicker.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliColorPicker()

+ +
+
+ + + + + + + +
IntelliColorPicker::IntelliColorPicker ()
+
+ +

IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in production.

+ +

Definition at line 3 of file IntelliColorPicker.cpp.

+ +
+
+ +

◆ ~IntelliColorPicker()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliColorPicker::~IntelliColorPicker ()
+
+virtual
+
+ +

IntelliColorPicker destructor clears up his used memory, if there is some.

+ +

Definition at line 7 of file IntelliColorPicker.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ getFirstColor()

+ +
+
+ + + + + + + +
QColor IntelliColorPicker::getFirstColor () const
+
+ +

A function to read the primary selected color.

+
Returns
Returns the primary color.
+ +

Definition at line 15 of file IntelliColorPicker.cpp.

+ +
+
+ +

◆ getSecondColor()

+ +
+
+ + + + + + + +
QColor IntelliColorPicker::getSecondColor () const
+
+ +

A function to read the secondary selected color.

+
Returns
Returns the secondary color.
+ +

Definition at line 19 of file IntelliColorPicker.cpp.

+ +
+
+ +

◆ setFirstColor()

+ +
+
+ + + + + + + + +
void IntelliColorPicker::setFirstColor (QColor Color)
+
+ +

A function to set the primary color.

+
Parameters
+ + +
Color- The color to be set as primary.
+
+
+ +

Definition at line 23 of file IntelliColorPicker.cpp.

+ +
+
+ +

◆ setSecondColor()

+ +
+
+ + + + + + + + +
void IntelliColorPicker::setSecondColor (QColor Color)
+
+ +

A function to set the secondary color.

+
Parameters
+ + +
Color- The color to be set as secondary.
+
+
+ +

Definition at line 27 of file IntelliColorPicker.cpp.

+ +
+
+ +

◆ swapColors()

+ +
+
+ + + + + + + +
void IntelliColorPicker::swapColors ()
+
+ +

A function switching primary and secondary color.

+ +

Definition at line 11 of file IntelliColorPicker.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_color_picker.js b/docs-src/html/class_intelli_color_picker.js new file mode 100644 index 0000000..f02759d --- /dev/null +++ b/docs-src/html/class_intelli_color_picker.js @@ -0,0 +1,10 @@ +var class_intelli_color_picker = +[ + [ "IntelliColorPicker", "class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae", null ], + [ "~IntelliColorPicker", "class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff", null ], + [ "getFirstColor", "class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1", null ], + [ "getSecondColor", "class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0", null ], + [ "setFirstColor", "class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8", null ], + [ "setSecondColor", "class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931", null ], + [ "swapColors", "class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot b/docs-src/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot new file mode 100644 index 0000000..3370f98 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliColorPicker::switchColors" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliColorPicker\l::switchColors",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function switching primary and secondary color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::colorPicker\lSwitchColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb",tooltip="The colorPickerSwitchColor swaps the primary color with the secondary drawing color."]; +} diff --git a/docs-src/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot b/docs-src/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot new file mode 100644 index 0000000..41eed46 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliColorPicker::getSecondColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to read the secondary selected color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae261acaaa346610dfed489dbac17e789",tooltip="The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliPhotoGui::UpdateGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot b/docs-src/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot new file mode 100644 index 0000000..cc08d61 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliColorPicker::setFirstColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliColorPicker\l::setFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to set the primary color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip="The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color."]; +} diff --git a/docs-src/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot b/docs-src/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot new file mode 100644 index 0000000..a271fd7 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliColorPicker::setSecondColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliColorPicker\l::setSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to set the secondary color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae261acaaa346610dfed489dbac17e789",tooltip="The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color."]; +} diff --git a/docs-src/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot b/docs-src/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot new file mode 100644 index 0000000..ae35542 --- /dev/null +++ b/docs-src/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot @@ -0,0 +1,28 @@ +digraph "IntelliColorPicker::getFirstColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to read the primary selected color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip="The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliPhotoGui::UpdateGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_color_picker_aec499265ae28ce1b54be88222e74292e_icgraph.dot b/docs-src/html/class_intelli_color_picker_aec499265ae28ce1b54be88222e74292e_icgraph.dot new file mode 100644 index 0000000..a6c880e --- /dev/null +++ b/docs-src/html/class_intelli_color_picker_aec499265ae28ce1b54be88222e74292e_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliColorPicker::swapColors" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliColorPicker\l::swapColors",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function switching primary and secondary color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::colorPicker\lSwapColors",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#acff4563d006fda491469bd41778d07eb",tooltip="The colorPickerSwitchColor swaps the primary color with the secondary drawing color."]; +} diff --git a/docs-src/html/class_intelli_helper-members.html b/docs-src/html/class_intelli_helper-members.html new file mode 100644 index 0000000..363478b --- /dev/null +++ b/docs-src/html/class_intelli_helper-members.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliHelper Member List
+
+
+ +

This is the complete list of members for IntelliHelper, including all inherited members.

+ + + +
isInTriangle(QPoint &A, QPoint &B, QPoint &C, QPoint &P)IntelliHelperinlinestatic
sign(QPoint &p1, QPoint &p2, QPoint &p3)IntelliHelperinlinestatic
+
+ + + + diff --git a/docs-src/html/class_intelli_helper.html b/docs-src/html/class_intelli_helper.html new file mode 100644 index 0000000..1160554 --- /dev/null +++ b/docs-src/html/class_intelli_helper.html @@ -0,0 +1,234 @@ + + + + + + + +IntelliPhoto: IntelliHelper Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliHelper Class Reference
+
+
+ +

#include <IntelliHelper.h>

+ + + + + + +

+Static Public Member Functions

static float sign (QPoint &p1, QPoint &p2, QPoint &p3)
 
static bool isInTriangle (QPoint &A, QPoint &B, QPoint &C, QPoint &P)
 
+

Detailed Description

+
+

Definition at line 7 of file IntelliHelper.h.

+

Member Function Documentation

+ +

◆ isInTriangle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static bool IntelliHelper::isInTriangle (QPoint & A,
QPoint & B,
QPoint & C,
QPoint & P 
)
+
+inlinestatic
+
+ +

Definition at line 15 of file IntelliHelper.h.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ sign()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static float IntelliHelper::sign (QPoint & p1,
QPoint & p2,
QPoint & p3 
)
+
+inlinestatic
+
+ +

Definition at line 11 of file IntelliHelper.h.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs-src/html/class_intelli_helper_a04bdb4f53b89dded693ba6e896f4c63f_cgraph.dot b/docs-src/html/class_intelli_helper_a04bdb4f53b89dded693ba6e896f4c63f_cgraph.dot new file mode 100644 index 0000000..7be3942 --- /dev/null +++ b/docs-src/html/class_intelli_helper_a04bdb4f53b89dded693ba6e896f4c63f_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliHelper::isInTriangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_helper.html#a67fc007dda64187f6cef7fba3fcd9e40",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_helper_a04bdb4f53b89dded693ba6e896f4c63f_icgraph.dot b/docs-src/html/class_intelli_helper_a04bdb4f53b89dded693ba6e896f4c63f_icgraph.dot new file mode 100644 index 0000000..54d1362 --- /dev/null +++ b/docs-src/html/class_intelli_helper_a04bdb4f53b89dded693ba6e896f4c63f_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliHelper::isInTriangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a0221d93c3c8990f7dab332454cc21f50",tooltip=" "]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_helper_a67fc007dda64187f6cef7fba3fcd9e40_icgraph.dot b/docs-src/html/class_intelli_helper_a67fc007dda64187f6cef7fba3fcd9e40_icgraph.dot new file mode 100644 index 0000000..617951d --- /dev/null +++ b/docs-src/html/class_intelli_helper_a67fc007dda64187f6cef7fba3fcd9e40_icgraph.dot @@ -0,0 +1,16 @@ +digraph "IntelliHelper::sign" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_helper.html#a04bdb4f53b89dded693ba6e896f4c63f",tooltip=" "]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage\l::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a0221d93c3c8990f7dab332454cc21f50",tooltip=" "]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip=" "]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_image-members.html b/docs-src/html/class_intelli_image-members.html new file mode 100644 index 0000000..35376c4 --- /dev/null +++ b/docs-src/html/class_intelli_image-members.html @@ -0,0 +1,128 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliImage Member List
+
+
+ +

This is the complete list of members for IntelliImage, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
calculateVisiblity()=0IntelliImagepure virtual
drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)IntelliImagevirtual
drawPixel(const QPoint &p1, const QColor &color)IntelliImagevirtual
drawPlain(const QColor &color)IntelliImagevirtual
drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)IntelliImagevirtual
fastRendereringIntelliImageprotected
getDeepCopy()=0IntelliImagepure virtual
getDisplayable(const QSize &displaySize, int alpha)=0IntelliImagepure virtual
getDisplayable(int alpha=255)=0IntelliImagepure virtual
getHeight() constIntelliImagevirtual
getImageData()IntelliImagevirtual
getPixelColor(QPoint &point)IntelliImagevirtual
getPolygonData()IntelliImageinlinevirtual
getTypeOfImage()IntelliImageinlinevirtual
getWidth() constIntelliImagevirtual
imageDataIntelliImageprotected
IntelliImage(int width, int height, bool fastRendererOn)IntelliImage
isFastRendering() constIntelliImagevirtual
loadImage(const QString &filePath)IntelliImagevirtual
resizeImage(QImage *image, const QSize &newSize)IntelliImageprotected
setImageData(const QImage &newData)IntelliImagevirtual
setPolygon(const std::vector< QPoint > &polygonData)=0IntelliImagepure virtual
TypeOfImageIntelliImageprotected
updateRendererSetting(bool fastRendererOn)IntelliImagevirtual
~IntelliImage()=0IntelliImagepure virtual
+
+ + + + diff --git a/docs-src/html/class_intelli_image.html b/docs-src/html/class_intelli_image.html new file mode 100644 index 0000000..cbdf552 --- /dev/null +++ b/docs-src/html/class_intelli_image.html @@ -0,0 +1,1108 @@ + + + + + + + +IntelliPhoto: IntelliImage Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

An abstract class which manages the basic IntelliImage operations. + More...

+ +

#include <IntelliImage.h>

+
+Inheritance diagram for IntelliImage:
+
+
+ + +IntelliRasterImage +IntelliShapedImage + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliImage (int width, int height, bool fastRendererOn)
 The Construcor of the IntelliImage. Given the Image dimensions. More...
 
virtual ~IntelliImage ()=0
 An Abstract Destructor. More...
 
virtual void drawPixel (const QPoint &p1, const QColor &color)
 A funtcion used to draw a pixel on the Image with the given Color. More...
 
virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
 A function that draws a line between two given points in a given color. More...
 
virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth)
 A function that draws a point between on a given point in a given color. More...
 
virtual void drawPlain (const QColor &color)
 A function that clears the whole image in a given Color. More...
 
virtual QImage getDisplayable (const QSize &displaySize, int alpha)=0
 A function returning the displayable ImageData in a requested transparence and size. More...
 
virtual QImage getDisplayable (int alpha=255)=0
 A function returning the displayable ImageData in a requested transparence and it's standart size. More...
 
virtual IntelliImagegetDeepCopy ()=0
 A function that copys all that returns a [allocated] Image. More...
 
virtual void calculateVisiblity ()=0
 An abstract function that calculates the visiblity of the Image data if needed. More...
 
virtual void setPolygon (const std::vector< QPoint > &polygonData)=0
 An abstract function that sets the data of the visible Polygon, if needed. More...
 
virtual std::vector< QPoint > getPolygonData ()
 A function that returns the Polygondata if existent. More...
 
virtual ImageType getTypeOfImage ()
 
virtual bool loadImage (const QString &filePath)
 A function that loads and sclaes an image to the fitting dimensions. More...
 
virtual QColor getPixelColor (QPoint &point)
 A function that returns the pixelcolor at a certain point. More...
 
virtual void updateRendererSetting (bool fastRendererOn)
 updateRendererSetting updates the existing image format to the new format. More...
 
virtual QImage getImageData ()
 getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!). More...
 
virtual void setImageData (const QImage &newData)
 setImageData overwrites the old imageData the new imageData. More...
 
virtual int getWidth () const
 getWidth returns the width of the Image. More...
 
virtual int getHeight () const
 getHeight returns the height of the Image. More...
 
virtual bool isFastRendering () const
 isFastRendering returns if the Image is in fast rendering mode. More...
 
+ + + +

+Protected Member Functions

void resizeImage (QImage *image, const QSize &newSize)
 
+ + + + + + + + + + +

+Protected Attributes

QImage imageData
 The underlying image data. More...
 
ImageType TypeOfImage
 The Type, an Image is. More...
 
bool fastRenderering
 fastRendering is the flag that represents the usage of 8bit pictures. More...
 
+

Detailed Description

+

An abstract class which manages the basic IntelliImage operations.

+ +

Definition at line 30 of file IntelliImage.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliImage()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliImage::IntelliImage (int width,
int height,
bool fastRendererOn 
)
+
+ +

The Construcor of the IntelliImage. Given the Image dimensions.

+
Parameters
+ + + + +
width- The width of the Image.
height- The height of the Image.
fastRendererOn- Represents the flag for 8bit picture handelling.
+
+
+ +

Definition at line 5 of file IntelliImage.cpp.

+ +
+
+ +

◆ ~IntelliImage()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliImage::~IntelliImage ()
+
+pure virtual
+
+ +

An Abstract Destructor.

+ +

Definition at line 19 of file IntelliImage.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ calculateVisiblity()

+ +
+
+ + + + + +
+ + + + + + + +
virtual void IntelliImage::calculateVisiblity ()
+
+pure virtual
+
+ +

An abstract function that calculates the visiblity of the Image data if needed.

+ +

Implemented in IntelliRasterImage.

+ +
+
+ +

◆ drawLine()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void IntelliImage::drawLine (const QPoint & p1,
const QPoint & p2,
const QColor & color,
const int & penWidth 
)
+
+virtual
+
+ +

A function that draws a line between two given points in a given color.

+
Parameters
+ + + + + +
p1- The coordinates of the first Point.
p2- The coordinates of the second Point.
color- The color of the line.
penWidth- The width of the line.
+
+
+ +

Definition at line 97 of file IntelliImage.cpp.

+ +
+
+ +

◆ drawPixel()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliImage::drawPixel (const QPoint & p1,
const QColor & color 
)
+
+virtual
+
+ +

A funtcion used to draw a pixel on the Image with the given Color.

+
Parameters
+ + + +
p1- The coordinates of the pixel, which should be drawn. [Top-Left-System]
color- The color of the pixel.
+
+
+ +

Definition at line 58 of file IntelliImage.cpp.

+ +
+
+ +

◆ drawPlain()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliImage::drawPlain (const QColor & color)
+
+virtual
+
+ +

A function that clears the whole image in a given Color.

+
Parameters
+ + +
color- The color, in which the image will be filled.
+
+
+ +

Definition at line 117 of file IntelliImage.cpp.

+ +
+
+ +

◆ drawPoint()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void IntelliImage::drawPoint (const QPoint & p1,
const QColor & color,
const int & penWidth 
)
+
+virtual
+
+ +

A function that draws a point between on a given point in a given color.

+
Parameters
+ + + + +
p1- The coordinates of the first Point.
color- The color of the point.
penWidth- The size of the point.
+
+
+ +

Definition at line 78 of file IntelliImage.cpp.

+ +
+
+ +

◆ getDeepCopy()

+ +
+
+ + + + + +
+ + + + + + + +
virtual IntelliImage* IntelliImage::getDeepCopy ()
+
+pure virtual
+
+ +

A function that copys all that returns a [allocated] Image.

+
Returns
An [allocated] image with all the properties of the instance.
+ +

Implemented in IntelliShapedImage, and IntelliRasterImage.

+ +
+
+ +

◆ getDisplayable() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual QImage IntelliImage::getDisplayable (const QSize & displaySize,
int alpha 
)
+
+pure virtual
+
+ +

A function returning the displayable ImageData in a requested transparence and size.

+
Parameters
+ + + +
displaySize- The size, in whcih the Image should be displayed.
alpha- The maximum alpha value, a pixel can have.
+
+
+
Returns
A QImage which is ready to be displayed.
+ +

Implemented in IntelliShapedImage, and IntelliRasterImage.

+ +
+
+ +

◆ getDisplayable() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
virtual QImage IntelliImage::getDisplayable (int alpha = 255)
+
+pure virtual
+
+ +

A function returning the displayable ImageData in a requested transparence and it's standart size.

+
Parameters
+ + +
alpha- The maximum alpha value, a pixel can have.
+
+
+
Returns
A QImage which is ready to be displayed.
+ +

Implemented in IntelliShapedImage, and IntelliRasterImage.

+ +
+
+ +

◆ getHeight()

+ +
+
+ + + + + +
+ + + + + + + +
int IntelliImage::getHeight () const
+
+virtual
+
+ +

getHeight returns the height of the Image.

+
Returns
The height of the Image in pixel.
+ +

Definition at line 167 of file IntelliImage.cpp.

+ +
+
+ +

◆ getImageData()

+ +
+
+ + + + + +
+ + + + + + + +
QImage IntelliImage::getImageData ()
+
+virtual
+
+ +

getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!).

+ +

Definition at line 135 of file IntelliImage.cpp.

+ +
+
+ +

◆ getPixelColor()

+ +
+
+ + + + + +
+ + + + + + + + +
QColor IntelliImage::getPixelColor (QPoint & point)
+
+virtual
+
+ +

A function that returns the pixelcolor at a certain point.

+
Parameters
+ + +
point- The point from whcih to get the coordinates.
+
+
+
Returns
The color of the Pixel as QColor.
+ +

Definition at line 127 of file IntelliImage.cpp.

+ +
+
+ +

◆ getPolygonData()

+ +
+
+ + + + + +
+ + + + + + + +
virtual std::vector<QPoint> IntelliImage::getPolygonData ()
+
+inlinevirtual
+
+ +

A function that returns the Polygondata if existent.

+
Returns
The Polygondata if existent.
+ +

Reimplemented in IntelliShapedImage.

+ +

Definition at line 135 of file IntelliImage.h.

+ +
+
+ +

◆ getTypeOfImage()

+ +
+
+ + + + + +
+ + + + + + + +
virtual ImageType IntelliImage::getTypeOfImage ()
+
+inlinevirtual
+
+ +

Definition at line 139 of file IntelliImage.h.

+ +
+
+ +

◆ getWidth()

+ +
+
+ + + + + +
+ + + + + + + +
int IntelliImage::getWidth () const
+
+virtual
+
+ +

getWidth returns the width of the Image.

+
Returns
The width of the Image in pixel.
+ +

Definition at line 163 of file IntelliImage.cpp.

+ +
+
+ +

◆ isFastRendering()

+ +
+
+ + + + + +
+ + + + + + + +
bool IntelliImage::isFastRendering () const
+
+virtual
+
+ +

isFastRendering returns if the Image is in fast rendering mode.

+
Returns
True if the Image is fast rendered, flase otherwiese.
+ +

Definition at line 171 of file IntelliImage.cpp.

+ +
+
+ +

◆ loadImage()

+ +
+
+ + + + + +
+ + + + + + + + +
bool IntelliImage::loadImage (const QString & filePath)
+
+virtual
+
+ +

A function that loads and sclaes an image to the fitting dimensions.

+
Parameters
+ + +
filePath- The path+name of the image which to loaded.
+
+
+
Returns
True if the image could be loaded, false otherwise.
+ +

Definition at line 23 of file IntelliImage.cpp.

+ +
+
+ +

◆ resizeImage()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliImage::resizeImage (QImage * image,
const QSize & newSize 
)
+
+protected
+
+ +

Definition at line 38 of file IntelliImage.cpp.

+ +
+
+ +

◆ setImageData()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliImage::setImageData (const QImage & newData)
+
+virtual
+
+ +

setImageData overwrites the old imageData the new imageData.

+
Parameters
+ + +
newData- represents the new imageData
+
+
+ +

Definition at line 143 of file IntelliImage.cpp.

+ +
+
+ +

◆ setPolygon()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void IntelliImage::setPolygon (const std::vector< QPoint > & polygonData)
+
+pure virtual
+
+ +

An abstract function that sets the data of the visible Polygon, if needed.

+
Parameters
+ + +
polygonData- The Vertices of the Polygon. Just Planar Polygons are allowed.
+
+
+ +

Implemented in IntelliShapedImage, and IntelliRasterImage.

+ +
+
+ +

◆ updateRendererSetting()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliImage::updateRendererSetting (bool fastRendererOn)
+
+virtual
+
+ +

updateRendererSetting updates the existing image format to the new format.

+
Parameters
+ + +
fastRendererOnflag for the 8bit image handeling.
+
+
+ +

Definition at line 153 of file IntelliImage.cpp.

+ +
+
+

Member Data Documentation

+ +

◆ fastRenderering

+ +
+
+ + + + + +
+ + + + +
bool IntelliImage::fastRenderering
+
+protected
+
+ +

fastRendering is the flag that represents the usage of 8bit pictures.

+ +

Definition at line 51 of file IntelliImage.h.

+ +
+
+ +

◆ imageData

+ +
+
+ + + + + +
+ + + + +
QImage IntelliImage::imageData
+
+protected
+
+ +

The underlying image data.

+ +

Definition at line 41 of file IntelliImage.h.

+ +
+
+ +

◆ TypeOfImage

+ +
+
+ + + + + +
+ + + + +
ImageType IntelliImage::TypeOfImage
+
+protected
+
+ +

The Type, an Image is.

+ +

Definition at line 46 of file IntelliImage.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_image.js b/docs-src/html/class_intelli_image.js new file mode 100644 index 0000000..061bf5b --- /dev/null +++ b/docs-src/html/class_intelli_image.js @@ -0,0 +1,28 @@ +var class_intelli_image = +[ + [ "IntelliImage", "class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652", null ], + [ "~IntelliImage", "class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc", null ], + [ "calculateVisiblity", "class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2", null ], + [ "drawLine", "class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31", null ], + [ "drawPixel", "class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056", null ], + [ "drawPlain", "class_intelli_image.html#a6be622810dc2bc756054bb5769becb06", null ], + [ "drawPoint", "class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1", null ], + [ "getDeepCopy", "class_intelli_image.html#af6381067bdf565669f856bb589008ae9", null ], + [ "getDisplayable", "class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d", null ], + [ "getDisplayable", "class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0", null ], + [ "getHeight", "class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1", null ], + [ "getImageData", "class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3", null ], + [ "getPixelColor", "class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f", null ], + [ "getPolygonData", "class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba", null ], + [ "getTypeOfImage", "class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f", null ], + [ "getWidth", "class_intelli_image.html#aea7b5f173968b330ef034bedb9426520", null ], + [ "isFastRendering", "class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb", null ], + [ "loadImage", "class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e", null ], + [ "resizeImage", "class_intelli_image.html#a177403ab9585d4ba31984a644c54d310", null ], + [ "setImageData", "class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268", null ], + [ "setPolygon", "class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309", null ], + [ "updateRendererSetting", "class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2", null ], + [ "fastRenderering", "class_intelli_image.html#aa63d34c7932113d021653980ee018671", null ], + [ "imageData", "class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2", null ], + [ "TypeOfImage", "class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_image.png b/docs-src/html/class_intelli_image.png new file mode 100644 index 0000000..139e6e8 Binary files /dev/null and b/docs-src/html/class_intelli_image.png differ diff --git a/docs-src/html/class_intelli_image__inherit__graph.dot b/docs-src/html/class_intelli_image__inherit__graph.dot new file mode 100644 index 0000000..54f1a50 --- /dev/null +++ b/docs-src/html/class_intelli_image__inherit__graph.dot @@ -0,0 +1,11 @@ +digraph "IntelliImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract class which manages the basic IntelliImage operations."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html",tooltip="The IntelliRasterImage manages a RASTERIMAGE."]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html",tooltip="The IntelliShapedImage manages a Shapedimage."]; +} diff --git a/docs-src/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot b/docs-src/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot new file mode 100644 index 0000000..e10d367 --- /dev/null +++ b/docs-src/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliImage::drawPoint" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; +} diff --git a/docs-src/html/class_intelli_image_a4576ebb6d863321c816293d7b7f9fd3f_icgraph.dot b/docs-src/html/class_intelli_image_a4576ebb6d863321c816293d7b7f9fd3f_icgraph.dot new file mode 100644 index 0000000..c27fd6d --- /dev/null +++ b/docs-src/html/class_intelli_image_a4576ebb6d863321c816293d7b7f9fd3f_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliImage::getPixelColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::getPixelColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that returns the pixelcolor at a certain point."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; +} diff --git a/docs-src/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot b/docs-src/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot new file mode 100644 index 0000000..976550d --- /dev/null +++ b/docs-src/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot @@ -0,0 +1,18 @@ +digraph "IntelliImage::drawPlain" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that clears the whole image in a given Color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774",tooltip="The floodFill method fills a the active layer with a given color."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; +} diff --git a/docs-src/html/class_intelli_image_ad66fbe380ffe0e073a8cd760f8285fe3_icgraph.dot b/docs-src/html/class_intelli_image_ad66fbe380ffe0e073a8cd760f8285fe3_icgraph.dot new file mode 100644 index 0000000..211f7b5 --- /dev/null +++ b/docs-src/html/class_intelli_image_ad66fbe380ffe0e073a8cd760f8285fe3_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliImage::getImageData" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::getImageData",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="getImageData returns the data of the current image."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliPhotoGui::UpdateGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_image_ae231800aba38c96074bbe9bb6e341d4e_icgraph.dot b/docs-src/html/class_intelli_image_ae231800aba38c96074bbe9bb6e341d4e_icgraph.dot new file mode 100644 index 0000000..001acf9 --- /dev/null +++ b/docs-src/html/class_intelli_image_ae231800aba38c96074bbe9bb6e341d4e_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliImage::loadImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::loadImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that loads and sclaes an image to the fitting dimensions."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a88c7e759aa8375a56129791645f46ea5",tooltip="The open method is used for loading a picture into the current layer."]; +} diff --git a/docs-src/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot b/docs-src/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot new file mode 100644 index 0000000..386f3b5 --- /dev/null +++ b/docs-src/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot @@ -0,0 +1,71 @@ +digraph "IntelliImage::calculateVisiblity" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node9 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "]; + Node9 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node11 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "]; + Node11 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node11 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."]; + Node11 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; + Node11 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click released of a mouse."]; + Node11 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; + Node11 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."]; + Node11 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node20 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="PaintingArea::mouseMoveEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5",tooltip=" "]; + Node20 -> Node22 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c",tooltip="A function managing the mouse moved event."]; + Node20 -> Node23 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668",tooltip="A function managing the mouse moved event."]; + Node20 -> Node24 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node20 -> Node25 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node20 -> Node26 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."]; + Node20 -> Node27 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; + Node20 -> Node28 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="IntelliToolPolygon\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922",tooltip="A function managing the mouse moved event."]; + Node1 -> Node29 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a88c7e759aa8375a56129791645f46ea5",tooltip="The open method is used for loading a picture into the current layer."]; +} diff --git a/docs-src/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot b/docs-src/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot new file mode 100644 index 0000000..4e1d41c --- /dev/null +++ b/docs-src/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliImage::loadImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::loadImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that loads and sclaes an image to the fitting dimensions."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip="The open method is used for loading a picture into the current layer."]; +} diff --git a/docs-src/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot b/docs-src/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot new file mode 100644 index 0000000..6aecc8a --- /dev/null +++ b/docs-src/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliImage::drawPixel" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::drawPixel",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A funtcion used to draw a pixel on the Image with the given Color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot b/docs-src/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot new file mode 100644 index 0000000..1ba597e --- /dev/null +++ b/docs-src/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot @@ -0,0 +1,16 @@ +digraph "IntelliImage::drawLine" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that draws A Line between two given Points in a given color."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; +} diff --git a/docs-src/html/class_intelli_input_dialog-members.html b/docs-src/html/class_intelli_input_dialog-members.html new file mode 100644 index 0000000..ef6d0e6 --- /dev/null +++ b/docs-src/html/class_intelli_input_dialog-members.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliInputDialog Member List
+
+
+ +

This is the complete list of members for IntelliInputDialog, including all inherited members.

+ + + + + +
getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)IntelliInputDialogstatic
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)IntelliInputDialog
slotCloseEvent()IntelliInputDialogslot
slotEingabe()IntelliInputDialogslot
+
+ + + + diff --git a/docs-src/html/class_intelli_input_dialog.html b/docs-src/html/class_intelli_input_dialog.html new file mode 100644 index 0000000..c863f21 --- /dev/null +++ b/docs-src/html/class_intelli_input_dialog.html @@ -0,0 +1,364 @@ + + + + + + + +IntelliPhoto: IntelliInputDialog Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliInputDialog Class Reference
+
+
+ +

The IntelliInputDialog class is a customized Input Dialog to get Integers. + More...

+ +

#include <IntelliInputDialog.h>

+
+Inheritance diagram for IntelliInputDialog:
+
+
+ +
+ + + + + + + + +

+Public Slots

void slotCloseEvent ()
 slotCloseEvent is a slot for catching the close Event. More...
 
void slotEingabe ()
 slotEingabe is a slot for catching the Input Event. More...
 
+ + + + +

+Public Member Functions

 IntelliInputDialog (QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
 IntelliInputDialog is the baisc constructor to for the InputDialog. More...
 
+ + + + +

+Static Public Member Functions

static int getInt (QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
 getInt is a static funktion ´, which creates an Input Dialog and gets an Integer. More...
 
+

Detailed Description

+

The IntelliInputDialog class is a customized Input Dialog to get Integers.

+ +

Definition at line 15 of file IntelliInputDialog.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliInputDialog()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IntelliInputDialog::IntelliInputDialog (QString Title = nullptr,
QString Label = nullptr,
int value = 5,
int minValue = -2147483647,
int maxValue = 2147483647,
int step = 1,
bool * ok = nullptr 
)
+
+ +

IntelliInputDialog is the baisc constructor to for the InputDialog.

+
Parameters
+ + + + + + + + +
Title- Title of the Input Dialog.
Label- A Label for the Iput Dialog, to show further information.
value- The standart value in the Input Box.
minValue- The minimal value to read.
maxValue- The maximal value to read.
step- The step size of Values.
ok- A check if the input was okay
+
+
+ +

Definition at line 3 of file IntelliInputDialog.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ getInt()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int IntelliInputDialog::getInt (QString Title = nullptr,
QString Label = nullptr,
int value = 5,
int minValue = -2147483647,
int maxValue = 2147483647,
int step = 1,
bool * ok = nullptr 
)
+
+static
+
+ +

getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.

+
Parameters
+ + + + + + + + +
Title- Title of the Input Dialog.
Label- A Label for the Iput Dialog, to show further information.
value- The standart value in the Input Box.
minValue- The minimal value to read.
maxValue- The maximal value to read.
step- The step size of Values.
ok- A check if the input was okay
+
+
+
Returns
+ +

Definition at line 16 of file IntelliInputDialog.cpp.

+ +
+
+ +

◆ slotCloseEvent

+ +
+
+ + + + + +
+ + + + + + + +
void IntelliInputDialog::slotCloseEvent ()
+
+slot
+
+ +

slotCloseEvent is a slot for catching the close Event.

+ +

Definition at line 74 of file IntelliInputDialog.cpp.

+ +
+
+ +

◆ slotEingabe

+ +
+
+ + + + + +
+ + + + + + + +
void IntelliInputDialog::slotEingabe ()
+
+slot
+
+ +

slotEingabe is a slot for catching the Input Event.

+ +

Definition at line 78 of file IntelliInputDialog.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_input_dialog.js b/docs-src/html/class_intelli_input_dialog.js new file mode 100644 index 0000000..206e7e6 --- /dev/null +++ b/docs-src/html/class_intelli_input_dialog.js @@ -0,0 +1,6 @@ +var class_intelli_input_dialog = +[ + [ "IntelliInputDialog", "class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5", null ], + [ "slotCloseEvent", "class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0", null ], + [ "slotEingabe", "class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_input_dialog.png b/docs-src/html/class_intelli_input_dialog.png new file mode 100644 index 0000000..496ba5e Binary files /dev/null and b/docs-src/html/class_intelli_input_dialog.png differ diff --git a/docs-src/html/class_intelli_photo_gui-members.html b/docs-src/html/class_intelli_photo_gui-members.html new file mode 100644 index 0000000..aeda07b --- /dev/null +++ b/docs-src/html/class_intelli_photo_gui-members.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliPhotoGui Member List
+
+
+ +

This is the complete list of members for IntelliPhotoGui, including all inherited members.

+ + + + + +
closeEvent(QCloseEvent *event) overrideIntelliPhotoGuiprotected
IntelliPhotoGui()IntelliPhotoGui
setToolWidth(int value)IntelliPhotoGui
UpdateGui()IntelliPhotoGui
+
+ + + + diff --git a/docs-src/html/class_intelli_photo_gui.html b/docs-src/html/class_intelli_photo_gui.html new file mode 100644 index 0000000..29db37c --- /dev/null +++ b/docs-src/html/class_intelli_photo_gui.html @@ -0,0 +1,245 @@ + + + + + + + +IntelliPhoto: IntelliPhotoGui Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliPhotoGui Class Reference
+
+
+ +

The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program. + More...

+ +

#include <IntelliPhotoGui.h>

+
+Inheritance diagram for IntelliPhotoGui:
+
+
+ +
+ + + + + + + + + + + +

+Public Member Functions

 IntelliPhotoGui ()
 The IntelliPhotoGui method is the constructor and is used to create a new instance of the main program window. More...
 
void UpdateGui ()
 UpdateGui a function to update all gui elements. More...
 
void setToolWidth (int value)
 setToolWidth stes a width to the tool More...
 
+ + + + +

+Protected Member Functions

void closeEvent (QCloseEvent *event) override
 The closeEvent function handles closing events. More...
 
+

Detailed Description

+

The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program.

+ +

Definition at line 34 of file IntelliPhotoGui.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliPhotoGui()

+ +
+
+ + + + + + + +
IntelliPhotoGui::IntelliPhotoGui ()
+
+ +

The IntelliPhotoGui method is the constructor and is used to create a new instance of the main program window.

+ +

Definition at line 14 of file IntelliPhotoGui.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ closeEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliPhotoGui::closeEvent (QCloseEvent * event)
+
+overrideprotected
+
+ +

The closeEvent function handles closing events.

+ +

Definition at line 30 of file IntelliPhotoGui.cpp.

+ +
+
+ +

◆ setToolWidth()

+ +
+
+ + + + + + + + +
void IntelliPhotoGui::setToolWidth (int value)
+
+ +

setToolWidth stes a width to the tool

+
Parameters
+ + +
value- the width of the tool
+
+
+ +

Definition at line 923 of file IntelliPhotoGui.cpp.

+ +
+
+ +

◆ UpdateGui()

+ +
+
+ + + + + + + +
void IntelliPhotoGui::UpdateGui ()
+
+ +

UpdateGui a function to update all gui elements.

+ +

Definition at line 932 of file IntelliPhotoGui.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_photo_gui.js b/docs-src/html/class_intelli_photo_gui.js new file mode 100644 index 0000000..3e40da6 --- /dev/null +++ b/docs-src/html/class_intelli_photo_gui.js @@ -0,0 +1,7 @@ +var class_intelli_photo_gui = +[ + [ "IntelliPhotoGui", "class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0", null ], + [ "closeEvent", "class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13", null ], + [ "setToolWidth", "class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497", null ], + [ "UpdateGui", "class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_photo_gui.png b/docs-src/html/class_intelli_photo_gui.png new file mode 100644 index 0000000..1947c4e Binary files /dev/null and b/docs-src/html/class_intelli_photo_gui.png differ diff --git a/docs-src/html/class_intelli_photo_gui__coll__graph.dot b/docs-src/html/class_intelli_photo_gui__coll__graph.dot new file mode 100644 index 0000000..3aec454 --- /dev/null +++ b/docs-src/html/class_intelli_photo_gui__coll__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliPhotoGui" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_photo_gui__inherit__graph.dot b/docs-src/html/class_intelli_photo_gui__inherit__graph.dot new file mode 100644 index 0000000..3aec454 --- /dev/null +++ b/docs-src/html/class_intelli_photo_gui__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliPhotoGui" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_photo_gui_a1dbef8d4688227aa9455aea52db00bf4_cgraph.dot b/docs-src/html/class_intelli_photo_gui_a1dbef8d4688227aa9455aea52db00bf4_cgraph.dot new file mode 100644 index 0000000..d1638a7 --- /dev/null +++ b/docs-src/html/class_intelli_photo_gui_a1dbef8d4688227aa9455aea52db00bf4_cgraph.dot @@ -0,0 +1,18 @@ +digraph "IntelliPhotoGui::UpdateGui" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliPhotoGui::UpdateGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::getImageData",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3",tooltip="getImageData returns the data of the current image."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="PaintingArea::getImageOf\lActiveLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#acab11ad35d07e9081203d8217d2c0855",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="PaintingArea::getNumberOf\lActiveLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a24280454ebb80db7feba2fd621513353",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415",tooltip="A function to read the secondary selected color."]; +} diff --git a/docs-src/html/class_intelli_raster_image-members.html b/docs-src/html/class_intelli_raster_image-members.html new file mode 100644 index 0000000..340cc45 --- /dev/null +++ b/docs-src/html/class_intelli_raster_image-members.html @@ -0,0 +1,131 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRasterImage Member List
+
+
+ +

This is the complete list of members for IntelliRasterImage, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
calculateVisiblity() overrideIntelliRasterImageprotectedvirtual
drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)IntelliImagevirtual
drawPixel(const QPoint &p1, const QColor &color)IntelliImagevirtual
drawPlain(const QColor &color)IntelliImagevirtual
drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)IntelliImagevirtual
fastRendereringIntelliImageprotected
getDeepCopy() overrideIntelliRasterImagevirtual
getDisplayable(const QSize &displaySize, int alpha) overrideIntelliRasterImagevirtual
getDisplayable(int alpha=255) overrideIntelliRasterImagevirtual
getHeight() constIntelliImagevirtual
getImageData()IntelliImagevirtual
getPixelColor(QPoint &point)IntelliImagevirtual
getPolygon()IntelliRasterImagevirtual
getPolygonData()IntelliImageinlinevirtual
getTypeOfImage()IntelliImageinlinevirtual
getWidth() constIntelliImagevirtual
imageDataIntelliImageprotected
IntelliImage(int width, int height, bool fastRendererOn)IntelliImage
IntelliRasterImage(int width, int height, bool fastRendererOn)IntelliRasterImage
isFastRendering() constIntelliImagevirtual
loadImage(const QString &filePath)IntelliImagevirtual
resizeImage(QImage *image, const QSize &newSize)IntelliImageprotected
setImageData(const QImage &newData)IntelliImagevirtual
setPolygon(const std::vector< QPoint > &polygonData) overrideIntelliRasterImagevirtual
TypeOfImageIntelliImageprotected
updateRendererSetting(bool fastRendererOn)IntelliImagevirtual
~IntelliImage()=0IntelliImagepure virtual
~IntelliRasterImage() overrideIntelliRasterImagevirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_raster_image.html b/docs-src/html/class_intelli_raster_image.html new file mode 100644 index 0000000..13b9704 --- /dev/null +++ b/docs-src/html/class_intelli_raster_image.html @@ -0,0 +1,530 @@ + + + + + + + +IntelliPhoto: IntelliRasterImage Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliRasterImage Class Reference
+
+
+ +

The IntelliRasterImage manages a RASTERIMAGE. + More...

+ +

#include <IntelliRasterImage.h>

+
+Inheritance diagram for IntelliRasterImage:
+
+
+ + +IntelliImage +IntelliShapedImage + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliRasterImage (int width, int height, bool fastRendererOn)
 The Construcor of the IntelliRasterImage. Given the Image dimensions. More...
 
virtual ~IntelliRasterImage () override
 An Destructor. More...
 
virtual QImage getDisplayable (const QSize &displaySize, int alpha) override
 A function returning the displayable ImageData in a requested transparence and size. More...
 
virtual QImage getDisplayable (int alpha=255) override
 A function returning the displayable ImageData in a requested transparence and it's standart size. More...
 
virtual IntelliImagegetDeepCopy () override
 A function that copys all that returns a [allocated] Image. More...
 
virtual void setPolygon (const std::vector< QPoint > &polygonData) override
 An abstract function that sets the data of the visible Polygon, if needed. More...
 
virtual std::vector< QPoint > getPolygon ()
 getPolygon More...
 
- Public Member Functions inherited from IntelliImage
 IntelliImage (int width, int height, bool fastRendererOn)
 The Construcor of the IntelliImage. Given the Image dimensions. More...
 
virtual ~IntelliImage ()=0
 An Abstract Destructor. More...
 
virtual void drawPixel (const QPoint &p1, const QColor &color)
 A funtcion used to draw a pixel on the Image with the given Color. More...
 
virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
 A function that draws a line between two given points in a given color. More...
 
virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth)
 A function that draws a point between on a given point in a given color. More...
 
virtual void drawPlain (const QColor &color)
 A function that clears the whole image in a given Color. More...
 
virtual std::vector< QPoint > getPolygonData ()
 A function that returns the Polygondata if existent. More...
 
virtual ImageType getTypeOfImage ()
 
virtual bool loadImage (const QString &filePath)
 A function that loads and sclaes an image to the fitting dimensions. More...
 
virtual QColor getPixelColor (QPoint &point)
 A function that returns the pixelcolor at a certain point. More...
 
virtual void updateRendererSetting (bool fastRendererOn)
 updateRendererSetting updates the existing image format to the new format. More...
 
virtual QImage getImageData ()
 getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!). More...
 
virtual void setImageData (const QImage &newData)
 setImageData overwrites the old imageData the new imageData. More...
 
virtual int getWidth () const
 getWidth returns the width of the Image. More...
 
virtual int getHeight () const
 getHeight returns the height of the Image. More...
 
virtual bool isFastRendering () const
 isFastRendering returns if the Image is in fast rendering mode. More...
 
+ + + + + + + +

+Protected Member Functions

virtual void calculateVisiblity () override
 A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTERIMAGE]. More...
 
- Protected Member Functions inherited from IntelliImage
void resizeImage (QImage *image, const QSize &newSize)
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from IntelliImage
QImage imageData
 The underlying image data. More...
 
ImageType TypeOfImage
 The Type, an Image is. More...
 
bool fastRenderering
 fastRendering is the flag that represents the usage of 8bit pictures. More...
 
+

Detailed Description

+

The IntelliRasterImage manages a RASTERIMAGE.

+ +

Definition at line 12 of file IntelliRasterImage.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliRasterImage()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliRasterImage::IntelliRasterImage (int width,
int height,
bool fastRendererOn 
)
+
+ +

The Construcor of the IntelliRasterImage. Given the Image dimensions.

+
Parameters
+ + + + +
width- The width of the Image.
height- The height of the Image.
fastRendererOn- Represents the flag for 8bit picture handelling.
+
+
+ +

Definition at line 6 of file IntelliRasterImage.cpp.

+ +
+
+ +

◆ ~IntelliRasterImage()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliRasterImage::~IntelliRasterImage ()
+
+overridevirtual
+
+ +

An Destructor.

+ +

Definition at line 12 of file IntelliRasterImage.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ calculateVisiblity()

+ +
+
+ + + + + +
+ + + + + + + +
void IntelliRasterImage::calculateVisiblity ()
+
+overrideprotectedvirtual
+
+ +

A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTERIMAGE].

+ +

Implements IntelliImage.

+ +

Definition at line 23 of file IntelliRasterImage.cpp.

+ +
+
+ +

◆ getDeepCopy()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliImage * IntelliRasterImage::getDeepCopy ()
+
+overridevirtual
+
+ +

A function that copys all that returns a [allocated] Image.

+
Returns
A [allocated] Image with all the properties of the instance.
+ +

Implements IntelliImage.

+ +

Reimplemented in IntelliShapedImage.

+ +

Definition at line 16 of file IntelliRasterImage.cpp.

+ +
+
+ +

◆ getDisplayable() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
QImage IntelliRasterImage::getDisplayable (const QSize & displaySize,
int alpha 
)
+
+overridevirtual
+
+ +

A function returning the displayable ImageData in a requested transparence and size.

+
Parameters
+ + + +
displaySize- The size, in whcih the Image should be displayed.
alpha- The maximum alpha value, a pixel can have.
+
+
+
Returns
A QImage which is ready to be displayed.
+ +

Implements IntelliImage.

+ +

Reimplemented in IntelliShapedImage.

+ +

Definition at line 31 of file IntelliRasterImage.cpp.

+ +
+
+ +

◆ getDisplayable() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
QImage IntelliRasterImage::getDisplayable (int alpha = 255)
+
+overridevirtual
+
+ +

A function returning the displayable ImageData in a requested transparence and it's standart size.

+
Parameters
+ + +
alpha- The maximum alpha value, a pixel can have.
+
+
+
Returns
A QImage which is ready to be displayed.
+ +

Implements IntelliImage.

+ +

Reimplemented in IntelliShapedImage.

+ +

Definition at line 27 of file IntelliRasterImage.cpp.

+ +
+
+ +

◆ getPolygon()

+ +
+
+ + + + + +
+ + + + + + + +
std::vector< QPoint > IntelliRasterImage::getPolygon ()
+
+virtual
+
+ +

getPolygon

+
Returns
returns the points of the polygon
+ +

Reimplemented in IntelliShapedImage.

+ +

Definition at line 53 of file IntelliRasterImage.cpp.

+ +
+
+ +

◆ setPolygon()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliRasterImage::setPolygon (const std::vector< QPoint > & polygonData)
+
+overridevirtual
+
+ +

An abstract function that sets the data of the visible Polygon, if needed.

+
Parameters
+ + +
polygonData- The Vertices of the Polygon. Nothing happens.
+
+
+ +

Implements IntelliImage.

+ +

Reimplemented in IntelliShapedImage.

+ +

Definition at line 49 of file IntelliRasterImage.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_raster_image.js b/docs-src/html/class_intelli_raster_image.js new file mode 100644 index 0000000..f536e0f --- /dev/null +++ b/docs-src/html/class_intelli_raster_image.js @@ -0,0 +1,11 @@ +var class_intelli_raster_image = +[ + [ "IntelliRasterImage", "class_intelli_raster_image.html#ae779b571372296f1922af818ba003413", null ], + [ "~IntelliRasterImage", "class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8", null ], + [ "calculateVisiblity", "class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60", null ], + [ "getDeepCopy", "class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc", null ], + [ "getDisplayable", "class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884", null ], + [ "getDisplayable", "class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f", null ], + [ "getPolygon", "class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e", null ], + [ "setPolygon", "class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_raster_image.png b/docs-src/html/class_intelli_raster_image.png new file mode 100644 index 0000000..768500f Binary files /dev/null and b/docs-src/html/class_intelli_raster_image.png differ diff --git a/docs-src/html/class_intelli_raster_image__coll__graph.dot b/docs-src/html/class_intelli_raster_image__coll__graph.dot new file mode 100644 index 0000000..7a7f252 --- /dev/null +++ b/docs-src/html/class_intelli_raster_image__coll__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliRasterImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliRasterImage manages a RASTERIMAGE."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_raster_image__inherit__graph.dot b/docs-src/html/class_intelli_raster_image__inherit__graph.dot new file mode 100644 index 0000000..f2bc33b --- /dev/null +++ b/docs-src/html/class_intelli_raster_image__inherit__graph.dot @@ -0,0 +1,11 @@ +digraph "IntelliRasterImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliRasterImage manages a RASTERIMAGE."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html",tooltip="The IntelliShapedImage manages a Shapedimage."]; +} diff --git a/docs-src/html/class_intelli_raster_image_a612d79124f0e2c158a4f0abbe4b5f97f_cgraph.dot b/docs-src/html/class_intelli_raster_image_a612d79124f0e2c158a4f0abbe4b5f97f_cgraph.dot new file mode 100644 index 0000000..6e31bb0 --- /dev/null +++ b/docs-src/html/class_intelli_raster_image_a612d79124f0e2c158a4f0abbe4b5f97f_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliRasterImage::getDisplayable" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliRasterImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function returning the displayable ImageData in a requested transparence and it's standart size."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884",tooltip="A function returning the displayable ImageData in a requested transparence and size."]; +} diff --git a/docs-src/html/class_intelli_raster_image_a8f901301b106504de3c27308ade897dc_cgraph.dot b/docs-src/html/class_intelli_raster_image_a8f901301b106504de3c27308ade897dc_cgraph.dot new file mode 100644 index 0000000..1dd7f4f --- /dev/null +++ b/docs-src/html/class_intelli_raster_image_a8f901301b106504de3c27308ade897dc_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliRasterImage::getDeepCopy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliRasterImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that copys all that returns a [allocated] Image."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage\l::IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html#ae779b571372296f1922af818ba003413",tooltip="The Construcor of the IntelliRasterImage. Given the Image dimensions."]; +} diff --git a/docs-src/html/class_intelli_raster_image_aad9b561fe499a4da3c6ef98971aa3468_icgraph.dot b/docs-src/html/class_intelli_raster_image_aad9b561fe499a4da3c6ef98971aa3468_icgraph.dot new file mode 100644 index 0000000..0fdfdea --- /dev/null +++ b/docs-src/html/class_intelli_raster_image_aad9b561fe499a4da3c6ef98971aa3468_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliRasterImage::IntelliRasterImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliRasterImage\l::IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The Construcor of the IntelliRasterImage. Given the Image dimensions."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/class_intelli_raster_image_ae43393397b0141a8033fe34d3a1b1884_icgraph.dot b/docs-src/html/class_intelli_raster_image_ae43393397b0141a8033fe34d3a1b1884_icgraph.dot new file mode 100644 index 0000000..ab3c96f --- /dev/null +++ b/docs-src/html/class_intelli_raster_image_ae43393397b0141a8033fe34d3a1b1884_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliRasterImage::getDisplayable" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliRasterImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function returning the displayable ImageData in a requested transparence and size."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f",tooltip="A function returning the displayable ImageData in a requested transparence and it's standart size."]; +} diff --git a/docs-src/html/class_intelli_raster_image_ae779b571372296f1922af818ba003413_icgraph.dot b/docs-src/html/class_intelli_raster_image_ae779b571372296f1922af818ba003413_icgraph.dot new file mode 100644 index 0000000..0fdfdea --- /dev/null +++ b/docs-src/html/class_intelli_raster_image_ae779b571372296f1922af818ba003413_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliRasterImage::IntelliRasterImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliRasterImage\l::IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The Construcor of the IntelliRasterImage. Given the Image dimensions."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/class_intelli_render_settings-members.html b/docs-src/html/class_intelli_render_settings-members.html new file mode 100644 index 0000000..f0a55fc --- /dev/null +++ b/docs-src/html/class_intelli_render_settings-members.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliRenderSettings Member List
+
+
+ +

This is the complete list of members for IntelliRenderSettings, including all inherited members.

+ + + + +
IntelliRenderSettings()IntelliRenderSettings
isFastRenderering() constIntelliRenderSettings
setFastRendering(bool Updatedsetting)IntelliRenderSettings
+
+ + + + diff --git a/docs-src/html/class_intelli_render_settings.html b/docs-src/html/class_intelli_render_settings.html new file mode 100644 index 0000000..6e30191 --- /dev/null +++ b/docs-src/html/class_intelli_render_settings.html @@ -0,0 +1,200 @@ + + + + + + + +IntelliPhoto: IntelliRenderSettings Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliRenderSettings Class Reference
+
+
+ +

The IntelliRenderSettings class which manages the render Settings. + More...

+ +

#include <IntelliRenderSettings.h>

+ + + + + + + + + + +

+Public Member Functions

 IntelliRenderSettings ()
 
void setFastRendering (bool Updatedsetting)
 setFastRendering sets fastRendering to Updatedsetting. More...
 
bool isFastRenderering () const
 The getfastRenderer gets the value of the flag for the fastRenderer setting. More...
 
+

Detailed Description

+

The IntelliRenderSettings class which manages the render Settings.

+ +

Definition at line 10 of file IntelliRenderSettings.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliRenderSettings()

+ +
+
+ + + + + + + +
IntelliRenderSettings::IntelliRenderSettings ()
+
+ +

Definition at line 3 of file IntelliRenderSettings.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ isFastRenderering()

+ +
+
+ + + + + + + +
bool IntelliRenderSettings::isFastRenderering () const
+
+ +

The getfastRenderer gets the value of the flag for the fastRenderer setting.

+
Returns
Returns true if fastRenderer is active else false
+ +

Definition at line 12 of file IntelliRenderSettings.cpp.

+ +
+
+ +

◆ setFastRendering()

+ +
+
+ + + + + + + + +
void IntelliRenderSettings::setFastRendering (bool Updatedsetting)
+
+ +

setFastRendering sets fastRendering to Updatedsetting.

+
Parameters
+ + +
Updatedsetting- Represents the new value for the Fast Rendering Flag.
+
+
+ +

Definition at line 8 of file IntelliRenderSettings.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_render_settings.js b/docs-src/html/class_intelli_render_settings.js new file mode 100644 index 0000000..73ef9f6 --- /dev/null +++ b/docs-src/html/class_intelli_render_settings.js @@ -0,0 +1,6 @@ +var class_intelli_render_settings = +[ + [ "IntelliRenderSettings", "class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529", null ], + [ "isFastRenderering", "class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073", null ], + [ "setFastRendering", "class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_render_settings_a5a74e7d7ed3a2e944883dddbe8bbf5e8_icgraph.dot b/docs-src/html/class_intelli_render_settings_a5a74e7d7ed3a2e944883dddbe8bbf5e8_icgraph.dot new file mode 100644 index 0000000..f413d45 --- /dev/null +++ b/docs-src/html/class_intelli_render_settings_a5a74e7d7ed3a2e944883dddbe8bbf5e8_icgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliRenderSettings::getFastRenderer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliRenderSettings\l::getFastRenderer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The getfastRenderer gets the value of the flag for the fastRenderer setting."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a6e9207612cef104d39013564696fe989",tooltip="The addLayer adds a layer to the current project/ painting area."]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460",tooltip="PaintingArea is the constructor of the PaintingArea class, which initiates the working environment."]; +} diff --git a/docs-src/html/class_intelli_shaped_image-members.html b/docs-src/html/class_intelli_shaped_image-members.html new file mode 100644 index 0000000..b6be2f6 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image-members.html @@ -0,0 +1,133 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliShapedImage Member List
+
+
+ +

This is the complete list of members for IntelliShapedImage, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)IntelliImagevirtual
drawPixel(const QPoint &p1, const QColor &color)IntelliImagevirtual
drawPlain(const QColor &color)IntelliImagevirtual
drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)IntelliImagevirtual
fastRendereringIntelliImageprotected
getDeepCopy() overrideIntelliShapedImagevirtual
getDisplayable(const QSize &displaySize, int alpha=255) overrideIntelliShapedImagevirtual
getDisplayable(int alpha=255) overrideIntelliShapedImagevirtual
getHeight() constIntelliImagevirtual
getImageData()IntelliImagevirtual
getPixelColor(QPoint &point)IntelliImagevirtual
getPolygon() overrideIntelliShapedImagevirtual
getPolygonData() overrideIntelliShapedImageinlinevirtual
getTypeOfImage()IntelliImageinlinevirtual
getWidth() constIntelliImagevirtual
imageDataIntelliImageprotected
IntelliImage(int width, int height, bool fastRendererOn)IntelliImage
IntelliRasterImage(int width, int height, bool fastRendererOn)IntelliRasterImage
IntelliShapedImage(int width, int height, bool fastRendererOn)IntelliShapedImage
isFastRendering() constIntelliImagevirtual
loadImage(const QString &filePath)IntelliImagevirtual
polygonDataIntelliShapedImageprotected
resizeImage(QImage *image, const QSize &newSize)IntelliImageprotected
setImageData(const QImage &newData)IntelliImagevirtual
setPolygon(const std::vector< QPoint > &polygonData) overrideIntelliShapedImagevirtual
TypeOfImageIntelliImageprotected
updateRendererSetting(bool fastRendererOn)IntelliImagevirtual
~IntelliImage()=0IntelliImagepure virtual
~IntelliRasterImage() overrideIntelliRasterImagevirtual
~IntelliShapedImage() overrideIntelliShapedImagevirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_shaped_image.html b/docs-src/html/class_intelli_shaped_image.html new file mode 100644 index 0000000..c036ef0 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image.html @@ -0,0 +1,557 @@ + + + + + + + +IntelliPhoto: IntelliShapedImage Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliShapedImage Class Reference
+
+
+ +

The IntelliShapedImage manages a Shapedimage. + More...

+ +

#include <IntelliShapedImage.h>

+
+Inheritance diagram for IntelliShapedImage:
+
+
+ + +IntelliRasterImage +IntelliImage + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliShapedImage (int width, int height, bool fastRendererOn)
 The Construcor of the IntelliShapedImage. Given the Image dimensions. More...
 
virtual ~IntelliShapedImage () override
 An Destructor. More...
 
virtual QImage getDisplayable (const QSize &displaySize, int alpha=255) override
 A function returning the displayable ImageData in a requested transparence and size. More...
 
virtual QImage getDisplayable (int alpha=255) override
 A function returning the displayable ImageData in a requested transparence and it's standart size. More...
 
virtual IntelliImagegetDeepCopy () override
 A function that copys all that returns a [allocated] Image. More...
 
virtual std::vector< QPoint > getPolygonData () override
 A function that returns the Polygondata if existent. More...
 
virtual void setPolygon (const std::vector< QPoint > &polygonData) override
 A function that sets the data of the visible Polygon. More...
 
virtual std::vector< QPoint > getPolygon () override
 getPolygon More...
 
- Public Member Functions inherited from IntelliRasterImage
 IntelliRasterImage (int width, int height, bool fastRendererOn)
 The Construcor of the IntelliRasterImage. Given the Image dimensions. More...
 
virtual ~IntelliRasterImage () override
 An Destructor. More...
 
- Public Member Functions inherited from IntelliImage
 IntelliImage (int width, int height, bool fastRendererOn)
 The Construcor of the IntelliImage. Given the Image dimensions. More...
 
virtual ~IntelliImage ()=0
 An Abstract Destructor. More...
 
virtual void drawPixel (const QPoint &p1, const QColor &color)
 A funtcion used to draw a pixel on the Image with the given Color. More...
 
virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
 A function that draws a line between two given points in a given color. More...
 
virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth)
 A function that draws a point between on a given point in a given color. More...
 
virtual void drawPlain (const QColor &color)
 A function that clears the whole image in a given Color. More...
 
virtual ImageType getTypeOfImage ()
 
virtual bool loadImage (const QString &filePath)
 A function that loads and sclaes an image to the fitting dimensions. More...
 
virtual QColor getPixelColor (QPoint &point)
 A function that returns the pixelcolor at a certain point. More...
 
virtual void updateRendererSetting (bool fastRendererOn)
 updateRendererSetting updates the existing image format to the new format. More...
 
virtual QImage getImageData ()
 getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!). More...
 
virtual void setImageData (const QImage &newData)
 setImageData overwrites the old imageData the new imageData. More...
 
virtual int getWidth () const
 getWidth returns the width of the Image. More...
 
virtual int getHeight () const
 getHeight returns the height of the Image. More...
 
virtual bool isFastRendering () const
 isFastRendering returns if the Image is in fast rendering mode. More...
 
+ + + + + + + + + + + + + + +

+Protected Attributes

std::vector< QPoint > polygonData
 The Vertices of The Polygon. Needs to be a planar Polygon. More...
 
- Protected Attributes inherited from IntelliImage
QImage imageData
 The underlying image data. More...
 
ImageType TypeOfImage
 The Type, an Image is. More...
 
bool fastRenderering
 fastRendering is the flag that represents the usage of 8bit pictures. More...
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from IntelliImage
void resizeImage (QImage *image, const QSize &newSize)
 
+

Detailed Description

+

The IntelliShapedImage manages a Shapedimage.

+ +

Definition at line 13 of file IntelliShapedImage.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliShapedImage()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliShapedImage::IntelliShapedImage (int width,
int height,
bool fastRendererOn 
)
+
+ +

The Construcor of the IntelliShapedImage. Given the Image dimensions.

+
Parameters
+ + + + +
width- The width of the Image.
height- The height of the Image.
fastRendererOn- Represents the flag for 8bit picture handelling.
+
+
+ +

Definition at line 7 of file IntelliShapedImage.cpp.

+ +
+
+ +

◆ ~IntelliShapedImage()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliShapedImage::~IntelliShapedImage ()
+
+overridevirtual
+
+ +

An Destructor.

+ +

Definition at line 12 of file IntelliShapedImage.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ getDeepCopy()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliImage * IntelliShapedImage::getDeepCopy ()
+
+overridevirtual
+
+ +

A function that copys all that returns a [allocated] Image.

+
Returns
A [allocated] Image with all the properties of the instance.
+ +

Reimplemented from IntelliRasterImage.

+ +

Definition at line 20 of file IntelliShapedImage.cpp.

+ +
+
+ +

◆ getDisplayable() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
QImage IntelliShapedImage::getDisplayable (const QSize & displaySize,
int alpha = 255 
)
+
+overridevirtual
+
+ +

A function returning the displayable ImageData in a requested transparence and size.

+
Parameters
+ + + +
displaySize- The size, in whcih the Image should be displayed.
alpha- The maximum alpha value, a pixel can have.
+
+
+
Returns
A QImage which is ready to be displayed.
+ +

Reimplemented from IntelliRasterImage.

+ +

Definition at line 69 of file IntelliShapedImage.cpp.

+ +
+
+ +

◆ getDisplayable() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
QImage IntelliShapedImage::getDisplayable (int alpha = 255)
+
+overridevirtual
+
+ +

A function returning the displayable ImageData in a requested transparence and it's standart size.

+
Parameters
+ + +
alpha- The maximum alpha value, a pixel can have.
+
+
+
Returns
A QImage which is ready to be displayed.
+ +

Reimplemented from IntelliRasterImage.

+ +

Definition at line 16 of file IntelliShapedImage.cpp.

+ +
+
+ +

◆ getPolygon()

+ +
+
+ + + + + +
+ + + + + + + +
std::vector< QPoint > IntelliShapedImage::getPolygon ()
+
+overridevirtual
+
+ +

getPolygon

+
Returns
returns the data of the polygon as points
+ +

Reimplemented from IntelliRasterImage.

+ +

Definition at line 114 of file IntelliShapedImage.cpp.

+ +
+
+ +

◆ getPolygonData()

+ +
+
+ + + + + +
+ + + + + + + +
virtual std::vector<QPoint> IntelliShapedImage::getPolygonData ()
+
+inlineoverridevirtual
+
+ +

A function that returns the Polygondata if existent.

+
Returns
The Polygondata if existent.
+ +

Reimplemented from IntelliImage.

+ +

Definition at line 71 of file IntelliShapedImage.h.

+ +
+
+ +

◆ setPolygon()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliShapedImage::setPolygon (const std::vector< QPoint > & polygonData)
+
+overridevirtual
+
+ +

A function that sets the data of the visible Polygon.

+
Parameters
+ + +
polygonData- The Vertices of the Polygon. Just Planar Polygons are allowed.
+
+
+ +

Reimplemented from IntelliRasterImage.

+ +

Definition at line 87 of file IntelliShapedImage.cpp.

+ +
+
+

Member Data Documentation

+ +

◆ polygonData

+ +
+
+ + + + + +
+ + + + +
std::vector<QPoint> IntelliShapedImage::polygonData
+
+protected
+
+ +

The Vertices of The Polygon. Needs to be a planar Polygon.

+ +

Definition at line 31 of file IntelliShapedImage.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_shaped_image.js b/docs-src/html/class_intelli_shaped_image.js new file mode 100644 index 0000000..cb558d0 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image.js @@ -0,0 +1,12 @@ +var class_intelli_shaped_image = +[ + [ "IntelliShapedImage", "class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9", null ], + [ "~IntelliShapedImage", "class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9", null ], + [ "getDeepCopy", "class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337", null ], + [ "getDisplayable", "class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630", null ], + [ "getDisplayable", "class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc", null ], + [ "getPolygon", "class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b", null ], + [ "getPolygonData", "class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93", null ], + [ "setPolygon", "class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e", null ], + [ "polygonData", "class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_shaped_image.png b/docs-src/html/class_intelli_shaped_image.png new file mode 100644 index 0000000..5bdf651 Binary files /dev/null and b/docs-src/html/class_intelli_shaped_image.png differ diff --git a/docs-src/html/class_intelli_shaped_image__coll__graph.dot b/docs-src/html/class_intelli_shaped_image__coll__graph.dot new file mode 100644 index 0000000..1c59a61 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image__coll__graph.dot @@ -0,0 +1,11 @@ +digraph "IntelliShapedImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliShapedImage manages a Shapedimage."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html",tooltip="The IntelliRasterImage manages a RASTERIMAGE."]; + Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_shaped_image__inherit__graph.dot b/docs-src/html/class_intelli_shaped_image__inherit__graph.dot new file mode 100644 index 0000000..1c59a61 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image__inherit__graph.dot @@ -0,0 +1,11 @@ +digraph "IntelliShapedImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliShapedImage manages a Shapedimage."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html",tooltip="The IntelliRasterImage manages a RASTERIMAGE."]; + Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_a0221d93c3c8990f7dab332454cc21f50_cgraph.dot b/docs-src/html/class_intelli_shaped_image_a0221d93c3c8990f7dab332454cc21f50_cgraph.dot new file mode 100644 index 0000000..553d9f3 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_a0221d93c3c8990f7dab332454cc21f50_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliShapedImage::calculateVisiblity" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliShapedImage\l::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_helper.html#a04bdb4f53b89dded693ba6e896f4c63f",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_helper.html#a67fc007dda64187f6cef7fba3fcd9e40",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_shaped_image_a0221d93c3c8990f7dab332454cc21f50_icgraph.dot b/docs-src/html/class_intelli_shaped_image_a0221d93c3c8990f7dab332454cc21f50_icgraph.dot new file mode 100644 index 0000000..e5e7eb6 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_a0221d93c3c8990f7dab332454cc21f50_icgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliShapedImage::calculateVisiblity" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliShapedImage\l::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip=" "]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_shaped_image_a0f834c3f255baeb50c98ef335a6d0ea9_icgraph.dot b/docs-src/html/class_intelli_shaped_image_a0f834c3f255baeb50c98ef335a6d0ea9_icgraph.dot new file mode 100644 index 0000000..8d5448d --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_a0f834c3f255baeb50c98ef335a6d0ea9_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliShapedImage::IntelliShapedImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliShapedImage\l::IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The Construcor of the IntelliShapedImage. Given the Image dimensions."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_a4b69d75de7a3b85032482982f249458e_cgraph.dot b/docs-src/html/class_intelli_shaped_image_a4b69d75de7a3b85032482982f249458e_cgraph.dot new file mode 100644 index 0000000..55bb17d --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_a4b69d75de7a3b85032482982f249458e_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliShapedImage::setPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that sets the data of the visible Polygon."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::calculateTriangles",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_a4b69d75de7a3b85032482982f249458e_icgraph.dot b/docs-src/html/class_intelli_shaped_image_a4b69d75de7a3b85032482982f249458e_icgraph.dot new file mode 100644 index 0000000..d26d6f0 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_a4b69d75de7a3b85032482982f249458e_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliShapedImage::setPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that sets the data of the visible Polygon."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_a68cf374247c16f07fd84d50e4cd05630_icgraph.dot b/docs-src/html/class_intelli_shaped_image_a68cf374247c16f07fd84d50e4cd05630_icgraph.dot new file mode 100644 index 0000000..9992e60 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_a68cf374247c16f07fd84d50e4cd05630_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliShapedImage::getDisplayable" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliShapedImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function returning the displayable ImageData in a requested transparence and size."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc",tooltip="A function returning the displayable ImageData in a requested transparence and it's standart size."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_ac6a99e1a96134073bceea252b37636cc_cgraph.dot b/docs-src/html/class_intelli_shaped_image_ac6a99e1a96134073bceea252b37636cc_cgraph.dot new file mode 100644 index 0000000..fedf662 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_ac6a99e1a96134073bceea252b37636cc_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliShapedImage::getDisplayable" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliShapedImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function returning the displayable ImageData in a requested transparence and it's standart size."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::getDisplayable",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630",tooltip="A function returning the displayable ImageData in a requested transparence and size."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_ae2e612a1fa52d7f878b34a7a7022d8e9_icgraph.dot b/docs-src/html/class_intelli_shaped_image_ae2e612a1fa52d7f878b34a7a7022d8e9_icgraph.dot new file mode 100644 index 0000000..8d5448d --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_ae2e612a1fa52d7f878b34a7a7022d8e9_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliShapedImage::IntelliShapedImage" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliShapedImage\l::IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The Construcor of the IntelliShapedImage. Given the Image dimensions."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/class_intelli_shaped_image_aed0b31e0fa771104399d1f5ff39a0337_cgraph.dot b/docs-src/html/class_intelli_shaped_image_aed0b31e0fa771104399d1f5ff39a0337_cgraph.dot new file mode 100644 index 0000000..62314e1 --- /dev/null +++ b/docs-src/html/class_intelli_shaped_image_aed0b31e0fa771104399d1f5ff39a0337_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliShapedImage::getDeepCopy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that copys all that returns a [allocated] Image."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage\l::IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9",tooltip="The Construcor of the IntelliShapedImage. Given the Image dimensions."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip="A function that sets the data of the visible Polygon."]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliTriangulation\l::calculateTriangles",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; +} diff --git a/docs-src/html/class_intelli_tool-members.html b/docs-src/html/class_intelli_tool-members.html new file mode 100644 index 0000000..a4d12f2 --- /dev/null +++ b/docs-src/html/class_intelli_tool-members.html @@ -0,0 +1,121 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliTool Member List
+
+
+ +

This is the complete list of members for IntelliTool, including all inherited members.

+ + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y)IntelliToolvirtual
onMouseLeftReleased(int x, int y)IntelliToolvirtual
onMouseMoved(int x, int y)IntelliToolvirtual
onMouseRightPressed(int x, int y)IntelliToolvirtual
onMouseRightReleased(int x, int y)IntelliToolvirtual
onWheelScrolled(int value)IntelliToolvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool.html b/docs-src/html/class_intelli_tool.html new file mode 100644 index 0000000..993df36 --- /dev/null +++ b/docs-src/html/class_intelli_tool.html @@ -0,0 +1,836 @@ + + + + + + + +IntelliPhoto: IntelliTool Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliTool Class Referenceabstract
+
+
+ +

An abstract class that manages the basic events, like mouse clicks or scrolls events. + More...

+ +

#include <IntelliTool.h>

+
+Inheritance diagram for IntelliTool:
+
+
+ + +IntelliToolCircle +IntelliToolFloodFill +IntelliToolGradient +IntelliToolLine +IntelliToolPen +IntelliToolPlainTool +IntelliToolPolygon +IntelliToolRectangle + +
+ + + + + +

+Public Types

enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
virtual void onMouseRightPressed (int x, int y)
 A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! More...
 
virtual void onMouseRightReleased (int x, int y)
 A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! More...
 
virtual void onMouseLeftPressed (int x, int y)
 A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! More...
 
virtual void onMouseLeftReleased (int x, int y)
 A function managing the left click Released of a Mouse. Call this in child classes! More...
 
virtual void onWheelScrolled (int value)
 A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! More...
 
virtual void onMouseMoved (int x, int y)
 A function managing the mouse moved event. Call this in child classes! More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

An abstract class that manages the basic events, like mouse clicks or scrolls events.

+ +

Definition at line 17 of file IntelliTool.h.

+

Member Enumeration Documentation

+ +

◆ Tooltype

+ +
+
+ + + + + +
+ + + + +
enum IntelliTool::Tooltype
+
+strong
+
+ +

The Tooltype enum categorising the toosl.

+ + + + + + + + + + +
Enumerator
CIRCLE 
FLOODFILL 
GRADIENT 
LINE 
PEN 
PLAIN 
POLYGON 
RECTANGLE 
NONE 
+ +

Definition at line 23 of file IntelliTool.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ IntelliTool()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliTool::IntelliTool (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general Painting Area and colorPicker.

+
Parameters
+ + + +
Area- The general PaintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 5 of file IntelliTool.cpp.

+ +
+
+ +

◆ ~IntelliTool()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliTool::~IntelliTool ()
+
+pure virtual
+
+ +

An abstract Destructor.

+ +

Definition at line 15 of file IntelliTool.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ getIsDrawing()

+ +
+
+ + + + + + + +
bool IntelliTool::getIsDrawing () const
+
+ +

getIsDrawing returns if the tool is currently drawing

+
Returns
returns if the tool is currently drawing
+ +

Definition at line 105 of file IntelliTool.cpp.

+ +
+
+ +

◆ getTooltype()

+ +
+
+ + + + + + + +
IntelliTool::Tooltype IntelliTool::getTooltype () const
+
+ +

getTooltype returns the tools type

+
Returns
returns the tool type of the current tool.
+ +

Definition at line 101 of file IntelliTool.cpp.

+ +
+
+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliTool::onMouseLeftPressed (int x,
int y 
)
+
+virtual
+
+ +

A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

+ +

Definition at line 30 of file IntelliTool.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliTool::onMouseLeftReleased (int x,
int y 
)
+
+virtual
+
+ +

A function managing the left click Released of a Mouse. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

+ +

Definition at line 37 of file IntelliTool.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliTool::onMouseMoved (int x,
int y 
)
+
+virtual
+
+ +

A function managing the mouse moved event. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

+ +

Definition at line 48 of file IntelliTool.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliTool::onMouseRightPressed (int x,
int y 
)
+
+virtual
+
+ +

A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

+ +

Definition at line 19 of file IntelliTool.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliTool::onMouseRightReleased (int x,
int y 
)
+
+virtual
+
+ +

A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

+ +

Definition at line 26 of file IntelliTool.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliTool::onWheelScrolled (int value)
+
+virtual
+
+ +

A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes!

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

+ +

Definition at line 53 of file IntelliTool.cpp.

+ +
+
+

Member Data Documentation

+ +

◆ activeLayer

+ +
+
+ + + + + +
+ + + + +
LayerObject* IntelliTool::activeLayer
+
+protected
+
+ +

A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews.

+ +

Definition at line 74 of file IntelliTool.h.

+ +
+
+ +

◆ ActiveType

+ +
+
+ + + + + +
+ + + + +
Tooltype IntelliTool::ActiveType
+
+protected
+
+ +

ActiveType the type of the active tool.

+ +

Definition at line 59 of file IntelliTool.h.

+ +
+
+ +

◆ Area

+ +
+
+ + + + + +
+ + + + +
PaintingArea* IntelliTool::Area
+
+protected
+
+ +

A pointer to the general PaintingArea to interact with.

+ +

Definition at line 54 of file IntelliTool.h.

+ +
+
+ +

◆ Canvas

+ +
+
+ + + + + +
+ + + + +
LayerObject* IntelliTool::Canvas
+
+protected
+
+ +

A pointer to the drawing canvas of the tool, work on this.

+ +

Definition at line 79 of file IntelliTool.h.

+ +
+
+ +

◆ colorPicker

+ +
+
+ + + + + +
+ + + + +
IntelliColorPicker* IntelliTool::colorPicker
+
+protected
+
+ +

A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.

+ +

Definition at line 64 of file IntelliTool.h.

+ +
+
+ +

◆ isDrawing

+ +
+
+ + + + + +
+ + + + +
bool IntelliTool::isDrawing = false
+
+protected
+
+ +

A flag checking if the user is currently drawing or not.

+ +

Definition at line 84 of file IntelliTool.h.

+ +
+
+ +

◆ Toolsettings

+ +
+
+ + + + + +
+ + + + +
IntelliToolsettings* IntelliTool::Toolsettings
+
+protected
+
+ +

Toolsettings a refrence to the tool settings.

+ +

Definition at line 69 of file IntelliTool.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool.js b/docs-src/html/class_intelli_tool.js new file mode 100644 index 0000000..f6bb814 --- /dev/null +++ b/docs-src/html/class_intelli_tool.js @@ -0,0 +1,31 @@ +var class_intelli_tool = +[ + [ "Tooltype", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f", [ + [ "CIRCLE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491", null ], + [ "FLOODFILL", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93", null ], + [ "GRADIENT", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f", null ], + [ "LINE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7", null ], + [ "PEN", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678", null ], + [ "PLAIN", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5", null ], + [ "POLYGON", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc", null ], + [ "RECTANGLE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a", null ], + [ "NONE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693", null ] + ] ], + [ "IntelliTool", "class_intelli_tool.html#a08ef094271ce6248b42f888472463526", null ], + [ "~IntelliTool", "class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2", null ], + [ "getIsDrawing", "class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3", null ], + [ "getTooltype", "class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694", null ], + [ "onMouseLeftPressed", "class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c", null ], + [ "onMouseLeftReleased", "class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b", null ], + [ "onMouseMoved", "class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639", null ], + [ "onMouseRightPressed", "class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966", null ], + [ "onMouseRightReleased", "class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0", null ], + [ "onWheelScrolled", "class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574", null ], + [ "activeLayer", "class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d", null ], + [ "ActiveType", "class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b", null ], + [ "Area", "class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289", null ], + [ "Canvas", "class_intelli_tool.html#a144d469cc03584f501194529a1b53c77", null ], + [ "colorPicker", "class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef", null ], + [ "isDrawing", "class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca", null ], + [ "Toolsettings", "class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool.png b/docs-src/html/class_intelli_tool.png new file mode 100644 index 0000000..4d872f5 Binary files /dev/null and b/docs-src/html/class_intelli_tool.png differ diff --git a/docs-src/html/class_intelli_tool__coll__graph.dot b/docs-src/html/class_intelli_tool__coll__graph.dot new file mode 100644 index 0000000..67bf4ac --- /dev/null +++ b/docs-src/html/class_intelli_tool__coll__graph.dot @@ -0,0 +1,21 @@ +digraph "IntelliTool" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node2 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node2 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node4 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node5 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node4 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node6 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool__inherit__graph.dot b/docs-src/html/class_intelli_tool__inherit__graph.dot new file mode 100644 index 0000000..9f14209 --- /dev/null +++ b/docs-src/html/class_intelli_tool__inherit__graph.dot @@ -0,0 +1,22 @@ +digraph "IntelliTool" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html",tooltip="The IntelliToolCircle class represents a tool to draw a circle."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html",tooltip="The IntelliToolPen class represents a tool to draw a line."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html",tooltip="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html",tooltip="The IntelliToolPolygon managed the Drawing of Polygonforms."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html",tooltip="The IntelliToolRectangle class represents a tool to draw a rectangle."]; +} diff --git a/docs-src/html/class_intelli_tool_a0020fad2e26315d5c4d96dbc95d1dceb_icgraph.dot b/docs-src/html/class_intelli_tool_a0020fad2e26315d5c4d96dbc95d1dceb_icgraph.dot new file mode 100644 index 0000000..5e6ffe0 --- /dev/null +++ b/docs-src/html/class_intelli_tool_a0020fad2e26315d5c4d96dbc95d1dceb_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliTool::getIsDrawing" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::getIsDrawing",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::moveActive\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a",tooltip="The moveActiveLayer moves the active layer to a specific position in the layer stack."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="PaintingArea::movePosition\lActive",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7",tooltip="The movePositionActive method moves the active layer to certain position."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec",tooltip="The slotActivateLayer method handles the event of selecting one layer as active."]; +} diff --git a/docs-src/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot b/docs-src/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot new file mode 100644 index 0000000..db4d50f --- /dev/null +++ b/docs-src/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot @@ -0,0 +1,24 @@ +digraph "IntelliTool::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPlainTool\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolFloodFill\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPen::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolRectangle\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPolygon\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b",tooltip="A function managing the right click released of a mouse."]; +} diff --git a/docs-src/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot b/docs-src/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot new file mode 100644 index 0000000..a6e1859 --- /dev/null +++ b/docs-src/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot @@ -0,0 +1,40 @@ +digraph "IntelliTool::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce",tooltip="A function managing the right click pressed of a mouse. Resetting the current draw."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolRectangle\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas layer."]; + Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; + Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliToolCircle::\l~IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954",tooltip="A Destructor."]; + Node1 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="IntelliToolFloodFill\l::~IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba",tooltip="A Destructor."]; + Node1 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="IntelliToolLine::~Intelli\lToolLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2",tooltip="An abstract Destructor."]; + Node1 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="IntelliToolPen::~Intelli\lToolPen",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818",tooltip="A Destructor."]; + Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="IntelliToolPlainTool\l::~IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658",tooltip="A Destructor."]; + Node1 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="IntelliToolPolygon\l::~IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499",tooltip="A Destructor."]; + Node1 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="IntelliToolRectangle\l::~IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1",tooltip="A Destructor."]; +} diff --git a/docs-src/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_cgraph.dot b/docs-src/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_cgraph.dot new file mode 100644 index 0000000..fdaba4f --- /dev/null +++ b/docs-src/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliTool::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot b/docs-src/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot new file mode 100644 index 0000000..eb66746 --- /dev/null +++ b/docs-src/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot @@ -0,0 +1,24 @@ +digraph "IntelliTool::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; +} diff --git a/docs-src/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot b/docs-src/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot new file mode 100644 index 0000000..313d57e --- /dev/null +++ b/docs-src/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot @@ -0,0 +1,24 @@ +digraph "IntelliTool::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPlainTool\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d",tooltip="A function managing the scroll event."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolFloodFill\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991",tooltip="A function managing the scroll event."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPen::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a",tooltip="A function managing the scroll event. Changing penWidth relativ to value."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolRectangle\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c",tooltip="A function managing the scroll event.Changing edgeWidth relativ to value."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506",tooltip="A function managing the scroll event. Changing the edge Width relative to value."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolPolygon\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17",tooltip="A function managing the scroll event. CHanging the lineWidth relative to value."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="PaintingArea::wheelEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_cgraph.dot b/docs-src/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_cgraph.dot new file mode 100644 index 0000000..6ede39e --- /dev/null +++ b/docs-src/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliTool::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot b/docs-src/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot new file mode 100644 index 0000000..e2cce2e --- /dev/null +++ b/docs-src/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot @@ -0,0 +1,24 @@ +digraph "IntelliTool::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click released of a mouse."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_cgraph.dot b/docs-src/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_cgraph.dot new file mode 100644 index 0000000..15d8a44 --- /dev/null +++ b/docs-src/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliTool::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot b/docs-src/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot new file mode 100644 index 0000000..fd39439 --- /dev/null +++ b/docs-src/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot @@ -0,0 +1,24 @@ +digraph "IntelliTool::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::mouseMoveEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5",tooltip=" "]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c",tooltip="A function managing the mouse moved event."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668",tooltip="A function managing the mouse moved event."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPolygon\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922",tooltip="A function managing the mouse moved event."]; +} diff --git a/docs-src/html/class_intelli_tool_circle-members.html b/docs-src/html/class_intelli_tool_circle-members.html new file mode 100644 index 0000000..64dba21 --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolCircle Member List
+
+
+ +

This is the complete list of members for IntelliToolCircle, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolCircle
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolCirclevirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolCirclevirtual
onMouseMoved(int x, int y) overrideIntelliToolCirclevirtual
onMouseRightPressed(int x, int y) overrideIntelliToolCirclevirtual
onMouseRightReleased(int x, int y) overrideIntelliToolCirclevirtual
onWheelScrolled(int value) overrideIntelliToolCirclevirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolCircle() overrideIntelliToolCirclevirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_circle.html b/docs-src/html/class_intelli_tool_circle.html new file mode 100644 index 0000000..bd18c9f --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle.html @@ -0,0 +1,568 @@ + + + + + + + +IntelliPhoto: IntelliToolCircle Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolCircle Class Reference
+
+
+ +

The IntelliToolCircle class represents a tool to draw a circle. + More...

+ +

#include <IntelliToolCircle.h>

+
+Inheritance diagram for IntelliToolCircle:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolCircle (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and edgeWidth. More...
 
virtual ~IntelliToolCircle () override
 A Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse. Clearing the canvas layer. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Sets the middle point of the cricle. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. Changing the edge Width relative to value. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse position and the middle point. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolCircle class represents a tool to draw a circle.

+ +

Definition at line 14 of file IntelliToolCircle.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolCircle()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolCircle::IntelliToolCircle (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and edgeWidth.

+
Parameters
+ + + +
Area- The general paintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 6 of file IntelliToolCircle.cpp.

+ +
+
+ +

◆ ~IntelliToolCircle()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolCircle::~IntelliToolCircle ()
+
+overridevirtual
+
+ +

A Destructor.

+ +

Definition at line 11 of file IntelliToolCircle.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolCircle::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Sets the middle point of the cricle.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 57 of file IntelliToolCircle.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolCircle::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 67 of file IntelliToolCircle.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolCircle::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse position and the middle point.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 76 of file IntelliToolCircle.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolCircle::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse. Clearing the canvas layer.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 49 of file IntelliToolCircle.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolCircle::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 53 of file IntelliToolCircle.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolCircle::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event. Changing the edge Width relative to value.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 71 of file IntelliToolCircle.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_circle.js b/docs-src/html/class_intelli_tool_circle.js new file mode 100644 index 0000000..b0989fb --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle.js @@ -0,0 +1,11 @@ +var class_intelli_tool_circle = +[ + [ "IntelliToolCircle", "class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8", null ], + [ "~IntelliToolCircle", "class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954", null ], + [ "onMouseLeftPressed", "class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639", null ], + [ "onMouseLeftReleased", "class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3", null ], + [ "onMouseMoved", "class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b", null ], + [ "onMouseRightPressed", "class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429", null ], + [ "onMouseRightReleased", "class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c", null ], + [ "onWheelScrolled", "class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_circle.png b/docs-src/html/class_intelli_tool_circle.png new file mode 100644 index 0000000..d85887d Binary files /dev/null and b/docs-src/html/class_intelli_tool_circle.png differ diff --git a/docs-src/html/class_intelli_tool_circle__coll__graph.dot b/docs-src/html/class_intelli_tool_circle__coll__graph.dot new file mode 100644 index 0000000..458287c --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolCircle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolCircle class represents a tool to draw a circle."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_circle__inherit__graph.dot b/docs-src/html/class_intelli_tool_circle__inherit__graph.dot new file mode 100644 index 0000000..67ada15 --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolCircle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolCircle class represents a tool to draw a circle."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_circle_a29d7b9ed4960e6fe1f31ff620363e429_cgraph.dot b/docs-src/html/class_intelli_tool_circle_a29d7b9ed4960e6fe1f31ff620363e429_cgraph.dot new file mode 100644 index 0000000..0e5b463 --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_a29d7b9ed4960e6fe1f31ff620363e429_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolCircle::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_circle_a7a03b65b95d7b5d72e6a92c95f068954_cgraph.dot b/docs-src/html/class_intelli_tool_circle_a7a03b65b95d7b5d72e6a92c95f068954_cgraph.dot new file mode 100644 index 0000000..3edbae4 --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_a7a03b65b95d7b5d72e6a92c95f068954_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolCircle::~IntelliToolCircle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\l~IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_circle_a90ee58c5390a86afc75c14ca79b91d7b_cgraph.dot b/docs-src/html/class_intelli_tool_circle_a90ee58c5390a86afc75c14ca79b91d7b_cgraph.dot new file mode 100644 index 0000000..3410c6b --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_a90ee58c5390a86afc75c14ca79b91d7b_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolCircle::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_circle_aca07540f2f7ccb3d2c0b84890c1afc4c_cgraph.dot b/docs-src/html/class_intelli_tool_circle_aca07540f2f7ccb3d2c0b84890c1afc4c_cgraph.dot new file mode 100644 index 0000000..f7c2d9c --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_aca07540f2f7ccb3d2c0b84890c1afc4c_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolCircle::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_circle_ad8e438ec997c57262b5efc2db4cee1a3_cgraph.dot b/docs-src/html/class_intelli_tool_circle_ad8e438ec997c57262b5efc2db4cee1a3_cgraph.dot new file mode 100644 index 0000000..44d094e --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_ad8e438ec997c57262b5efc2db4cee1a3_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolCircle::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_circle_ae2d9b0fb6695c184c4cb507a5fb75506_cgraph.dot b/docs-src/html/class_intelli_tool_circle_ae2d9b0fb6695c184c4cb507a5fb75506_cgraph.dot new file mode 100644 index 0000000..784caf2 --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_ae2d9b0fb6695c184c4cb507a5fb75506_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolCircle::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. Changing the edge Width relative to value."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolsettings\l::setLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a906d37de6ee94b433d53fe3e598cc9fa",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_tool_circle_ae883b8ae833c78a8867e626c600f9639_cgraph.dot b/docs-src/html/class_intelli_tool_circle_ae883b8ae833c78a8867e626c600f9639_cgraph.dot new file mode 100644 index 0000000..2578e46 --- /dev/null +++ b/docs-src/html/class_intelli_tool_circle_ae883b8ae833c78a8867e626c600f9639_cgraph.dot @@ -0,0 +1,13 @@ +digraph "IntelliToolCircle::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node3 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill-members.html b/docs-src/html/class_intelli_tool_flood_fill-members.html new file mode 100644 index 0000000..51ae69a --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolFloodFill Member List
+
+
+ +

This is the complete list of members for IntelliToolFloodFill, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolFloodFill
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolFloodFillvirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolFloodFillvirtual
onMouseMoved(int x, int y) overrideIntelliToolFloodFillvirtual
onMouseRightPressed(int x, int y) overrideIntelliToolFloodFillvirtual
onMouseRightReleased(int x, int y) overrideIntelliToolFloodFillvirtual
onWheelScrolled(int value) overrideIntelliToolFloodFillvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolFloodFill() overrideIntelliToolFloodFillvirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_flood_fill.html b/docs-src/html/class_intelli_tool_flood_fill.html new file mode 100644 index 0000000..2cc65a7 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill.html @@ -0,0 +1,568 @@ + + + + + + + +IntelliPhoto: IntelliToolFloodFill Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolFloodFill Class Reference
+
+
+ +

The IntelliToolFloodFill class represents a tool to flood FIll a certian area. + More...

+ +

#include <IntelliToolFloodFill.h>

+
+Inheritance diagram for IntelliToolFloodFill:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolFloodFill (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general paintingArea and colorPicker. More...
 
virtual ~IntelliToolFloodFill () override
 A Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse. Clearing the canvas. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Sets the point to flood fill around and does this. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolFloodFill class represents a tool to flood FIll a certian area.

+ +

Definition at line 14 of file IntelliToolFloodFill.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolFloodFill()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolFloodFill::IntelliToolFloodFill (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general paintingArea and colorPicker.

+
Parameters
+ + + +
Area- The general paintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 8 of file IntelliToolFloodFill.cpp.

+ +
+
+ +

◆ ~IntelliToolFloodFill()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolFloodFill::~IntelliToolFloodFill ()
+
+overridevirtual
+
+ +

A Destructor.

+ +

Definition at line 13 of file IntelliToolFloodFill.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolFloodFill::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Sets the point to flood fill around and does this.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 25 of file IntelliToolFloodFill.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolFloodFill::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 72 of file IntelliToolFloodFill.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolFloodFill::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 81 of file IntelliToolFloodFill.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolFloodFill::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse. Clearing the canvas.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 17 of file IntelliToolFloodFill.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolFloodFill::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 21 of file IntelliToolFloodFill.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolFloodFill::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 76 of file IntelliToolFloodFill.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_flood_fill.js b/docs-src/html/class_intelli_tool_flood_fill.js new file mode 100644 index 0000000..d215069 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill.js @@ -0,0 +1,11 @@ +var class_intelli_tool_flood_fill = +[ + [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076", null ], + [ "~IntelliToolFloodFill", "class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba", null ], + [ "onMouseLeftPressed", "class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961", null ], + [ "onMouseLeftReleased", "class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c", null ], + [ "onMouseMoved", "class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668", null ], + [ "onMouseRightPressed", "class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4", null ], + [ "onMouseRightReleased", "class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892", null ], + [ "onWheelScrolled", "class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_flood_fill.png b/docs-src/html/class_intelli_tool_flood_fill.png new file mode 100644 index 0000000..578ca9c Binary files /dev/null and b/docs-src/html/class_intelli_tool_flood_fill.png differ diff --git a/docs-src/html/class_intelli_tool_flood_fill__coll__graph.dot b/docs-src/html/class_intelli_tool_flood_fill__coll__graph.dot new file mode 100644 index 0000000..1ca3bc4 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolFloodFill" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill__inherit__graph.dot b/docs-src/html/class_intelli_tool_flood_fill__inherit__graph.dot new file mode 100644 index 0000000..b32d6bb --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolFloodFill" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_a39cf49c0ce46f96be3510f0b70c9d892_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_a39cf49c0ce46f96be3510f0b70c9d892_cgraph.dot new file mode 100644 index 0000000..c719c47 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_a39cf49c0ce46f96be3510f0b70c9d892_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolFloodFill::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_a3cd42cea99bc7583875abcc0c274c668_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_a3cd42cea99bc7583875abcc0c274c668_cgraph.dot new file mode 100644 index 0000000..d7c52e5 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_a3cd42cea99bc7583875abcc0c274c668_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolFloodFill::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_a7438ef96c6c36068bce76e2364e8594c_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_a7438ef96c6c36068bce76e2364e8594c_cgraph.dot new file mode 100644 index 0000000..2196f01 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_a7438ef96c6c36068bce76e2364e8594c_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolFloodFill::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_a83b1bd8be0cbb32cdf61a9597ec849ba_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_a83b1bd8be0cbb32cdf61a9597ec849ba_cgraph.dot new file mode 100644 index 0000000..ec5fca4 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_a83b1bd8be0cbb32cdf61a9597ec849ba_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolFloodFill::~IntelliToolFloodFill" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::~IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_ac85e3cb6233508ff9612833a8d9e3961_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_ac85e3cb6233508ff9612833a8d9e3961_cgraph.dot new file mode 100644 index 0000000..6b637f9 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_ac85e3cb6233508ff9612833a8d9e3961_cgraph.dot @@ -0,0 +1,19 @@ +digraph "IntelliToolFloodFill::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::drawPixel",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056",tooltip="A funtcion used to draw a pixel on the Image with the given Color."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliImage::getPixelColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f",tooltip="A function that returns the pixelcolor at a certain point."]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node6 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_ad58cc7c065123beb6b0270f99e99b991_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_ad58cc7c065123beb6b0270f99e99b991_cgraph.dot new file mode 100644 index 0000000..fdd94f9 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_ad58cc7c065123beb6b0270f99e99b991_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolFloodFill::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; +} diff --git a/docs-src/html/class_intelli_tool_flood_fill_ada0f7154d119102410a55038763a17e4_cgraph.dot b/docs-src/html/class_intelli_tool_flood_fill_ada0f7154d119102410a55038763a17e4_cgraph.dot new file mode 100644 index 0000000..7105699 --- /dev/null +++ b/docs-src/html/class_intelli_tool_flood_fill_ada0f7154d119102410a55038763a17e4_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolFloodFill::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_gradient-members.html b/docs-src/html/class_intelli_tool_gradient-members.html new file mode 100644 index 0000000..ea13741 --- /dev/null +++ b/docs-src/html/class_intelli_tool_gradient-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolGradient Member List
+
+
+ +

This is the complete list of members for IntelliToolGradient, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolGradient
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolGradientvirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolGradientvirtual
onMouseMoved(int x, int y) overrideIntelliToolGradientvirtual
onMouseRightPressed(int x, int y) overrideIntelliToolGradientvirtual
onMouseRightReleased(int x, int y) overrideIntelliToolGradientvirtual
onWheelScrolled(int value) overrideIntelliToolGradientvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolGradient() overrideIntelliToolGradientvirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_gradient.html b/docs-src/html/class_intelli_tool_gradient.html new file mode 100644 index 0000000..f11b2e9 --- /dev/null +++ b/docs-src/html/class_intelli_tool_gradient.html @@ -0,0 +1,569 @@ + + + + + + + +IntelliPhoto: IntelliToolGradient Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolGradient Class Reference
+
+
+ +

The IntelliToolGradient class that represents a gradient call. + More...

+ +

#include <IntelliToolGradient.h>

+
+Inheritance diagram for IntelliToolGradient:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolGradient (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 IntelliToolGradient basic constructor of the gradient tool. More...
 
virtual ~IntelliToolGradient () override
 ~IntelliToolGradient basic destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click Released of a Mouse. Call this in child classes! More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. Call this in child classes! More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolGradient class that represents a gradient call.

+ +

Definition at line 7 of file IntelliToolGradient.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolGradient()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolGradient::IntelliToolGradient (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

IntelliToolGradient basic constructor of the gradient tool.

+
Parameters
+ + + + +
Area- a reference to the paintingArea
colorPicker- a reference to the colorpicker
Toolsettings- a regerence to the Toolsettings
+
+
+ +

Definition at line 6 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ ~IntelliToolGradient()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolGradient::~IntelliToolGradient ()
+
+overridevirtual
+
+ +

~IntelliToolGradient basic destructor.

+ +

Definition at line 13 of file IntelliToolGradient.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 17 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click Released of a Mouse. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 32 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 43 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 28 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 39 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolGradient::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes!

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 54 of file IntelliToolGradient.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_gradient.js b/docs-src/html/class_intelli_tool_gradient.js new file mode 100644 index 0000000..12afbda --- /dev/null +++ b/docs-src/html/class_intelli_tool_gradient.js @@ -0,0 +1,11 @@ +var class_intelli_tool_gradient = +[ + [ "IntelliToolGradient", "class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203", null ], + [ "~IntelliToolGradient", "class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539", null ], + [ "onMouseLeftPressed", "class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1", null ], + [ "onMouseLeftReleased", "class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11", null ], + [ "onMouseMoved", "class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e", null ], + [ "onMouseRightPressed", "class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36", null ], + [ "onMouseRightReleased", "class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834", null ], + [ "onWheelScrolled", "class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_gradient.png b/docs-src/html/class_intelli_tool_gradient.png new file mode 100644 index 0000000..1333310 Binary files /dev/null and b/docs-src/html/class_intelli_tool_gradient.png differ diff --git a/docs-src/html/class_intelli_tool_line-members.html b/docs-src/html/class_intelli_tool_line-members.html new file mode 100644 index 0000000..d845c20 --- /dev/null +++ b/docs-src/html/class_intelli_tool_line-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolLine Member List
+
+
+ +

This is the complete list of members for IntelliToolLine, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolLine
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolLinevirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolLinevirtual
onMouseMoved(int x, int y) overrideIntelliToolLinevirtual
onMouseRightPressed(int x, int y) overrideIntelliToolLinevirtual
onMouseRightReleased(int x, int y) overrideIntelliToolLinevirtual
onWheelScrolled(int value) overrideIntelliToolLinevirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolLine() overrideIntelliToolLinevirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_line.html b/docs-src/html/class_intelli_tool_line.html new file mode 100644 index 0000000..f906afe --- /dev/null +++ b/docs-src/html/class_intelli_tool_line.html @@ -0,0 +1,568 @@ + + + + + + + +IntelliPhoto: IntelliToolLine Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolLine Class Reference
+
+
+ +

The IntelliToolFloodFill class represents a tool to draw a line. + More...

+ +

#include <IntelliToolLine.h>

+
+Inheritance diagram for IntelliToolLine:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolLine (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general paintingArea and colorPicker. More...
 
virtual ~IntelliToolLine () override
 An abstract Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse. Clearing the canvas. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Sets the starting point of the line. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. Changing the lineWidth relative to value. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse position. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolFloodFill class represents a tool to draw a line.

+ +

Definition at line 13 of file IntelliToolLine.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolLine()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolLine::IntelliToolLine (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general paintingArea and colorPicker.

+
Parameters
+ + + +
Area- The general paintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 6 of file IntelliToolLine.cpp.

+ +
+
+ +

◆ ~IntelliToolLine()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolLine::~IntelliToolLine ()
+
+overridevirtual
+
+ +

An abstract Destructor.

+ +

Definition at line 11 of file IntelliToolLine.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolLine::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Sets the starting point of the line.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 23 of file IntelliToolLine.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolLine::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 30 of file IntelliToolLine.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolLine::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse position.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 39 of file IntelliToolLine.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolLine::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse. Clearing the canvas.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 15 of file IntelliToolLine.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolLine::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 19 of file IntelliToolLine.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolLine::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event. Changing the lineWidth relative to value.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 34 of file IntelliToolLine.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_line.js b/docs-src/html/class_intelli_tool_line.js new file mode 100644 index 0000000..08808b7 --- /dev/null +++ b/docs-src/html/class_intelli_tool_line.js @@ -0,0 +1,11 @@ +var class_intelli_tool_line = +[ + [ "IntelliToolLine", "class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc", null ], + [ "~IntelliToolLine", "class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2", null ], + [ "onMouseLeftPressed", "class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846", null ], + [ "onMouseLeftReleased", "class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482", null ], + [ "onMouseMoved", "class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b", null ], + [ "onMouseRightPressed", "class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3", null ], + [ "onMouseRightReleased", "class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2", null ], + [ "onWheelScrolled", "class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_line.png b/docs-src/html/class_intelli_tool_line.png new file mode 100644 index 0000000..5349288 Binary files /dev/null and b/docs-src/html/class_intelli_tool_line.png differ diff --git a/docs-src/html/class_intelli_tool_line__coll__graph.dot b/docs-src/html/class_intelli_tool_line__coll__graph.dot new file mode 100644 index 0000000..9b3338a --- /dev/null +++ b/docs-src/html/class_intelli_tool_line__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolLine" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_line__inherit__graph.dot b/docs-src/html/class_intelli_tool_line__inherit__graph.dot new file mode 100644 index 0000000..9c7435d --- /dev/null +++ b/docs-src/html/class_intelli_tool_line__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolLine" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_line_a155d676a5f98311217eb095be4759846_cgraph.dot b/docs-src/html/class_intelli_tool_line_a155d676a5f98311217eb095be4759846_cgraph.dot new file mode 100644 index 0000000..68183ee --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_a155d676a5f98311217eb095be4759846_cgraph.dot @@ -0,0 +1,19 @@ +digraph "IntelliToolLine::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1",tooltip="A."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node6 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/class_intelli_tool_line_a6214918cba5753f89d97de4559a2b9b2_cgraph.dot b/docs-src/html/class_intelli_tool_line_a6214918cba5753f89d97de4559a2b9b2_cgraph.dot new file mode 100644 index 0000000..e5ef946 --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_a6214918cba5753f89d97de4559a2b9b2_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolLine::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_line_a6cce59f3017936214b10b47252a898a3_cgraph.dot b/docs-src/html/class_intelli_tool_line_a6cce59f3017936214b10b47252a898a3_cgraph.dot new file mode 100644 index 0000000..15f12e5 --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_a6cce59f3017936214b10b47252a898a3_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolLine::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_line_aaf1d686e1ec43f41b5186ccfd806b125_cgraph.dot b/docs-src/html/class_intelli_tool_line_aaf1d686e1ec43f41b5186ccfd806b125_cgraph.dot new file mode 100644 index 0000000..b42b674 --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_aaf1d686e1ec43f41b5186ccfd806b125_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolLine::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolsettings\l::setLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a906d37de6ee94b433d53fe3e598cc9fa",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_tool_line_abc6324ef0778823fe7e35aef8ae37f9b_cgraph.dot b/docs-src/html/class_intelli_tool_line_abc6324ef0778823fe7e35aef8ae37f9b_cgraph.dot new file mode 100644 index 0000000..00952dc --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_abc6324ef0778823fe7e35aef8ae37f9b_cgraph.dot @@ -0,0 +1,22 @@ +digraph "IntelliToolLine::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolsettings\l::getLinestyle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a5beb193b25e0665516244c61c5e65aa6",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node7 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_line_ac93f76ff20a1c111a403b298bab02482_cgraph.dot b/docs-src/html/class_intelli_tool_line_ac93f76ff20a1c111a403b298bab02482_cgraph.dot new file mode 100644 index 0000000..c49cf1c --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_ac93f76ff20a1c111a403b298bab02482_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolLine::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_line_acb600b0f4e9225ebce2937c2b7abb4c2_cgraph.dot b/docs-src/html/class_intelli_tool_line_acb600b0f4e9225ebce2937c2b7abb4c2_cgraph.dot new file mode 100644 index 0000000..e06bd53 --- /dev/null +++ b/docs-src/html/class_intelli_tool_line_acb600b0f4e9225ebce2937c2b7abb4c2_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolLine::~IntelliToolLine" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolLine::~Intelli\lToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_pen-members.html b/docs-src/html/class_intelli_tool_pen-members.html new file mode 100644 index 0000000..b1968b8 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPen Member List
+
+
+ +

This is the complete list of members for IntelliToolPen, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolPen
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolPenvirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolPenvirtual
onMouseMoved(int x, int y) overrideIntelliToolPenvirtual
onMouseRightPressed(int x, int y) overrideIntelliToolPenvirtual
onMouseRightReleased(int x, int y) overrideIntelliToolPenvirtual
onWheelScrolled(int value) overrideIntelliToolPenvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolPen() overrideIntelliToolPenvirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_pen.html b/docs-src/html/class_intelli_tool_pen.html new file mode 100644 index 0000000..8c00c2d --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen.html @@ -0,0 +1,568 @@ + + + + + + + +IntelliPhoto: IntelliToolPen Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolPen Class Reference
+
+
+ +

The IntelliToolPen class represents a tool to draw a line. + More...

+ +

#include <IntelliToolPen.h>

+
+Inheritance diagram for IntelliToolPen:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolPen (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general paintingArea and colorPicker. Reading the penWidth. More...
 
virtual ~IntelliToolPen () override
 A Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse. Resetting the current draw. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Starting the drawing procedure. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. Merging the drawing to the active layer. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. Changing penWidth relativ to value. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. To draw the line. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolPen class represents a tool to draw a line.

+ +

Definition at line 14 of file IntelliToolPen.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolPen()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolPen::IntelliToolPen (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general paintingArea and colorPicker. Reading the penWidth.

+
Parameters
+ + + +
Area- The general PaintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 7 of file IntelliToolPen.cpp.

+ +
+
+ +

◆ ~IntelliToolPen()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolPen::~IntelliToolPen ()
+
+overridevirtual
+
+ +

A Destructor.

+ +

Definition at line 12 of file IntelliToolPen.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPen::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Starting the drawing procedure.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 24 of file IntelliToolPen.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPen::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse. Merging the drawing to the active layer.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 31 of file IntelliToolPen.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPen::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event. To draw the line.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 35 of file IntelliToolPen.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPen::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse. Resetting the current draw.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 16 of file IntelliToolPen.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPen::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 20 of file IntelliToolPen.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolPen::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event. Changing penWidth relativ to value.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 44 of file IntelliToolPen.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_pen.js b/docs-src/html/class_intelli_tool_pen.js new file mode 100644 index 0000000..19b29f0 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen.js @@ -0,0 +1,11 @@ +var class_intelli_tool_pen = +[ + [ "IntelliToolPen", "class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d", null ], + [ "~IntelliToolPen", "class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818", null ], + [ "onMouseLeftPressed", "class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205", null ], + [ "onMouseLeftReleased", "class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d", null ], + [ "onMouseMoved", "class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2", null ], + [ "onMouseRightPressed", "class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce", null ], + [ "onMouseRightReleased", "class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13", null ], + [ "onWheelScrolled", "class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_pen.png b/docs-src/html/class_intelli_tool_pen.png new file mode 100644 index 0000000..f8afc00 Binary files /dev/null and b/docs-src/html/class_intelli_tool_pen.png differ diff --git a/docs-src/html/class_intelli_tool_pen__coll__graph.dot b/docs-src/html/class_intelli_tool_pen__coll__graph.dot new file mode 100644 index 0000000..1c3fa59 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolPen" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPen class represents a tool to draw a line."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_pen__inherit__graph.dot b/docs-src/html/class_intelli_tool_pen__inherit__graph.dot new file mode 100644 index 0000000..406b281 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolPen" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPen class represents a tool to draw a line."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot b/docs-src/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot new file mode 100644 index 0000000..693f9a8 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPen::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Resetting the current draw."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_pen_a58d1d636497b630647ce0c4d652737c2_cgraph.dot b/docs-src/html/class_intelli_tool_pen_a58d1d636497b630647ce0c4d652737c2_cgraph.dot new file mode 100644 index 0000000..91f55e9 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_a58d1d636497b630647ce0c4d652737c2_cgraph.dot @@ -0,0 +1,18 @@ +digraph "IntelliToolPen::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. To draw the line."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node5 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_pen_a8ff40aef6d38eb55af31a19322429205_cgraph.dot b/docs-src/html/class_intelli_tool_pen_a8ff40aef6d38eb55af31a19322429205_cgraph.dot new file mode 100644 index 0000000..cd8772b --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_a8ff40aef6d38eb55af31a19322429205_cgraph.dot @@ -0,0 +1,19 @@ +digraph "IntelliToolPen::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1",tooltip="A."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node6 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/class_intelli_tool_pen_abda7a22b9766fa4ad254324a53cab94d_cgraph.dot b/docs-src/html/class_intelli_tool_pen_abda7a22b9766fa4ad254324a53cab94d_cgraph.dot new file mode 100644 index 0000000..6b84745 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_abda7a22b9766fa4ad254324a53cab94d_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolPen::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_pen_abf8562e8cd2da586afdf4d47b3a4ff13_cgraph.dot b/docs-src/html/class_intelli_tool_pen_abf8562e8cd2da586afdf4d47b3a4ff13_cgraph.dot new file mode 100644 index 0000000..a3e01c7 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_abf8562e8cd2da586afdf4d47b3a4ff13_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPen::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_pen_ac77a025515d0fed6954556fe2b444818_cgraph.dot b/docs-src/html/class_intelli_tool_pen_ac77a025515d0fed6954556fe2b444818_cgraph.dot new file mode 100644 index 0000000..56f030a --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_ac77a025515d0fed6954556fe2b444818_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPen::~IntelliToolPen" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::~Intelli\lToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_pen_afe3626ddff440ab125f4a2465c45427a_cgraph.dot b/docs-src/html/class_intelli_tool_pen_afe3626ddff440ab125f4a2465c45427a_cgraph.dot new file mode 100644 index 0000000..70fa525 --- /dev/null +++ b/docs-src/html/class_intelli_tool_pen_afe3626ddff440ab125f4a2465c45427a_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolPen::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPen::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. Changing penWidth relativ to value."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolsettings\l::setLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a906d37de6ee94b433d53fe3e598cc9fa",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool-members.html b/docs-src/html/class_intelli_tool_plain_tool-members.html new file mode 100644 index 0000000..f717e35 --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPlainTool Member List
+
+
+ +

This is the complete list of members for IntelliToolPlainTool, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolPlainTool
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolPlainToolvirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolPlainToolvirtual
onMouseMoved(int x, int y) overrideIntelliToolPlainToolvirtual
onMouseRightPressed(int x, int y) overrideIntelliToolPlainToolvirtual
onMouseRightReleased(int x, int y) overrideIntelliToolPlainToolvirtual
onWheelScrolled(int value) overrideIntelliToolPlainToolvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolPlainTool() overrideIntelliToolPlainToolvirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_plain_tool.html b/docs-src/html/class_intelli_tool_plain_tool.html new file mode 100644 index 0000000..835f762 --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool.html @@ -0,0 +1,568 @@ + + + + + + + +IntelliPhoto: IntelliToolPlainTool Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolPlainTool Class Reference
+
+
+ +

The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color. + More...

+ +

#include <IntelliToolPlain.h>

+
+Inheritance diagram for IntelliToolPlainTool:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolPlainTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general paintingArea and colorPicker. More...
 
virtual ~IntelliToolPlainTool () override
 A Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse. Resetting the current fill. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Filling the whole canvas. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. Merging the fill to the active layer. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.

+ +

Definition at line 13 of file IntelliToolPlain.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolPlainTool()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolPlainTool::IntelliToolPlainTool (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general paintingArea and colorPicker.

+
Parameters
+ + + +
Area- The general paintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 5 of file IntelliToolPlain.cpp.

+ +
+
+ +

◆ ~IntelliToolPlainTool()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolPlainTool::~IntelliToolPlainTool ()
+
+overridevirtual
+
+ +

A Destructor.

+ +

Definition at line 10 of file IntelliToolPlain.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPlainTool::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Filling the whole canvas.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 14 of file IntelliToolPlain.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPlainTool::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse. Merging the fill to the active layer.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 20 of file IntelliToolPlain.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPlainTool::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 32 of file IntelliToolPlain.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPlainTool::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse. Resetting the current fill.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 24 of file IntelliToolPlain.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPlainTool::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 28 of file IntelliToolPlain.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolPlainTool::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 36 of file IntelliToolPlain.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_plain_tool.js b/docs-src/html/class_intelli_tool_plain_tool.js new file mode 100644 index 0000000..4fd627b --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool.js @@ -0,0 +1,11 @@ +var class_intelli_tool_plain_tool = +[ + [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2", null ], + [ "~IntelliToolPlainTool", "class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658", null ], + [ "onMouseLeftPressed", "class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9", null ], + [ "onMouseLeftReleased", "class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400", null ], + [ "onMouseMoved", "class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c", null ], + [ "onMouseRightPressed", "class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1", null ], + [ "onMouseRightReleased", "class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8", null ], + [ "onWheelScrolled", "class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_plain_tool.png b/docs-src/html/class_intelli_tool_plain_tool.png new file mode 100644 index 0000000..709271d Binary files /dev/null and b/docs-src/html/class_intelli_tool_plain_tool.png differ diff --git a/docs-src/html/class_intelli_tool_plain_tool__coll__graph.dot b/docs-src/html/class_intelli_tool_plain_tool__coll__graph.dot new file mode 100644 index 0000000..73f54e2 --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolPlainTool" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool__inherit__graph.dot b/docs-src/html/class_intelli_tool_plain_tool__inherit__graph.dot new file mode 100644 index 0000000..962d72e --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolPlainTool" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_a2ae458f1b04eb77a47f6dca5e91e33b8_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_a2ae458f1b04eb77a47f6dca5e91e33b8_cgraph.dot new file mode 100644 index 0000000..ed1530c --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_a2ae458f1b04eb77a47f6dca5e91e33b8_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPlainTool::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_a91fe568be05c075814d67440472bb658_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_a91fe568be05c075814d67440472bb658_cgraph.dot new file mode 100644 index 0000000..3f08fe6 --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_a91fe568be05c075814d67440472bb658_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPlainTool::~IntelliToolPlainTool" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::~IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_ab786dd5fa80af863246013d43c4b7ac9_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_ab786dd5fa80af863246013d43c4b7ac9_cgraph.dot new file mode 100644 index 0000000..11c6f8c --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_ab786dd5fa80af863246013d43c4b7ac9_cgraph.dot @@ -0,0 +1,17 @@ +digraph "IntelliToolPlainTool::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node5 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_ac23f5d0f07e42fd7c2ea3fc1347da400_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_ac23f5d0f07e42fd7c2ea3fc1347da400_cgraph.dot new file mode 100644 index 0000000..4e3de1f --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_ac23f5d0f07e42fd7c2ea3fc1347da400_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolPlainTool::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot new file mode 100644 index 0000000..92d51ca --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPlainTool::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_ad7546a6335bb3bb4cbf0e1883788d41c_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_ad7546a6335bb3bb4cbf0e1883788d41c_cgraph.dot new file mode 100644 index 0000000..fff8436 --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_ad7546a6335bb3bb4cbf0e1883788d41c_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolPlainTool::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_plain_tool_adc004ea421e2cc0ac39cc7a6b6d43d0d_cgraph.dot b/docs-src/html/class_intelli_tool_plain_tool_adc004ea421e2cc0ac39cc7a6b6d43d0d_cgraph.dot new file mode 100644 index 0000000..4352f5d --- /dev/null +++ b/docs-src/html/class_intelli_tool_plain_tool_adc004ea421e2cc0ac39cc7a6b6d43d0d_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPlainTool::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPlainTool\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon-members.html b/docs-src/html/class_intelli_tool_polygon-members.html new file mode 100644 index 0000000..602fe5e --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolPolygon Member List
+
+
+ +

This is the complete list of members for IntelliToolPolygon, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)IntelliToolPolygon
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolPolygonvirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolPolygonvirtual
onMouseMoved(int x, int y) overrideIntelliToolPolygonvirtual
onMouseRightPressed(int x, int y) overrideIntelliToolPolygonvirtual
onMouseRightReleased(int x, int y) overrideIntelliToolPolygonvirtual
onWheelScrolled(int value) overrideIntelliToolPolygonvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolPolygon() overrideIntelliToolPolygon
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_polygon.html b/docs-src/html/class_intelli_tool_polygon.html new file mode 100644 index 0000000..19171a8 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon.html @@ -0,0 +1,575 @@ + + + + + + + +IntelliPhoto: IntelliToolPolygon Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolPolygon Class Reference
+
+
+ +

The IntelliToolPolygon managed the Drawing of Polygonforms. + More...

+ +

#include <IntelliToolPolygon.h>

+
+Inheritance diagram for IntelliToolPolygon:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolPolygon (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
 A constructor setting the general paintingArea and colorPicker. More...
 
 ~IntelliToolPolygon () override
 A Destructor. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Setting polygon points. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. Merging the fill to the active layer. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse. Resetting the current fill. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. CHanging the lineWidth relative to value. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolPolygon managed the Drawing of Polygonforms.

+ +

Definition at line 15 of file IntelliToolPolygon.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolPolygon()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolPolygon::IntelliToolPolygon (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings,
bool isSettingPolygon = false 
)
+
+ +

A constructor setting the general paintingArea and colorPicker.

+
Parameters
+ + + + +
Area- The general paintingArea used by the project.
colorPicker- The general colorPicker used by the project.
isSettingPolygon- The flag for the set polygon method, standart is false
+
+
+ +

Definition at line 8 of file IntelliToolPolygon.cpp.

+ +
+
+ +

◆ ~IntelliToolPolygon()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolPolygon::~IntelliToolPolygon ()
+
+override
+
+ +

A Destructor.

+ +

Definition at line 20 of file IntelliToolPolygon.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPolygon::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Setting polygon points.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 26 of file IntelliToolPolygon.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPolygon::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse. Merging the fill to the active layer.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 91 of file IntelliToolPolygon.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPolygon::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 137 of file IntelliToolPolygon.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPolygon::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse. Resetting the current fill.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 83 of file IntelliToolPolygon.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolPolygon::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 124 of file IntelliToolPolygon.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolPolygon::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event. CHanging the lineWidth relative to value.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 128 of file IntelliToolPolygon.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_polygon.js b/docs-src/html/class_intelli_tool_polygon.js new file mode 100644 index 0000000..871a8f0 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon.js @@ -0,0 +1,11 @@ +var class_intelli_tool_polygon = +[ + [ "IntelliToolPolygon", "class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5", null ], + [ "~IntelliToolPolygon", "class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499", null ], + [ "onMouseLeftPressed", "class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d", null ], + [ "onMouseLeftReleased", "class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21", null ], + [ "onMouseMoved", "class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922", null ], + [ "onMouseRightPressed", "class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427", null ], + [ "onMouseRightReleased", "class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b", null ], + [ "onWheelScrolled", "class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_polygon.png b/docs-src/html/class_intelli_tool_polygon.png new file mode 100644 index 0000000..0a69102 Binary files /dev/null and b/docs-src/html/class_intelli_tool_polygon.png differ diff --git a/docs-src/html/class_intelli_tool_polygon__coll__graph.dot b/docs-src/html/class_intelli_tool_polygon__coll__graph.dot new file mode 100644 index 0000000..fc5ec39 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPolygon managed the Drawing of Polygonforms."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon__inherit__graph.dot b/docs-src/html/class_intelli_tool_polygon__inherit__graph.dot new file mode 100644 index 0000000..1dc9f96 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPolygon managed the Drawing of Polygonforms."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_a087cbf2254010989df6106a357471499_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_a087cbf2254010989df6106a357471499_cgraph.dot new file mode 100644 index 0000000..04ae44e --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_a087cbf2254010989df6106a357471499_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPolygon::~IntelliToolPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::~IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_a0e3a1135f04c73c159137ae219a38922_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_a0e3a1135f04c73c159137ae219a38922_cgraph.dot new file mode 100644 index 0000000..123d693 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_a0e3a1135f04c73c159137ae219a38922_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolPolygon::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_a47cad87cd02b128b02dc929713bd1d1b_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_a47cad87cd02b128b02dc929713bd1d1b_cgraph.dot new file mode 100644 index 0000000..f55be23 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_a47cad87cd02b128b02dc929713bd1d1b_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPolygon::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot new file mode 100644 index 0000000..798ebb4 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot @@ -0,0 +1,32 @@ +digraph "IntelliToolPolygon::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::calculateTriangles",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliImage::drawPixel",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056",tooltip="A funtcion used to draw a pixel on the Image with the given Color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolsettings\l::getInnerAlpha",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a7d6ce2054ec4bcba7629dc2b514b6b5c",tooltip=" "]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415",tooltip="A function to read the secondary selected color."]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliTriangulation\l::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#a00621e2d8708fe2e8966d7d79b64e186",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node9 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliTriangulation\l::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197",tooltip="A function to check if a given point is in a triangle."]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliTriangulation\l::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca",tooltip="A function to get the 2*area of a traingle, using its determinat."]; + Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_a713103300c9f023d64d9eec5ac05dd17_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_a713103300c9f023d64d9eec5ac05dd17_cgraph.dot new file mode 100644 index 0000000..a022779 --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_a713103300c9f023d64d9eec5ac05dd17_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolPolygon::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. CHanging the lineWidth relative to value."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolsettings\l::setLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a906d37de6ee94b433d53fe3e598cc9fa",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot new file mode 100644 index 0000000..0639fba --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPolygon::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot b/docs-src/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot new file mode 100644 index 0000000..2b521ba --- /dev/null +++ b/docs-src/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot @@ -0,0 +1,39 @@ +digraph "IntelliToolPolygon::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::calculateTriangles",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1",tooltip="A."]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="PaintingArea::getHeightOf\lActive",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4",tooltip="The getHeightOfActive gets the vertical dimensions of the active layer."]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="PaintingArea::getPolygon\lDataOfRealLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90",tooltip=" "]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="PaintingArea::getTypeOfImage\lRealLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead",tooltip=" "]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="PaintingArea::getWidthOf\lActive",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a675ee91b26b1c58be6d833f279d81597",tooltip="The getWidthOfActive gets the horizontal dimensions of the active layer."]; + Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="IntelliTriangulation\l::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#a00621e2d8708fe2e8966d7d79b64e186",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="IntelliTriangulation\l::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197",tooltip="A function to check if a given point is in a triangle."]; + Node13 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="IntelliTriangulation\l::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca",tooltip="A function to get the 2*area of a traingle, using its determinat."]; + Node1 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node15 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle-members.html b/docs-src/html/class_intelli_tool_rectangle-members.html new file mode 100644 index 0000000..0d19481 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolRectangle Member List
+
+
+ +

This is the complete list of members for IntelliToolRectangle, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolRectangle
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolRectanglevirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolRectanglevirtual
onMouseMoved(int x, int y) overrideIntelliToolRectanglevirtual
onMouseRightPressed(int x, int y) overrideIntelliToolRectanglevirtual
onMouseRightReleased(int x, int y) overrideIntelliToolRectanglevirtual
onWheelScrolled(int value) overrideIntelliToolRectanglevirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolRectangle() overrideIntelliToolRectanglevirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_rectangle.html b/docs-src/html/class_intelli_tool_rectangle.html new file mode 100644 index 0000000..1267b93 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle.html @@ -0,0 +1,568 @@ + + + + + + + +IntelliPhoto: IntelliToolRectangle Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolRectangle Class Reference
+
+
+ +

The IntelliToolRectangle class represents a tool to draw a rectangle. + More...

+ +

#include <IntelliToolRectangle.h>

+
+Inheritance diagram for IntelliToolRectangle:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolRectangle (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edgeWidth. More...
 
virtual ~IntelliToolRectangle () override
 A Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse.Resetting the current draw. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle. More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click released of a mouse. Merging the draw to the active layer. More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event.Changing edgeWidth relativ to value. More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event.Drawing a rectangle to currrent mouse position. More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolRectangle class represents a tool to draw a rectangle.

+ +

Definition at line 15 of file IntelliToolRectangle.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolRectangle()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolRectangle::IntelliToolRectangle (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edgeWidth.

+
Parameters
+ + + +
Area- The general paintingArea used by the project.
colorPicker- The general colorPicker used by the project.
+
+
+ +

Definition at line 5 of file IntelliToolRectangle.cpp.

+ +
+
+ +

◆ ~IntelliToolRectangle()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolRectangle::~IntelliToolRectangle ()
+
+overridevirtual
+
+ +

A Destructor.

+ +

Definition at line 10 of file IntelliToolRectangle.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolRectangle::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 40 of file IntelliToolRectangle.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolRectangle::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click released of a mouse. Merging the draw to the active layer.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 47 of file IntelliToolRectangle.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolRectangle::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 51 of file IntelliToolRectangle.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolRectangle::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click pressed of a mouse.Resetting the current draw.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 32 of file IntelliToolRectangle.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolRectangle::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click released of a mouse.

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 36 of file IntelliToolRectangle.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolRectangle::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event.Changing edgeWidth relativ to value.

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 60 of file IntelliToolRectangle.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_tool_rectangle.js b/docs-src/html/class_intelli_tool_rectangle.js new file mode 100644 index 0000000..70a65ee --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle.js @@ -0,0 +1,11 @@ +var class_intelli_tool_rectangle = +[ + [ "IntelliToolRectangle", "class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c", null ], + [ "~IntelliToolRectangle", "class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1", null ], + [ "onMouseLeftPressed", "class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d", null ], + [ "onMouseLeftReleased", "class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43", null ], + [ "onMouseMoved", "class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b", null ], + [ "onMouseRightPressed", "class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8", null ], + [ "onMouseRightReleased", "class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f", null ], + [ "onWheelScrolled", "class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_tool_rectangle.png b/docs-src/html/class_intelli_tool_rectangle.png new file mode 100644 index 0000000..3c00191 Binary files /dev/null and b/docs-src/html/class_intelli_tool_rectangle.png differ diff --git a/docs-src/html/class_intelli_tool_rectangle__coll__graph.dot b/docs-src/html/class_intelli_tool_rectangle__coll__graph.dot new file mode 100644 index 0000000..fcf24b8 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "IntelliToolRectangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolRectangle class represents a tool to draw a rectangle."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node5 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node6 -> Node3 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node6 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; + Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node7 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nactiveLayer" ,fontname="Helvetica"]; + Node7 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node8 -> Node7 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node8 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle__inherit__graph.dot b/docs-src/html/class_intelli_tool_rectangle__inherit__graph.dot new file mode 100644 index 0000000..1db5251 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "IntelliToolRectangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolRectangle class represents a tool to draw a rectangle."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_a445c53a56e859f970e59f5036e221e0c_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_a445c53a56e859f970e59f5036e221e0c_cgraph.dot new file mode 100644 index 0000000..d2c20a9 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_a445c53a56e859f970e59f5036e221e0c_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolRectangle::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event.Changing edgeWidth relativ to value."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolsettings\l::setLineWidth",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html#a906d37de6ee94b433d53fe3e598cc9fa",tooltip=" "]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_a480c6804a4963c5a1c3f7ef84b63c1a8_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_a480c6804a4963c5a1c3f7ef84b63c1a8_cgraph.dot new file mode 100644 index 0000000..e8913f6 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_a480c6804a4963c5a1c3f7ef84b63c1a8_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolRectangle::onMouseRightPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_a4b5931071e21eb6949ffe357315e408b_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_a4b5931071e21eb6949ffe357315e408b_cgraph.dot new file mode 100644 index 0000000..845cacb --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_a4b5931071e21eb6949ffe357315e408b_cgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliToolRectangle::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_a7dc1463e726a21255e6297241dc71fb1_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_a7dc1463e726a21255e6297241dc71fb1_cgraph.dot new file mode 100644 index 0000000..25dbf94 --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_a7dc1463e726a21255e6297241dc71fb1_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolRectangle::~IntelliToolRectangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::~IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A Destructor."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_a94460e3ff1c19e80bde922c55f53cc43_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_a94460e3ff1c19e80bde922c55f53cc43_cgraph.dot new file mode 100644 index 0000000..3addb3f --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_a94460e3ff1c19e80bde922c55f53cc43_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolRectangle::onMouseLeftReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_ad43f653256a6516b9398f82054be0d7f_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_ad43f653256a6516b9398f82054be0d7f_cgraph.dot new file mode 100644 index 0000000..daac2ca --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_ad43f653256a6516b9398f82054be0d7f_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolRectangle::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_intelli_tool_rectangle_ae03c307ccf66cbe3fd59e3657712368d_cgraph.dot b/docs-src/html/class_intelli_tool_rectangle_ae03c307ccf66cbe3fd59e3657712368d_cgraph.dot new file mode 100644 index 0000000..21405cb --- /dev/null +++ b/docs-src/html/class_intelli_tool_rectangle_ae03c307ccf66cbe3fd59e3657712368d_cgraph.dot @@ -0,0 +1,13 @@ +digraph "IntelliToolRectangle::onMouseLeftPressed" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node3 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs-src/html/class_intelli_toolsettings-members.html b/docs-src/html/class_intelli_toolsettings-members.html new file mode 100644 index 0000000..021d117 --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings-members.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolsettings Member List
+
+
+ +

This is the complete list of members for IntelliToolsettings, including all inherited members.

+ + + + + + + +
getInnerAlpha() constIntelliToolsettings
getLineWidth() constIntelliToolsettings
IntelliToolsettings()IntelliToolsettings
setInnerAlpha(int innerAlpha)IntelliToolsettings
setLineWidth(int LineWidth)IntelliToolsettings
~IntelliToolsettings()IntelliToolsettingsvirtual
+
+ + + + diff --git a/docs-src/html/class_intelli_toolsettings.html b/docs-src/html/class_intelli_toolsettings.html new file mode 100644 index 0000000..0388fd2 --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings.html @@ -0,0 +1,291 @@ + + + + + + + +IntelliPhoto: IntelliToolsettings Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolsettings Class Reference
+
+
+ +

The IntelliToolsettings class managing the settings of the tools, independent of an existing tool. + More...

+ +

#include <IntelliToolsettings.h>

+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolsettings ()
 IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics. More...
 
virtual ~IntelliToolsettings ()
 ~IntelliToolsettings - basic destructor. More...
 
int getLineWidth () const
 getLineWidth returns the width attribute of the line. More...
 
void setLineWidth (int LineWidth)
 setLineWidth sets the width attribute of the line. More...
 
int getInnerAlpha () const
 getInnerAlpha returns the inner alpha value. More...
 
void setInnerAlpha (int innerAlpha)
 setInnerAlpha sets the inner alpha attribute of the Tool. More...
 
+

Detailed Description

+

The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.

+ +

Definition at line 9 of file IntelliToolsettings.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolsettings()

+ +
+
+ + + + + + + +
IntelliToolsettings::IntelliToolsettings ()
+
+ +

IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.

+ +

Definition at line 4 of file IntelliToolsettings.cpp.

+ +
+
+ +

◆ ~IntelliToolsettings()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolsettings::~IntelliToolsettings ()
+
+virtual
+
+ +

~IntelliToolsettings - basic destructor.

+ +

Definition at line 10 of file IntelliToolsettings.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ getInnerAlpha()

+ +
+
+ + + + + + + +
int IntelliToolsettings::getInnerAlpha () const
+
+ +

getInnerAlpha returns the inner alpha value.

+
Returns
returns the inner alpha attribute as integer.
+ +

Definition at line 28 of file IntelliToolsettings.cpp.

+ +
+
+ +

◆ getLineWidth()

+ +
+
+ + + + + + + +
int IntelliToolsettings::getLineWidth () const
+
+ +

getLineWidth returns the width attribute of the line.

+
Returns
returns the width attribute as integer.
+ +

Definition at line 14 of file IntelliToolsettings.cpp.

+ +
+
+ +

◆ setInnerAlpha()

+ +
+
+ + + + + + + + +
void IntelliToolsettings::setInnerAlpha (int innerAlpha)
+
+ +

setInnerAlpha sets the inner alpha attribute of the Tool.

+
Parameters
+ + +
innerAlpha- the future inner alpha of the Tool.
+
+
+ +

Definition at line 32 of file IntelliToolsettings.cpp.

+ +
+
+ +

◆ setLineWidth()

+ +
+
+ + + + + + + + +
void IntelliToolsettings::setLineWidth (int LineWidth)
+
+ +

setLineWidth sets the width attribute of the line.

+
Parameters
+ + +
LineWidth- the future width of the line
+
+
+ +

Definition at line 18 of file IntelliToolsettings.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_intelli_toolsettings.js b/docs-src/html/class_intelli_toolsettings.js new file mode 100644 index 0000000..628d2d8 --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings.js @@ -0,0 +1,9 @@ +var class_intelli_toolsettings = +[ + [ "IntelliToolsettings", "class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69", null ], + [ "~IntelliToolsettings", "class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56", null ], + [ "getInnerAlpha", "class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4", null ], + [ "getLineWidth", "class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3", null ], + [ "setInnerAlpha", "class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271", null ], + [ "setLineWidth", "class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_intelli_toolsettings_a5beb193b25e0665516244c61c5e65aa6_icgraph.dot b/docs-src/html/class_intelli_toolsettings_a5beb193b25e0665516244c61c5e65aa6_icgraph.dot new file mode 100644 index 0000000..3ee4cb6 --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings_a5beb193b25e0665516244c61c5e65aa6_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolsettings::getLinestyle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliToolsettings\l::getLinestyle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; +} diff --git a/docs-src/html/class_intelli_toolsettings_a68528dd3bad8f39ba19fa6b12a4e415a_icgraph.dot b/docs-src/html/class_intelli_toolsettings_a68528dd3bad8f39ba19fa6b12a4e415a_icgraph.dot new file mode 100644 index 0000000..c709ae3 --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings_a68528dd3bad8f39ba19fa6b12a4e415a_icgraph.dot @@ -0,0 +1,30 @@ +digraph "IntelliToolsettings::getLineWidth" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliToolsettings\l::getLineWidth",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliToolPen::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a",tooltip="A function managing the scroll event. Changing penWidth relativ to value."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."]; + Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliToolRectangle\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c",tooltip="A function managing the scroll event.Changing edgeWidth relativ to value."]; + Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506",tooltip="A function managing the scroll event. Changing the edge Width relative to value."]; + Node1 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="IntelliToolPolygon\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17",tooltip="A function managing the scroll event. CHanging the lineWidth relative to value."]; +} diff --git a/docs-src/html/class_intelli_toolsettings_a7d6ce2054ec4bcba7629dc2b514b6b5c_icgraph.dot b/docs-src/html/class_intelli_toolsettings_a7d6ce2054ec4bcba7629dc2b514b6b5c_icgraph.dot new file mode 100644 index 0000000..72567ea --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings_a7d6ce2054ec4bcba7629dc2b514b6b5c_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolsettings::getInnerAlpha" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliToolsettings\l::getInnerAlpha",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/class_intelli_toolsettings_a906d37de6ee94b433d53fe3e598cc9fa_icgraph.dot b/docs-src/html/class_intelli_toolsettings_a906d37de6ee94b433d53fe3e598cc9fa_icgraph.dot new file mode 100644 index 0000000..57e6e14 --- /dev/null +++ b/docs-src/html/class_intelli_toolsettings_a906d37de6ee94b433d53fe3e598cc9fa_icgraph.dot @@ -0,0 +1,18 @@ +digraph "IntelliToolsettings::setLineWidth" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliToolsettings\l::setLineWidth",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPen::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a",tooltip="A function managing the scroll event. Changing penWidth relativ to value."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolRectangle\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c",tooltip="A function managing the scroll event.Changing edgeWidth relativ to value."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506",tooltip="A function managing the scroll event. Changing the edge Width relative to value."]; + Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolPolygon\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17",tooltip="A function managing the scroll event. CHanging the lineWidth relative to value."]; +} diff --git a/docs-src/html/class_painting_area-members.html b/docs-src/html/class_painting_area-members.html new file mode 100644 index 0000000..1f744e9 --- /dev/null +++ b/docs-src/html/class_painting_area-members.html @@ -0,0 +1,154 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PaintingArea Member List
+
+
+ +

This is the complete list of members for PaintingArea, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)PaintingArea
addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::RASTERIMAGE)PaintingArea
colorPickerPaintingArea
colorPickerSetFirstColor()PaintingArea
colorPickerSetSecondColor()PaintingArea
colorPickerSwapColors()PaintingArea
createCircleTool()PaintingArea
createFloodFillTool()PaintingArea
createGradientTool()PaintingArea
createLineTool()PaintingArea
createPenTool()PaintingArea
createPlainTool()PaintingArea
createPolygonTool()PaintingArea
createRectangleTool()PaintingArea
deleteAllLayers()PaintingArea
deleteLayer(int idx, bool isTool=false)PaintingArea
drawPixelOntoActive(QColor color, QPoint point)PaintingArea
getHeightOfActive()PaintingArea
getImageDataOfActiveLayer()PaintingArea
getImageOfActiveLayer()PaintingArea
getIndexOfActiveLayer()PaintingArea
getLayerBundle()PaintingArea
getMaxHeight()PaintingArea
getMaxWidth()PaintingArea
getPolygonDataOfActiveLayer()PaintingArea
getRenderSettings()PaintingArea
getTypeOfImageActiveLayer()PaintingArea
getWidthOfActive()PaintingArea
historyadd()PaintingArea
historyGoBack()PaintingArea
historyGoForward()PaintingArea
mouseMoveEvent(QMouseEvent *event) overridePaintingAreaprotected
mousePressEvent(QMouseEvent *event) overridePaintingAreaprotected
mouseReleaseEvent(QMouseEvent *event) overridePaintingAreaprotected
moveActiveLayer(int idx)PaintingArea
movePositionActive(int x, int y)PaintingArea
open(const QString &filePath)PaintingArea
paintEvent(QPaintEvent *event) overridePaintingAreaprotected
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)PaintingArea
save(const QString &filePath, const char *fileFormat)PaintingArea
setCanvasDimensions(int maxWidth, int maxHeight)PaintingArea
setLayerActive(int idx)PaintingArea
setLayerAlpha(int idx, int alpha)PaintingArea
setPolygon(int idx)PaintingArea
setPolygonDataToActive(std::vector< QPoint > points)PaintingArea
setRenderSettings(bool isFastRenderingOn)PaintingArea
slotActivateLayer(int a)PaintingAreaslot
slotDeleteActiveLayer()PaintingAreaslot
ToolsettingsPaintingArea
wheelEvent(QWheelEvent *event) overridePaintingAreaprotected
~PaintingArea() overridePaintingArea
+
+ + + + diff --git a/docs-src/html/class_painting_area.html b/docs-src/html/class_painting_area.html new file mode 100644 index 0000000..9841cb7 --- /dev/null +++ b/docs-src/html/class_painting_area.html @@ -0,0 +1,1751 @@ + + + + + + + +IntelliPhoto: PaintingArea Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

The PaintingArea class manages the methods and stores information about the current painting area, which is the currently opened project. + More...

+ +

#include <PaintingArea.h>

+
+Inheritance diagram for PaintingArea:
+
+
+ +
+ + + + + + + + +

+Public Slots

void slotActivateLayer (int a)
 The slotActivateLayer method handles the event of selecting one layer as active. More...
 
void slotDeleteActiveLayer ()
 The slotDeleteActiveLayer method handles the deletion of the active layer. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 PaintingArea (int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
 PaintingArea is the constructor of the PaintingArea class, which initiates the working environment. More...
 
 ~PaintingArea () override
 This deconstructor is used to clear up the memory and remove the currently active window. More...
 
void setRenderSettings (bool isFastRenderingOn)
 setRenderSettings updates all Images to the new Rendersetting. More...
 
bool getRenderSettings ()
 getRenderSettings updates all Images to the new Rendersetting. More...
 
bool open (const QString &filePath)
 The open method is used for loading a picture into the current layer. More...
 
bool save (const QString &filePath, const char *fileFormat)
 The save method is used for exporting the current project as one picture. More...
 
void deleteAllLayers ()
 deleteAllLayers deletes all layers More...
 
int addLayer (int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
 The addLayer adds a layer to the current project/ painting area. More...
 
int addLayerAt (int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::RASTERIMAGE)
 The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer stack. More...
 
void deleteLayer (int idx, bool isTool=false)
 The deleteLayer method removes a layer at a given idx. More...
 
void setLayerActive (int idx)
 The setLayerToActive method marks a specific layer as active. More...
 
void setLayerAlpha (int idx, int alpha)
 The setAlphaOfLayer method sets the alpha value of a specific layer. More...
 
void setPolygon (int idx)
 setPolygon is used for setting polygondata, it only works on RASTER images More...
 
void movePositionActive (int x, int y)
 The movePositionActive method moves the active layer to certain position. More...
 
void moveActiveLayer (int idx)
 The moveActiveLayer moves the active layer to a specific position in the layer stack. More...
 
void colorPickerSetFirstColor ()
 The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color. More...
 
void colorPickerSetSecondColor ()
 The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color. More...
 
void colorPickerSwapColors ()
 The colorPickerSwitchColor swaps the primary color with the secondary drawing color. More...
 
void createPenTool ()
 createPenTool creates a Pen Tool. More...
 
void createPlainTool ()
 createPlainTool creates a Plain Tool. More...
 
void createLineTool ()
 createLineTool creates a Line Tool. More...
 
void createRectangleTool ()
 createRectangleTool creates a Rectangle Tool. More...
 
void createCircleTool ()
 createCircleTool creates a Circle Tool. More...
 
void createPolygonTool ()
 createPolygonTool creates a Polygon Tool. More...
 
void createFloodFillTool ()
 createFloodFillTool creates a Floodfill Tool. More...
 
void createGradientTool ()
 createGradientTool creates a Gradient Tool. More...
 
int getWidthOfActive ()
 The getWidthOfActive gets the horizontal dimensions of the active layer. More...
 
int getHeightOfActive ()
 The getHeightOfActive gets the vertical dimensions of the active layer. More...
 
int getMaxWidth ()
 getMaxWidth gets the max width of the Canvas. More...
 
int getMaxHeight ()
 getMaxHeight gets the max height of the Canvas. More...
 
ImageType getTypeOfImageActiveLayer ()
 getTypeOfImageActiveLayer get the type of the active Layer. More...
 
std::vector< QPoint > getPolygonDataOfActiveLayer ()
 getPolygonDataOfActiveLayer get the polygon data of the active Layer. More...
 
int getIndexOfActiveLayer ()
 getIndexOfActiveLayer returns the index of athe active Layer. More...
 
IntelliImagegetImageOfActiveLayer ()
 getImageOfActiveLayer returns the image of the active Layer. More...
 
QImage getImageDataOfActiveLayer ()
 getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture) More...
 
std::vector< LayerObject > * getLayerBundle ()
 getLayerBundle returns the real active layerbundle (care!) More...
 
void historyadd ()
 historyadd adds an hisotry step More...
 
void historyGoBack ()
 historyGoBack go back in hisotry More...
 
void historyGoForward ()
 historyGoForward a function to undo the return of the previous state of the project. More...
 
void setCanvasDimensions (int maxWidth, int maxHeight)
 setCanvasDimensions sets the dimension of the Canvas More...
 
void drawPixelOntoActive (QColor color, QPoint point)
 drawPixelOntoActive draws a pixel onto the image data of the active Layer. More...
 
void setPolygonDataToActive (std::vector< QPoint > points)
 setPolygonDataToActive sets polygondata to the active Layer. More...
 
+ + + + + + + +

+Public Attributes

IntelliToolsettings Toolsettings
 Toolsettings - a class to manage Tool settings. More...
 
IntelliColorPicker colorPicker
 colorPicker a class to manage Tool color. More...
 
+ + + + + + + + + + + + + + + + +

+Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 mousePressEvent handles a mouse pressed event. More...
 
void mouseMoveEvent (QMouseEvent *event) override
 mouseMoveEvent handles a mouse moved event More...
 
void mouseReleaseEvent (QMouseEvent *event) override
 mouseReleaseEvent handles a mouse released event More...
 
void wheelEvent (QWheelEvent *event) override
 wheelEvent handles a mouse wheel event More...
 
void paintEvent (QPaintEvent *event) override
 paintEvent handles a painting event More...
 
+

Detailed Description

+

The PaintingArea class manages the methods and stores information about the current painting area, which is the currently opened project.

+ +

Definition at line 57 of file PaintingArea.h.

+

Constructor & Destructor Documentation

+ +

◆ PaintingArea()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
PaintingArea::PaintingArea (int maxWidth = 600,
int maxHeight = 600,
QWidget * parent = nullptr 
)
+
+ +

PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.

+
Parameters
+ + + + +
maxWidth- The maximum amount of pixles that are inside painting area from left to right (default=600px)
maxHeight- The maximum amount of pixles that are inside painting area from top to bottom (default=600px)
parent- The parent window of the main window (default=nullptr)
+
+
+ +

Definition at line 40 of file PaintingArea.cpp.

+ +
+
+ +

◆ ~PaintingArea()

+ +
+
+ + + + + +
+ + + + + + + +
PaintingArea::~PaintingArea ()
+
+override
+
+ +

This deconstructor is used to clear up the memory and remove the currently active window.

+ +

Definition at line 47 of file PaintingArea.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ addLayer()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int PaintingArea::addLayer (int width,
int height,
int widthOffset = 0,
int heightOffset = 0,
int alpha = 255,
ImageType type = ImageType::RASTERIMAGE 
)
+
+ +

The addLayer adds a layer to the current project/ painting area.

+
Parameters
+ + + + + + + +
width- Width of the layer in pixles
height- Height of the layer in pixles
widthOffset- Offset of the layer measured to the left border of the painting area in pixles
heightOffset- Offset of the layer measured to the top border of the painting area in pixles
alpha- Transparence of the layer
type- Defining the ImageType of the new layer
+
+
+
Returns
Returns the number of layers in the project
+ +

Definition at line 94 of file PaintingArea.cpp.

+ +
+
+ +

◆ addLayerAt()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int PaintingArea::addLayerAt (int idx,
int width,
int height,
int widthOffset = 0,
int heightOffset = 0,
ImageType type = ImageType::RASTERIMAGE 
)
+
+ +

The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer stack.

+
Parameters
+ + + + + + + +
idx- Index of the position the new layer should be added
width- Width of the layer in pixles
height- Height of the layer in pixles
widthOffset- Offset of the layer measured to the left border of the painting area in pixles
heightOffset- Offset of the layer measured to the top border of the painting area in pixles
type- Defining the ImageType of the new layer
+
+
+
Returns
Returns the id of the layer position
+ +
+
+ +

◆ colorPickerSetFirstColor()

+ +
+
+ + + + + + + +
void PaintingArea::colorPickerSetFirstColor ()
+
+ +

The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.

+ +

Definition at line 229 of file PaintingArea.cpp.

+ +
+
+ +

◆ colorPickerSetSecondColor()

+ +
+
+ + + + + + + +
void PaintingArea::colorPickerSetSecondColor ()
+
+ +

The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.

+ +

Definition at line 234 of file PaintingArea.cpp.

+ +
+
+ +

◆ colorPickerSwapColors()

+ +
+
+ + + + + + + +
void PaintingArea::colorPickerSwapColors ()
+
+ +

The colorPickerSwitchColor swaps the primary color with the secondary drawing color.

+ +

Definition at line 239 of file PaintingArea.cpp.

+ +
+
+ +

◆ createCircleTool()

+ +
+
+ + + + + + + +
void PaintingArea::createCircleTool ()
+
+ +

createCircleTool creates a Circle Tool.

+ +

Definition at line 263 of file PaintingArea.cpp.

+ +
+
+ +

◆ createFloodFillTool()

+ +
+
+ + + + + + + +
void PaintingArea::createFloodFillTool ()
+
+ +

createFloodFillTool creates a Floodfill Tool.

+ +

Definition at line 272 of file PaintingArea.cpp.

+ +
+
+ +

◆ createGradientTool()

+ +
+
+ + + + + + + +
void PaintingArea::createGradientTool ()
+
+ +

createGradientTool creates a Gradient Tool.

+ +

Definition at line 277 of file PaintingArea.cpp.

+ +
+
+ +

◆ createLineTool()

+ +
+
+ + + + + + + +
void PaintingArea::createLineTool ()
+
+ +

createLineTool creates a Line Tool.

+ +

Definition at line 253 of file PaintingArea.cpp.

+ +
+
+ +

◆ createPenTool()

+ +
+
+ + + + + + + +
void PaintingArea::createPenTool ()
+
+ +

createPenTool creates a Pen Tool.

+ +

Definition at line 243 of file PaintingArea.cpp.

+ +
+
+ +

◆ createPlainTool()

+ +
+
+ + + + + + + +
void PaintingArea::createPlainTool ()
+
+ +

createPlainTool creates a Plain Tool.

+ +

Definition at line 248 of file PaintingArea.cpp.

+ +
+
+ +

◆ createPolygonTool()

+ +
+
+ + + + + + + +
void PaintingArea::createPolygonTool ()
+
+ +

createPolygonTool creates a Polygon Tool.

+ +

Definition at line 267 of file PaintingArea.cpp.

+ +
+
+ +

◆ createRectangleTool()

+ +
+
+ + + + + + + +
void PaintingArea::createRectangleTool ()
+
+ +

createRectangleTool creates a Rectangle Tool.

+ +

Definition at line 258 of file PaintingArea.cpp.

+ +
+
+ +

◆ deleteAllLayers()

+ +
+
+ + + + + + + +
void PaintingArea::deleteAllLayers ()
+
+ +

deleteAllLayers deletes all layers

+ +

Definition at line 173 of file PaintingArea.cpp.

+ +
+
+ +

◆ deleteLayer()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::deleteLayer (int idx,
bool isTool = false 
)
+
+ +

The deleteLayer method removes a layer at a given idx.

+
Parameters
+ + + +
idx- The index of the layer to be removed
isTool- Is the flag for when a tool uses this function.
+
+
+ +

Definition at line 113 of file PaintingArea.cpp.

+ +
+
+ +

◆ drawPixelOntoActive()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::drawPixelOntoActive (QColor color,
QPoint point 
)
+
+ +

drawPixelOntoActive draws a pixel onto the image data of the active Layer.

+
Parameters
+ + + +
color- the color of the Pixel, which should be created.
point- the Pixelposition.
+
+
+ +

Definition at line 86 of file PaintingArea.cpp.

+ +
+
+ +

◆ getHeightOfActive()

+ +
+
+ + + + + + + +
int PaintingArea::getHeightOfActive ()
+
+ +

The getHeightOfActive gets the vertical dimensions of the active layer.

+
Returns
Returns the vertical pixle count of the active layer.
+ +

Definition at line 286 of file PaintingArea.cpp.

+ +
+
+ +

◆ getImageDataOfActiveLayer()

+ +
+
+ + + + + + + +
QImage PaintingArea::getImageDataOfActiveLayer ()
+
+ +

getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture)

+
Returns
return the image as an rgba32bit qImage
+ +

Definition at line 476 of file PaintingArea.cpp.

+ +
+
+ +

◆ getImageOfActiveLayer()

+ +
+
+ + + + + + + +
IntelliImage * PaintingArea::getImageOfActiveLayer ()
+
+ +

getImageOfActiveLayer returns the image of the active Layer.

+
Returns
return the image of the active Layer.
+ +

Definition at line 469 of file PaintingArea.cpp.

+ +
+
+ +

◆ getIndexOfActiveLayer()

+ +
+
+ + + + + + + +
int PaintingArea::getIndexOfActiveLayer ()
+
+ +

getIndexOfActiveLayer returns the index of athe active Layer.

+
Returns
return the index of the active Layer.
+ +

Definition at line 465 of file PaintingArea.cpp.

+ +
+
+ +

◆ getLayerBundle()

+ +
+
+ + + + + + + +
std::vector< LayerObject > * PaintingArea::getLayerBundle ()
+
+ +

getLayerBundle returns the real active layerbundle (care!)

+
Returns
the reference of the currentLayerBundle
+ +

Definition at line 491 of file PaintingArea.cpp.

+ +
+
+ +

◆ getMaxHeight()

+ +
+
+ + + + + + + +
int PaintingArea::getMaxHeight ()
+
+ +

getMaxHeight gets the max height of the Canvas.

+
Returns
return the height of the Canvas.
+ +

Definition at line 294 of file PaintingArea.cpp.

+ +
+
+ +

◆ getMaxWidth()

+ +
+
+ + + + + + + +
int PaintingArea::getMaxWidth ()
+
+ +

getMaxWidth gets the max width of the Canvas.

+
Returns
return the width of the Canvas.
+ +

Definition at line 290 of file PaintingArea.cpp.

+ +
+
+ +

◆ getPolygonDataOfActiveLayer()

+ +
+
+ + + + + + + +
std::vector< QPoint > PaintingArea::getPolygonDataOfActiveLayer ()
+
+ +

getPolygonDataOfActiveLayer get the polygon data of the active Layer.

+
Returns
return the polygon data of the active Layer.
+ +

Definition at line 302 of file PaintingArea.cpp.

+ +
+
+ +

◆ getRenderSettings()

+ +
+
+ + + + + + + +
bool PaintingArea::getRenderSettings ()
+
+ +

getRenderSettings updates all Images to the new Rendersetting.

+
Parameters
+ + +
isFastRenderingOnis the new given flag for the FastRenderer.
+
+
+ +

Definition at line 68 of file PaintingArea.cpp.

+ +
+
+ +

◆ getTypeOfImageActiveLayer()

+ +
+
+ + + + + + + +
ImageType PaintingArea::getTypeOfImageActiveLayer ()
+
+ +

getTypeOfImageActiveLayer get the type of the active Layer.

+
Returns
returns the image type of the active layer.
+ +

Definition at line 298 of file PaintingArea.cpp.

+ +
+
+ +

◆ getWidthOfActive()

+ +
+
+ + + + + + + +
int PaintingArea::getWidthOfActive ()
+
+ +

The getWidthOfActive gets the horizontal dimensions of the active layer.

+
Returns
Returns the horizontal pixle count of the active layer.
+ +

Definition at line 282 of file PaintingArea.cpp.

+ +
+
+ +

◆ historyadd()

+ +
+
+ + + + + + + +
void PaintingArea::historyadd ()
+
+ +

historyadd adds an hisotry step

+ +

Definition at line 510 of file PaintingArea.cpp.

+ +
+
+ +

◆ historyGoBack()

+ +
+
+ + + + + + + +
void PaintingArea::historyGoBack ()
+
+ +

historyGoBack go back in hisotry

+ +

Definition at line 517 of file PaintingArea.cpp.

+ +
+
+ +

◆ historyGoForward()

+ +
+
+ + + + + + + +
void PaintingArea::historyGoForward ()
+
+ +

historyGoForward a function to undo the return of the previous state of the project.

+ +

Definition at line 526 of file PaintingArea.cpp.

+ +
+
+ +

◆ mouseMoveEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
void PaintingArea::mouseMoveEvent (QMouseEvent * event)
+
+overrideprotected
+
+ +

mouseMoveEvent handles a mouse moved event

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 328 of file PaintingArea.cpp.

+ +
+
+ +

◆ mousePressEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
void PaintingArea::mousePressEvent (QMouseEvent * event)
+
+overrideprotected
+
+ +

mousePressEvent handles a mouse pressed event.

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 309 of file PaintingArea.cpp.

+ +
+
+ +

◆ mouseReleaseEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
void PaintingArea::mouseReleaseEvent (QMouseEvent * event)
+
+overrideprotected
+
+ +

mouseReleaseEvent handles a mouse released event

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 341 of file PaintingArea.cpp.

+ +
+
+ +

◆ moveActiveLayer()

+ +
+
+ + + + + + + + +
void PaintingArea::moveActiveLayer (int idx)
+
+ +

The moveActiveLayer moves the active layer to a specific position in the layer stack.

+
Parameters
+ + +
idx- The index of the new position the layer should be in
+
+
+ +

Definition at line 211 of file PaintingArea.cpp.

+ +
+
+ +

◆ movePositionActive()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::movePositionActive (int x,
int y 
)
+
+ +

The movePositionActive method moves the active layer to certain position.

+
Parameters
+ + + +
x- The x value the new center of the layer should be at
y- The y value the new center of the layer should be at
+
+
+ +

Definition at line 204 of file PaintingArea.cpp.

+ +
+
+ +

◆ open()

+ +
+
+ + + + + + + + +
bool PaintingArea::open (const QString & filePath)
+
+ +

The open method is used for loading a picture into the current layer.

+
Parameters
+ + +
filePath- Path and Name which are used to determine where the to-be-opened file is stored.
+
+
+
Returns
Returns a boolean variable whether the file was successfully opened or not.
+ +

Definition at line 162 of file PaintingArea.cpp.

+ +
+
+ +

◆ paintEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
void PaintingArea::paintEvent (QPaintEvent * event)
+
+overrideprotected
+
+ +

paintEvent handles a painting event

+
Parameters
+ + +
event- the specific paint event.
+
+
+ +

Definition at line 371 of file PaintingArea.cpp.

+ +
+
+ +

◆ save()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool PaintingArea::save (const QString & filePath,
const char * fileFormat 
)
+
+ +

The save method is used for exporting the current project as one picture.

+
Parameters
+ + + +
filePath- Specifies the path and name of the file to create.
fileFormat- Specifies the format of the file to create.
+
+
+
Returns
Returns a boolean variable, true if the file was saved successfully, false if not
+ +

Definition at line 181 of file PaintingArea.cpp.

+ +
+
+ +

◆ setCanvasDimensions()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::setCanvasDimensions (int maxWidth,
int maxHeight 
)
+
+ +

setCanvasDimensions sets the dimension of the Canvas

+
Parameters
+ + + +
maxWidth- the width of the Canvas.
maxHeight- the height of the Canvas.
+
+
+ +

Definition at line 72 of file PaintingArea.cpp.

+ +
+
+ +

◆ setLayerActive()

+ +
+
+ + + + + + + + +
void PaintingArea::setLayerActive (int idx)
+
+ +

The setLayerToActive method marks a specific layer as active.

+
Parameters
+ + +
idx- The index of the layer to be active
+
+
+ +

Definition at line 136 of file PaintingArea.cpp.

+ +
+
+ +

◆ setLayerAlpha()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::setLayerAlpha (int idx,
int alpha 
)
+
+ +

The setAlphaOfLayer method sets the alpha value of a specific layer.

+
Parameters
+ + + +
idx- The index of the layer where the change should be applied
alpha- New alpha value of the layer
+
+
+ +

Definition at line 143 of file PaintingArea.cpp.

+ +
+
+ +

◆ setPolygon()

+ +
+
+ + + + + + + + +
void PaintingArea::setPolygon (int idx)
+
+ +

setPolygon is used for setting polygondata, it only works on RASTER images

+
Parameters
+ + +
idx- represents the number of the layer with should be transformed
+
+
+ +

Definition at line 150 of file PaintingArea.cpp.

+ +
+
+ +

◆ setPolygonDataToActive()

+ +
+
+ + + + + + + + +
void PaintingArea::setPolygonDataToActive (std::vector< QPoint > points)
+
+ +

setPolygonDataToActive sets polygondata to the active Layer.

+
Parameters
+ + +
points- the points of the polygon data.
+
+
+ +

Definition at line 90 of file PaintingArea.cpp.

+ +
+
+ +

◆ setRenderSettings()

+ +
+
+ + + + + + + + +
void PaintingArea::setRenderSettings (bool isFastRenderingOn)
+
+ +

setRenderSettings updates all Images to the new Rendersetting.

+
Parameters
+ + +
isFastRenderingOnis the new given flag for the FastRenderer.
+
+
+ +

Definition at line 51 of file PaintingArea.cpp.

+ +
+
+ +

◆ slotActivateLayer

+ +
+
+ + + + + +
+ + + + + + + + +
void PaintingArea::slotActivateLayer (int a)
+
+slot
+
+ +

The slotActivateLayer method handles the event of selecting one layer as active.

+
Parameters
+ + +
a- idx of the layer to be active
+
+
+ +

Definition at line 222 of file PaintingArea.cpp.

+ +
+
+ +

◆ slotDeleteActiveLayer

+ +
+
+ + + + + +
+ + + + + + + +
void PaintingArea::slotDeleteActiveLayer ()
+
+slot
+
+ +

The slotDeleteActiveLayer method handles the deletion of the active layer.

+ +

Definition at line 128 of file PaintingArea.cpp.

+ +
+
+ +

◆ wheelEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
void PaintingArea::wheelEvent (QWheelEvent * event)
+
+overrideprotected
+
+ +

wheelEvent handles a mouse wheel event

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 356 of file PaintingArea.cpp.

+ +
+
+

Member Data Documentation

+ +

◆ colorPicker

+ +
+
+ + + + +
IntelliColorPicker PaintingArea::colorPicker
+
+ +

colorPicker a class to manage Tool color.

+ +

Definition at line 286 of file PaintingArea.h.

+ +
+
+ +

◆ Toolsettings

+ +
+
+ + + + +
IntelliToolsettings PaintingArea::Toolsettings
+
+ +

Toolsettings - a class to manage Tool settings.

+ +

Definition at line 281 of file PaintingArea.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_painting_area.js b/docs-src/html/class_painting_area.js new file mode 100644 index 0000000..f53644f --- /dev/null +++ b/docs-src/html/class_painting_area.js @@ -0,0 +1,54 @@ +var class_painting_area = +[ + [ "PaintingArea", "class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460", null ], + [ "~PaintingArea", "class_painting_area.html#aa32adc113f77031945f73e33051931e8", null ], + [ "addLayer", "class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd", null ], + [ "addLayerAt", "class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029", null ], + [ "colorPickerSetFirstColor", "class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df", null ], + [ "colorPickerSetSecondColor", "class_painting_area.html#ae261acaaa346610dfed489dbac17e789", null ], + [ "colorPickerSwapColors", "class_painting_area.html#acff4563d006fda491469bd41778d07eb", null ], + [ "createCircleTool", "class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466", null ], + [ "createFloodFillTool", "class_painting_area.html#a0b22e18069b524f3e75857d203baf256", null ], + [ "createGradientTool", "class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831", null ], + [ "createLineTool", "class_painting_area.html#a240c33a7875addac86080cdfb0db036a", null ], + [ "createPenTool", "class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353", null ], + [ "createPlainTool", "class_painting_area.html#a3de83443d2d5cf460ff48d0602070938", null ], + [ "createPolygonTool", "class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b", null ], + [ "createRectangleTool", "class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd", null ], + [ "deleteAllLayers", "class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491", null ], + [ "deleteLayer", "class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630", null ], + [ "drawPixelOntoActive", "class_painting_area.html#af1b7be20235139e4909086696ea74cf7", null ], + [ "getHeightOfActive", "class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4", null ], + [ "getImageDataOfActiveLayer", "class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423", null ], + [ "getImageOfActiveLayer", "class_painting_area.html#acab11ad35d07e9081203d8217d2c0855", null ], + [ "getIndexOfActiveLayer", "class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7", null ], + [ "getLayerBundle", "class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba", null ], + [ "getMaxHeight", "class_painting_area.html#aa811d142df9239ae248679bd70ad6da7", null ], + [ "getMaxWidth", "class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8", null ], + [ "getPolygonDataOfActiveLayer", "class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576", null ], + [ "getRenderSettings", "class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097", null ], + [ "getTypeOfImageActiveLayer", "class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395", null ], + [ "getWidthOfActive", "class_painting_area.html#a675ee91b26b1c58be6d833f279d81597", null ], + [ "historyadd", "class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f", null ], + [ "historyGoBack", "class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4", null ], + [ "historyGoForward", "class_painting_area.html#aecc72f0f5971244205194934ff721546", null ], + [ "mouseMoveEvent", "class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5", null ], + [ "mousePressEvent", "class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15", null ], + [ "mouseReleaseEvent", "class_painting_area.html#a35b5df914acb608cc29717659793359c", null ], + [ "moveActiveLayer", "class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a", null ], + [ "movePositionActive", "class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7", null ], + [ "open", "class_painting_area.html#a88c7e759aa8375a56129791645f46ea5", null ], + [ "paintEvent", "class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7", null ], + [ "save", "class_painting_area.html#aa2463d4f403224086acab02903ae407e", null ], + [ "setCanvasDimensions", "class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c", null ], + [ "setLayerActive", "class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9", null ], + [ "setLayerAlpha", "class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055", null ], + [ "setPolygon", "class_painting_area.html#aa409492ac26483d618bb33616f2e3f81", null ], + [ "setPolygonDataToActive", "class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577", null ], + [ "setRenderSettings", "class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd", null ], + [ "slotActivateLayer", "class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec", null ], + [ "slotDeleteActiveLayer", "class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e", null ], + [ "wheelEvent", "class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4", null ], + [ "colorPicker", "class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed", null ], + [ "Toolsettings", "class_painting_area.html#abc2f798744f1dc805a651731eb1692ea", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_painting_area.png b/docs-src/html/class_painting_area.png new file mode 100644 index 0000000..c7c163f Binary files /dev/null and b/docs-src/html/class_painting_area.png differ diff --git a/docs-src/html/class_painting_area__coll__graph.dot b/docs-src/html/class_painting_area__coll__graph.dot new file mode 100644 index 0000000..28d8ca9 --- /dev/null +++ b/docs-src/html/class_painting_area__coll__graph.dot @@ -0,0 +1,13 @@ +digraph "PaintingArea" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node3 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; + Node3 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; + Node4 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Toolsettings" ,fontname="Helvetica"]; + Node4 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; +} diff --git a/docs-src/html/class_painting_area__inherit__graph.dot b/docs-src/html/class_painting_area__inherit__graph.dot new file mode 100644 index 0000000..17b1cda --- /dev/null +++ b/docs-src/html/class_painting_area__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "PaintingArea" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/class_painting_area_a1511a534e206089fff1d325e7ec7a8eb_icgraph.dot b/docs-src/html/class_painting_area_a1511a534e206089fff1d325e7ec7a8eb_icgraph.dot new file mode 100644 index 0000000..786a371 --- /dev/null +++ b/docs-src/html/class_painting_area_a1511a534e206089fff1d325e7ec7a8eb_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getHeightActiveLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getHeightActive\lLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; +} diff --git a/docs-src/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot b/docs-src/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot new file mode 100644 index 0000000..3f0d948 --- /dev/null +++ b/docs-src/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::setLayerToActive" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::setLayerTo\lActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The setLayerToActive method marks a specific layer as active."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec",tooltip="The slotActivateLayer method handles the event of selecting one layer as active."]; +} diff --git a/docs-src/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot b/docs-src/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot new file mode 100644 index 0000000..9be7a8f --- /dev/null +++ b/docs-src/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::open" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The open method is used for loading a picture into the current layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::loadImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa",tooltip="A function that loads and sclaes an image to the fitting dimensions."]; +} diff --git a/docs-src/html/class_painting_area_a24280454ebb80db7feba2fd621513353_icgraph.dot b/docs-src/html/class_painting_area_a24280454ebb80db7feba2fd621513353_icgraph.dot new file mode 100644 index 0000000..1dcbf8a --- /dev/null +++ b/docs-src/html/class_painting_area_a24280454ebb80db7feba2fd621513353_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getNumberOfActiveLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getNumberOf\lActiveLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliPhotoGui::UpdateGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4",tooltip=" "]; +} diff --git a/docs-src/html/class_painting_area_a35b5df914acb608cc29717659793359c_cgraph.dot b/docs-src/html/class_painting_area_a35b5df914acb608cc29717659793359c_cgraph.dot new file mode 100644 index 0000000..38440e6 --- /dev/null +++ b/docs-src/html/class_painting_area_a35b5df914acb608cc29717659793359c_cgraph.dot @@ -0,0 +1,14 @@ +digraph "PaintingArea::mouseReleaseEvent" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs-src/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot b/docs-src/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot new file mode 100644 index 0000000..5bc9f21 --- /dev/null +++ b/docs-src/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::addLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The addLayer adds a layer to the current project/ painting area."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460",tooltip="PaintingArea is the constructor of the PaintingArea class, which initiates the working environment."]; +} diff --git a/docs-src/html/class_painting_area_a427c5fc26480c7ae80b3480e85510bda_icgraph.dot b/docs-src/html/class_painting_area_a427c5fc26480c7ae80b3480e85510bda_icgraph.dot new file mode 100644 index 0000000..1add7b7 --- /dev/null +++ b/docs-src/html/class_painting_area_a427c5fc26480c7ae80b3480e85510bda_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getWidthActiveLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getWidthActive\lLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; +} diff --git a/docs-src/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot b/docs-src/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot new file mode 100644 index 0000000..5f9be65 --- /dev/null +++ b/docs-src/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::colorPickerSetFirstColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliColorPicker\l::setFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8",tooltip="A function to set the primary color."]; +} diff --git a/docs-src/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot b/docs-src/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot new file mode 100644 index 0000000..c255ea7 --- /dev/null +++ b/docs-src/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::PaintingArea" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="PaintingArea is the constructor of the PaintingArea class, which initiates the working environment."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a6e9207612cef104d39013564696fe989",tooltip="The addLayer adds a layer to the current project/ painting area."]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliRenderSettings\l::getFastRenderer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_render_settings.html#a5a74e7d7ed3a2e944883dddbe8bbf5e8",tooltip="The getfastRenderer gets the value of the flag for the fastRenderer setting."]; +} diff --git a/docs-src/html/class_painting_area_a632848d99f44d33d7da2618fbc6775a4_cgraph.dot b/docs-src/html/class_painting_area_a632848d99f44d33d7da2618fbc6775a4_cgraph.dot new file mode 100644 index 0000000..abb7a14 --- /dev/null +++ b/docs-src/html/class_painting_area_a632848d99f44d33d7da2618fbc6775a4_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::wheelEvent" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::wheelEvent",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; +} diff --git a/docs-src/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot b/docs-src/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot new file mode 100644 index 0000000..8d4eb30 --- /dev/null +++ b/docs-src/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::colorPickerSwitchColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::colorPicker\lSwitchColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSwitchColor swaps the primary color with the secondary drawing color."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker\l::switchColors",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9",tooltip="A function switching primary and secondary color."]; +} diff --git a/docs-src/html/class_painting_area_a675ee91b26b1c58be6d833f279d81597_icgraph.dot b/docs-src/html/class_painting_area_a675ee91b26b1c58be6d833f279d81597_icgraph.dot new file mode 100644 index 0000000..c5ccaaa --- /dev/null +++ b/docs-src/html/class_painting_area_a675ee91b26b1c58be6d833f279d81597_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getWidthOfActive" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getWidthOf\lActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The getWidthOfActive gets the horizontal dimensions of the active layer."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; +} diff --git a/docs-src/html/class_painting_area_a6e9207612cef104d39013564696fe989_cgraph.dot b/docs-src/html/class_painting_area_a6e9207612cef104d39013564696fe989_cgraph.dot new file mode 100644 index 0000000..bfa4706 --- /dev/null +++ b/docs-src/html/class_painting_area_a6e9207612cef104d39013564696fe989_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::addLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The addLayer adds a layer to the current project/ painting area."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliRenderSettings\l::getFastRenderer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_render_settings.html#a5a74e7d7ed3a2e944883dddbe8bbf5e8",tooltip="The getfastRenderer gets the value of the flag for the fastRenderer setting."]; +} diff --git a/docs-src/html/class_painting_area_a6e9207612cef104d39013564696fe989_icgraph.dot b/docs-src/html/class_painting_area_a6e9207612cef104d39013564696fe989_icgraph.dot new file mode 100644 index 0000000..5bc9f21 --- /dev/null +++ b/docs-src/html/class_painting_area_a6e9207612cef104d39013564696fe989_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::addLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The addLayer adds a layer to the current project/ painting area."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460",tooltip="PaintingArea is the constructor of the PaintingArea class, which initiates the working environment."]; +} diff --git a/docs-src/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot b/docs-src/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot new file mode 100644 index 0000000..09a5ca7 --- /dev/null +++ b/docs-src/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::slotActivateLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The slotActivateLayer method handles the event of selecting one layer as active."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::getIsDrawing",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb",tooltip=" "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="PaintingArea::setLayerActive",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9",tooltip="The setLayerToActive method marks a specific layer as active."]; +} diff --git a/docs-src/html/class_painting_area_a79eb059829f27e8cdb3a54c5cd3d12c9_icgraph.dot b/docs-src/html/class_painting_area_a79eb059829f27e8cdb3a54c5cd3d12c9_icgraph.dot new file mode 100644 index 0000000..26280ee --- /dev/null +++ b/docs-src/html/class_painting_area_a79eb059829f27e8cdb3a54c5cd3d12c9_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::setLayerActive" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::setLayerActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The setLayerToActive method marks a specific layer as active."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec",tooltip="The slotActivateLayer method handles the event of selecting one layer as active."]; +} diff --git a/docs-src/html/class_painting_area_a7ae21fd031ee1c04f92e042e86be0a90_icgraph.dot b/docs-src/html/class_painting_area_a7ae21fd031ee1c04f92e042e86be0a90_icgraph.dot new file mode 100644 index 0000000..267b794 --- /dev/null +++ b/docs-src/html/class_painting_area_a7ae21fd031ee1c04f92e042e86be0a90_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getPolygonDataOfRealLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getPolygon\lDataOfRealLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; +} diff --git a/docs-src/html/class_painting_area_a88c7e759aa8375a56129791645f46ea5_cgraph.dot b/docs-src/html/class_painting_area_a88c7e759aa8375a56129791645f46ea5_cgraph.dot new file mode 100644 index 0000000..4323961 --- /dev/null +++ b/docs-src/html/class_painting_area_a88c7e759aa8375a56129791645f46ea5_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::open" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The open method is used for loading a picture into the current layer."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::loadImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e",tooltip="A function that loads and sclaes an image to the fitting dimensions."]; +} diff --git a/docs-src/html/class_painting_area_aa22e274b6094a9619f196cd7b49526b5_cgraph.dot b/docs-src/html/class_painting_area_aa22e274b6094a9619f196cd7b49526b5_cgraph.dot new file mode 100644 index 0000000..343ab56 --- /dev/null +++ b/docs-src/html/class_painting_area_aa22e274b6094a9619f196cd7b49526b5_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::mouseMoveEvent" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::mouseMoveEvent",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs-src/html/class_painting_area_abfe445f8d9b70ae42bfeda874127dd15_cgraph.dot b/docs-src/html/class_painting_area_abfe445f8d9b70ae42bfeda874127dd15_cgraph.dot new file mode 100644 index 0000000..a9f63bd --- /dev/null +++ b/docs-src/html/class_painting_area_abfe445f8d9b70ae42bfeda874127dd15_cgraph.dot @@ -0,0 +1,14 @@ +digraph "PaintingArea::mousePressEvent" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; +} diff --git a/docs-src/html/class_painting_area_ac576f58aad03b4dcd47611b6a4b9abb4_icgraph.dot b/docs-src/html/class_painting_area_ac576f58aad03b4dcd47611b6a4b9abb4_icgraph.dot new file mode 100644 index 0000000..36587d6 --- /dev/null +++ b/docs-src/html/class_painting_area_ac576f58aad03b4dcd47611b6a4b9abb4_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getHeightOfActive" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getHeightOf\lActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The getHeightOfActive gets the vertical dimensions of the active layer."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; +} diff --git a/docs-src/html/class_painting_area_ac6d089f4357b22d9a9906fd4771de3e7_cgraph.dot b/docs-src/html/class_painting_area_ac6d089f4357b22d9a9906fd4771de3e7_cgraph.dot new file mode 100644 index 0000000..45a831c --- /dev/null +++ b/docs-src/html/class_painting_area_ac6d089f4357b22d9a9906fd4771de3e7_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::movePositionActive" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::movePosition\lActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The movePositionActive method moves the active layer to certain position."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::getIsDrawing",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb",tooltip=" "]; +} diff --git a/docs-src/html/class_painting_area_acab11ad35d07e9081203d8217d2c0855_icgraph.dot b/docs-src/html/class_painting_area_acab11ad35d07e9081203d8217d2c0855_icgraph.dot new file mode 100644 index 0000000..bfcef17 --- /dev/null +++ b/docs-src/html/class_painting_area_acab11ad35d07e9081203d8217d2c0855_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getImageOfActiveLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getImageOf\lActiveLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliPhotoGui::UpdateGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4",tooltip=" "]; +} diff --git a/docs-src/html/class_painting_area_acff4563d006fda491469bd41778d07eb_cgraph.dot b/docs-src/html/class_painting_area_acff4563d006fda491469bd41778d07eb_cgraph.dot new file mode 100644 index 0000000..90a05ac --- /dev/null +++ b/docs-src/html/class_painting_area_acff4563d006fda491469bd41778d07eb_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::colorPickerSwapColors" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::colorPicker\lSwapColors",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSwitchColor swaps the primary color with the secondary drawing color."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker\l::swapColors",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e",tooltip="A function switching primary and secondary color."]; +} diff --git a/docs-src/html/class_painting_area_ae05f6893fb44bfcb34018573a609cd1a_cgraph.dot b/docs-src/html/class_painting_area_ae05f6893fb44bfcb34018573a609cd1a_cgraph.dot new file mode 100644 index 0000000..d874bcc --- /dev/null +++ b/docs-src/html/class_painting_area_ae05f6893fb44bfcb34018573a609cd1a_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::moveActiveLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::moveActive\lLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The moveActiveLayer moves the active layer to a specific position in the layer stack."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::getIsDrawing",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb",tooltip=" "]; +} diff --git a/docs-src/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot b/docs-src/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot new file mode 100644 index 0000000..1325336 --- /dev/null +++ b/docs-src/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot @@ -0,0 +1,12 @@ +digraph "PaintingArea::colorPickerSetSecondColor" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415",tooltip="A function to read the secondary selected color."]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliColorPicker\l::setSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931",tooltip="A function to set the secondary color."]; +} diff --git a/docs-src/html/class_painting_area_ae92b27dfd09573c224d2ae1958d3bead_icgraph.dot b/docs-src/html/class_painting_area_ae92b27dfd09573c224d2ae1958d3bead_icgraph.dot new file mode 100644 index 0000000..affd678 --- /dev/null +++ b/docs-src/html/class_painting_area_ae92b27dfd09573c224d2ae1958d3bead_icgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::getTypeOfImageRealLayer" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="PaintingArea::getTypeOfImage\lRealLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; +} diff --git a/docs-src/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot b/docs-src/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot new file mode 100644 index 0000000..862e21e --- /dev/null +++ b/docs-src/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot @@ -0,0 +1,10 @@ +digraph "PaintingArea::floodFill" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The floodFill method fills a the active layer with a given color."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; +} diff --git a/docs-src/html/class_unit_test-members.html b/docs-src/html/class_unit_test-members.html new file mode 100644 index 0000000..664b905 --- /dev/null +++ b/docs-src/html/class_unit_test-members.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
UnitTest Member List
+
+
+ +

This is the complete list of members for UnitTest, including all inherited members.

+ + + + + +
UnitTest()UnitTest
UnitTest()UnitTest
~UnitTest()UnitTest
~UnitTest()UnitTest
+
+ + + + diff --git a/docs-src/html/class_unit_test.html b/docs-src/html/class_unit_test.html new file mode 100644 index 0000000..74614ea --- /dev/null +++ b/docs-src/html/class_unit_test.html @@ -0,0 +1,202 @@ + + + + + + + +IntelliPhoto: UnitTest Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
UnitTest Class Reference
+
+
+
+Inheritance diagram for UnitTest:
+
+
+ +
+ + + + + + + + + + +

+Public Member Functions

 UnitTest ()
 
 ~UnitTest ()
 
 UnitTest ()
 
 ~UnitTest ()
 
+

Detailed Description

+
+

Definition at line 8 of file mainUnitTest.cpp.

+

Constructor & Destructor Documentation

+ +

◆ UnitTest() [1/2]

+ +
+
+ + + + + + + +
UnitTest::UnitTest ()
+
+ +

Definition at line 95 of file mainUnitTest.cpp.

+ +
+
+ +

◆ ~UnitTest() [1/2]

+ +
+
+ + + + + + + +
UnitTest::~UnitTest ()
+
+ +

Definition at line 108 of file mainUnitTest.cpp.

+ +
+
+ +

◆ UnitTest() [2/2]

+ +
+
+ + + + + + + +
UnitTest::UnitTest ()
+
+ +
+
+ +

◆ ~UnitTest() [2/2]

+ +
+
+ + + + + + + +
UnitTest::~UnitTest ()
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs-src/html/class_unit_test.js b/docs-src/html/class_unit_test.js new file mode 100644 index 0000000..0a29f02 --- /dev/null +++ b/docs-src/html/class_unit_test.js @@ -0,0 +1,7 @@ +var class_unit_test = +[ + [ "UnitTest", "class_unit_test.html#a67ddaff817b55a624741d32550052f4b", null ], + [ "~UnitTest", "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf", null ], + [ "UnitTest", "class_unit_test.html#a67ddaff817b55a624741d32550052f4b", null ], + [ "~UnitTest", "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf", null ] +]; \ No newline at end of file diff --git a/docs-src/html/class_unit_test.png b/docs-src/html/class_unit_test.png new file mode 100644 index 0000000..452282e Binary files /dev/null and b/docs-src/html/class_unit_test.png differ diff --git a/docs-src/html/classes.html b/docs-src/html/classes.html new file mode 100644 index 0000000..3aa5a33 --- /dev/null +++ b/docs-src/html/classes.html @@ -0,0 +1,145 @@ + + + + + + + +IntelliPhoto: Class Index + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+
+
i | l | p | t | u
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  i  
+
IntelliRenderSettings   IntelliToolPen   
  p  
+
IntelliShapedImage   IntelliToolPlainTool   
IntelliColorPicker   IntelliTool   IntelliToolPolygon   PaintingArea   
IntelliImage   IntelliToolCircle   IntelliToolRectangle   
  t  
+
IntelliInputDialog   IntelliToolFloodFill   IntelliToolsettings   
IntelliPhotoGui   IntelliToolGradient   
  l  
+
Triangle   
IntelliRasterImage   IntelliToolLine   
  u  
+
LayerObject   
UnitTest   
+
i | l | p | t | u
+
+
+ + + + diff --git a/docs-src/html/closed.png b/docs-src/html/closed.png new file mode 100644 index 0000000..b3364d8 Binary files /dev/null and b/docs-src/html/closed.png differ diff --git a/docs-src/html/dir_000000_000001.html b/docs-src/html/dir_000000_000001.html new file mode 100644 index 0000000..a7f0093 --- /dev/null +++ b/docs-src/html/dir_000000_000001.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src -> GUI Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

src → GUI Relation

File in srcIncludes file in src/GUI
main.cppIntelliPhotoGui.h
+
+ + + + diff --git a/docs-src/html/dir_000001_000002.html b/docs-src/html/dir_000001_000002.html new file mode 100644 index 0000000..db127b7 --- /dev/null +++ b/docs-src/html/dir_000001_000002.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src -> GUI Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

src → GUI Relation

File in intelliphoto/srcIncludes file in intelliphoto/src/GUI
main.cppIntelliPhotoGui.h
+
+ + + + diff --git a/docs-src/html/dir_000001_000005.html b/docs-src/html/dir_000001_000005.html new file mode 100644 index 0000000..ca025a1 --- /dev/null +++ b/docs-src/html/dir_000001_000005.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src/GUI -> Layer Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

GUI → Layer Relation

File in src/GUIIncludes file in src/Layer
IntelliPhotoGui.cppPaintingArea.h
+
+ + + + diff --git a/docs-src/html/dir_000002_000003.html b/docs-src/html/dir_000002_000003.html new file mode 100644 index 0000000..a5fe18e --- /dev/null +++ b/docs-src/html/dir_000002_000003.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src/Image -> IntelliHelper Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Image → IntelliHelper Relation

File in src/ImageIncludes file in src/IntelliHelper
IntelliShapedImage.cppIntelliHelper.h
+
+ + + + diff --git a/docs-src/html/dir_000002_000006.html b/docs-src/html/dir_000002_000006.html new file mode 100644 index 0000000..1d9a22f --- /dev/null +++ b/docs-src/html/dir_000002_000006.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/GUI -> Layer Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

GUI → Layer Relation

File in intelliphoto/src/GUIIncludes file in intelliphoto/src/Layer
IntelliPhotoGui.cppPaintingArea.h
+
+ + + + diff --git a/docs-src/html/dir_000003_000004.html b/docs-src/html/dir_000003_000004.html new file mode 100644 index 0000000..5e8a2ec --- /dev/null +++ b/docs-src/html/dir_000003_000004.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Image -> IntelliHelper Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Image → IntelliHelper Relation

File in intelliphoto/src/ImageIncludes file in intelliphoto/src/IntelliHelper
IntelliImage.hIntelliRenderSettings.h
IntelliImage.hIntelliTriangulation.h
IntelliShapedImage.cppIntelliTriangulation.h
+
+ + + + diff --git a/docs-src/html/dir_000004_000003.html b/docs-src/html/dir_000004_000003.html new file mode 100644 index 0000000..d810518 --- /dev/null +++ b/docs-src/html/dir_000004_000003.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src/Tool -> IntelliHelper Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Tool → IntelliHelper Relation

File in src/ToolIncludes file in src/IntelliHelper
IntelliColorPicker.cppIntelliColorPicker.h
IntelliTool.hIntelliColorPicker.h
+
+ + + + diff --git a/docs-src/html/dir_000004_000005.html b/docs-src/html/dir_000004_000005.html new file mode 100644 index 0000000..eeb3369 --- /dev/null +++ b/docs-src/html/dir_000004_000005.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src/Tool -> Layer Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ + + + diff --git a/docs-src/html/dir_000005_000002.html b/docs-src/html/dir_000005_000002.html new file mode 100644 index 0000000..47fa0a6 --- /dev/null +++ b/docs-src/html/dir_000005_000002.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src/Layer -> Image Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs-src/html/dir_000005_000003.html b/docs-src/html/dir_000005_000003.html new file mode 100644 index 0000000..69be38a --- /dev/null +++ b/docs-src/html/dir_000005_000003.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: src/Layer -> IntelliHelper Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.4 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Layer → IntelliHelper Relation

File in src/LayerIncludes file in src/IntelliHelper
PaintingArea.hIntelliColorPicker.h
+
+ + + + diff --git a/docs-src/html/dir_000005_000004.html b/docs-src/html/dir_000005_000004.html new file mode 100644 index 0000000..91c6690 --- /dev/null +++ b/docs-src/html/dir_000005_000004.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Tool -> IntelliHelper Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Tool → IntelliHelper Relation

File in intelliphoto/src/ToolIncludes file in intelliphoto/src/IntelliHelper
IntelliColorPicker.cppIntelliColorPicker.h
IntelliTool.hIntelliColorPicker.h
IntelliTool.hIntelliToolsettings.h
IntelliToolPolygon.hIntelliTriangulation.h
+
+ + + + diff --git a/docs-src/html/dir_000005_000006.html b/docs-src/html/dir_000005_000006.html new file mode 100644 index 0000000..787fe4e --- /dev/null +++ b/docs-src/html/dir_000005_000006.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Tool -> Layer Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs-src/html/dir_000006_000002.html b/docs-src/html/dir_000006_000002.html new file mode 100644 index 0000000..faf776d --- /dev/null +++ b/docs-src/html/dir_000006_000002.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Layer -> GUI Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Layer → GUI Relation

File in intelliphoto/src/LayerIncludes file in intelliphoto/src/GUI
PaintingArea.hIntelliPhotoGui.h
+
+ + + + diff --git a/docs-src/html/dir_000006_000003.html b/docs-src/html/dir_000006_000003.html new file mode 100644 index 0000000..3614e26 --- /dev/null +++ b/docs-src/html/dir_000006_000003.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Layer -> Image Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ + + + diff --git a/docs-src/html/dir_000006_000004.html b/docs-src/html/dir_000006_000004.html new file mode 100644 index 0000000..ce51023 --- /dev/null +++ b/docs-src/html/dir_000006_000004.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Layer -> IntelliHelper Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+

Layer → IntelliHelper Relation

File in intelliphoto/src/LayerIncludes file in intelliphoto/src/IntelliHelper
PaintingArea.hIntelliColorPicker.h
+
+ + + + diff --git a/docs-src/html/dir_000006_000005.html b/docs-src/html/dir_000006_000005.html new file mode 100644 index 0000000..ab452cc --- /dev/null +++ b/docs-src/html/dir_000006_000005.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Layer -> Tool Relation + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f.html b/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f.html new file mode 100644 index 0000000..38ab335 --- /dev/null +++ b/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: src/Layer Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Layer Directory Reference
+
+
+ + + + + + +

+Files

file  PaintingArea.cpp [code]
 
file  PaintingArea.h [code]
 
+
+
+ + + + diff --git a/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f.js b/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f.js new file mode 100644 index 0000000..d438ee7 --- /dev/null +++ b/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f.js @@ -0,0 +1,8 @@ +var dir_13830bfc3dd6736fe878600c9081919f = +[ + [ "PaintingArea.cpp", "_painting_area_8cpp.html", null ], + [ "PaintingArea.h", "_painting_area_8h.html", [ + [ "LayerObject", "struct_layer_object.html", "struct_layer_object" ], + [ "PaintingArea", "class_painting_area.html", "class_painting_area" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f_dep.dot b/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f_dep.dot new file mode 100644 index 0000000..1ae7e6b --- /dev/null +++ b/docs-src/html/dir_13830bfc3dd6736fe878600c9081919f_dep.dot @@ -0,0 +1,18 @@ +digraph "src/Layer" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"] + dir_13830bfc3dd6736fe878600c9081919f [shape=box, label="Layer", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_13830bfc3dd6736fe878600c9081919f.html"]; + } + dir_fdbdd9841f9a730f284bb666ff3d8cfe [shape=box label="Image" URL="dir_fdbdd9841f9a730f284bb666ff3d8cfe.html"]; + dir_858355f3357c73763e566ff49d1e6a7a [shape=box label="Tool" URL="dir_858355f3357c73763e566ff49d1e6a7a.html"]; + dir_8de6078cba2a961961818cf80b28fd4f [shape=box label="IntelliHelper" URL="dir_8de6078cba2a961961818cf80b28fd4f.html"]; + dir_fdbdd9841f9a730f284bb666ff3d8cfe->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="1", labeldistance=1.5 headhref="dir_000002_000003.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_fdbdd9841f9a730f284bb666ff3d8cfe [headlabel="5", labeldistance=1.5 headhref="dir_000005_000002.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_858355f3357c73763e566ff49d1e6a7a [headlabel="4", labeldistance=1.5 headhref="dir_000005_000004.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="1", labeldistance=1.5 headhref="dir_000005_000003.html"]; + dir_858355f3357c73763e566ff49d1e6a7a->dir_13830bfc3dd6736fe878600c9081919f [headlabel="4", labeldistance=1.5 headhref="dir_000004_000005.html"]; + dir_858355f3357c73763e566ff49d1e6a7a->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="2", labeldistance=1.5 headhref="dir_000004_000003.html"]; +} diff --git a/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html b/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html new file mode 100644 index 0000000..29473ac --- /dev/null +++ b/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html @@ -0,0 +1,113 @@ + + + + + + + +IntelliPhoto: src/GUI Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GUI Directory Reference
+
+
+ + + + + + + + + + +

+Files

file  IntelliInputDialog.cpp [code]
 
file  IntelliInputDialog.h [code]
 
file  IntelliPhotoGui.cpp [code]
 
file  IntelliPhotoGui.h [code]
 
+
+
+ + + + diff --git a/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5.js b/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5.js new file mode 100644 index 0000000..f2f26b7 --- /dev/null +++ b/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5.js @@ -0,0 +1,11 @@ +var dir_4e4e2e75df7fa6971448b424c011c8b5 = +[ + [ "IntelliInputDialog.cpp", "_intelli_input_dialog_8cpp.html", null ], + [ "IntelliInputDialog.h", "_intelli_input_dialog_8h.html", [ + [ "IntelliInputDialog", "class_intelli_input_dialog.html", "class_intelli_input_dialog" ] + ] ], + [ "IntelliPhotoGui.cpp", "_intelli_photo_gui_8cpp.html", null ], + [ "IntelliPhotoGui.h", "_intelli_photo_gui_8h.html", [ + [ "IntelliPhotoGui", "class_intelli_photo_gui.html", "class_intelli_photo_gui" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5_dep.dot b/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5_dep.dot new file mode 100644 index 0000000..ba0fbf9 --- /dev/null +++ b/docs-src/html/dir_4e4e2e75df7fa6971448b424c011c8b5_dep.dot @@ -0,0 +1,11 @@ +digraph "src/GUI" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"] + dir_4e4e2e75df7fa6971448b424c011c8b5 [shape=box, label="GUI", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_4e4e2e75df7fa6971448b424c011c8b5.html"]; + } + dir_13830bfc3dd6736fe878600c9081919f [shape=box label="Layer" URL="dir_13830bfc3dd6736fe878600c9081919f.html"]; + dir_4e4e2e75df7fa6971448b424c011c8b5->dir_13830bfc3dd6736fe878600c9081919f [headlabel="1", labeldistance=1.5 headhref="dir_000001_000005.html"]; +} diff --git a/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2.html b/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2.html new file mode 100644 index 0000000..2047ef9 --- /dev/null +++ b/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2.html @@ -0,0 +1,121 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Image Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Image Directory Reference
+
+ +
+ + + + diff --git a/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2.js b/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2.js new file mode 100644 index 0000000..ee724b4 --- /dev/null +++ b/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2.js @@ -0,0 +1,15 @@ +var dir_544f9dcb748f922e4bb3be2540380bf2 = +[ + [ "IntelliImage.cpp", "_intelli_image_8cpp.html", null ], + [ "IntelliImage.h", "_intelli_image_8h.html", [ + [ "IntelliImage", "class_intelli_image.html", "class_intelli_image" ] + ] ], + [ "IntelliRasterImage.cpp", "_intelli_raster_image_8cpp.html", null ], + [ "IntelliRasterImage.h", "_intelli_raster_image_8h.html", [ + [ "IntelliRasterImage", "class_intelli_raster_image.html", "class_intelli_raster_image" ] + ] ], + [ "IntelliShapedImage.cpp", "_intelli_shaped_image_8cpp.html", null ], + [ "IntelliShapedImage.h", "_intelli_shaped_image_8h.html", [ + [ "IntelliShapedImage", "class_intelli_shaped_image.html", "class_intelli_shaped_image" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2_dep.dot b/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2_dep.dot new file mode 100644 index 0000000..0a903f5 --- /dev/null +++ b/docs-src/html/dir_544f9dcb748f922e4bb3be2540380bf2_dep.dot @@ -0,0 +1,11 @@ +digraph "intelliphoto/src/Image" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_83a4347d11f2ba6343d546ab133722d2 { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_83a4347d11f2ba6343d546ab133722d2.html"] + dir_544f9dcb748f922e4bb3be2540380bf2 [shape=box, label="Image", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_544f9dcb748f922e4bb3be2540380bf2.html"]; + } + dir_f50aa5156fe016a259583c412dbf440c [shape=box label="IntelliHelper" URL="dir_f50aa5156fe016a259583c412dbf440c.html"]; + dir_544f9dcb748f922e4bb3be2540380bf2->dir_f50aa5156fe016a259583c412dbf440c [headlabel="3", labeldistance=1.5 headhref="dir_000003_000004.html"]; +} diff --git a/docs-src/html/dir_5dabb14988a75c922e285f444641a133.html b/docs-src/html/dir_5dabb14988a75c922e285f444641a133.html new file mode 100644 index 0000000..84c5623 --- /dev/null +++ b/docs-src/html/dir_5dabb14988a75c922e285f444641a133.html @@ -0,0 +1,113 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/GUI Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GUI Directory Reference
+
+
+ + + + + + +

+Files

file  IntelliPhotoGui.cpp [code]
 
file  IntelliPhotoGui.h [code]
 
+
+
+ + + + diff --git a/docs-src/html/dir_5dabb14988a75c922e285f444641a133.js b/docs-src/html/dir_5dabb14988a75c922e285f444641a133.js new file mode 100644 index 0000000..95b2021 --- /dev/null +++ b/docs-src/html/dir_5dabb14988a75c922e285f444641a133.js @@ -0,0 +1,7 @@ +var dir_5dabb14988a75c922e285f444641a133 = +[ + [ "IntelliPhotoGui.cpp", "_intelli_photo_gui_8cpp.html", null ], + [ "IntelliPhotoGui.h", "_intelli_photo_gui_8h.html", [ + [ "IntelliPhotoGui", "class_intelli_photo_gui.html", "class_intelli_photo_gui" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_5dabb14988a75c922e285f444641a133_dep.dot b/docs-src/html/dir_5dabb14988a75c922e285f444641a133_dep.dot new file mode 100644 index 0000000..0ccb450 --- /dev/null +++ b/docs-src/html/dir_5dabb14988a75c922e285f444641a133_dep.dot @@ -0,0 +1,12 @@ +digraph "intelliphoto/src/GUI" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_83a4347d11f2ba6343d546ab133722d2 { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_83a4347d11f2ba6343d546ab133722d2.html"] + dir_5dabb14988a75c922e285f444641a133 [shape=box, label="GUI", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_5dabb14988a75c922e285f444641a133.html"]; + } + dir_e6d96184223881d115efa44ca0dfa844 [shape=box label="Layer" URL="dir_e6d96184223881d115efa44ca0dfa844.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_5dabb14988a75c922e285f444641a133 [headlabel="1", labeldistance=1.5 headhref="dir_000006_000002.html"]; + dir_5dabb14988a75c922e285f444641a133->dir_e6d96184223881d115efa44ca0dfa844 [headlabel="1", labeldistance=1.5 headhref="dir_000002_000006.html"]; +} diff --git a/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 0000000..1df2630 --- /dev/null +++ b/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,124 @@ + + + + + + + +IntelliPhoto: src Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
src Directory Reference
+
+
+ + + + + + + + + + + + +

+Directories

directory  GUI
 
directory  Image
 
directory  IntelliHelper
 
directory  Layer
 
directory  Tool
 
+ + + + + + + +

+Files

file  main.cpp [code]
 
file  mainUnitTest.cpp [code]
 
file  tst_unittest.cpp [code]
 
+
+
+ + + + diff --git a/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js new file mode 100644 index 0000000..64c14e9 --- /dev/null +++ b/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -0,0 +1,15 @@ +var dir_68267d1309a1af8e8297ef4c3efbcdba = +[ + [ "GUI", "dir_4e4e2e75df7fa6971448b424c011c8b5.html", "dir_4e4e2e75df7fa6971448b424c011c8b5" ], + [ "Image", "dir_fdbdd9841f9a730f284bb666ff3d8cfe.html", "dir_fdbdd9841f9a730f284bb666ff3d8cfe" ], + [ "IntelliHelper", "dir_8de6078cba2a961961818cf80b28fd4f.html", "dir_8de6078cba2a961961818cf80b28fd4f" ], + [ "Layer", "dir_13830bfc3dd6736fe878600c9081919f.html", "dir_13830bfc3dd6736fe878600c9081919f" ], + [ "Tool", "dir_858355f3357c73763e566ff49d1e6a7a.html", "dir_858355f3357c73763e566ff49d1e6a7a" ], + [ "main.cpp", "main_8cpp.html", "main_8cpp" ], + [ "mainUnitTest.cpp", "main_unit_test_8cpp.html", [ + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] + ] ], + [ "tst_unittest.cpp", "tst__unittest_8cpp.html", [ + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.dot b/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.dot new file mode 100644 index 0000000..7a39786 --- /dev/null +++ b/docs-src/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.dot @@ -0,0 +1,22 @@ +digraph "src" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"]; + dir_68267d1309a1af8e8297ef4c3efbcdba [shape=plaintext label="src"]; + dir_4e4e2e75df7fa6971448b424c011c8b5 [shape=box label="GUI" color="black" fillcolor="white" style="filled" URL="dir_4e4e2e75df7fa6971448b424c011c8b5.html"]; + dir_fdbdd9841f9a730f284bb666ff3d8cfe [shape=box label="Image" color="black" fillcolor="white" style="filled" URL="dir_fdbdd9841f9a730f284bb666ff3d8cfe.html"]; + dir_8de6078cba2a961961818cf80b28fd4f [shape=box label="IntelliHelper" color="black" fillcolor="white" style="filled" URL="dir_8de6078cba2a961961818cf80b28fd4f.html"]; + dir_13830bfc3dd6736fe878600c9081919f [shape=box label="Layer" color="black" fillcolor="white" style="filled" URL="dir_13830bfc3dd6736fe878600c9081919f.html"]; + dir_858355f3357c73763e566ff49d1e6a7a [shape=box label="Tool" color="black" fillcolor="white" style="filled" URL="dir_858355f3357c73763e566ff49d1e6a7a.html"]; + } + dir_68267d1309a1af8e8297ef4c3efbcdba->dir_4e4e2e75df7fa6971448b424c011c8b5 [headlabel="1", labeldistance=1.5 headhref="dir_000000_000001.html"]; + dir_fdbdd9841f9a730f284bb666ff3d8cfe->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="1", labeldistance=1.5 headhref="dir_000002_000003.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_fdbdd9841f9a730f284bb666ff3d8cfe [headlabel="5", labeldistance=1.5 headhref="dir_000005_000002.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_858355f3357c73763e566ff49d1e6a7a [headlabel="4", labeldistance=1.5 headhref="dir_000005_000004.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="1", labeldistance=1.5 headhref="dir_000005_000003.html"]; + dir_858355f3357c73763e566ff49d1e6a7a->dir_13830bfc3dd6736fe878600c9081919f [headlabel="4", labeldistance=1.5 headhref="dir_000004_000005.html"]; + dir_858355f3357c73763e566ff49d1e6a7a->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="2", labeldistance=1.5 headhref="dir_000004_000003.html"]; + dir_4e4e2e75df7fa6971448b424c011c8b5->dir_13830bfc3dd6736fe878600c9081919f [headlabel="1", labeldistance=1.5 headhref="dir_000001_000005.html"]; +} diff --git a/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2.html b/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2.html new file mode 100644 index 0000000..eaac0f5 --- /dev/null +++ b/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2.html @@ -0,0 +1,124 @@ + + + + + + + +IntelliPhoto: intelliphoto/src Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
src Directory Reference
+
+
+ + + + + + + + + + + + +

+Directories

directory  GUI
 
directory  Image
 
directory  IntelliHelper
 
directory  Layer
 
directory  Tool
 
+ + + +

+Files

file  main.cpp [code]
 
+
+
+ + + + diff --git a/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2.js b/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2.js new file mode 100644 index 0000000..1b4702f --- /dev/null +++ b/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2.js @@ -0,0 +1,9 @@ +var dir_83a4347d11f2ba6343d546ab133722d2 = +[ + [ "GUI", "dir_5dabb14988a75c922e285f444641a133.html", "dir_5dabb14988a75c922e285f444641a133" ], + [ "Image", "dir_544f9dcb748f922e4bb3be2540380bf2.html", "dir_544f9dcb748f922e4bb3be2540380bf2" ], + [ "IntelliHelper", "dir_f50aa5156fe016a259583c412dbf440c.html", "dir_f50aa5156fe016a259583c412dbf440c" ], + [ "Layer", "dir_e6d96184223881d115efa44ca0dfa844.html", "dir_e6d96184223881d115efa44ca0dfa844" ], + [ "Tool", "dir_941490de56ac122cf77df9922cbcc750.html", "dir_941490de56ac122cf77df9922cbcc750" ], + [ "main.cpp", "main_8cpp.html", "main_8cpp" ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2_dep.dot b/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2_dep.dot new file mode 100644 index 0000000..86cdd37 --- /dev/null +++ b/docs-src/html/dir_83a4347d11f2ba6343d546ab133722d2_dep.dot @@ -0,0 +1,25 @@ +digraph "intelliphoto/src" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_8db5f55022e7670536cbc9a6a1d6f01c { + graph [ bgcolor="#ddddee", pencolor="black", label="intelliphoto" fontname="Helvetica", fontsize="10", URL="dir_8db5f55022e7670536cbc9a6a1d6f01c.html"] + subgraph clusterdir_83a4347d11f2ba6343d546ab133722d2 { + graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_83a4347d11f2ba6343d546ab133722d2.html"]; + dir_83a4347d11f2ba6343d546ab133722d2 [shape=plaintext label="src"]; + dir_5dabb14988a75c922e285f444641a133 [shape=box label="GUI" color="black" fillcolor="white" style="filled" URL="dir_5dabb14988a75c922e285f444641a133.html"]; + dir_544f9dcb748f922e4bb3be2540380bf2 [shape=box label="Image" color="black" fillcolor="white" style="filled" URL="dir_544f9dcb748f922e4bb3be2540380bf2.html"]; + dir_f50aa5156fe016a259583c412dbf440c [shape=box label="IntelliHelper" color="black" fillcolor="white" style="filled" URL="dir_f50aa5156fe016a259583c412dbf440c.html"]; + dir_e6d96184223881d115efa44ca0dfa844 [shape=box label="Layer" color="black" fillcolor="white" style="filled" URL="dir_e6d96184223881d115efa44ca0dfa844.html"]; + dir_941490de56ac122cf77df9922cbcc750 [shape=box label="Tool" color="black" fillcolor="white" style="filled" URL="dir_941490de56ac122cf77df9922cbcc750.html"]; + } + } + dir_544f9dcb748f922e4bb3be2540380bf2->dir_f50aa5156fe016a259583c412dbf440c [headlabel="3", labeldistance=1.5 headhref="dir_000003_000004.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_544f9dcb748f922e4bb3be2540380bf2 [headlabel="5", labeldistance=1.5 headhref="dir_000006_000003.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_f50aa5156fe016a259583c412dbf440c [headlabel="1", labeldistance=1.5 headhref="dir_000006_000004.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_5dabb14988a75c922e285f444641a133 [headlabel="1", labeldistance=1.5 headhref="dir_000006_000002.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_941490de56ac122cf77df9922cbcc750 [headlabel="8", labeldistance=1.5 headhref="dir_000006_000005.html"]; + dir_5dabb14988a75c922e285f444641a133->dir_e6d96184223881d115efa44ca0dfa844 [headlabel="1", labeldistance=1.5 headhref="dir_000002_000006.html"]; + dir_941490de56ac122cf77df9922cbcc750->dir_e6d96184223881d115efa44ca0dfa844 [headlabel="8", labeldistance=1.5 headhref="dir_000005_000006.html"]; + dir_941490de56ac122cf77df9922cbcc750->dir_f50aa5156fe016a259583c412dbf440c [headlabel="4", labeldistance=1.5 headhref="dir_000005_000004.html"]; +} diff --git a/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a.html b/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a.html new file mode 100644 index 0000000..a5f22bb --- /dev/null +++ b/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a.html @@ -0,0 +1,141 @@ + + + + + + + +IntelliPhoto: src/Tool Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Tool Directory Reference
+
+ +
+ + + + diff --git a/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a.js b/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a.js new file mode 100644 index 0000000..73f5795 --- /dev/null +++ b/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a.js @@ -0,0 +1,39 @@ +var dir_858355f3357c73763e566ff49d1e6a7a = +[ + [ "IntelliTool.cpp", "_intelli_tool_8cpp.html", null ], + [ "IntelliTool.h", "_intelli_tool_8h.html", [ + [ "IntelliTool", "class_intelli_tool.html", "class_intelli_tool" ] + ] ], + [ "IntelliToolCircle.cpp", "_intelli_tool_circle_8cpp.html", null ], + [ "IntelliToolCircle.h", "_intelli_tool_circle_8h.html", [ + [ "IntelliToolCircle", "class_intelli_tool_circle.html", "class_intelli_tool_circle" ] + ] ], + [ "IntelliToolFloodFill.cpp", "_intelli_tool_flood_fill_8cpp.html", null ], + [ "IntelliToolFloodFill.h", "_intelli_tool_flood_fill_8h.html", [ + [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", "class_intelli_tool_flood_fill" ] + ] ], + [ "IntelliToolGradient.cpp", "_intelli_tool_gradient_8cpp.html", null ], + [ "IntelliToolGradient.h", "_intelli_tool_gradient_8h.html", [ + [ "IntelliToolGradient", "class_intelli_tool_gradient.html", "class_intelli_tool_gradient" ] + ] ], + [ "IntelliToolLine.cpp", "_intelli_tool_line_8cpp.html", null ], + [ "IntelliToolLine.h", "_intelli_tool_line_8h.html", [ + [ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ] + ] ], + [ "IntelliToolPen.cpp", "_intelli_tool_pen_8cpp.html", null ], + [ "IntelliToolPen.h", "_intelli_tool_pen_8h.html", [ + [ "IntelliToolPen", "class_intelli_tool_pen.html", "class_intelli_tool_pen" ] + ] ], + [ "IntelliToolPlain.cpp", "_intelli_tool_plain_8cpp.html", null ], + [ "IntelliToolPlain.h", "_intelli_tool_plain_8h.html", [ + [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", "class_intelli_tool_plain_tool" ] + ] ], + [ "IntelliToolPolygon.cpp", "_intelli_tool_polygon_8cpp.html", null ], + [ "IntelliToolPolygon.h", "_intelli_tool_polygon_8h.html", [ + [ "IntelliToolPolygon", "class_intelli_tool_polygon.html", "class_intelli_tool_polygon" ] + ] ], + [ "IntelliToolRectangle.cpp", "_intelli_tool_rectangle_8cpp.html", null ], + [ "IntelliToolRectangle.h", "_intelli_tool_rectangle_8h.html", [ + [ "IntelliToolRectangle", "class_intelli_tool_rectangle.html", "class_intelli_tool_rectangle" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a_dep.dot b/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a_dep.dot new file mode 100644 index 0000000..7b3fd36 --- /dev/null +++ b/docs-src/html/dir_858355f3357c73763e566ff49d1e6a7a_dep.dot @@ -0,0 +1,15 @@ +digraph "src/Tool" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"] + dir_858355f3357c73763e566ff49d1e6a7a [shape=box, label="Tool", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_858355f3357c73763e566ff49d1e6a7a.html"]; + } + dir_13830bfc3dd6736fe878600c9081919f [shape=box label="Layer" URL="dir_13830bfc3dd6736fe878600c9081919f.html"]; + dir_8de6078cba2a961961818cf80b28fd4f [shape=box label="IntelliHelper" URL="dir_8de6078cba2a961961818cf80b28fd4f.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_858355f3357c73763e566ff49d1e6a7a [headlabel="4", labeldistance=1.5 headhref="dir_000005_000004.html"]; + dir_13830bfc3dd6736fe878600c9081919f->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="1", labeldistance=1.5 headhref="dir_000005_000003.html"]; + dir_858355f3357c73763e566ff49d1e6a7a->dir_13830bfc3dd6736fe878600c9081919f [headlabel="4", labeldistance=1.5 headhref="dir_000004_000005.html"]; + dir_858355f3357c73763e566ff49d1e6a7a->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="2", labeldistance=1.5 headhref="dir_000004_000003.html"]; +} diff --git a/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html b/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html new file mode 100644 index 0000000..feccf2d --- /dev/null +++ b/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html @@ -0,0 +1,111 @@ + + + + + + + +IntelliPhoto: intelliphoto Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
intelliphoto Directory Reference
+
+
+ + + + +

+Directories

directory  src
 
+
+
+ + + + diff --git a/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.js b/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.js new file mode 100644 index 0000000..ba36692 --- /dev/null +++ b/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.js @@ -0,0 +1,4 @@ +var dir_8db5f55022e7670536cbc9a6a1d6f01c = +[ + [ "src", "dir_83a4347d11f2ba6343d546ab133722d2.html", "dir_83a4347d11f2ba6343d546ab133722d2" ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c_dep.dot b/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c_dep.dot new file mode 100644 index 0000000..35e43de --- /dev/null +++ b/docs-src/html/dir_8db5f55022e7670536cbc9a6a1d6f01c_dep.dot @@ -0,0 +1,10 @@ +digraph "intelliphoto" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_8db5f55022e7670536cbc9a6a1d6f01c { + graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_8db5f55022e7670536cbc9a6a1d6f01c.html"]; + dir_8db5f55022e7670536cbc9a6a1d6f01c [shape=plaintext label="intelliphoto"]; + dir_83a4347d11f2ba6343d546ab133722d2 [shape=box label="src" color="red" fillcolor="white" style="filled" URL="dir_83a4347d11f2ba6343d546ab133722d2.html"]; + } +} diff --git a/docs-src/html/dir_8de6078cba2a961961818cf80b28fd4f.html b/docs-src/html/dir_8de6078cba2a961961818cf80b28fd4f.html new file mode 100644 index 0000000..603b627 --- /dev/null +++ b/docs-src/html/dir_8de6078cba2a961961818cf80b28fd4f.html @@ -0,0 +1,125 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliHelper Directory Reference
+
+ +
+ + + + diff --git a/docs-src/html/dir_8de6078cba2a961961818cf80b28fd4f.js b/docs-src/html/dir_8de6078cba2a961961818cf80b28fd4f.js new file mode 100644 index 0000000..f9f1ee4 --- /dev/null +++ b/docs-src/html/dir_8de6078cba2a961961818cf80b28fd4f.js @@ -0,0 +1,19 @@ +var dir_8de6078cba2a961961818cf80b28fd4f = +[ + [ "IntelliColorPicker.cpp", "_intelli_color_picker_8cpp.html", null ], + [ "IntelliColorPicker.h", "_intelli_color_picker_8h.html", [ + [ "IntelliColorPicker", "class_intelli_color_picker.html", "class_intelli_color_picker" ] + ] ], + [ "IntelliDatamanager.cpp", "_intelli_datamanager_8cpp.html", null ], + [ "IntelliDatamanager.h", "_intelli_datamanager_8h.html", "_intelli_datamanager_8h" ], + [ "IntelliRenderSettings.cpp", "_intelli_render_settings_8cpp.html", null ], + [ "IntelliRenderSettings.h", "_intelli_render_settings_8h.html", [ + [ "IntelliRenderSettings", "class_intelli_render_settings.html", "class_intelli_render_settings" ] + ] ], + [ "IntelliToolsettings.cpp", "_intelli_toolsettings_8cpp.html", null ], + [ "IntelliToolsettings.h", "_intelli_toolsettings_8h.html", [ + [ "IntelliToolsettings", "class_intelli_toolsettings.html", "class_intelli_toolsettings" ] + ] ], + [ "IntelliTriangulation.cpp", "_intelli_triangulation_8cpp.html", "_intelli_triangulation_8cpp" ], + [ "IntelliTriangulation.h", "_intelli_triangulation_8h.html", "_intelli_triangulation_8h" ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_941490de56ac122cf77df9922cbcc750.html b/docs-src/html/dir_941490de56ac122cf77df9922cbcc750.html new file mode 100644 index 0000000..5ea229b --- /dev/null +++ b/docs-src/html/dir_941490de56ac122cf77df9922cbcc750.html @@ -0,0 +1,143 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Tool Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Tool Directory Reference
+
+ +
+ + + + diff --git a/docs-src/html/dir_941490de56ac122cf77df9922cbcc750.js b/docs-src/html/dir_941490de56ac122cf77df9922cbcc750.js new file mode 100644 index 0000000..763beb5 --- /dev/null +++ b/docs-src/html/dir_941490de56ac122cf77df9922cbcc750.js @@ -0,0 +1,36 @@ +var dir_941490de56ac122cf77df9922cbcc750 = +[ + [ "IntelliColorPicker.cpp", "_tool_2_intelli_color_picker_8cpp.html", null ], + [ "IntelliTool.cpp", "_intelli_tool_8cpp.html", null ], + [ "IntelliTool.h", "_intelli_tool_8h.html", [ + [ "IntelliTool", "class_intelli_tool.html", "class_intelli_tool" ] + ] ], + [ "IntelliToolCircle.cpp", "_intelli_tool_circle_8cpp.html", null ], + [ "IntelliToolCircle.h", "_intelli_tool_circle_8h.html", [ + [ "IntelliToolCircle", "class_intelli_tool_circle.html", "class_intelli_tool_circle" ] + ] ], + [ "IntelliToolFloodFill.cpp", "_intelli_tool_flood_fill_8cpp.html", null ], + [ "IntelliToolFloodFill.h", "_intelli_tool_flood_fill_8h.html", [ + [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", "class_intelli_tool_flood_fill" ] + ] ], + [ "IntelliToolLine.cpp", "_intelli_tool_line_8cpp.html", null ], + [ "IntelliToolLine.h", "_intelli_tool_line_8h.html", [ + [ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ] + ] ], + [ "IntelliToolPen.cpp", "_intelli_tool_pen_8cpp.html", null ], + [ "IntelliToolPen.h", "_intelli_tool_pen_8h.html", [ + [ "IntelliToolPen", "class_intelli_tool_pen.html", "class_intelli_tool_pen" ] + ] ], + [ "IntelliToolPlain.cpp", "_intelli_tool_plain_8cpp.html", null ], + [ "IntelliToolPlain.h", "_intelli_tool_plain_8h.html", [ + [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", "class_intelli_tool_plain_tool" ] + ] ], + [ "IntelliToolPolygon.cpp", "_intelli_tool_polygon_8cpp.html", null ], + [ "IntelliToolPolygon.h", "_intelli_tool_polygon_8h.html", [ + [ "IntelliToolPolygon", "class_intelli_tool_polygon.html", "class_intelli_tool_polygon" ] + ] ], + [ "IntelliToolRectangle.cpp", "_intelli_tool_rectangle_8cpp.html", null ], + [ "IntelliToolRectangle.h", "_intelli_tool_rectangle_8h.html", [ + [ "IntelliToolRectangle", "class_intelli_tool_rectangle.html", "class_intelli_tool_rectangle" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_941490de56ac122cf77df9922cbcc750_dep.dot b/docs-src/html/dir_941490de56ac122cf77df9922cbcc750_dep.dot new file mode 100644 index 0000000..e1afe26 --- /dev/null +++ b/docs-src/html/dir_941490de56ac122cf77df9922cbcc750_dep.dot @@ -0,0 +1,15 @@ +digraph "intelliphoto/src/Tool" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_83a4347d11f2ba6343d546ab133722d2 { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_83a4347d11f2ba6343d546ab133722d2.html"] + dir_941490de56ac122cf77df9922cbcc750 [shape=box, label="Tool", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_941490de56ac122cf77df9922cbcc750.html"]; + } + dir_e6d96184223881d115efa44ca0dfa844 [shape=box label="Layer" URL="dir_e6d96184223881d115efa44ca0dfa844.html"]; + dir_f50aa5156fe016a259583c412dbf440c [shape=box label="IntelliHelper" URL="dir_f50aa5156fe016a259583c412dbf440c.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_f50aa5156fe016a259583c412dbf440c [headlabel="1", labeldistance=1.5 headhref="dir_000006_000004.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_941490de56ac122cf77df9922cbcc750 [headlabel="8", labeldistance=1.5 headhref="dir_000006_000005.html"]; + dir_941490de56ac122cf77df9922cbcc750->dir_e6d96184223881d115efa44ca0dfa844 [headlabel="8", labeldistance=1.5 headhref="dir_000005_000006.html"]; + dir_941490de56ac122cf77df9922cbcc750->dir_f50aa5156fe016a259583c412dbf440c [headlabel="4", labeldistance=1.5 headhref="dir_000005_000004.html"]; +} diff --git a/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844.html b/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844.html new file mode 100644 index 0000000..67d4961 --- /dev/null +++ b/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844.html @@ -0,0 +1,113 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/Layer Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Layer Directory Reference
+
+
+ + + + + + +

+Files

file  PaintingArea.cpp [code]
 
file  PaintingArea.h [code]
 
+
+
+ + + + diff --git a/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844.js b/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844.js new file mode 100644 index 0000000..c511455 --- /dev/null +++ b/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844.js @@ -0,0 +1,8 @@ +var dir_e6d96184223881d115efa44ca0dfa844 = +[ + [ "PaintingArea.cpp", "_painting_area_8cpp.html", null ], + [ "PaintingArea.h", "_painting_area_8h.html", [ + [ "LayerObject", "struct_layer_object.html", "struct_layer_object" ], + [ "PaintingArea", "class_painting_area.html", "class_painting_area" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844_dep.dot b/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844_dep.dot new file mode 100644 index 0000000..1043121 --- /dev/null +++ b/docs-src/html/dir_e6d96184223881d115efa44ca0dfa844_dep.dot @@ -0,0 +1,21 @@ +digraph "intelliphoto/src/Layer" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_83a4347d11f2ba6343d546ab133722d2 { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_83a4347d11f2ba6343d546ab133722d2.html"] + dir_e6d96184223881d115efa44ca0dfa844 [shape=box, label="Layer", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_e6d96184223881d115efa44ca0dfa844.html"]; + } + dir_544f9dcb748f922e4bb3be2540380bf2 [shape=box label="Image" URL="dir_544f9dcb748f922e4bb3be2540380bf2.html"]; + dir_f50aa5156fe016a259583c412dbf440c [shape=box label="IntelliHelper" URL="dir_f50aa5156fe016a259583c412dbf440c.html"]; + dir_5dabb14988a75c922e285f444641a133 [shape=box label="GUI" URL="dir_5dabb14988a75c922e285f444641a133.html"]; + dir_941490de56ac122cf77df9922cbcc750 [shape=box label="Tool" URL="dir_941490de56ac122cf77df9922cbcc750.html"]; + dir_544f9dcb748f922e4bb3be2540380bf2->dir_f50aa5156fe016a259583c412dbf440c [headlabel="3", labeldistance=1.5 headhref="dir_000003_000004.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_544f9dcb748f922e4bb3be2540380bf2 [headlabel="5", labeldistance=1.5 headhref="dir_000006_000003.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_f50aa5156fe016a259583c412dbf440c [headlabel="1", labeldistance=1.5 headhref="dir_000006_000004.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_5dabb14988a75c922e285f444641a133 [headlabel="1", labeldistance=1.5 headhref="dir_000006_000002.html"]; + dir_e6d96184223881d115efa44ca0dfa844->dir_941490de56ac122cf77df9922cbcc750 [headlabel="8", labeldistance=1.5 headhref="dir_000006_000005.html"]; + dir_5dabb14988a75c922e285f444641a133->dir_e6d96184223881d115efa44ca0dfa844 [headlabel="1", labeldistance=1.5 headhref="dir_000002_000006.html"]; + dir_941490de56ac122cf77df9922cbcc750->dir_e6d96184223881d115efa44ca0dfa844 [headlabel="8", labeldistance=1.5 headhref="dir_000005_000006.html"]; + dir_941490de56ac122cf77df9922cbcc750->dir_f50aa5156fe016a259583c412dbf440c [headlabel="4", labeldistance=1.5 headhref="dir_000005_000004.html"]; +} diff --git a/docs-src/html/dir_f50aa5156fe016a259583c412dbf440c.html b/docs-src/html/dir_f50aa5156fe016a259583c412dbf440c.html new file mode 100644 index 0000000..a4a3593 --- /dev/null +++ b/docs-src/html/dir_f50aa5156fe016a259583c412dbf440c.html @@ -0,0 +1,125 @@ + + + + + + + +IntelliPhoto: intelliphoto/src/IntelliHelper Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliHelper Directory Reference
+
+ +
+ + + + diff --git a/docs-src/html/dir_f50aa5156fe016a259583c412dbf440c.js b/docs-src/html/dir_f50aa5156fe016a259583c412dbf440c.js new file mode 100644 index 0000000..55b1bfe --- /dev/null +++ b/docs-src/html/dir_f50aa5156fe016a259583c412dbf440c.js @@ -0,0 +1,17 @@ +var dir_f50aa5156fe016a259583c412dbf440c = +[ + [ "IntelliColorPicker.cpp", "_intelli_helper_2_intelli_color_picker_8cpp.html", null ], + [ "IntelliColorPicker.h", "_intelli_color_picker_8h.html", [ + [ "IntelliColorPicker", "class_intelli_color_picker.html", "class_intelli_color_picker" ] + ] ], + [ "IntelliRenderSettings.cpp", "_intelli_render_settings_8cpp.html", null ], + [ "IntelliRenderSettings.h", "_intelli_render_settings_8h.html", [ + [ "IntelliRenderSettings", "class_intelli_render_settings.html", "class_intelli_render_settings" ] + ] ], + [ "IntelliToolsettings.cpp", "_intelli_toolsettings_8cpp.html", null ], + [ "IntelliToolsettings.h", "_intelli_toolsettings_8h.html", [ + [ "IntelliToolsettings", "class_intelli_toolsettings.html", "class_intelli_toolsettings" ] + ] ], + [ "IntelliTriangulation.cpp", "_intelli_triangulation_8cpp.html", "_intelli_triangulation_8cpp" ], + [ "IntelliTriangulation.h", "_intelli_triangulation_8h.html", "_intelli_triangulation_8h" ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html b/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html new file mode 100644 index 0000000..ae89bf5 --- /dev/null +++ b/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html @@ -0,0 +1,117 @@ + + + + + + + +IntelliPhoto: src/Image Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Image Directory Reference
+
+ +
+ + + + diff --git a/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.js b/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.js new file mode 100644 index 0000000..fe8f755 --- /dev/null +++ b/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.js @@ -0,0 +1,13 @@ +var dir_fdbdd9841f9a730f284bb666ff3d8cfe = +[ + [ "IntelliImage.cpp", "_intelli_image_8cpp.html", null ], + [ "IntelliImage.h", "_intelli_image_8h.html", "_intelli_image_8h" ], + [ "IntelliRasterImage.cpp", "_intelli_raster_image_8cpp.html", null ], + [ "IntelliRasterImage.h", "_intelli_raster_image_8h.html", [ + [ "IntelliRasterImage", "class_intelli_raster_image.html", "class_intelli_raster_image" ] + ] ], + [ "IntelliShapedImage.cpp", "_intelli_shaped_image_8cpp.html", null ], + [ "IntelliShapedImage.h", "_intelli_shaped_image_8h.html", [ + [ "IntelliShapedImage", "class_intelli_shaped_image.html", "class_intelli_shaped_image" ] + ] ] +]; \ No newline at end of file diff --git a/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe_dep.dot b/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe_dep.dot new file mode 100644 index 0000000..8331018 --- /dev/null +++ b/docs-src/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe_dep.dot @@ -0,0 +1,11 @@ +digraph "src/Image" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"] + dir_fdbdd9841f9a730f284bb666ff3d8cfe [shape=box, label="Image", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_fdbdd9841f9a730f284bb666ff3d8cfe.html"]; + } + dir_8de6078cba2a961961818cf80b28fd4f [shape=box label="IntelliHelper" URL="dir_8de6078cba2a961961818cf80b28fd4f.html"]; + dir_fdbdd9841f9a730f284bb666ff3d8cfe->dir_8de6078cba2a961961818cf80b28fd4f [headlabel="1", labeldistance=1.5 headhref="dir_000002_000003.html"]; +} diff --git a/docs-src/html/doc.png b/docs-src/html/doc.png new file mode 100644 index 0000000..8c3c029 Binary files /dev/null and b/docs-src/html/doc.png differ diff --git a/docs-src/html/doxygen.css b/docs-src/html/doxygen.css new file mode 100644 index 0000000..0c19cbf --- /dev/null +++ b/docs-src/html/doxygen.css @@ -0,0 +1,1771 @@ +/* The standard CSS for doxygen 1.8.17 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #747878; + color: #222323; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, p.intertd, p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #E5E6E6; + border: 1px solid #909394; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #2B2D2D; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #393B3C; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #888C8D; + color: #FFFEFE; + border: 1px double #737777; +} + +.contents a.qindexHL:visited { + color: #FFFEFE; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #393B3C; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #393B3C; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #B5B7B7; + background-color: #FAFAFA; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FAFAFA; + border: 1px solid #B5B7B7; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFEFE; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #E5E6E6; + font-weight: bold; + border: 1px solid #B5B7B7; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #E5E6E6; + border: 1px solid #B5B7B7; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #E8E9E9; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F4F4F4; + border-left: 2px solid #888C8D; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #888C8D; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #909394; +} + +th.dirtab { + background: #E5E6E6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #3F4141; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F7F7F7; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #D3D5D5; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: #393B3C; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #959899; + border-left: 1px solid #959899; + border-right: 1px solid #959899; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #D9DADB; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #393B3C; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #E5E6E6; + border: 1px solid #909394; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #959899; + border-left: 1px solid #959899; + border-right: 1px solid #959899; + padding: 6px 0px 6px 0px; + color: #111112; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #D5D6D6; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #959899; + border-left: 1px solid #959899; + border-right: 1px solid #959899; + padding: 6px 10px 2px 10px; + background-color: #FAFAFA; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFEFE; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #616465; + border-top:1px solid #484B4B; + border-left:1px solid #484B4B; + border-right:1px solid #B5B7B7; + border-bottom:1px solid #B5B7B7; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #888C8D; + border-bottom: 1px solid #888C8D; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F4F4F4; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #2B2D2D; +} + +.arrow { + color: #888C8D; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #616465; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #161717; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #19191A; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #242626; + color: #FFFEFE; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #959899; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #959899; + border-bottom: 1px solid #959899; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #959899; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #D9DADB; + font-size: 90%; + color: #111112; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #959899; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#767A7B; + border:solid 1px #B2B4B5; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#232424; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #141515; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#585C5C; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#232424; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F7F7F7; + margin: 0px; + border-bottom: 1px solid #B5B7B7; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #484B4B; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #7C8081; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#1F2020; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F1F1F1; + border: 1px solid #CCCECE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #393B3C; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFEFE; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFEFE; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFEFE; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFEFE; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #19191A; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #19191A; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #242626; + color: #FFFEFE; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #19191A; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #242626; + color: #FFFEFE; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/docs-src/html/doxygen.png b/docs-src/html/doxygen.png new file mode 100644 index 0000000..a83d026 Binary files /dev/null and b/docs-src/html/doxygen.png differ diff --git a/docs-src/html/dynsections.js b/docs-src/html/dynsections.js new file mode 100644 index 0000000..c8e84aa --- /dev/null +++ b/docs-src/html/dynsections.js @@ -0,0 +1,127 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + + +IntelliPhoto: File List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs-src/html/files_dup.js b/docs-src/html/files_dup.js new file mode 100644 index 0000000..c3b39c4 --- /dev/null +++ b/docs-src/html/files_dup.js @@ -0,0 +1,4 @@ +var files_dup = +[ + [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ] +]; \ No newline at end of file diff --git a/docs-src/html/folderclosed.png b/docs-src/html/folderclosed.png new file mode 100644 index 0000000..c1a50d3 Binary files /dev/null and b/docs-src/html/folderclosed.png differ diff --git a/docs-src/html/folderopen.png b/docs-src/html/folderopen.png new file mode 100644 index 0000000..aba59c0 Binary files /dev/null and b/docs-src/html/folderopen.png differ diff --git a/docs-src/html/functions.html b/docs-src/html/functions.html new file mode 100644 index 0000000..adbb240 --- /dev/null +++ b/docs-src/html/functions.html @@ -0,0 +1,121 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- a -

+
+
+ + + + diff --git a/docs-src/html/functions_b.html b/docs-src/html/functions_b.html new file mode 100644 index 0000000..bb9397f --- /dev/null +++ b/docs-src/html/functions_b.html @@ -0,0 +1,103 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- b -

+
+
+ + + + diff --git a/docs-src/html/functions_c.html b/docs-src/html/functions_c.html new file mode 100644 index 0000000..21c94f9 --- /dev/null +++ b/docs-src/html/functions_c.html @@ -0,0 +1,150 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- c -

+
+
+ + + + diff --git a/docs-src/html/functions_d.html b/docs-src/html/functions_d.html new file mode 100644 index 0000000..f746a65 --- /dev/null +++ b/docs-src/html/functions_d.html @@ -0,0 +1,121 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- d -

+
+
+ + + + diff --git a/docs-src/html/functions_dup.js b/docs-src/html/functions_dup.js new file mode 100644 index 0000000..9d48199 --- /dev/null +++ b/docs-src/html/functions_dup.js @@ -0,0 +1,21 @@ +var functions_dup = +[ + [ "a", "functions.html", null ], + [ "b", "functions_b.html", null ], + [ "c", "functions_c.html", null ], + [ "d", "functions_d.html", null ], + [ "f", "functions_f.html", null ], + [ "g", "functions_g.html", null ], + [ "h", "functions_h.html", null ], + [ "i", "functions_i.html", null ], + [ "l", "functions_l.html", null ], + [ "m", "functions_m.html", null ], + [ "o", "functions_o.html", null ], + [ "p", "functions_p.html", null ], + [ "r", "functions_r.html", null ], + [ "s", "functions_s.html", null ], + [ "t", "functions_t.html", null ], + [ "u", "functions_u.html", null ], + [ "w", "functions_w.html", null ], + [ "~", "functions_~.html", null ] +]; \ No newline at end of file diff --git a/docs-src/html/functions_enum.html b/docs-src/html/functions_enum.html new file mode 100644 index 0000000..a0d6752 --- /dev/null +++ b/docs-src/html/functions_enum.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: Class Members - Enumerations + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs-src/html/functions_f.html b/docs-src/html/functions_f.html new file mode 100644 index 0000000..b4f86bc --- /dev/null +++ b/docs-src/html/functions_f.html @@ -0,0 +1,103 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- f -

+
+
+ + + + diff --git a/docs-src/html/functions_func.html b/docs-src/html/functions_func.html new file mode 100644 index 0000000..2352bd9 --- /dev/null +++ b/docs-src/html/functions_func.html @@ -0,0 +1,595 @@ + + + + + + + +IntelliPhoto: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- c -

+ + +

- d -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+ + +

- w -

+ + +

- ~ -

+
+
+ + + + diff --git a/docs-src/html/functions_g.html b/docs-src/html/functions_g.html new file mode 100644 index 0000000..bb2925d --- /dev/null +++ b/docs-src/html/functions_g.html @@ -0,0 +1,187 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- g -

+
+
+ + + + diff --git a/docs-src/html/functions_h.html b/docs-src/html/functions_h.html new file mode 100644 index 0000000..42d0369 --- /dev/null +++ b/docs-src/html/functions_h.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- h -

+
+
+ + + + diff --git a/docs-src/html/functions_i.html b/docs-src/html/functions_i.html new file mode 100644 index 0000000..8ec4351 --- /dev/null +++ b/docs-src/html/functions_i.html @@ -0,0 +1,166 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- i -

+
+
+ + + + diff --git a/docs-src/html/functions_l.html b/docs-src/html/functions_l.html new file mode 100644 index 0000000..465a15b --- /dev/null +++ b/docs-src/html/functions_l.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- l -

+
+
+ + + + diff --git a/docs-src/html/functions_m.html b/docs-src/html/functions_m.html new file mode 100644 index 0000000..c9da406 --- /dev/null +++ b/docs-src/html/functions_m.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- m -

+
+
+ + + + diff --git a/docs-src/html/functions_o.html b/docs-src/html/functions_o.html new file mode 100644 index 0000000..5b481da --- /dev/null +++ b/docs-src/html/functions_o.html @@ -0,0 +1,169 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs-src/html/functions_p.html b/docs-src/html/functions_p.html new file mode 100644 index 0000000..cf51c30 --- /dev/null +++ b/docs-src/html/functions_p.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- p -

+
+
+ + + + diff --git a/docs-src/html/functions_r.html b/docs-src/html/functions_r.html new file mode 100644 index 0000000..2bbbb78 --- /dev/null +++ b/docs-src/html/functions_r.html @@ -0,0 +1,103 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- r -

+
+
+ + + + diff --git a/docs-src/html/functions_s.html b/docs-src/html/functions_s.html new file mode 100644 index 0000000..64bf321 --- /dev/null +++ b/docs-src/html/functions_s.html @@ -0,0 +1,160 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- s -

+
+
+ + + + diff --git a/docs-src/html/functions_t.html b/docs-src/html/functions_t.html new file mode 100644 index 0000000..799d955 --- /dev/null +++ b/docs-src/html/functions_t.html @@ -0,0 +1,110 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- t -

+
+
+ + + + diff --git a/docs-src/html/functions_u.html b/docs-src/html/functions_u.html new file mode 100644 index 0000000..694c809 --- /dev/null +++ b/docs-src/html/functions_u.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- u -

+
+
+ + + + diff --git a/docs-src/html/functions_vars.html b/docs-src/html/functions_vars.html new file mode 100644 index 0000000..fe2304f --- /dev/null +++ b/docs-src/html/functions_vars.html @@ -0,0 +1,160 @@ + + + + + + + +IntelliPhoto: Class Members - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs-src/html/functions_w.html b/docs-src/html/functions_w.html new file mode 100644 index 0000000..fe84aa9 --- /dev/null +++ b/docs-src/html/functions_w.html @@ -0,0 +1,109 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- w -

+
+
+ + + + diff --git a/docs-src/html/functions_~.html b/docs-src/html/functions_~.html new file mode 100644 index 0000000..7ea332d --- /dev/null +++ b/docs-src/html/functions_~.html @@ -0,0 +1,148 @@ + + + + + + + +IntelliPhoto: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- ~ -

+
+
+ + + + diff --git a/docs-src/html/globals.html b/docs-src/html/globals.html new file mode 100644 index 0000000..b8e0d2d --- /dev/null +++ b/docs-src/html/globals.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all file members with links to the files they belong to:
+
+
+ + + + diff --git a/docs-src/html/globals_defs.html b/docs-src/html/globals_defs.html new file mode 100644 index 0000000..8e4d353 --- /dev/null +++ b/docs-src/html/globals_defs.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs-src/html/globals_enum.html b/docs-src/html/globals_enum.html new file mode 100644 index 0000000..55e7481 --- /dev/null +++ b/docs-src/html/globals_enum.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs-src/html/globals_func.html b/docs-src/html/globals_func.html new file mode 100644 index 0000000..78a76ec --- /dev/null +++ b/docs-src/html/globals_func.html @@ -0,0 +1,101 @@ + + + + + + + +IntelliPhoto: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs-src/html/graph_legend.dot b/docs-src/html/graph_legend.dot new file mode 100644 index 0000000..3b0e746 --- /dev/null +++ b/docs-src/html/graph_legend.dot @@ -0,0 +1,23 @@ +digraph "Graph Legend" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node9 [shape="box",label="Inherited",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",fillcolor="grey75",style="filled" fontcolor="black"]; + Node10 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [shape="box",label="PublicBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classPublicBase.html"]; + Node11 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [shape="box",label="Truncated",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="red",URL="$classTruncated.html"]; + Node13 -> Node9 [dir="back",color="darkgreen",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [shape="box",label="ProtectedBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classProtectedBase.html"]; + Node14 -> Node9 [dir="back",color="firebrick4",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [shape="box",label="PrivateBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classPrivateBase.html"]; + Node15 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [shape="box",label="Undocumented",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="grey75"]; + Node16 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [shape="box",label="Templ< int >",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classTempl.html"]; + Node17 -> Node16 [dir="back",color="orange",fontsize="10",style="dashed",label="< int >",fontname="Helvetica"]; + Node17 [shape="box",label="Templ< T >",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classTempl.html"]; + Node18 -> Node9 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label="m_usedClass",fontname="Helvetica"]; + Node18 [shape="box",label="Used",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classUsed.html"]; +} diff --git a/docs-src/html/graph_legend.html b/docs-src/html/graph_legend.html new file mode 100644 index 0000000..c07e6b7 --- /dev/null +++ b/docs-src/html/graph_legend.html @@ -0,0 +1,164 @@ + + + + + + + +IntelliPhoto: Graph Legend + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Graph Legend
+
+
+

This page explains how to interpret the graphs that are generated by doxygen.

+

Consider the following example:

/*! Invisible class because of truncation */
+
class Invisible { };
+
+
/*! Truncated class, inheritance relation is hidden */
+
class Truncated : public Invisible { };
+
+
/* Class not documented with doxygen comments */
+
class Undocumented { };
+
+
/*! Class that is inherited using public inheritance */
+
class PublicBase : public Truncated { };
+
+
/*! A template class */
+
template<class T> class Templ { };
+
+
/*! Class that is inherited using protected inheritance */
+
class ProtectedBase { };
+
+
/*! Class that is inherited using private inheritance */
+
class PrivateBase { };
+
+
/*! Class that is used by the Inherited class */
+
class Used { };
+
+
/*! Super class that inherits a number of other classes */
+
class Inherited : public PublicBase,
+
protected ProtectedBase,
+
private PrivateBase,
+
public Undocumented,
+
public Templ<int>
+
{
+
private:
+
Used *m_usedClass;
+
};
+

This will result in the following graph:

+

The boxes in the above graph have the following meaning:

+
    +
  • +A filled gray box represents the struct or class for which the graph is generated.
  • +
  • +A box with a black border denotes a documented struct or class.
  • +
  • +A box with a gray border denotes an undocumented struct or class.
  • +
  • +A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • +
+

The arrows have the following meaning:

+
    +
  • +A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • +
  • +A dark green arrow is used for protected inheritance.
  • +
  • +A dark red arrow is used for private inheritance.
  • +
  • +A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible.
  • +
  • +A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance.
  • +
+
+
+ + + + diff --git a/docs-src/html/hierarchy.html b/docs-src/html/hierarchy.html new file mode 100644 index 0000000..ed43c38 --- /dev/null +++ b/docs-src/html/hierarchy.html @@ -0,0 +1,129 @@ + + + + + + + +IntelliPhoto: Class Hierarchy + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + + +
 CIntelliColorPickerThe IntelliColorPicker manages the selected colors for one whole project
 CIntelliImageAn abstract class which manages the basic IntelliImage operations
 CIntelliRasterImageThe IntelliRasterImage manages a RASTERIMAGE
 CIntelliShapedImageThe IntelliShapedImage manages a Shapedimage
 CIntelliRenderSettingsWhich manages the render Settings
 CIntelliToolAn abstract class that manages the basic events, like mouse clicks or scrolls events
 CIntelliToolCircleTool to draw a circle
 CIntelliToolFloodFillTool to flood FIll a certian area
 CIntelliToolGradientThat represents a gradient call
 CIntelliToolLineThe IntelliToolFloodFill class represents a tool to draw a line
 CIntelliToolPenTool to draw a line
 CIntelliToolPlainToolTool to fill the whole canvas with one color
 CIntelliToolPolygonThe IntelliToolPolygon managed the Drawing of Polygonforms
 CIntelliToolRectangleTool to draw a rectangle
 CIntelliToolsettingsManaging the settings of the tools, independent of an existing tool
 CLayerObjectThe LayerObject struct holds all the information needed to construct a layer
 CQDialog
 CIntelliInputDialogCustomized Input Dialog to get Integers
 CQLabel
 CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project
 CQMainWindow
 CIntelliPhotoGuiThe IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program
 CQObject
 CUnitTest
 CTriangleThe Triangle struct holds the 3 vertices of a triangle
+
+
+
+ + + + diff --git a/docs-src/html/hierarchy.js b/docs-src/html/hierarchy.js new file mode 100644 index 0000000..3abff8f --- /dev/null +++ b/docs-src/html/hierarchy.js @@ -0,0 +1,35 @@ +var hierarchy = +[ + [ "IntelliColorPicker", "class_intelli_color_picker.html", null ], + [ "IntelliImage", "class_intelli_image.html", [ + [ "IntelliRasterImage", "class_intelli_raster_image.html", [ + [ "IntelliShapedImage", "class_intelli_shaped_image.html", null ] + ] ] + ] ], + [ "IntelliRenderSettings", "class_intelli_render_settings.html", null ], + [ "IntelliTool", "class_intelli_tool.html", [ + [ "IntelliToolCircle", "class_intelli_tool_circle.html", null ], + [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", null ], + [ "IntelliToolGradient", "class_intelli_tool_gradient.html", null ], + [ "IntelliToolLine", "class_intelli_tool_line.html", null ], + [ "IntelliToolPen", "class_intelli_tool_pen.html", null ], + [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", null ], + [ "IntelliToolPolygon", "class_intelli_tool_polygon.html", null ], + [ "IntelliToolRectangle", "class_intelli_tool_rectangle.html", null ] + ] ], + [ "IntelliToolsettings", "class_intelli_toolsettings.html", null ], + [ "LayerObject", "struct_layer_object.html", null ], + [ "QDialog", null, [ + [ "IntelliInputDialog", "class_intelli_input_dialog.html", null ] + ] ], + [ "QLabel", null, [ + [ "PaintingArea", "class_painting_area.html", null ] + ] ], + [ "QMainWindow", null, [ + [ "IntelliPhotoGui", "class_intelli_photo_gui.html", null ] + ] ], + [ "QObject", null, [ + [ "UnitTest", "class_unit_test.html", null ] + ] ], + [ "Triangle", "struct_triangle.html", null ] +]; \ No newline at end of file diff --git a/docs-src/html/index.html b/docs-src/html/index.html new file mode 100644 index 0000000..62ad9e6 --- /dev/null +++ b/docs-src/html/index.html @@ -0,0 +1,100 @@ + + + + + + + +IntelliPhoto: Main Page + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliPhoto Documentation
+
+
+
+
+ + + + diff --git a/docs-src/html/inherit_graph_0.dot b/docs-src/html/inherit_graph_0.dot new file mode 100644 index 0000000..d4d9922 --- /dev/null +++ b/docs-src/html/inherit_graph_0.dot @@ -0,0 +1,8 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; +} diff --git a/docs-src/html/inherit_graph_1.dot b/docs-src/html/inherit_graph_1.dot new file mode 100644 index 0000000..6670cd8 --- /dev/null +++ b/docs-src/html/inherit_graph_1.dot @@ -0,0 +1,12 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; + Node0 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="IntelliRasterImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_raster_image.html",tooltip="The IntelliRasterImage manages a RASTERIMAGE."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliShapedImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html",tooltip="The IntelliShapedImage manages a Shapedimage."]; +} diff --git a/docs-src/html/inherit_graph_2.dot b/docs-src/html/inherit_graph_2.dot new file mode 100644 index 0000000..5cd3f36 --- /dev/null +++ b/docs-src/html/inherit_graph_2.dot @@ -0,0 +1,10 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node4 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node4 -> Node0 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node0 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html",tooltip="The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program."]; +} diff --git a/docs-src/html/inherit_graph_3.dot b/docs-src/html/inherit_graph_3.dot new file mode 100644 index 0000000..407b5bc --- /dev/null +++ b/docs-src/html/inherit_graph_3.dot @@ -0,0 +1,8 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="IntelliRenderSettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_render_settings.html",tooltip=" "]; +} diff --git a/docs-src/html/inherit_graph_4.dot b/docs-src/html/inherit_graph_4.dot new file mode 100644 index 0000000..ec45d17 --- /dev/null +++ b/docs-src/html/inherit_graph_4.dot @@ -0,0 +1,22 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; + Node0 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html",tooltip="The IntelliToolCircle class represents a tool to draw a circle."]; + Node0 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."]; + Node0 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."]; + Node0 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html",tooltip="The IntelliToolPen class represents a tool to draw a line."]; + Node0 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html",tooltip="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color."]; + Node0 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html",tooltip="The IntelliToolPolygon managed the Drawing of Polygonforms."]; + Node0 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html",tooltip="The IntelliToolRectangle class represents a tool to draw a rectangle."]; +} diff --git a/docs-src/html/inherit_graph_5.dot b/docs-src/html/inherit_graph_5.dot new file mode 100644 index 0000000..5dc8cc6 --- /dev/null +++ b/docs-src/html/inherit_graph_5.dot @@ -0,0 +1,8 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="IntelliToolsettings",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_toolsettings.html",tooltip=" "]; +} diff --git a/docs-src/html/inherit_graph_6.dot b/docs-src/html/inherit_graph_6.dot new file mode 100644 index 0000000..cb85543 --- /dev/null +++ b/docs-src/html/inherit_graph_6.dot @@ -0,0 +1,8 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; +} diff --git a/docs-src/html/inherit_graph_7.dot b/docs-src/html/inherit_graph_7.dot new file mode 100644 index 0000000..88ed036 --- /dev/null +++ b/docs-src/html/inherit_graph_7.dot @@ -0,0 +1,10 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node2 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node0 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node0 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; +} diff --git a/docs-src/html/inherit_graph_8.dot b/docs-src/html/inherit_graph_8.dot new file mode 100644 index 0000000..98844bc --- /dev/null +++ b/docs-src/html/inherit_graph_8.dot @@ -0,0 +1,8 @@ +digraph "Graphical Class Hierarchy" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="Triangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_triangle.html",tooltip="The Triangle struct holds the 3 vertices of a triangle."]; +} diff --git a/docs-src/html/inherits.html b/docs-src/html/inherits.html new file mode 100644 index 0000000..2b1da7e --- /dev/null +++ b/docs-src/html/inherits.html @@ -0,0 +1,126 @@ + + + + + + + +IntelliPhoto: Class Hierarchy + + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+ + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/docs-src/html/jquery.js b/docs-src/html/jquery.js new file mode 100644 index 0000000..103c32d --- /dev/null +++ b/docs-src/html/jquery.js @@ -0,0 +1,35 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element +},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/docs-src/html/main_8cpp.html b/docs-src/html/main_8cpp.html new file mode 100644 index 0000000..67c28a4 --- /dev/null +++ b/docs-src/html/main_8cpp.html @@ -0,0 +1,147 @@ + + + + + + + +IntelliPhoto: src/main.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
main.cpp File Reference
+
+
+
#include "GUI/IntelliPhotoGui.h"
+#include <QApplication>
+#include <QDebug>
+#include <vector>
+#include <fstream>
+
+

Go to the source code of this file.

+ + + + +

+Functions

int main (int argc, char *argv[])
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char * argv[] 
)
+
+ +

Definition at line 7 of file main.cpp.

+ +
+
+
+
+ + + + diff --git a/docs-src/html/main_8cpp.js b/docs-src/html/main_8cpp.js new file mode 100644 index 0000000..783c492 --- /dev/null +++ b/docs-src/html/main_8cpp.js @@ -0,0 +1,4 @@ +var main_8cpp = +[ + [ "main", "main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97", null ] +]; \ No newline at end of file diff --git a/docs-src/html/main_8cpp__incl.dot b/docs-src/html/main_8cpp__incl.dot new file mode 100644 index 0000000..18ed033 --- /dev/null +++ b/docs-src/html/main_8cpp__incl.dot @@ -0,0 +1,33 @@ +digraph "intelliphoto/src/main.cpp" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="intelliphoto/src/main.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="GUI/IntelliPhotoGui.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_photo_gui_8h.html",tooltip=" "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="QtWidgets",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="QPixmap",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="QGridLayout",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="QPushButton",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="QTextEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="QLabel",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node2 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="QLineEdit",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="QApplication",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; +} diff --git a/docs-src/html/main_8cpp_source.html b/docs-src/html/main_8cpp_source.html new file mode 100644 index 0000000..4955140 --- /dev/null +++ b/docs-src/html/main_8cpp_source.html @@ -0,0 +1,119 @@ + + + + + + + +IntelliPhoto: src/main.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
main.cpp
+
+
+Go to the documentation of this file.
1 #include "GUI/IntelliPhotoGui.h"
+
2 #include <QApplication>
+
3 #include <QDebug>
+
4 #include <vector>
+
5 #include <fstream>
+
6 
+
7 int main(int argc, char*argv[]){
+
8  // The main application
+
9  QApplication app(argc, argv);
+
10  // Create and open the main window
+
11  IntelliPhotoGui window;
+
12  window.show();
+
13 
+
14  return app.exec();
+
15 }
+
+
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+ +
int main(int argc, char *argv[])
Definition: main.cpp:7
+ + + + diff --git a/docs-src/html/main_unit_test_8cpp.html b/docs-src/html/main_unit_test_8cpp.html new file mode 100644 index 0000000..9cb0494 --- /dev/null +++ b/docs-src/html/main_unit_test_8cpp.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/mainUnitTest.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
mainUnitTest.cpp File Reference
+
+
+
#include <QtTest>
+#include <string>
+#include "GUI/IntelliPhotoGui.h"
+#include "tst_unittest.moc"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  UnitTest
 
+
+
+ + + + diff --git a/docs-src/html/main_unit_test_8cpp_source.html b/docs-src/html/main_unit_test_8cpp_source.html new file mode 100644 index 0000000..c7f7951 --- /dev/null +++ b/docs-src/html/main_unit_test_8cpp_source.html @@ -0,0 +1,359 @@ + + + + + + + +IntelliPhoto: src/mainUnitTest.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  1 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
mainUnitTest.cpp
+
+
+Go to the documentation of this file.
1 #include <QtTest>
+
2 // add necessary includes here
+
3 #include <string>
+
4 
+
5 #include "GUI/IntelliPhotoGui.h"
+
6 
+
7 
+
8 class UnitTest : public QObject
+
9 {
+
10 Q_OBJECT
+
11 private:
+
12 IntelliPhotoGui* gui;
+
13 PaintingArea* area;
+
14 QApplication* app;
+
15 
+
16 public:
+
17 UnitTest();
+
18 ~UnitTest();
+
19 
+
20 private slots:
+
21 void initTestCase();
+
22 void cleanupTestCase();
+
23 //void test_case1();
+
24 
+
25 //test painting area
+
26 void test_addLayer();
+
27 void test_deleteLayer();
+
28 void test_setActive();
+
29 void test_setAlpha();
+
30 void test_floodFill();
+
31 void test_moveActive();
+
32 void test_setPolygon();
+
33 void test_setLayerUp();
+
34 void test_setLayerDown();
+
35 
+
36 void test_createTools();
+
37 
+
38 //test Raster-Image operations
+
39 void test_RasterImage_drawPixel();
+
40 void test_RasterImage_drawLine();
+
41 void test_RasterImage_drawPoint();
+
42 void test_RasterImage_getDisplayable();
+
43 void test_RasterImage_setPolygon();
+
44 void test_RasterImage_loadImage();
+
45 void test_RasterImage_getPixelColor();
+
46 void test_RasterImage_getImageData();
+
47 void test_RasterImage_setImageData();
+
48 
+
49 //test Shaped-Image operations
+
50 void test_ShapedImage_drawPixel();
+
51 void test_ShapedImage_drawLine();
+
52 void test_ShapedImage_drawPoint();
+
53 void test_ShapedImage_getDisplayable();
+
54 void test_ShapedImage_setPolygon();
+
55 void test_ShapedImage_loadImage();
+
56 void test_ShapedImage_getPixelColor();
+
57 void test_ShapedImage_getImageData();
+
58 void test_ShapedImage_setImageData();
+
59 
+
60 //test painting-area tools
+
61 void test_createTool_Circle();
+
62 void test_createTool_FloodFill();
+
63 void test_createTool_Line();
+
64 void test_createTool_Pen();
+
65 void test_createTool_Plain();
+
66 void test_createTool_Polygon();
+
67 void test_createTool_Rectangle();
+
68 
+
69 //test tools
+
70 void test_Circle_fullDraw();
+
71 void test_Circle_interruptedDraw();
+
72 
+
73 void test_FloodFill_fullDraw();
+
74 void test_FloodFill_interruptedDraw();
+
75 
+
76 void test_Line_fullDraw();
+
77 void test_Line_interruptedDraw();
+
78 
+
79 void test_Pen_fullDraw();
+
80 void test_Pen_interruptedDraw();
+
81 
+
82 void test_Plain_fullDraw();
+
83 void test_Plain_interruptedDraw();
+
84 
+
85 void test_Polygon_fullDraw();
+
86 void test_Polygon_interruptedDraw();
+
87 
+
88 void test_Rectangle_fullDraw();
+
89 void test_Rectangle_interruptedDraw();
+
90 
+
91 //test Triangulation
+
92 void test_Triangulation_Coverage();
+
93 };
+
94 
+ +
96 {
+
97  char arg0[] = "programName";
+
98  char arg1[] = "arg1";
+
99  char arg2[] = "arg2";
+
100  char*argv[] = {arg0, arg1, arg2, nullptr};
+
101  int argc = sizeof(argv) / sizeof(char*) - 1;
+
102 
+
103  app = new QApplication(argc,argv);
+
104  gui = new IntelliPhotoGui();
+
105  area = gui->paintingArea;
+
106 }
+
107 
+ +
109 {
+
110 
+
111 }
+
112 
+
113 void UnitTest::initTestCase()
+
114 {
+
115 
+
116 }
+
117 
+
118 void UnitTest::cleanupTestCase()
+
119 {
+
120  delete gui;
+
121  delete app;
+
122 }
+
123 
+
124 //void UnitTest::test_case1()
+
125 //{
+
126 // QBENCHMARK {
+
127 // QVERIFY(1 == 1);
+
128 // }
+
129 //}
+
130 
+
131 //test painting area
+
132 void UnitTest::test_addLayer(){
+
133 }
+
134 void UnitTest::test_deleteLayer(){
+
135 }
+
136 void UnitTest::test_setActive(){
+
137 }
+
138 void UnitTest::test_setAlpha(){
+
139 }
+
140 void UnitTest::test_floodFill(){
+
141 }
+
142 void UnitTest::test_moveActive(){
+
143 }
+
144 void UnitTest::test_setPolygon(){
+
145 }
+
146 void UnitTest::test_setLayerUp(){
+
147 }
+
148 void UnitTest::test_setLayerDown(){
+
149 }
+
150 
+
151 void UnitTest::test_createTools(){
+
152 }
+
153 
+
154 //test Raster-Image operations
+
155 void UnitTest::test_RasterImage_drawPixel(){
+
156 }
+
157 void UnitTest::test_RasterImage_drawLine(){
+
158 }
+
159 void UnitTest::test_RasterImage_drawPoint(){
+
160 }
+
161 void UnitTest::test_RasterImage_getDisplayable(){
+
162 }
+
163 void UnitTest::test_RasterImage_setPolygon(){
+
164 }
+
165 void UnitTest::test_RasterImage_loadImage(){
+
166 }
+
167 void UnitTest::test_RasterImage_getPixelColor(){
+
168 }
+
169 void UnitTest::test_RasterImage_getImageData(){
+
170 }
+
171 void UnitTest::test_RasterImage_setImageData(){
+
172 }
+
173 
+
174 //test Shaped-Image operations
+
175 void UnitTest::test_ShapedImage_drawPixel(){
+
176 }
+
177 void UnitTest::test_ShapedImage_drawLine(){
+
178 }
+
179 void UnitTest::test_ShapedImage_drawPoint(){
+
180 }
+
181 void UnitTest::test_ShapedImage_getDisplayable(){
+
182 }
+
183 void UnitTest::test_ShapedImage_setPolygon(){
+
184 }
+
185 void UnitTest::test_ShapedImage_loadImage(){
+
186 }
+
187 void UnitTest::test_ShapedImage_getPixelColor(){
+
188 }
+
189 void UnitTest::test_ShapedImage_getImageData(){
+
190 }
+
191 void UnitTest::test_ShapedImage_setImageData(){
+
192 }
+
193 
+
194 //test painting-area tools
+
195 void UnitTest::test_createTool_Circle(){
+
196 }
+
197 void UnitTest::test_createTool_FloodFill(){
+
198 }
+
199 void UnitTest::test_createTool_Line(){
+
200 }
+
201 void UnitTest::test_createTool_Pen(){
+
202 }
+
203 void UnitTest::test_createTool_Plain(){
+
204 }
+
205 void UnitTest::test_createTool_Polygon(){
+
206 }
+
207 void UnitTest::test_createTool_Rectangle(){
+
208 }
+
209 
+
210 //test tools
+
211 void UnitTest::test_Circle_fullDraw(){
+
212 }
+
213 void UnitTest::test_Circle_interruptedDraw(){
+
214 }
+
215 
+
216 void UnitTest::test_FloodFill_fullDraw(){
+
217 }
+
218 void UnitTest::test_FloodFill_interruptedDraw(){
+
219 }
+
220 
+
221 void UnitTest::test_Line_fullDraw(){
+
222 }
+
223 void UnitTest::test_Line_interruptedDraw(){
+
224 }
+
225 
+
226 void UnitTest::test_Pen_fullDraw(){
+
227 }
+
228 void UnitTest::test_Pen_interruptedDraw(){
+
229 }
+
230 
+
231 void UnitTest::test_Plain_fullDraw(){
+
232 }
+
233 void UnitTest::test_Plain_interruptedDraw(){
+
234 }
+
235 
+
236 void UnitTest::test_Polygon_fullDraw(){
+
237 }
+
238 void UnitTest::test_Polygon_interruptedDraw(){
+
239 }
+
240 
+
241 void UnitTest::test_Rectangle_fullDraw(){
+
242 }
+
243 void UnitTest::test_Rectangle_interruptedDraw(){
+
244 }
+
245 
+
246 //test Triangulation
+
247 void UnitTest::test_Triangulation_Coverage(){
+
248 }
+
249 
+
250 QTEST_APPLESS_MAIN(UnitTest)
+
251 
+
252 #include "tst_unittest.moc"
+
+
+ +
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+ +
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
+ + + + + + diff --git a/docs-src/html/menu.js b/docs-src/html/menu.js new file mode 100644 index 0000000..433c15b --- /dev/null +++ b/docs-src/html/menu.js @@ -0,0 +1,50 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/docs-src/html/menudata.js b/docs-src/html/menudata.js new file mode 100644 index 0000000..1675c58 --- /dev/null +++ b/docs-src/html/menudata.js @@ -0,0 +1,78 @@ +/* +@licstart The following is the entire license notice for the +JavaScript code in this file. + +Copyright (C) 1997-2019 by Dimitri van Heesch + +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +@licend The above is the entire license notice +for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Namespaces",url:"namespaces.html",children:[ +{text:"Namespace List",url:"namespaces.html"}, +{text:"Namespace Members",url:"namespacemembers.html",children:[ +{text:"All",url:"namespacemembers.html"}, +{text:"Functions",url:"namespacemembers_func.html"}]}]}, +{text:"Classes",url:"annotated.html",children:[ +{text:"Class List",url:"annotated.html"}, +{text:"Class Index",url:"classes.html"}, +{text:"Class Hierarchy",url:"hierarchy.html"}, +{text:"Class Members",url:"functions.html",children:[ +{text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, +{text:"b",url:"functions_b.html#index_b"}, +{text:"c",url:"functions_c.html#index_c"}, +{text:"d",url:"functions_d.html#index_d"}, +{text:"f",url:"functions_f.html#index_f"}, +{text:"g",url:"functions_g.html#index_g"}, +{text:"h",url:"functions_h.html#index_h"}, +{text:"i",url:"functions_i.html#index_i"}, +{text:"l",url:"functions_l.html#index_l"}, +{text:"m",url:"functions_m.html#index_m"}, +{text:"o",url:"functions_o.html#index_o"}, +{text:"p",url:"functions_p.html#index_p"}, +{text:"r",url:"functions_r.html#index_r"}, +{text:"s",url:"functions_s.html#index_s"}, +{text:"t",url:"functions_t.html#index_t"}, +{text:"u",url:"functions_u.html#index_u"}, +{text:"w",url:"functions_w.html#index_w"}, +{text:"~",url:"functions_~.html#index__7E"}]}, +{text:"Functions",url:"functions_func.html",children:[ +{text:"a",url:"functions_func.html#index_a"}, +{text:"c",url:"functions_func.html#index_c"}, +{text:"d",url:"functions_func.html#index_d"}, +{text:"g",url:"functions_func.html#index_g"}, +{text:"h",url:"functions_func.html#index_h"}, +{text:"i",url:"functions_func.html#index_i"}, +{text:"l",url:"functions_func.html#index_l"}, +{text:"m",url:"functions_func.html#index_m"}, +{text:"o",url:"functions_func.html#index_o"}, +{text:"p",url:"functions_func.html#index_p"}, +{text:"r",url:"functions_func.html#index_r"}, +{text:"s",url:"functions_func.html#index_s"}, +{text:"u",url:"functions_func.html#index_u"}, +{text:"w",url:"functions_func.html#index_w"}, +{text:"~",url:"functions_func.html#index__7E"}]}, +{text:"Variables",url:"functions_vars.html"}, +{text:"Enumerations",url:"functions_enum.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"File Members",url:"globals.html",children:[ +{text:"All",url:"globals.html"}, +{text:"Functions",url:"globals_func.html"}, +{text:"Enumerations",url:"globals_enum.html"}, +{text:"Macros",url:"globals_defs.html"}]}]}]} diff --git a/docs-src/html/namespace_intelli_datamanager.html b/docs-src/html/namespace_intelli_datamanager.html new file mode 100644 index 0000000..43783e0 --- /dev/null +++ b/docs-src/html/namespace_intelli_datamanager.html @@ -0,0 +1,194 @@ + + + + + + + +IntelliPhoto: IntelliDatamanager Namespace Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    IntelliDatamanager Namespace Reference
    +
    +
    + + + + + + + + +

    +Functions

    bool loadProject (PaintingArea *Canvas, QString filePath="unnamed.idf")
     loadProject loads a project from a file, closes current project. More...
     
    bool saveProject (PaintingArea *Canvas, QString filePath="unnamed.idf")
     saveProject saves the current project to a file. More...
     
    +

    Function Documentation

    + +

    ◆ loadProject()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool IntelliDatamanager::loadProject (PaintingAreaCanvas,
    QString filePath = "unnamed.idf" 
    )
    +
    + +

    loadProject loads a project from a file, closes current project.

    +
    Parameters
    + + + +
    Canvas- Reference to the used Canvas.
    filePath- Filepath to the project which should be opened.
    +
    +
    +
    Returns
    True if everything worked, false otherwise.
    + +

    Definition at line 50 of file IntelliDatamanager.cpp.

    + +
    +
    + +

    ◆ saveProject()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool IntelliDatamanager::saveProject (PaintingAreaCanvas,
    QString filePath = "unnamed.idf" 
    )
    +
    + +

    saveProject saves the current project to a file.

    +
    Parameters
    + + + +
    Canvas- Reference to the used Canvas.
    filePath- Filepath to the project which should be saved.
    +
    +
    +
    Returns
    True if everything worked, false otherwise.
    + +

    Definition at line 4 of file IntelliDatamanager.cpp.

    + +
    +
    +
    +
    + + + + diff --git a/docs-src/html/namespace_intelli_helper.html b/docs-src/html/namespace_intelli_helper.html new file mode 100644 index 0000000..fb35f79 --- /dev/null +++ b/docs-src/html/namespace_intelli_helper.html @@ -0,0 +1,326 @@ + + + + + + + +IntelliPhoto: IntelliHelper Namespace Reference + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  0.5 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    IntelliHelper Namespace Reference
    +
    +
    + + + + + + + + + + + + + + +

    +Functions

    float sign (QPoint &p1, QPoint &p2, QPoint &p3)
     A function to get the 2*area of a traingle, using its determinat. More...
     
    bool isInTriangle (Triangle &tri, QPoint &P)
     A function to check if a given point is in a triangle. More...
     
    std::vector< TrianglecalculateTriangles (std::vector< QPoint > polyPoints)
     A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph. More...
     
    bool isInPolygon (std::vector< Triangle > &triangles, QPoint &point)
     A function to check if a point lies in a polygon by checking its spanning triangles. More...
     
    +

    Function Documentation

    + +

    ◆ calculateTriangles()

    + +
    +
    + + + + + + + + +
    std::vector< Triangle > IntelliHelper::calculateTriangles (std::vector< QPoint > polyPoints)
    +
    + +

    A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph.

    +
    Parameters
    + + +
    polyPoints- The Vertices of the polygon.
    +
    +
    +
    Returns
    Returns a Container of disjoint Triangles, which desribe the polygon area.
    + +

    Definition at line 7 of file IntelliHelper.cpp.

    +
    +Here is the caller graph for this function:
    +
    +
    +
    + +
    +
    + +

    ◆ isInPolygon()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool IntelliHelper::isInPolygon (std::vector< Triangle > & triangles,
    QPoint & point 
    )
    +
    + +

    A function to check if a point lies in a polygon by checking its spanning triangles.

    +
    Parameters
    + + + +
    triangles- The spanning triangles of the planar polygon.
    point- The point to checl, if it lies in the polygon.
    +
    +
    +
    Returns
    Returns true if the point lies in the üpolygon, otherwise false.
    + +

    Definition at line 116 of file IntelliHelper.cpp.

    +
    +Here is the call graph for this function:
    +
    +
    +
    +
    +Here is the caller graph for this function:
    +
    +
    +
    + +
    +
    + +

    ◆ isInTriangle()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool IntelliHelper::isInTriangle (Triangletri,
    QPoint & P 
    )
    +
    +inline
    +
    + +

    A function to check if a given point is in a triangle.

    +
    Parameters
    + + + +
    tri- The triangle to check, if it contains the point.
    P- The point to check if it is in the triangle.
    +
    +
    +
    Returns
    Returns true if the point is in the triangle, false otheriwse
    + +

    Definition at line 33 of file IntelliHelper.h.

    +
    +Here is the call graph for this function:
    +
    +
    +
    +
    +Here is the caller graph for this function:
    +
    +
    +
    + +
    +
    + +

    ◆ sign()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    float IntelliHelper::sign (QPoint & p1,
    QPoint & p2,
    QPoint & p3 
    )
    +
    +inline
    +
    + +

    A function to get the 2*area of a traingle, using its determinat.

    +
    Parameters
    + + + + +
    p1- The Point to check its side.
    p2- The first Point of the spanning Line
    p3- The second Point of the spanning line.
    +
    +
    +
    Returns
    Returns the area of the traingle*2
    + +

    Definition at line 23 of file IntelliHelper.h.

    +
    +Here is the caller graph for this function:
    +
    +
    +
    + +
    +
    +
    +
    + + + + diff --git a/docs-src/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot b/docs-src/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot new file mode 100644 index 0000000..b7b7796 --- /dev/null +++ b/docs-src/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliHelper::calculateTriangles" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliHelper::calculate\lTriangles",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip="A function that sets the data of the visible Polygon."]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_cgraph.dot b/docs-src/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_cgraph.dot new file mode 100644 index 0000000..fb4afa6 --- /dev/null +++ b/docs-src/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliHelper::isInPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9",tooltip="A function to check if a given point is in a triangle."]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149",tooltip="A function to get the 2*area of a traingle, using its determinat."]; +} diff --git a/docs-src/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot b/docs-src/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot new file mode 100644 index 0000000..90d49af --- /dev/null +++ b/docs-src/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliHelper::isInPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_cgraph.dot b/docs-src/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_cgraph.dot new file mode 100644 index 0000000..ac9a70d --- /dev/null +++ b/docs-src/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliHelper::isInTriangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a given point is in a triangle."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149",tooltip="A function to get the 2*area of a traingle, using its determinat."]; +} diff --git a/docs-src/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot b/docs-src/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot new file mode 100644 index 0000000..91522d0 --- /dev/null +++ b/docs-src/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliHelper::isInTriangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a given point is in a triangle."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot b/docs-src/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot new file mode 100644 index 0000000..cee7661 --- /dev/null +++ b/docs-src/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliHelper::sign" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to get the 2*area of a traingle, using its determinat."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9",tooltip="A function to check if a given point is in a triangle."]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/namespace_intelli_triangulation.html b/docs-src/html/namespace_intelli_triangulation.html new file mode 100644 index 0000000..3b22990 --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation.html @@ -0,0 +1,292 @@ + + + + + + + +IntelliPhoto: IntelliTriangulation Namespace Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    IntelliTriangulation Namespace Reference
    +
    +
    + + + + + + + + + + + + + + +

    +Functions

    float sign (QPoint &p1, QPoint &p2, QPoint &p3)
     A function to get the 2*area of a traingle, using its determinat. More...
     
    bool isInTriangle (Triangle &tri, QPoint &P)
     A function to check if a given point is in a triangle. More...
     
    std::vector< TrianglecalculateTriangles (std::vector< QPoint > polyPoints)
     A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph. More...
     
    bool isInPolygon (const std::vector< Triangle > &triangles, QPoint &point)
     A function to check if a point lies in a polygon by checking its spanning triangles. More...
     
    +

    Function Documentation

    + +

    ◆ calculateTriangles()

    + +
    +
    + + + + + + + + +
    std::vector< Triangle > IntelliTriangulation::calculateTriangles (std::vector< QPoint > polyPoints)
    +
    + +

    A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph.

    +
    Parameters
    + + +
    polyPoints- The Vertices of the polygon.
    +
    +
    +
    Returns
    Returns a Container of disjoint Triangles, which desribe the polygon area.
    + +

    Definition at line 7 of file IntelliTriangulation.cpp.

    + +
    +
    + +

    ◆ isInPolygon()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool IntelliTriangulation::isInPolygon (const std::vector< Triangle > & triangles,
    QPoint & point 
    )
    +
    + +

    A function to check if a point lies in a polygon by checking its spanning triangles.

    +
    Parameters
    + + + +
    triangles- The spanning triangles of the planar polygon.
    point- The point to checl, if it lies in the polygon.
    +
    +
    +
    Returns
    Returns true if the point lies in the üpolygon, otherwise false.
    + +

    Definition at line 116 of file IntelliTriangulation.cpp.

    + +
    +
    + +

    ◆ isInTriangle()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool IntelliTriangulation::isInTriangle (Triangletri,
    QPoint & P 
    )
    +
    +inline
    +
    + +

    A function to check if a given point is in a triangle.

    +
    Parameters
    + + + +
    tri- The triangle to check, if it contains the point.
    P- The point to check if it is in the triangle.
    +
    +
    +
    Returns
    Returns true if the point is in the triangle, false otheriwse
    + +

    Definition at line 36 of file IntelliTriangulation.h.

    + +
    +
    + +

    ◆ sign()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    float IntelliTriangulation::sign (QPoint & p1,
    QPoint & p2,
    QPoint & p3 
    )
    +
    +inline
    +
    + +

    A function to get the 2*area of a traingle, using its determinat.

    +
    Parameters
    + + + + +
    p1- The Point to check its side.
    p2- The first Point of the spanning Line
    p3- The second Point of the spanning line.
    +
    +
    +
    Returns
    Returns the area of the traingle*2
    + +

    Definition at line 26 of file IntelliTriangulation.h.

    + +
    +
    +
    +
    + + + + diff --git a/docs-src/html/namespace_intelli_triangulation_a00621e2d8708fe2e8966d7d79b64e186_cgraph.dot b/docs-src/html/namespace_intelli_triangulation_a00621e2d8708fe2e8966d7d79b64e186_cgraph.dot new file mode 100644 index 0000000..7357584 --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation_a00621e2d8708fe2e8966d7d79b64e186_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliTriangulation::isInPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliTriangulation\l::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197",tooltip="A function to check if a given point is in a triangle."]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTriangulation\l::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca",tooltip="A function to get the 2*area of a traingle, using its determinat."]; +} diff --git a/docs-src/html/namespace_intelli_triangulation_a00621e2d8708fe2e8966d7d79b64e186_icgraph.dot b/docs-src/html/namespace_intelli_triangulation_a00621e2d8708fe2e8966d7d79b64e186_icgraph.dot new file mode 100644 index 0000000..a370cee --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation_a00621e2d8708fe2e8966d7d79b64e186_icgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliTriangulation::isInPolygon" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTriangulation\l::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/namespace_intelli_triangulation_ac150fee67fd41a451bd2592f10e00197_cgraph.dot b/docs-src/html/namespace_intelli_triangulation_ac150fee67fd41a451bd2592f10e00197_cgraph.dot new file mode 100644 index 0000000..3e9af02 --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation_ac150fee67fd41a451bd2592f10e00197_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliTriangulation::isInTriangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliTriangulation\l::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a given point is in a triangle."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca",tooltip="A function to get the 2*area of a traingle, using its determinat."]; +} diff --git a/docs-src/html/namespace_intelli_triangulation_ac150fee67fd41a451bd2592f10e00197_icgraph.dot b/docs-src/html/namespace_intelli_triangulation_ac150fee67fd41a451bd2592f10e00197_icgraph.dot new file mode 100644 index 0000000..924c5dd --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation_ac150fee67fd41a451bd2592f10e00197_icgraph.dot @@ -0,0 +1,14 @@ +digraph "IntelliTriangulation::isInTriangle" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTriangulation\l::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a given point is in a triangle."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#a00621e2d8708fe2e8966d7d79b64e186",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node2 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/namespace_intelli_triangulation_acdaf1ed598e868b25e9e06d580da32e5_icgraph.dot b/docs-src/html/namespace_intelli_triangulation_acdaf1ed598e868b25e9e06d580da32e5_icgraph.dot new file mode 100644 index 0000000..75cced6 --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation_acdaf1ed598e868b25e9e06d580da32e5_icgraph.dot @@ -0,0 +1,16 @@ +digraph "IntelliTriangulation::calculateTriangles" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTriangulation\l::calculateTriangles",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip="A function that sets the data of the visible Polygon."]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliShapedImage\l::getDeepCopy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337",tooltip="A function that copys all that returns a [allocated] Image."]; +} diff --git a/docs-src/html/namespace_intelli_triangulation_af9af549a7faff35a74c1265b290ea0ca_icgraph.dot b/docs-src/html/namespace_intelli_triangulation_af9af549a7faff35a74c1265b290ea0ca_icgraph.dot new file mode 100644 index 0000000..2f096d7 --- /dev/null +++ b/docs-src/html/namespace_intelli_triangulation_af9af549a7faff35a74c1265b290ea0ca_icgraph.dot @@ -0,0 +1,16 @@ +digraph "IntelliTriangulation::sign" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="RL"; + Node1 [label="IntelliTriangulation\l::sign",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to get the 2*area of a traingle, using its determinat."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTriangulation\l::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197",tooltip="A function to check if a given point is in a triangle."]; + Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliTriangulation\l::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_triangulation.html#a00621e2d8708fe2e8966d7d79b64e186",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; +} diff --git a/docs-src/html/namespacemembers.html b/docs-src/html/namespacemembers.html new file mode 100644 index 0000000..c5b4326 --- /dev/null +++ b/docs-src/html/namespacemembers.html @@ -0,0 +1,116 @@ + + + + + + + +IntelliPhoto: Namespace Members + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all namespace members with links to the namespace documentation for each member:
    +
    +
    + + + + diff --git a/docs-src/html/namespacemembers_func.html b/docs-src/html/namespacemembers_func.html new file mode 100644 index 0000000..a9c4bcb --- /dev/null +++ b/docs-src/html/namespacemembers_func.html @@ -0,0 +1,116 @@ + + + + + + + +IntelliPhoto: Namespace Members + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    + + + + diff --git a/docs-src/html/namespaces.html b/docs-src/html/namespaces.html new file mode 100644 index 0000000..df49aab --- /dev/null +++ b/docs-src/html/namespaces.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: Namespace List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Namespace List
    +
    +
    +
    Here is a list of all namespaces with brief descriptions:
    +
    +
    + + + + diff --git a/docs-src/html/namespaces_dup.js b/docs-src/html/namespaces_dup.js new file mode 100644 index 0000000..b471afc --- /dev/null +++ b/docs-src/html/namespaces_dup.js @@ -0,0 +1,5 @@ +var namespaces_dup = +[ + [ "IntelliDatamanager", "namespace_intelli_datamanager.html", null ], + [ "IntelliTriangulation", "namespace_intelli_triangulation.html", null ] +]; \ No newline at end of file diff --git a/docs-src/html/nav_f.png b/docs-src/html/nav_f.png new file mode 100644 index 0000000..f470f98 Binary files /dev/null and b/docs-src/html/nav_f.png differ diff --git a/docs-src/html/nav_g.png b/docs-src/html/nav_g.png new file mode 100644 index 0000000..2093a23 Binary files /dev/null and b/docs-src/html/nav_g.png differ diff --git a/docs-src/html/nav_h.png b/docs-src/html/nav_h.png new file mode 100644 index 0000000..ad61711 Binary files /dev/null and b/docs-src/html/nav_h.png differ diff --git a/docs-src/html/navtree.css b/docs-src/html/navtree.css new file mode 100644 index 0000000..afef5e2 --- /dev/null +++ b/docs-src/html/navtree.css @@ -0,0 +1,146 @@ +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; + outline:none; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:#fff; +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + background-color: #FAFAFF; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: 250px; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background-image:url("splitbar.png"); + background-size:100%; + background-repeat:repeat-y; + background-attachment: scroll; + cursor:ew-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F7F7F7; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/docs-src/html/navtree.js b/docs-src/html/navtree.js new file mode 100644 index 0000000..edc31ef --- /dev/null +++ b/docs-src/html/navtree.js @@ -0,0 +1,544 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2019 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public License as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +var navTreeSubIndices = new Array(); +var arrowDown = '▼'; +var arrowRight = '►'; + +function getData(varName) +{ + var i = varName.lastIndexOf('/'); + var n = i>=0 ? varName.substring(i+1) : varName; + return eval(n.replace(/\-/g,'_')); +} + +function stripPath(uri) +{ + return uri.substring(uri.lastIndexOf('/')+1); +} + +function stripPath2(uri) +{ + var i = uri.lastIndexOf('/'); + var s = uri.substring(i+1); + var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); + return m ? uri.substring(i-6) : s; +} + +function hashValue() +{ + return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); +} + +function hashUrl() +{ + return '#'+hashValue(); +} + +function pathName() +{ + return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); +} + +function localStorageSupported() +{ + try { + return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; + } + catch(e) { + return false; + } +} + +function storeLink(link) +{ + if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { + window.localStorage.setItem('navpath',link); + } +} + +function deleteLink() +{ + if (localStorageSupported()) { + window.localStorage.setItem('navpath',''); + } +} + +function cachedLink() +{ + if (localStorageSupported()) { + return window.localStorage.getItem('navpath'); + } else { + return ''; + } +} + +function getScript(scriptName,func,show) +{ + var head = document.getElementsByTagName("head")[0]; + var script = document.createElement('script'); + script.id = scriptName; + script.type = 'text/javascript'; + script.onload = func; + script.src = scriptName+'.js'; + head.appendChild(script); +} + +function createIndent(o,domNode,node,level) +{ + var level=-1; + var n = node; + while (n.parentNode) { level++; n=n.parentNode; } + if (node.childrenData) { + var imgNode = document.createElement("span"); + imgNode.className = 'arrow'; + imgNode.style.paddingLeft=(16*level).toString()+'px'; + imgNode.innerHTML=arrowRight; + node.plus_img = imgNode; + node.expandToggle = document.createElement("a"); + node.expandToggle.href = "javascript:void(0)"; + node.expandToggle.onclick = function() { + if (node.expanded) { + $(node.getChildrenUL()).slideUp("fast"); + node.plus_img.innerHTML=arrowRight; + node.expanded = false; + } else { + expandNode(o, node, false, false); + } + } + node.expandToggle.appendChild(imgNode); + domNode.appendChild(node.expandToggle); + } else { + var span = document.createElement("span"); + span.className = 'arrow'; + span.style.width = 16*(level+1)+'px'; + span.innerHTML = ' '; + domNode.appendChild(span); + } +} + +var animationInProgress = false; + +function gotoAnchor(anchor,aname,updateLocation) +{ + var pos, docContent = $('#doc-content'); + var ancParent = $(anchor.parent()); + if (ancParent.hasClass('memItemLeft') || + ancParent.hasClass('memtitle') || + ancParent.hasClass('fieldname') || + ancParent.hasClass('fieldtype') || + ancParent.is(':header')) + { + pos = ancParent.position().top; + } else if (anchor.position()) { + pos = anchor.position().top; + } + if (pos) { + var dist = Math.abs(Math.min( + pos-docContent.offset().top, + docContent[0].scrollHeight- + docContent.height()-docContent.scrollTop())); + animationInProgress=true; + docContent.animate({ + scrollTop: pos + docContent.scrollTop() - docContent.offset().top + },Math.max(50,Math.min(500,dist)),function(){ + if (updateLocation) window.location.href=aname; + animationInProgress=false; + }); + } +} + +function newNode(o, po, text, link, childrenData, lastNode) +{ + var node = new Object(); + node.children = Array(); + node.childrenData = childrenData; + node.depth = po.depth + 1; + node.relpath = po.relpath; + node.isLast = lastNode; + + node.li = document.createElement("li"); + po.getChildrenUL().appendChild(node.li); + node.parentNode = po; + + node.itemDiv = document.createElement("div"); + node.itemDiv.className = "item"; + + node.labelSpan = document.createElement("span"); + node.labelSpan.className = "label"; + + createIndent(o,node.itemDiv,node,0); + node.itemDiv.appendChild(node.labelSpan); + node.li.appendChild(node.itemDiv); + + var a = document.createElement("a"); + node.labelSpan.appendChild(a); + node.label = document.createTextNode(text); + node.expanded = false; + a.appendChild(node.label); + if (link) { + var url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + link = url; + } else { + url = node.relpath+link; + } + a.className = stripPath(link.replace('#',':')); + if (link.indexOf('#')!=-1) { + var aname = '#'+link.split('#')[1]; + var srcPage = stripPath(pathName()); + var targetPage = stripPath(link.split('#')[0]); + a.href = srcPage!=targetPage ? url : "javascript:void(0)"; + a.onclick = function(){ + storeLink(link); + if (!$(a).parent().parent().hasClass('selected')) + { + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + $(a).parent().parent().addClass('selected'); + $(a).parent().parent().attr('id','selected'); + } + var anchor = $(aname); + gotoAnchor(anchor,aname,true); + }; + } else { + a.href = url; + a.onclick = function() { storeLink(link); } + } + } else { + if (childrenData != null) + { + a.className = "nolink"; + a.href = "javascript:void(0)"; + a.onclick = node.expandToggle.onclick; + } + } + + node.childrenUL = null; + node.getChildrenUL = function() { + if (!node.childrenUL) { + node.childrenUL = document.createElement("ul"); + node.childrenUL.className = "children_ul"; + node.childrenUL.style.display = "none"; + node.li.appendChild(node.childrenUL); + } + return node.childrenUL; + }; + + return node; +} + +function showRoot() +{ + var headerHeight = $("#top").height(); + var footerHeight = $("#nav-path").height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + (function (){ // retry until we can scroll to the selected item + try { + var navtree=$('#nav-tree'); + navtree.scrollTo('#selected',100,{offset:-windowHeight/2}); + } catch (err) { + setTimeout(arguments.callee, 0); + } + })(); +} + +function expandNode(o, node, imm, showRoot) +{ + if (node.childrenData && !node.expanded) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + expandNode(o, node, imm, showRoot); + }, showRoot); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).slideDown("fast"); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + } + } +} + +function glowEffect(n,duration) +{ + n.addClass('glow').delay(duration).queue(function(next){ + $(this).removeClass('glow');next(); + }); +} + +function highlightAnchor() +{ + var aname = hashUrl(); + var anchor = $(aname); + if (anchor.parent().attr('class')=='memItemLeft'){ + var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); + glowEffect(rows.children(),300); // member without details + } else if (anchor.parent().attr('class')=='fieldname'){ + glowEffect(anchor.parent().parent(),1000); // enum value + } else if (anchor.parent().attr('class')=='fieldtype'){ + glowEffect(anchor.parent().parent(),1000); // struct field + } else if (anchor.parent().is(":header")) { + glowEffect(anchor.parent(),1000); // section header + } else { + glowEffect(anchor.next(),1000); // normal member + } +} + +function selectAndHighlight(hash,n) +{ + var a; + if (hash) { + var link=stripPath(pathName())+':'+hash.substring(1); + a=$('.item a[class$="'+link+'"]'); + } + if (a && a.length) { + a.parent().parent().addClass('selected'); + a.parent().parent().attr('id','selected'); + highlightAnchor(); + } else if (n) { + $(n.itemDiv).addClass('selected'); + $(n.itemDiv).attr('id','selected'); + } + if ($('#nav-tree-contents .item:first').hasClass('selected')) { + $('#nav-sync').css('top','30px'); + } else { + $('#nav-sync').css('top','5px'); + } + showRoot(); +} + +function showNode(o, node, index, hash) +{ + if (node && node.childrenData) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + showNode(o,node,index,hash); + },true); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).css({'display':'block'}); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + var n = node.children[o.breadcrumbs[index]]; + if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); + else hash=''; + } + if (hash.match(/^#l\d+$/)) { + var anchor=$('a[name='+hash.substring(1)+']'); + glowEffect(anchor.parent(),1000); // line number + hash=''; // strip line number anchors + } + var url=root+hash; + var i=-1; + while (NAVTREEINDEX[i+1]<=url) i++; + if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath) + } else { + getScript(relpath+'navtreeindex'+i,function(){ + navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath); + } + },true); + } +} + +function showSyncOff(n,relpath) +{ + n.html(''); +} + +function showSyncOn(n,relpath) +{ + n.html(''); +} + +function toggleSyncButton(relpath) +{ + var navSync = $('#nav-sync'); + if (navSync.hasClass('sync')) { + navSync.removeClass('sync'); + showSyncOff(navSync,relpath); + storeLink(stripPath2(pathName())+hashUrl()); + } else { + navSync.addClass('sync'); + showSyncOn(navSync,relpath); + deleteLink(); + } +} + +var loadTriggered = false; +var readyTriggered = false; +var loadObject,loadToRoot,loadUrl,loadRelPath; + +$(window).on('load',function(){ + if (readyTriggered) { // ready first + navTo(loadObject,loadToRoot,loadUrl,loadRelPath); + showRoot(); + } + loadTriggered=true; +}); + +function initNavTree(toroot,relpath) +{ + var o = new Object(); + o.toroot = toroot; + o.node = new Object(); + o.node.li = document.getElementById("nav-tree-contents"); + o.node.childrenData = NAVTREE; + o.node.children = new Array(); + o.node.childrenUL = document.createElement("ul"); + o.node.getChildrenUL = function() { return o.node.childrenUL; }; + o.node.li.appendChild(o.node.childrenUL); + o.node.depth = 0; + o.node.relpath = relpath; + o.node.expanded = false; + o.node.isLast = true; + o.node.plus_img = document.createElement("span"); + o.node.plus_img.className = 'arrow'; + o.node.plus_img.innerHTML = arrowRight; + + if (localStorageSupported()) { + var navSync = $('#nav-sync'); + if (cachedLink()) { + showSyncOff(navSync,relpath); + navSync.removeClass('sync'); + } else { + showSyncOn(navSync,relpath); + } + navSync.click(function(){ toggleSyncButton(relpath); }); + } + + if (loadTriggered) { // load before ready + navTo(o,toroot,hashUrl(),relpath); + showRoot(); + } else { // ready before load + loadObject = o; + loadToRoot = toroot; + loadUrl = hashUrl(); + loadRelPath = relpath; + readyTriggered=true; + } + + $(window).bind('hashchange', function(){ + if (window.location.hash && window.location.hash.length>1){ + var a; + if ($(location).attr('hash')){ + var clslink=stripPath(pathName())+':'+hashValue(); + a=$('.item a[class$="'+clslink.replace(/=desktop_vp) { + if (!collapsed) { + collapseExpand(); + } + } else if (width>desktop_vp && collapsedWidth0) { + restoreWidth(0); + collapsed=true; + } + else { + var width = readCookie('width'); + if (width>200 && width<$(window).width()) { restoreWidth(width); } else { restoreWidth(200); } + collapsed=false; + } + } + + header = $("#top"); + sidenav = $("#side-nav"); + content = $("#doc-content"); + navtree = $("#nav-tree"); + footer = $("#nav-path"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(sidenav).resizable({ minWidth: 0 }); + $(window).resize(function() { resizeHeight(); }); + var device = navigator.userAgent.toLowerCase(); + var touch_device = device.match(/(iphone|ipod|ipad|android)/); + if (touch_device) { /* wider split bar for touch only devices */ + $(sidenav).css({ paddingRight:'20px' }); + $('.ui-resizable-e').css({ width:'20px' }); + $('#nav-sync').css({ right:'34px' }); + barWidth=20; + } + var width = readCookie('width'); + if (width) { restoreWidth(width); } else { resizeWidth(); } + resizeHeight(); + var url = location.href; + var i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + var _preventDefault = function(evt) { evt.preventDefault(); }; + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + $(".ui-resizable-handle").dblclick(collapseExpand); + $(window).on('load',resizeHeight); +} +/* @license-end */ diff --git a/docs-src/html/search/all_0.html b/docs-src/html/search/all_0.html new file mode 100644 index 0000000..26dd244 --- /dev/null +++ b/docs-src/html/search/all_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_0.js b/docs-src/html/search/all_0.js new file mode 100644 index 0000000..e5c6bd3 --- /dev/null +++ b/docs-src/html/search/all_0.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['a_0',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], + ['activelayer_1',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], + ['activetype_2',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], + ['addlayer_3',['addLayer',['../class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd',1,'PaintingArea']]], + ['addlayerat_4',['addLayerAt',['../class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029',1,'PaintingArea']]], + ['alpha_5',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], + ['area_6',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/all_1.html b/docs-src/html/search/all_1.html new file mode 100644 index 0000000..8eb215b --- /dev/null +++ b/docs-src/html/search/all_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_1.js b/docs-src/html/search/all_1.js new file mode 100644 index 0000000..c2ec1a0 --- /dev/null +++ b/docs-src/html/search/all_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['b_7',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] +]; diff --git a/docs-src/html/search/all_10.html b/docs-src/html/search/all_10.html new file mode 100644 index 0000000..6fd3a4a --- /dev/null +++ b/docs-src/html/search/all_10.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_10.js b/docs-src/html/search/all_10.js new file mode 100644 index 0000000..8c58e8b --- /dev/null +++ b/docs-src/html/search/all_10.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['unittest_192',['UnitTest',['../class_unit_test.html',1,'UnitTest'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_193',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_194',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/all_11.html b/docs-src/html/search/all_11.html new file mode 100644 index 0000000..f78343b --- /dev/null +++ b/docs-src/html/search/all_11.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_11.js b/docs-src/html/search/all_11.js new file mode 100644 index 0000000..8a72192 --- /dev/null +++ b/docs-src/html/search/all_11.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['wheelevent_195',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], + ['width_196',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_197',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] +]; diff --git a/docs-src/html/search/all_12.html b/docs-src/html/search/all_12.html new file mode 100644 index 0000000..dd9ff1d --- /dev/null +++ b/docs-src/html/search/all_12.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_12.js b/docs-src/html/search/all_12.js new file mode 100644 index 0000000..003ff51 --- /dev/null +++ b/docs-src/html/search/all_12.js @@ -0,0 +1,19 @@ +var searchData= +[ + ['_7eintellicolorpicker_198',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_199',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_200',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_201',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_202',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_203',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_204',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolgradient_205',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], + ['_7eintellitoolline_206',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_207',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_208',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_209',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_210',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_211',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_212',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_213',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] +]; diff --git a/docs-src/html/search/all_2.html b/docs-src/html/search/all_2.html new file mode 100644 index 0000000..b26d916 --- /dev/null +++ b/docs-src/html/search/all_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_2.js b/docs-src/html/search/all_2.js new file mode 100644 index 0000000..1c3936c --- /dev/null +++ b/docs-src/html/search/all_2.js @@ -0,0 +1,21 @@ +var searchData= +[ + ['c_8',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], + ['calculatetriangles_9',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], + ['calculatevisiblity_10',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], + ['canvas_11',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], + ['circle_12',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]], + ['closeevent_13',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], + ['colorpicker_14',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]], + ['colorpickersetfirstcolor_15',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], + ['colorpickersetsecondcolor_16',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], + ['colorpickerswapcolors_17',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], + ['createcircletool_18',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_19',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['creategradienttool_20',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], + ['createlinetool_21',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_22',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_23',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_24',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_25',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/all_3.html b/docs-src/html/search/all_3.html new file mode 100644 index 0000000..b61b96f --- /dev/null +++ b/docs-src/html/search/all_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_3.js b/docs-src/html/search/all_3.js new file mode 100644 index 0000000..e77b791 --- /dev/null +++ b/docs-src/html/search/all_3.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['deletealllayers_26',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], + ['deletelayer_27',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_28',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_29',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawpixelontoactive_30',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], + ['drawplain_31',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_32',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/all_4.html b/docs-src/html/search/all_4.html new file mode 100644 index 0000000..06de155 --- /dev/null +++ b/docs-src/html/search/all_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_4.js b/docs-src/html/search/all_4.js new file mode 100644 index 0000000..d9b9318 --- /dev/null +++ b/docs-src/html/search/all_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['fastrenderering_33',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]], + ['floodfill_34',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/all_5.html b/docs-src/html/search/all_5.html new file mode 100644 index 0000000..2544c4e --- /dev/null +++ b/docs-src/html/search/all_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_5.js b/docs-src/html/search/all_5.js new file mode 100644 index 0000000..793f78f --- /dev/null +++ b/docs-src/html/search/all_5.js @@ -0,0 +1,31 @@ +var searchData= +[ + ['getdeepcopy_35',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_36',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_37',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], + ['getheight_38',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], + ['getheightofactive_39',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_40',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_41',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_42',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getindexofactivelayer_43',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], + ['getinneralpha_44',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], + ['getint_45',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_46',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], + ['getlayerbundle_47',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], + ['getlinewidth_48',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], + ['getmaxheight_49',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_50',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getpixelcolor_51',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygon_52',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], + ['getpolygondata_53',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofactivelayer_54',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], + ['getrendersettings_55',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], + ['getsecondcolor_56',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], + ['gettooltype_57',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], + ['gettypeofimage_58',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimageactivelayer_59',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], + ['getwidth_60',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], + ['getwidthofactive_61',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]], + ['gradient_62',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/all_6.html b/docs-src/html/search/all_6.html new file mode 100644 index 0000000..43f14ea --- /dev/null +++ b/docs-src/html/search/all_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_6.js b/docs-src/html/search/all_6.js new file mode 100644 index 0000000..99a6c0a --- /dev/null +++ b/docs-src/html/search/all_6.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['height_63',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_64',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]], + ['historyadd_65',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], + ['historygoback_66',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], + ['historygoforward_67',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/all_7.html b/docs-src/html/search/all_7.html new file mode 100644 index 0000000..af52f82 --- /dev/null +++ b/docs-src/html/search/all_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_7.js b/docs-src/html/search/all_7.js new file mode 100644 index 0000000..1ae5b00 --- /dev/null +++ b/docs-src/html/search/all_7.js @@ -0,0 +1,68 @@ +var searchData= +[ + ['image_68',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_69',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['imagetype_70',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], + ['intellicolorpicker_71',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], + ['intellicolorpicker_2ecpp_72',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_73',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellidatamanager_74',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], + ['intellidatamanager_2ecpp_75',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], + ['intellidatamanager_2eh_76',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], + ['intelliimage_77',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage::IntelliImage()']]], + ['intelliimage_2ecpp_78',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_79',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_80',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'IntelliInputDialog'],['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog::IntelliInputDialog()']]], + ['intelliinputdialog_2ecpp_81',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_82',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_83',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], + ['intelliphotogui_2ecpp_84',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_85',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_86',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage::IntelliRasterImage()']]], + ['intellirasterimage_2ecpp_87',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_88',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_89',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'IntelliRenderSettings'],['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings::IntelliRenderSettings()']]], + ['intellirendersettings_2ecpp_90',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_91',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_92',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage::IntelliShapedImage()']]], + ['intellishapedimage_2ecpp_93',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_94',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_95',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool::IntelliTool()']]], + ['intellitool_2ecpp_96',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_97',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_98',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle::IntelliToolCircle()']]], + ['intellitoolcircle_2ecpp_99',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_100',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_101',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], + ['intellitoolfloodfill_2ecpp_102',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_103',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolgradient_104',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'IntelliToolGradient'],['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient::IntelliToolGradient()']]], + ['intellitoolgradient_2ecpp_105',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], + ['intellitoolgradient_2eh_106',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], + ['intellitoolline_107',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine::IntelliToolLine()']]], + ['intellitoolline_2ecpp_108',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_109',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_110',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen::IntelliToolPen()']]], + ['intellitoolpen_2ecpp_111',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_112',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_113',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_114',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolplaintool_115',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], + ['intellitoolpolygon_116',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon::IntelliToolPolygon()']]], + ['intellitoolpolygon_2ecpp_117',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_118',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_119',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle::IntelliToolRectangle()']]], + ['intellitoolrectangle_2ecpp_120',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_121',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_122',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'IntelliToolsettings'],['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings::IntelliToolsettings()']]], + ['intellitoolsettings_2ecpp_123',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_124',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_125',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]], + ['intellitriangulation_2ecpp_126',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_127',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]], + ['isdrawing_128',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]], + ['isfastrenderering_129',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], + ['isfastrendering_130',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], + ['isinpolygon_131',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], + ['isintriangle_132',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] +]; diff --git a/docs-src/html/search/all_8.html b/docs-src/html/search/all_8.html new file mode 100644 index 0000000..cf2b5df --- /dev/null +++ b/docs-src/html/search/all_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_8.js b/docs-src/html/search/all_8.js new file mode 100644 index 0000000..2d2951e --- /dev/null +++ b/docs-src/html/search/all_8.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['layerobject_133',['LayerObject',['../struct_layer_object.html',1,'LayerObject'],['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], + ['line_134',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]], + ['loadimage_135',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], + ['loadproject_136',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] +]; diff --git a/docs-src/html/search/all_9.html b/docs-src/html/search/all_9.html new file mode 100644 index 0000000..690785a --- /dev/null +++ b/docs-src/html/search/all_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_9.js b/docs-src/html/search/all_9.js new file mode 100644 index 0000000..bb41402 --- /dev/null +++ b/docs-src/html/search/all_9.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['main_137',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['main_2ecpp_138',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_139',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]], + ['mousemoveevent_140',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_141',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_142',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_143',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_144',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/all_a.html b/docs-src/html/search/all_a.html new file mode 100644 index 0000000..f2f3d3a --- /dev/null +++ b/docs-src/html/search/all_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_a.js b/docs-src/html/search/all_a.js new file mode 100644 index 0000000..4b782ea --- /dev/null +++ b/docs-src/html/search/all_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['none_145',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/all_b.html b/docs-src/html/search/all_b.html new file mode 100644 index 0000000..14f3403 --- /dev/null +++ b/docs-src/html/search/all_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_b.js b/docs-src/html/search/all_b.js new file mode 100644 index 0000000..ecee29e --- /dev/null +++ b/docs-src/html/search/all_b.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['onmouseleftpressed_146',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_147',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_148',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_149',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_150',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_151',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_152',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/all_c.html b/docs-src/html/search/all_c.html new file mode 100644 index 0000000..da60ab8 --- /dev/null +++ b/docs-src/html/search/all_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_c.js b/docs-src/html/search/all_c.js new file mode 100644 index 0000000..066aa34 --- /dev/null +++ b/docs-src/html/search/all_c.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['paintevent_153',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_154',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], + ['paintingarea_2ecpp_155',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_156',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], + ['pen_157',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['pi_158',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], + ['plain_159',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_160',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], + ['polygondata_161',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] +]; diff --git a/docs-src/html/search/all_d.html b/docs-src/html/search/all_d.html new file mode 100644 index 0000000..bc376fe --- /dev/null +++ b/docs-src/html/search/all_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_d.js b/docs-src/html/search/all_d.js new file mode 100644 index 0000000..8595cf2 --- /dev/null +++ b/docs-src/html/search/all_d.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['rasterimage_162',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], + ['rectangle_163',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], + ['resizeimage_164',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/all_e.html b/docs-src/html/search/all_e.html new file mode 100644 index 0000000..2e3c74d --- /dev/null +++ b/docs-src/html/search/all_e.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_e.js b/docs-src/html/search/all_e.js new file mode 100644 index 0000000..ac992ee --- /dev/null +++ b/docs-src/html/search/all_e.js @@ -0,0 +1,25 @@ +var searchData= +[ + ['save_165',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['saveproject_166',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], + ['setcanvasdimensions_167',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setfastrendering_168',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_169',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_170',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_171',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_172',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_173',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_174',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_175',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setpolygondatatoactive_176',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], + ['setrendersettings_177',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_178',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_179',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['shapedimage_180',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]], + ['sign_181',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_182',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_183',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_184',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_185',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_186',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] +]; diff --git a/docs-src/html/search/all_f.html b/docs-src/html/search/all_f.html new file mode 100644 index 0000000..246f8ab --- /dev/null +++ b/docs-src/html/search/all_f.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/all_f.js b/docs-src/html/search/all_f.js new file mode 100644 index 0000000..7cfddc2 --- /dev/null +++ b/docs-src/html/search/all_f.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['toolsettings_187',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['tooltype_188',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], + ['triangle_189',['Triangle',['../struct_triangle.html',1,'']]], + ['tst_5funittest_2ecpp_190',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]], + ['typeofimage_191',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/classes_0.html b/docs-src/html/search/classes_0.html new file mode 100644 index 0000000..f7e4c14 --- /dev/null +++ b/docs-src/html/search/classes_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/classes_0.js b/docs-src/html/search/classes_0.js new file mode 100644 index 0000000..96261a2 --- /dev/null +++ b/docs-src/html/search/classes_0.js @@ -0,0 +1,20 @@ +var searchData= +[ + ['intellicolorpicker_214',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], + ['intelliimage_215',['IntelliImage',['../class_intelli_image.html',1,'']]], + ['intelliinputdialog_216',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], + ['intelliphotogui_217',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], + ['intellirasterimage_218',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], + ['intellirendersettings_219',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], + ['intellishapedimage_220',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], + ['intellitool_221',['IntelliTool',['../class_intelli_tool.html',1,'']]], + ['intellitoolcircle_222',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], + ['intellitoolfloodfill_223',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], + ['intellitoolgradient_224',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'']]], + ['intellitoolline_225',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], + ['intellitoolpen_226',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], + ['intellitoolplaintool_227',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], + ['intellitoolpolygon_228',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], + ['intellitoolrectangle_229',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], + ['intellitoolsettings_230',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] +]; diff --git a/docs-src/html/search/classes_1.html b/docs-src/html/search/classes_1.html new file mode 100644 index 0000000..c7ff4b3 --- /dev/null +++ b/docs-src/html/search/classes_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/classes_1.js b/docs-src/html/search/classes_1.js new file mode 100644 index 0000000..ea8126e --- /dev/null +++ b/docs-src/html/search/classes_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['layerobject_231',['LayerObject',['../struct_layer_object.html',1,'']]] +]; diff --git a/docs-src/html/search/classes_2.html b/docs-src/html/search/classes_2.html new file mode 100644 index 0000000..0d1e8a0 --- /dev/null +++ b/docs-src/html/search/classes_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/classes_2.js b/docs-src/html/search/classes_2.js new file mode 100644 index 0000000..6ff5400 --- /dev/null +++ b/docs-src/html/search/classes_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['paintingarea_232',['PaintingArea',['../class_painting_area.html',1,'']]] +]; diff --git a/docs-src/html/search/classes_3.html b/docs-src/html/search/classes_3.html new file mode 100644 index 0000000..2102545 --- /dev/null +++ b/docs-src/html/search/classes_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/classes_3.js b/docs-src/html/search/classes_3.js new file mode 100644 index 0000000..4d53ddb --- /dev/null +++ b/docs-src/html/search/classes_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['triangle_233',['Triangle',['../struct_triangle.html',1,'']]] +]; diff --git a/docs-src/html/search/classes_4.html b/docs-src/html/search/classes_4.html new file mode 100644 index 0000000..095ab59 --- /dev/null +++ b/docs-src/html/search/classes_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/classes_4.js b/docs-src/html/search/classes_4.js new file mode 100644 index 0000000..58278a9 --- /dev/null +++ b/docs-src/html/search/classes_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['unittest_234',['UnitTest',['../class_unit_test.html',1,'']]] +]; diff --git a/docs-src/html/search/close.png b/docs-src/html/search/close.png new file mode 100644 index 0000000..9342d3d Binary files /dev/null and b/docs-src/html/search/close.png differ diff --git a/docs-src/html/search/defines_0.html b/docs-src/html/search/defines_0.html new file mode 100644 index 0000000..2deb369 --- /dev/null +++ b/docs-src/html/search/defines_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/defines_0.js b/docs-src/html/search/defines_0.js new file mode 100644 index 0000000..7f1d4a9 --- /dev/null +++ b/docs-src/html/search/defines_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pi_447',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] +]; diff --git a/docs-src/html/search/enums_0.html b/docs-src/html/search/enums_0.html new file mode 100644 index 0000000..9669700 --- /dev/null +++ b/docs-src/html/search/enums_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enums_0.js b/docs-src/html/search/enums_0.js new file mode 100644 index 0000000..73b215f --- /dev/null +++ b/docs-src/html/search/enums_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['imagetype_434',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] +]; diff --git a/docs-src/html/search/enums_1.html b/docs-src/html/search/enums_1.html new file mode 100644 index 0000000..dfec174 --- /dev/null +++ b/docs-src/html/search/enums_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enums_1.js b/docs-src/html/search/enums_1.js new file mode 100644 index 0000000..cd72e72 --- /dev/null +++ b/docs-src/html/search/enums_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tooltype_435',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enums_2.html b/docs-src/html/search/enums_2.html new file mode 100644 index 0000000..6d4d754 --- /dev/null +++ b/docs-src/html/search/enums_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enums_2.js b/docs-src/html/search/enums_2.js new file mode 100644 index 0000000..de14f1e --- /dev/null +++ b/docs-src/html/search/enums_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tooltype_358',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_0.html b/docs-src/html/search/enumvalues_0.html new file mode 100644 index 0000000..9286248 --- /dev/null +++ b/docs-src/html/search/enumvalues_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_0.js b/docs-src/html/search/enumvalues_0.js new file mode 100644 index 0000000..e63d82b --- /dev/null +++ b/docs-src/html/search/enumvalues_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['circle_436',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_1.html b/docs-src/html/search/enumvalues_1.html new file mode 100644 index 0000000..e22a79f --- /dev/null +++ b/docs-src/html/search/enumvalues_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_1.js b/docs-src/html/search/enumvalues_1.js new file mode 100644 index 0000000..8465548 --- /dev/null +++ b/docs-src/html/search/enumvalues_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['floodfill_437',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_2.html b/docs-src/html/search/enumvalues_2.html new file mode 100644 index 0000000..01a77bf --- /dev/null +++ b/docs-src/html/search/enumvalues_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_2.js b/docs-src/html/search/enumvalues_2.js new file mode 100644 index 0000000..9219bac --- /dev/null +++ b/docs-src/html/search/enumvalues_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['gradient_438',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_3.html b/docs-src/html/search/enumvalues_3.html new file mode 100644 index 0000000..4e761d6 --- /dev/null +++ b/docs-src/html/search/enumvalues_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_3.js b/docs-src/html/search/enumvalues_3.js new file mode 100644 index 0000000..1419c1f --- /dev/null +++ b/docs-src/html/search/enumvalues_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['line_439',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_4.html b/docs-src/html/search/enumvalues_4.html new file mode 100644 index 0000000..e2977a0 --- /dev/null +++ b/docs-src/html/search/enumvalues_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_4.js b/docs-src/html/search/enumvalues_4.js new file mode 100644 index 0000000..37838a4 --- /dev/null +++ b/docs-src/html/search/enumvalues_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['none_440',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_5.html b/docs-src/html/search/enumvalues_5.html new file mode 100644 index 0000000..eabdd4b --- /dev/null +++ b/docs-src/html/search/enumvalues_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_5.js b/docs-src/html/search/enumvalues_5.js new file mode 100644 index 0000000..51607b0 --- /dev/null +++ b/docs-src/html/search/enumvalues_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['pen_441',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['plain_442',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_443',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_6.html b/docs-src/html/search/enumvalues_6.html new file mode 100644 index 0000000..2476491 --- /dev/null +++ b/docs-src/html/search/enumvalues_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_6.js b/docs-src/html/search/enumvalues_6.js new file mode 100644 index 0000000..f20fa1a --- /dev/null +++ b/docs-src/html/search/enumvalues_6.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['rasterimage_444',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], + ['rectangle_445',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/enumvalues_7.html b/docs-src/html/search/enumvalues_7.html new file mode 100644 index 0000000..5d5ce7e --- /dev/null +++ b/docs-src/html/search/enumvalues_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/enumvalues_7.js b/docs-src/html/search/enumvalues_7.js new file mode 100644 index 0000000..661a033 --- /dev/null +++ b/docs-src/html/search/enumvalues_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['shapedimage_446',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]] +]; diff --git a/docs-src/html/search/files_0.html b/docs-src/html/search/files_0.html new file mode 100644 index 0000000..737608e --- /dev/null +++ b/docs-src/html/search/files_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/files_0.js b/docs-src/html/search/files_0.js new file mode 100644 index 0000000..13baa8f --- /dev/null +++ b/docs-src/html/search/files_0.js @@ -0,0 +1,41 @@ +var searchData= +[ + ['intellicolorpicker_2ecpp_237',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_238',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellidatamanager_2ecpp_239',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], + ['intellidatamanager_2eh_240',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], + ['intelliimage_2ecpp_241',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_242',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_2ecpp_243',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_244',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_2ecpp_245',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_246',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_2ecpp_247',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_248',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_2ecpp_249',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_250',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_2ecpp_251',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_252',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_2ecpp_253',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_254',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_2ecpp_255',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_256',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_2ecpp_257',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_258',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolgradient_2ecpp_259',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], + ['intellitoolgradient_2eh_260',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], + ['intellitoolline_2ecpp_261',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_262',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_2ecpp_263',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_264',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_265',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_266',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolpolygon_2ecpp_267',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_268',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_2ecpp_269',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_270',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_2ecpp_271',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_272',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_2ecpp_273',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_274',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] +]; diff --git a/docs-src/html/search/files_1.html b/docs-src/html/search/files_1.html new file mode 100644 index 0000000..f27a62d --- /dev/null +++ b/docs-src/html/search/files_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/files_1.js b/docs-src/html/search/files_1.js new file mode 100644 index 0000000..de0ecb4 --- /dev/null +++ b/docs-src/html/search/files_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['main_2ecpp_275',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_276',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]] +]; diff --git a/docs-src/html/search/files_2.html b/docs-src/html/search/files_2.html new file mode 100644 index 0000000..a45066e --- /dev/null +++ b/docs-src/html/search/files_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/files_2.js b/docs-src/html/search/files_2.js new file mode 100644 index 0000000..158729e --- /dev/null +++ b/docs-src/html/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['paintingarea_2ecpp_277',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_278',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] +]; diff --git a/docs-src/html/search/files_3.html b/docs-src/html/search/files_3.html new file mode 100644 index 0000000..1076bc5 --- /dev/null +++ b/docs-src/html/search/files_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/files_3.js b/docs-src/html/search/files_3.js new file mode 100644 index 0000000..336f405 --- /dev/null +++ b/docs-src/html/search/files_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tst_5funittest_2ecpp_279',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]] +]; diff --git a/docs-src/html/search/functions_0.html b/docs-src/html/search/functions_0.html new file mode 100644 index 0000000..e17c711 --- /dev/null +++ b/docs-src/html/search/functions_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_0.js b/docs-src/html/search/functions_0.js new file mode 100644 index 0000000..4e85c95 --- /dev/null +++ b/docs-src/html/search/functions_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['addlayer_280',['addLayer',['../class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd',1,'PaintingArea']]], + ['addlayerat_281',['addLayerAt',['../class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_1.html b/docs-src/html/search/functions_1.html new file mode 100644 index 0000000..0ddac0a --- /dev/null +++ b/docs-src/html/search/functions_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_1.js b/docs-src/html/search/functions_1.js new file mode 100644 index 0000000..b475388 --- /dev/null +++ b/docs-src/html/search/functions_1.js @@ -0,0 +1,17 @@ +var searchData= +[ + ['calculatetriangles_282',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], + ['calculatevisiblity_283',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], + ['closeevent_284',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], + ['colorpickersetfirstcolor_285',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], + ['colorpickersetsecondcolor_286',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], + ['colorpickerswapcolors_287',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], + ['createcircletool_288',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_289',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['creategradienttool_290',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], + ['createlinetool_291',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_292',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_293',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_294',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_295',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_2.html b/docs-src/html/search/functions_2.html new file mode 100644 index 0000000..2737c5a --- /dev/null +++ b/docs-src/html/search/functions_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_2.js b/docs-src/html/search/functions_2.js new file mode 100644 index 0000000..a880363 --- /dev/null +++ b/docs-src/html/search/functions_2.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['deletealllayers_296',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], + ['deletelayer_297',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_298',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_299',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawpixelontoactive_300',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], + ['drawplain_301',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_302',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/functions_3.html b/docs-src/html/search/functions_3.html new file mode 100644 index 0000000..6da86e7 --- /dev/null +++ b/docs-src/html/search/functions_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_3.js b/docs-src/html/search/functions_3.js new file mode 100644 index 0000000..9cebdea --- /dev/null +++ b/docs-src/html/search/functions_3.js @@ -0,0 +1,30 @@ +var searchData= +[ + ['getdeepcopy_303',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_304',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_305',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], + ['getheight_306',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], + ['getheightofactive_307',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_308',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_309',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_310',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getindexofactivelayer_311',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], + ['getinneralpha_312',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], + ['getint_313',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_314',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], + ['getlayerbundle_315',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], + ['getlinewidth_316',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], + ['getmaxheight_317',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_318',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getpixelcolor_319',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygon_320',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], + ['getpolygondata_321',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofactivelayer_322',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], + ['getrendersettings_323',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], + ['getsecondcolor_324',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], + ['gettooltype_325',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], + ['gettypeofimage_326',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimageactivelayer_327',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], + ['getwidth_328',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], + ['getwidthofactive_329',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_4.html b/docs-src/html/search/functions_4.html new file mode 100644 index 0000000..911304e --- /dev/null +++ b/docs-src/html/search/functions_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_4.js b/docs-src/html/search/functions_4.js new file mode 100644 index 0000000..3cf57e8 --- /dev/null +++ b/docs-src/html/search/functions_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['historyadd_330',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], + ['historygoback_331',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], + ['historygoforward_332',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_5.html b/docs-src/html/search/functions_5.html new file mode 100644 index 0000000..61b920d --- /dev/null +++ b/docs-src/html/search/functions_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_5.js b/docs-src/html/search/functions_5.js new file mode 100644 index 0000000..2a70a7a --- /dev/null +++ b/docs-src/html/search/functions_5.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['intellicolorpicker_333',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], + ['intelliimage_334',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], + ['intelliinputdialog_335',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], + ['intelliphotogui_336',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], + ['intellirasterimage_337',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], + ['intellirendersettings_338',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], + ['intellishapedimage_339',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], + ['intellitool_340',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], + ['intellitoolcircle_341',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], + ['intellitoolfloodfill_342',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], + ['intellitoolgradient_343',['IntelliToolGradient',['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient']]], + ['intellitoolline_344',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], + ['intellitoolpen_345',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], + ['intellitoolplaintool_346',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], + ['intellitoolpolygon_347',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], + ['intellitoolrectangle_348',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], + ['intellitoolsettings_349',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], + ['isfastrenderering_350',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], + ['isfastrendering_351',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], + ['isinpolygon_352',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], + ['isintriangle_353',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] +]; diff --git a/docs-src/html/search/functions_6.html b/docs-src/html/search/functions_6.html new file mode 100644 index 0000000..dc70a4a --- /dev/null +++ b/docs-src/html/search/functions_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_6.js b/docs-src/html/search/functions_6.js new file mode 100644 index 0000000..0371b97 --- /dev/null +++ b/docs-src/html/search/functions_6.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['layerobject_354',['LayerObject',['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], + ['loadimage_355',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], + ['loadproject_356',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] +]; diff --git a/docs-src/html/search/functions_7.html b/docs-src/html/search/functions_7.html new file mode 100644 index 0000000..7de3106 --- /dev/null +++ b/docs-src/html/search/functions_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_7.js b/docs-src/html/search/functions_7.js new file mode 100644 index 0000000..aa633b0 --- /dev/null +++ b/docs-src/html/search/functions_7.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['main_357',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['mousemoveevent_358',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_359',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_360',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_361',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_362',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_8.html b/docs-src/html/search/functions_8.html new file mode 100644 index 0000000..7422be2 --- /dev/null +++ b/docs-src/html/search/functions_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_8.js b/docs-src/html/search/functions_8.js new file mode 100644 index 0000000..555cf6d --- /dev/null +++ b/docs-src/html/search/functions_8.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['onmouseleftpressed_363',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_364',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_365',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_366',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_367',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_368',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_369',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_9.html b/docs-src/html/search/functions_9.html new file mode 100644 index 0000000..befd4fa --- /dev/null +++ b/docs-src/html/search/functions_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_9.js b/docs-src/html/search/functions_9.js new file mode 100644 index 0000000..d4dc6fa --- /dev/null +++ b/docs-src/html/search/functions_9.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['paintevent_370',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_371',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_a.html b/docs-src/html/search/functions_a.html new file mode 100644 index 0000000..a81e963 --- /dev/null +++ b/docs-src/html/search/functions_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_a.js b/docs-src/html/search/functions_a.js new file mode 100644 index 0000000..f85cbd3 --- /dev/null +++ b/docs-src/html/search/functions_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['resizeimage_372',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/functions_b.html b/docs-src/html/search/functions_b.html new file mode 100644 index 0000000..345265d --- /dev/null +++ b/docs-src/html/search/functions_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_b.js b/docs-src/html/search/functions_b.js new file mode 100644 index 0000000..ce879f7 --- /dev/null +++ b/docs-src/html/search/functions_b.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['save_373',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['saveproject_374',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], + ['setcanvasdimensions_375',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setfastrendering_376',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_377',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_378',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_379',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_380',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_381',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_382',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_383',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setpolygondatatoactive_384',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], + ['setrendersettings_385',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_386',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_387',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['sign_388',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_389',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_390',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_391',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_392',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_393',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] +]; diff --git a/docs-src/html/search/functions_c.html b/docs-src/html/search/functions_c.html new file mode 100644 index 0000000..858bfd6 --- /dev/null +++ b/docs-src/html/search/functions_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_c.js b/docs-src/html/search/functions_c.js new file mode 100644 index 0000000..c6b0769 --- /dev/null +++ b/docs-src/html/search/functions_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['unittest_394',['UnitTest',['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_395',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_396',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/functions_d.html b/docs-src/html/search/functions_d.html new file mode 100644 index 0000000..2f09f51 --- /dev/null +++ b/docs-src/html/search/functions_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_d.js b/docs-src/html/search/functions_d.js new file mode 100644 index 0000000..f9295a8 --- /dev/null +++ b/docs-src/html/search/functions_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['wheelevent_397',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] +]; diff --git a/docs-src/html/search/functions_e.html b/docs-src/html/search/functions_e.html new file mode 100644 index 0000000..ee5afa6 --- /dev/null +++ b/docs-src/html/search/functions_e.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/functions_e.js b/docs-src/html/search/functions_e.js new file mode 100644 index 0000000..694d325 --- /dev/null +++ b/docs-src/html/search/functions_e.js @@ -0,0 +1,19 @@ +var searchData= +[ + ['_7eintellicolorpicker_398',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_399',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_400',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_401',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_402',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_403',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_404',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolgradient_405',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], + ['_7eintellitoolline_406',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_407',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_408',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_409',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_410',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_411',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_412',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_413',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] +]; diff --git a/docs-src/html/search/mag_sel.png b/docs-src/html/search/mag_sel.png new file mode 100644 index 0000000..39c0ed5 Binary files /dev/null and b/docs-src/html/search/mag_sel.png differ diff --git a/docs-src/html/search/namespaces_0.html b/docs-src/html/search/namespaces_0.html new file mode 100644 index 0000000..76996d1 --- /dev/null +++ b/docs-src/html/search/namespaces_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/namespaces_0.js b/docs-src/html/search/namespaces_0.js new file mode 100644 index 0000000..0519ad6 --- /dev/null +++ b/docs-src/html/search/namespaces_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['intellidatamanager_235',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], + ['intellitriangulation_236',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] +]; diff --git a/docs-src/html/search/nomatches.html b/docs-src/html/search/nomatches.html new file mode 100644 index 0000000..4377320 --- /dev/null +++ b/docs-src/html/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/docs-src/html/search/search.css b/docs-src/html/search/search.css new file mode 100644 index 0000000..83c346f --- /dev/null +++ b/docs-src/html/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #7C8081; + background-color: #F7F7F7; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #2B2D2D; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #E8E9E9; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #323434; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #323434; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #EBECEC; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs-src/html/search/search.js b/docs-src/html/search/search.js new file mode 100644 index 0000000..a554ab9 --- /dev/null +++ b/docs-src/html/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_0.js b/docs-src/html/search/variables_0.js new file mode 100644 index 0000000..30cc0d5 --- /dev/null +++ b/docs-src/html/search/variables_0.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['a_414',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], + ['activelayer_415',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], + ['activetype_416',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], + ['alpha_417',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], + ['area_418',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/variables_1.html b/docs-src/html/search/variables_1.html new file mode 100644 index 0000000..49fe59a --- /dev/null +++ b/docs-src/html/search/variables_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_1.js b/docs-src/html/search/variables_1.js new file mode 100644 index 0000000..e041457 --- /dev/null +++ b/docs-src/html/search/variables_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['b_419',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] +]; diff --git a/docs-src/html/search/variables_2.html b/docs-src/html/search/variables_2.html new file mode 100644 index 0000000..0c8a18c --- /dev/null +++ b/docs-src/html/search/variables_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_2.js b/docs-src/html/search/variables_2.js new file mode 100644 index 0000000..918266e --- /dev/null +++ b/docs-src/html/search/variables_2.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['c_420',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], + ['canvas_421',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], + ['colorpicker_422',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] +]; diff --git a/docs-src/html/search/variables_3.html b/docs-src/html/search/variables_3.html new file mode 100644 index 0000000..19a31fc --- /dev/null +++ b/docs-src/html/search/variables_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_3.js b/docs-src/html/search/variables_3.js new file mode 100644 index 0000000..c72f150 --- /dev/null +++ b/docs-src/html/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fastrenderering_423',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/variables_4.html b/docs-src/html/search/variables_4.html new file mode 100644 index 0000000..bdc37be --- /dev/null +++ b/docs-src/html/search/variables_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_4.js b/docs-src/html/search/variables_4.js new file mode 100644 index 0000000..68891f3 --- /dev/null +++ b/docs-src/html/search/variables_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['height_424',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_425',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] +]; diff --git a/docs-src/html/search/variables_5.html b/docs-src/html/search/variables_5.html new file mode 100644 index 0000000..6aa2249 --- /dev/null +++ b/docs-src/html/search/variables_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_5.js b/docs-src/html/search/variables_5.js new file mode 100644 index 0000000..fb2bd73 --- /dev/null +++ b/docs-src/html/search/variables_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['image_426',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_427',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['isdrawing_428',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] +]; diff --git a/docs-src/html/search/variables_6.html b/docs-src/html/search/variables_6.html new file mode 100644 index 0000000..ce4a906 --- /dev/null +++ b/docs-src/html/search/variables_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_6.js b/docs-src/html/search/variables_6.js new file mode 100644 index 0000000..8fceeb2 --- /dev/null +++ b/docs-src/html/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['polygondata_429',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] +]; diff --git a/docs-src/html/search/variables_7.html b/docs-src/html/search/variables_7.html new file mode 100644 index 0000000..39ffd47 --- /dev/null +++ b/docs-src/html/search/variables_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_7.js b/docs-src/html/search/variables_7.js new file mode 100644 index 0000000..1e351fa --- /dev/null +++ b/docs-src/html/search/variables_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['toolsettings_430',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['typeofimage_431',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] +]; diff --git a/docs-src/html/search/variables_8.html b/docs-src/html/search/variables_8.html new file mode 100644 index 0000000..37a2edd --- /dev/null +++ b/docs-src/html/search/variables_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs-src/html/search/variables_8.js b/docs-src/html/search/variables_8.js new file mode 100644 index 0000000..ec2bada --- /dev/null +++ b/docs-src/html/search/variables_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['width_432',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_433',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] +]; diff --git a/docs-src/html/splitbar.png b/docs-src/html/splitbar.png new file mode 100644 index 0000000..c7c06a3 Binary files /dev/null and b/docs-src/html/splitbar.png differ diff --git a/docs-src/html/struct_layer_object-members.html b/docs-src/html/struct_layer_object-members.html new file mode 100644 index 0000000..43acfb5 --- /dev/null +++ b/docs-src/html/struct_layer_object-members.html @@ -0,0 +1,111 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    LayerObject Member List
    +
    +
    + +

    This is the complete list of members for LayerObject, including all inherited members.

    + + + + + + + + + +
    alphaLayerObject
    heightLayerObject
    heightOffsetLayerObject
    imageLayerObject
    LayerObject()LayerObject
    LayerObject(const LayerObject &layer)LayerObject
    widthLayerObject
    widthOffsetLayerObject
    +
    + + + + diff --git a/docs-src/html/struct_layer_object.html b/docs-src/html/struct_layer_object.html new file mode 100644 index 0000000..65d2db8 --- /dev/null +++ b/docs-src/html/struct_layer_object.html @@ -0,0 +1,296 @@ + + + + + + + +IntelliPhoto: LayerObject Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    LayerObject Struct Reference
    +
    +
    + +

    The LayerObject struct holds all the information needed to construct a layer. + More...

    + +

    #include <PaintingArea.h>

    + + + + + + +

    +Public Member Functions

     LayerObject ()
     
     LayerObject (const LayerObject &layer)
     
    + + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    IntelliImageimage
     image - Stores the imageData of the current LayerObject. More...
     
    int width
     width - Stores the width of a layer in pixels. More...
     
    int height
     height - Stores the height of a layer in pixels. More...
     
    int widthOffset
     widthOffset - Stores the number of pixles from the left side of the painting area. More...
     
    int heightOffset
     heightOffset - Stores the number of pixles from the top of the painting area. More...
     
    int alpha = 255
     alpha - Stores the alpha value of the layer (default=255). More...
     
    +

    Detailed Description

    +

    The LayerObject struct holds all the information needed to construct a layer.

    + +

    Definition at line 23 of file PaintingArea.h.

    +

    Constructor & Destructor Documentation

    + +

    ◆ LayerObject() [1/2]

    + +
    +
    + + + + + + + +
    LayerObject::LayerObject ()
    +
    + +

    Definition at line 23 of file PaintingArea.cpp.

    + +
    +
    + +

    ◆ LayerObject() [2/2]

    + +
    +
    + + + + + + + + +
    LayerObject::LayerObject (const LayerObjectlayer)
    +
    + +

    Definition at line 27 of file PaintingArea.cpp.

    + +
    +
    +

    Member Data Documentation

    + +

    ◆ alpha

    + +
    +
    + + + + +
    int LayerObject::alpha = 255
    +
    + +

    alpha - Stores the alpha value of the layer (default=255).

    + +

    Definition at line 47 of file PaintingArea.h.

    + +
    +
    + +

    ◆ height

    + +
    +
    + + + + +
    int LayerObject::height
    +
    + +

    height - Stores the height of a layer in pixels.

    + +

    Definition at line 35 of file PaintingArea.h.

    + +
    +
    + +

    ◆ heightOffset

    + +
    +
    + + + + +
    int LayerObject::heightOffset
    +
    + +

    heightOffset - Stores the number of pixles from the top of the painting area.

    + +

    Definition at line 43 of file PaintingArea.h.

    + +
    +
    + +

    ◆ image

    + +
    +
    + + + + +
    IntelliImage* LayerObject::image
    +
    + +

    image - Stores the imageData of the current LayerObject.

    + +

    Definition at line 27 of file PaintingArea.h.

    + +
    +
    + +

    ◆ width

    + +
    +
    + + + + +
    int LayerObject::width
    +
    + +

    width - Stores the width of a layer in pixels.

    + +

    Definition at line 31 of file PaintingArea.h.

    + +
    +
    + +

    ◆ widthOffset

    + +
    +
    + + + + +
    int LayerObject::widthOffset
    +
    + +

    widthOffset - Stores the number of pixles from the left side of the painting area.

    + +

    Definition at line 39 of file PaintingArea.h.

    + +
    +
    +
    The documentation for this struct was generated from the following files: +
    +
    + + + + diff --git a/docs-src/html/struct_layer_object.js b/docs-src/html/struct_layer_object.js new file mode 100644 index 0000000..134df5f --- /dev/null +++ b/docs-src/html/struct_layer_object.js @@ -0,0 +1,11 @@ +var struct_layer_object = +[ + [ "LayerObject", "struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0", null ], + [ "LayerObject", "struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a", null ], + [ "alpha", "struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56", null ], + [ "height", "struct_layer_object.html#ae0003fb815e50ed587a9897988befc90", null ], + [ "heightOffset", "struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc", null ], + [ "image", "struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83", null ], + [ "width", "struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897", null ], + [ "widthOffset", "struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96", null ] +]; \ No newline at end of file diff --git a/docs-src/html/struct_layer_object__coll__graph.dot b/docs-src/html/struct_layer_object__coll__graph.dot new file mode 100644 index 0000000..780664f --- /dev/null +++ b/docs-src/html/struct_layer_object__coll__graph.dot @@ -0,0 +1,9 @@ +digraph "LayerObject" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; + Node2 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; + Node2 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; +} diff --git a/docs-src/html/struct_triangle-members.html b/docs-src/html/struct_triangle-members.html new file mode 100644 index 0000000..52f3ea5 --- /dev/null +++ b/docs-src/html/struct_triangle-members.html @@ -0,0 +1,106 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Triangle Member List
    +
    +
    + +

    This is the complete list of members for Triangle, including all inherited members.

    + + + + +
    ATriangle
    BTriangle
    CTriangle
    +
    + + + + diff --git a/docs-src/html/struct_triangle.html b/docs-src/html/struct_triangle.html new file mode 100644 index 0000000..dd86d99 --- /dev/null +++ b/docs-src/html/struct_triangle.html @@ -0,0 +1,175 @@ + + + + + + + +IntelliPhoto: Triangle Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    Triangle Struct Reference
    +
    +
    + +

    The Triangle struct holds the 3 vertices of a triangle. + More...

    + +

    #include <IntelliTriangulation.h>

    + + + + + + + + +

    +Public Attributes

    QPoint A
     
    QPoint B
     
    QPoint C
     
    +

    Detailed Description

    +

    The Triangle struct holds the 3 vertices of a triangle.

    + +

    Definition at line 13 of file IntelliTriangulation.h.

    +

    Member Data Documentation

    + +

    ◆ A

    + +
    +
    + + + + +
    QPoint Triangle::A
    +
    + +

    Definition at line 14 of file IntelliTriangulation.h.

    + +
    +
    + +

    ◆ B

    + +
    +
    + + + + +
    QPoint Triangle::B
    +
    + +

    Definition at line 14 of file IntelliTriangulation.h.

    + +
    +
    + +

    ◆ C

    + +
    +
    + + + + +
    QPoint Triangle::C
    +
    + +

    Definition at line 14 of file IntelliTriangulation.h.

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/docs-src/html/struct_triangle.js b/docs-src/html/struct_triangle.js new file mode 100644 index 0000000..5248a2d --- /dev/null +++ b/docs-src/html/struct_triangle.js @@ -0,0 +1,6 @@ +var struct_triangle = +[ + [ "A", "struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b", null ], + [ "B", "struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7", null ], + [ "C", "struct_triangle.html#addb8aaab314d79f3617acca01e12872a", null ] +]; \ No newline at end of file diff --git a/docs-src/html/sync_off.png b/docs-src/html/sync_off.png new file mode 100644 index 0000000..b6537e9 Binary files /dev/null and b/docs-src/html/sync_off.png differ diff --git a/docs-src/html/sync_on.png b/docs-src/html/sync_on.png new file mode 100644 index 0000000..47fc721 Binary files /dev/null and b/docs-src/html/sync_on.png differ diff --git a/docs-src/html/tab_a.png b/docs-src/html/tab_a.png new file mode 100644 index 0000000..b9143f7 Binary files /dev/null and b/docs-src/html/tab_a.png differ diff --git a/docs-src/html/tab_b.png b/docs-src/html/tab_b.png new file mode 100644 index 0000000..12977f0 Binary files /dev/null and b/docs-src/html/tab_b.png differ diff --git a/docs-src/html/tab_h.png b/docs-src/html/tab_h.png new file mode 100644 index 0000000..0817946 Binary files /dev/null and b/docs-src/html/tab_h.png differ diff --git a/docs-src/html/tab_s.png b/docs-src/html/tab_s.png new file mode 100644 index 0000000..e248641 Binary files /dev/null and b/docs-src/html/tab_s.png differ diff --git a/docs-src/html/tabs.css b/docs-src/html/tabs.css new file mode 100644 index 0000000..85a0cd5 --- /dev/null +++ b/docs-src/html/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs-src/html/tst__unittest_8cpp.html b/docs-src/html/tst__unittest_8cpp.html new file mode 100644 index 0000000..20c4fda --- /dev/null +++ b/docs-src/html/tst__unittest_8cpp.html @@ -0,0 +1,131 @@ + + + + + + + +IntelliPhoto: src/tst_unittest.cpp File Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    tst_unittest.cpp File Reference
    +
    +
    +
    #include <QtTest>
    +#include <QCoreApplication>
    +#include "GUI/IntelliPhotoGui.h"
    +#include "Image/IntelliImage.h"
    +#include "Image/IntelliRasterImage.h"
    +#include "Image/IntelliShapedImage.h"
    +#include "IntelliHelper/IntelliColorPicker.h"
    +#include "IntelliHelper/IntelliRenderSettings.h"
    +#include "IntelliHelper/IntelliToolsettings.h"
    +#include "IntelliHelper/IntelliTriangulation.h"
    +#include "Layer/PaintingArea.h"
    +#include "Tool/IntelliTool.h"
    +#include "Tool/IntelliToolCircle.h"
    +#include "Tool/IntelliToolFloodFill.h"
    +#include "Tool/IntelliToolLine.h"
    +#include "Tool/IntelliToolPen.h"
    +#include "Tool/IntelliToolPlain.h"
    +#include "Tool/IntelliToolPolygon.h"
    +#include "Tool/IntelliToolRectangle.h"
    +#include "tst_unittest.moc"
    +
    +

    Go to the source code of this file.

    + + + + +

    +Classes

    class  UnitTest
     
    +
    +
    + + + + diff --git a/docs-src/html/tst__unittest_8cpp_source.html b/docs-src/html/tst__unittest_8cpp_source.html new file mode 100644 index 0000000..04351e8 --- /dev/null +++ b/docs-src/html/tst__unittest_8cpp_source.html @@ -0,0 +1,1852 @@ + + + + + + + +IntelliPhoto: src/tst_unittest.cpp Source File + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    IntelliPhoto +  1 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    tst_unittest.cpp
    +
    +
    +Go to the documentation of this file.
    1 #include <QtTest>
    +
    2 #include <QCoreApplication>
    +
    3 // add necessary includes here
    +
    4 #include "GUI/IntelliPhotoGui.h"
    +
    5 #include "Image/IntelliImage.h"
    + + + + + + +
    12 #include "Layer/PaintingArea.h"
    +
    13 #include "Tool/IntelliTool.h"
    +
    14 #include "Tool/IntelliToolCircle.h"
    + +
    16 #include "Tool/IntelliToolLine.h"
    +
    17 #include "Tool/IntelliToolPen.h"
    +
    18 #include "Tool/IntelliToolPlain.h"
    + + +
    21 
    +
    22 class UnitTest : public QObject
    +
    23 {
    +
    24 Q_OBJECT
    +
    25 private:
    +
    26 IntelliPhotoGui* gui;
    +
    27 PaintingArea* area;
    +
    28 
    +
    29 public:
    +
    30 UnitTest();
    +
    31 ~UnitTest();
    +
    32 
    +
    33 private slots:
    +
    34 void initTestCase();
    +
    35 void cleanupTestCase();
    +
    36 //void test_case1();
    +
    37 
    +
    39 
    +
    40 
    +
    41 //test painting area
    +
    42 void test_addLayer();
    +
    43 void test_deleteLayer();
    +
    44 void test_setActive();
    +
    45 void test_setAlpha();
    +
    46 void test_floodFill();
    +
    47 void test_moveActive();
    +
    48 void test_setPolygon();
    +
    49 void test_setLayerUp();
    +
    50 void test_setLayerDown();
    +
    51 
    +
    52 void test_createTools();
    +
    53 
    +
    54 //test Raster-Image operations
    +
    55 void test_RasterImage_drawPixel();
    +
    56 void test_RasterImage_drawLine();
    +
    57 void test_RasterImage_drawPoint();
    +
    58 void test_RasterImage_getDisplayable();
    +
    59 void test_RasterImage_getPixelColor();
    +
    60 void test_RasterImage_getImageData();
    +
    61 void test_RasterImage_setImageData();
    +
    62 
    +
    63 //test Shaped-Image operations
    +
    64 void test_ShapedImage_drawPixel();
    +
    65 void test_ShapedImage_drawLine();
    +
    66 void test_ShapedImage_drawPoint();
    +
    67 void test_ShapedImage_getDisplayable();
    +
    68 void test_ShapedImage_getPixelColor();
    +
    69 void test_ShapedImage_getImageData();
    +
    70 void test_ShapedImage_setImageData();
    +
    71 
    +
    72 //test tools
    +
    73 void test_Circle_fullDraw();
    +
    74 void test_Circle_interruptedDraw();
    +
    75 
    +
    76 void test_FloodFill_fullDraw();
    +
    77 void test_FloodFill_interruptedDraw();
    +
    78 
    +
    79 void test_Line_fullDraw();
    +
    80 void test_Line_interruptedDraw();
    +
    81 
    +
    82 void test_Pen_fullDraw();
    +
    83 void test_Pen_interruptedDraw();
    +
    84 
    +
    85 void test_Plain_fullDraw();
    +
    86 void test_Plain_interruptedDraw();
    +
    87 
    +
    88 void test_Polygon_fullDraw();
    +
    89 void test_Polygon_interruptedDraw();
    +
    90 
    +
    91 void test_Rectangle_fullDraw();
    +
    92 void test_Rectangle_interruptedDraw();
    +
    93 
    +
    94 //test Triangulation
    +
    95 void test_Triangulation_Coverage();
    +
    96 
    +
    97 
    +
    99 
    +
    100 //bench painting area
    +
    101 void bench_addLayer();
    +
    102 void bench_deleteLayer();
    +
    103 void bench_setActive();
    +
    104 void bench_setAlpha();
    +
    105 void bench_floodFill();
    +
    106 void bench_moveActive();
    +
    107 void bench_setPolygon();
    +
    108 void bench_setLayerUp();
    +
    109 void bench_setLayerDown();
    +
    110 
    +
    111 void bench_createTools();
    +
    112 
    +
    113 //bench Raster-Image operations
    +
    114 void bench_RasterImage_drawPixel();
    +
    115 void bench_RasterImage_drawLine();
    +
    116 void bench_RasterImage_drawPoint();
    +
    117 void bench_RasterImage_getDisplayable();
    +
    118 void bench_RasterImage_getPixelColor();
    +
    119 void bench_RasterImage_getImageData();
    +
    120 void bench_RasterImage_setImageData();
    +
    121 
    +
    122 //bench Shaped-Image operations
    +
    123 void bench_ShapedImage_drawPixel();
    +
    124 void bench_ShapedImage_drawLine();
    +
    125 void bench_ShapedImage_drawPoint();
    +
    126 void bench_ShapedImage_getDisplayable();
    +
    127 void bench_ShapedImage_getPixelColor();
    +
    128 void bench_ShapedImage_getImageData();
    +
    129 void bench_ShapedImage_setImageData();
    +
    130 
    +
    131 //bench tools
    +
    132 void bench_Circle_fullDraw();
    +
    133 void bench_Circle_interruptedDraw();
    +
    134 
    +
    135 void bench_FloodFill_fullDraw();
    +
    136 void bench_FloodFill_interruptedDraw();
    +
    137 
    +
    138 void bench_Line_fullDraw();
    +
    139 void bench_Line_interruptedDraw();
    +
    140 
    +
    141 void bench_Pen_fullDraw();
    +
    142 void bench_Pen_interruptedDraw();
    +
    143 
    +
    144 void bench_Plain_fullDraw();
    +
    145 void bench_Plain_interruptedDraw();
    +
    146 
    +
    147 void bench_Polygon_fullDraw();
    +
    148 void bench_Polygon_interruptedDraw();
    +
    149 
    +
    150 void bench_Rectangle_fullDraw();
    +
    151 void bench_Rectangle_interruptedDraw();
    +
    152 
    +
    153 //bench Triangulation
    +
    154 void bench_Triangulation_Coverage();
    +
    155 };
    +
    156 
    + +
    158 {
    +
    159  gui = new IntelliPhotoGui();
    +
    160  area = gui->paintingArea;
    +
    161 }
    +
    162 
    + +
    164 {
    +
    165 
    +
    166 }
    +
    167 
    +
    168 void UnitTest::initTestCase()
    +
    169 {
    +
    170 
    +
    171 }
    +
    172 
    +
    173 void UnitTest::cleanupTestCase()
    +
    174 {
    +
    175 
    +
    176 }
    +
    177 
    +
    178 //test painting area
    +
    179 void UnitTest::test_addLayer(){
    +
    180  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    181 
    +
    182  QCOMPARE(area->layerBundle.size(), 1);
    +
    183  QCOMPARE(area->activeLayer, 0);
    +
    184 
    +
    185  QCOMPARE(area->layerBundle[static_cast<size_t>(area->activeLayer)].width, 200);
    +
    186  QCOMPARE(area->layerBundle[static_cast<size_t>(area->activeLayer)].widthOffset, 10);
    +
    187 
    +
    188  QCOMPARE(area->layerBundle[static_cast<size_t>(area->activeLayer)].height, 200);
    +
    189  QCOMPARE(area->layerBundle[static_cast<size_t>(area->activeLayer)].heightOffset, 20);
    +
    190 
    +
    191  area->deleteLayer(0);
    +
    192 }
    +
    193 
    +
    194 void UnitTest::test_deleteLayer(){
    +
    195  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    196  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    197 
    +
    198  area->deleteLayer(3);
    +
    199  QCOMPARE(area->layerBundle.size(), 2);
    +
    200  QCOMPARE(area->activeLayer, 1);
    +
    201 
    +
    202  area->deleteLayer(-1);
    +
    203  QCOMPARE(area->layerBundle.size(), 2);
    +
    204  QCOMPARE(area->activeLayer, 1);
    +
    205 
    +
    206  area->deleteLayer(1);
    +
    207  QCOMPARE(area->layerBundle.size(), 1);
    +
    208  QCOMPARE(area->activeLayer, 0);
    +
    209 
    +
    210  area->deleteLayer(0);
    +
    211  QCOMPARE(area->layerBundle.size(), 0);
    +
    212  QCOMPARE(area->activeLayer, -1);
    +
    213 
    +
    214 }
    +
    215 
    +
    216 void UnitTest::test_setActive(){
    +
    217  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    218  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    219 
    +
    220  area->setLayerActive(0);
    +
    221  QCOMPARE(area->activeLayer, 0);
    +
    222  area->setLayerActive(1);
    +
    223  QCOMPARE(area->activeLayer, 1);
    +
    224  area->setLayerActive(-1);
    +
    225  QCOMPARE(area->activeLayer, 1);
    +
    226  area->setLayerActive(3);
    +
    227  QCOMPARE(area->activeLayer, 1);
    +
    228 
    +
    229  area->deleteLayer(0);
    +
    230  area->deleteLayer(0);
    +
    231 }
    +
    232 
    +
    233 void UnitTest::test_setAlpha(){
    +
    234  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    235  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    236 
    +
    237  area->setLayerAlpha(0,0);
    +
    238  QCOMPARE(area->layerBundle[0].alpha, 0);
    +
    239 
    +
    240  area->setLayerAlpha(0,255);
    +
    241  QCOMPARE(area->layerBundle[0].alpha, 255);
    +
    242 
    +
    243  area->setLayerAlpha(1,123);
    +
    244  QCOMPARE(area->layerBundle[1].alpha, 123);
    +
    245 
    +
    246  area->setLayerAlpha(1,-12);
    +
    247  QCOMPARE(area->layerBundle[1].alpha, 123);
    +
    248 
    +
    249  area->setLayerAlpha(1,300);
    +
    250  QCOMPARE(area->layerBundle[1].alpha, 123);
    +
    251 
    +
    252  area->deleteLayer(1);
    +
    253  area->deleteLayer(0);
    +
    254 }
    +
    255 
    +
    256 void UnitTest::test_floodFill(){
    +
    257  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    258 
    +
    259  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    260  QPoint point;
    +
    261  for(size_t i = 0; i<200; i++) {
    +
    262  point.setX(static_cast<int>(i));
    +
    263  for(size_t j = 0; i<200; i++) {
    +
    264  point.setY(static_cast<int>(j));
    +
    265  QVERIFY(area->layerBundle[static_cast<size_t>(area->activeLayer)].image->getPixelColor(point)==QColor(255,255,255,255));
    +
    266  }
    +
    267  }
    +
    268 
    +
    269  area->layerBundle[0].image->drawPlain(QColor(0, 0, 0, 0));
    +
    270  for(size_t i = 0; i<200; i++) {
    +
    271  point.setX(static_cast<int>(i));
    +
    272  for(size_t j = 0; i<200; i++) {
    +
    273  point.setY(static_cast<int>(j));
    +
    274  QVERIFY(area->layerBundle[static_cast<size_t>(area->activeLayer)].image->getPixelColor(point)==QColor(0,0,0,0));
    +
    275  }
    +
    276  }
    +
    277 
    +
    278  area->deleteLayer(0);
    +
    279 }
    +
    280 
    +
    281 void UnitTest::test_moveActive(){
    +
    282  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    283  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    284 
    +
    285  area->layerBundle[1].image->drawPlain(QColor(0, 0, 0, 255));
    +
    286  QPoint point(0,0);
    +
    287 
    +
    288  area->moveActiveLayer(-1);
    +
    289  QCOMPARE(area->activeLayer, 0);
    +
    290  QVERIFY(area->layerBundle[static_cast<size_t>(area->activeLayer)].image->getPixelColor(point)==QColor(0,0,0,255));
    +
    291 
    +
    292  area->moveActiveLayer(-1);
    +
    293  QCOMPARE(area->activeLayer, 0);
    +
    294  QVERIFY(area->layerBundle[static_cast<size_t>(area->activeLayer)].image->getPixelColor(point)==QColor(0,0,0,255));
    +
    295 
    +
    296  area->moveActiveLayer(1);
    +
    297  QCOMPARE(area->activeLayer, 1);
    +
    298  QVERIFY(area->layerBundle[static_cast<size_t>(area->activeLayer)].image->getPixelColor(point)==QColor(0,0,0,255));
    +
    299 
    +
    300  area->moveActiveLayer(1);
    +
    301  QCOMPARE(area->activeLayer, 1);
    +
    302  QVERIFY(area->layerBundle[static_cast<size_t>(area->activeLayer)].image->getPixelColor(point)==QColor(0,0,0,255));
    +
    303 
    +
    304  area->deleteLayer(1);
    +
    305  area->deleteLayer(0);
    +
    306 }
    +
    307 
    +
    308 void UnitTest::test_setPolygon(){
    +
    309  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    310  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    311 
    +
    312  std::vector<QPoint> polygon{
    +
    313  QPoint(10,00),
    +
    314  QPoint(00,10),
    +
    315  QPoint(10,10),
    +
    316  QPoint(00,10)
    +
    317  };
    +
    318 
    +
    319  area->layerBundle[1].image->setPolygon(polygon);
    +
    320  IntelliShapedImage* image = dynamic_cast<IntelliShapedImage*>(area->layerBundle[1].image);
    +
    321  QCOMPARE(image->polygonData[0], polygon[0]);
    +
    322  QCOMPARE(image->polygonData[1], polygon[1]);
    +
    323  QCOMPARE(image->polygonData[2], polygon[2]);
    +
    324  QCOMPARE(image->polygonData[3], polygon[3]);
    +
    325 
    +
    326  area->deleteLayer(1);
    +
    327  area->deleteLayer(0);
    +
    328 }
    +
    329 
    +
    330 void UnitTest::test_setLayerUp(){
    +
    331  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    332  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    333 
    +
    334  area->selectLayerUp();
    +
    335  QCOMPARE(area->activeLayer, 1);
    +
    336 
    +
    337  area->setLayerActive(0);
    +
    338  QCOMPARE(area->activeLayer, 0);
    +
    339 
    +
    340  area->selectLayerUp();
    +
    341  QCOMPARE(area->activeLayer, 1);
    +
    342 
    +
    343  area->deleteLayer(1);
    +
    344  area->deleteLayer(0);
    +
    345 }
    +
    346 
    +
    347 void UnitTest::test_setLayerDown(){
    +
    348  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    349  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    350 
    +
    351  area->selectLayerDown();
    +
    352  QCOMPARE(area->activeLayer, 0);
    +
    353 
    +
    354  area->selectLayerDown();
    +
    355  QCOMPARE(area->activeLayer, 0);
    +
    356 
    +
    357  area->deleteLayer(1);
    +
    358  area->deleteLayer(0);
    +
    359 
    +
    360 }
    +
    361 
    +
    362 void UnitTest::test_createTools(){
    +
    363  QVERIFY(area->Tool == nullptr);
    +
    364 
    +
    365  area->createPenTool();
    +
    366  QVERIFY(dynamic_cast<IntelliToolPen*>(area->Tool) != nullptr);
    +
    367 
    +
    368  area->createLineTool();
    +
    369  QVERIFY(dynamic_cast<IntelliToolLine*>(area->Tool) != nullptr);
    +
    370 
    +
    371  area->createPlainTool();
    +
    372  QVERIFY(dynamic_cast<IntelliToolPlainTool*>(area->Tool) != nullptr);
    +
    373 
    +
    374  area->createCircleTool();
    +
    375  QVERIFY(dynamic_cast<IntelliToolCircle*>(area->Tool) != nullptr);
    +
    376 
    +
    377  area->createPolygonTool();
    +
    378  QVERIFY(dynamic_cast<IntelliToolPolygon*>(area->Tool) != nullptr);
    +
    379 
    +
    380  area->createFloodFillTool();
    +
    381  QVERIFY(dynamic_cast<IntelliToolFloodFill*>(area->Tool) != nullptr);
    +
    382 
    +
    383  area->createRectangleTool();
    +
    384  QVERIFY(dynamic_cast<IntelliToolRectangle*>(area->Tool) != nullptr);
    +
    385 }
    +
    386 
    +
    387 //test Raster-Image operations
    +
    388 void UnitTest::test_RasterImage_drawPixel(){
    +
    389  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    390 
    +
    391  QPoint point(0,0);
    +
    392 
    +
    393  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    394  area->layerBundle[0].image->drawPixel(point, QColor(0,0,0,255));
    +
    395 
    +
    396  QVERIFY(area->layerBundle[0].image->getPixelColor(point) == QColor(0,0,0,255));
    +
    397 
    +
    398  area->deleteLayer(0);
    +
    399 }
    +
    400 
    +
    401 void UnitTest::test_RasterImage_drawLine(){
    +
    402  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    403 
    +
    404  QPoint point1(0,0);
    +
    405  QPoint point2(10,10);
    +
    406  QPoint point3(5,5);
    +
    407  QPoint point4(6,5);
    +
    408 
    +
    409  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    410  area->layerBundle[0].image->drawLine(point1, point2, QColor(0,0,0,255),1);
    +
    411  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(0,0,0,255));
    +
    412  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(0,0,0,255));
    +
    413  QVERIFY(area->layerBundle[0].image->getPixelColor(point3)==QColor(0,0,0,255));
    +
    414  QVERIFY(area->layerBundle[0].image->getPixelColor(point4)==QColor(255,255,255,255));
    +
    415 
    +
    416  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    417  area->layerBundle[0].image->drawLine(point1, point2, QColor(0,0,0,255),3);
    +
    418  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(0,0,0,255));
    +
    419  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(0,0,0,255));
    +
    420  QVERIFY(area->layerBundle[0].image->getPixelColor(point3)==QColor(0,0,0,255));
    +
    421  QVERIFY(area->layerBundle[0].image->getPixelColor(point4)==QColor(0,0,0,255));
    +
    422 
    +
    423  area->deleteLayer(0);
    +
    424 }
    +
    425 
    +
    426 void UnitTest::test_RasterImage_drawPoint(){
    +
    427  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    428 
    +
    429  QPoint point1(5,5);
    +
    430  QPoint point2(5,6);
    +
    431 
    +
    432  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    433  area->layerBundle[0].image->drawPoint(point1, QColor(0,0,0,255),1);
    +
    434  QVERIFY(area->layerBundle[0].image->getPixelColor(point1) == QColor(0,0,0,255));
    +
    435  QVERIFY(area->layerBundle[0].image->getPixelColor(point2) == QColor(255,255,255,255));
    +
    436 
    +
    437 
    +
    438  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    439  area->layerBundle[0].image->drawPoint(point1, QColor(0,0,0,255),5);
    +
    440  QVERIFY(area->layerBundle[0].image->getPixelColor(point1) == QColor(0,0,0,255));
    +
    441  QVERIFY(area->layerBundle[0].image->getPixelColor(point2) == QColor(0,0,0,255));
    +
    442 
    +
    443  area->deleteLayer(0);
    +
    444 }
    +
    445 
    +
    446 void UnitTest::test_RasterImage_getDisplayable(){
    +
    447  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    448 
    +
    449  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    450  QImage img = area->layerBundle[0].image->getDisplayable(QSize(200,200),255);
    +
    451  QPoint point;
    +
    452  for(size_t i = 0; i<200; i++) {
    +
    453  point.setX(static_cast<int>(i));
    +
    454  for(size_t j = 0; j<200; j++) {
    +
    455  point.setY(static_cast<int>(j));
    +
    456  QVERIFY(img.pixelColor(point) == QColor(255,255,255,255));
    +
    457  }
    +
    458  }
    +
    459 
    +
    460  area->deleteLayer(0);
    +
    461 }
    +
    462 
    +
    463 void UnitTest::test_RasterImage_getPixelColor(){
    +
    464  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    465 
    +
    466  QPoint point(0,0);
    +
    467  area->layerBundle[0].image->drawPlain(QColor(0, 0, 0, 255));
    +
    468  QVERIFY(area->layerBundle[0].image->getPixelColor(point)==QColor(0,0,0,255));
    +
    469 
    +
    470  area->deleteLayer(0);
    +
    471 }
    +
    472 
    +
    473 void UnitTest::test_RasterImage_getImageData(){
    +
    474  area->addLayer(2,2,10,20,255,ImageType::RASTERIMAGE);
    +
    475 
    +
    476  QImage img(2,2, QImage::Format_ARGB32);
    +
    477  img.setPixelColor(0,0, Qt::red);
    +
    478  img.setPixelColor(0,1, Qt::yellow);
    +
    479  img.setPixelColor(1,0, Qt::blue);
    +
    480  img.setPixelColor(1,1, Qt::green);
    +
    481 
    +
    482  area->layerBundle[0].image->setImageData(img);
    +
    483  img = img.convertToFormat(QImage::Format_Indexed8);
    +
    484  QImage cpy = area->layerBundle[0].image->getImageData();
    +
    485 
    +
    486  QPoint point1(0,0);
    +
    487  QPoint point2(0,1);
    +
    488  QPoint point3(1,0);
    +
    489  QPoint point4(1,1);
    +
    490  QVERIFY(cpy.pixelColor(point1) == img.pixelColor(point1));
    +
    491  QVERIFY(cpy.pixelColor(point2) == img.pixelColor(point2));
    +
    492  QVERIFY(cpy.pixelColor(point3) == img.pixelColor(point3));
    +
    493  QVERIFY(cpy.pixelColor(point4) == img.pixelColor(point4));
    +
    494 
    +
    495  area->deleteLayer(0);
    +
    496 }
    +
    497 
    +
    498 void UnitTest::test_RasterImage_setImageData(){
    +
    499  area->addLayer(2,2,10,20,255,ImageType::RASTERIMAGE);
    +
    500 
    +
    501  QImage img(2,2, QImage::Format_ARGB32);
    +
    502  img.setPixelColor(0,0, Qt::red);
    +
    503  img.setPixelColor(0,1, Qt::yellow);
    +
    504  img.setPixelColor(1,0, Qt::blue);
    +
    505  img.setPixelColor(1,1, Qt::green);
    +
    506 
    +
    507  area->layerBundle[0].image->setImageData(img);
    +
    508  img = img.convertToFormat(QImage::Format_Indexed8);
    +
    509 
    +
    510  QPoint point1(0,0);
    +
    511  QPoint point2(0,1);
    +
    512  QPoint point3(1,0);
    +
    513  QPoint point4(1,1);
    +
    514  QVERIFY(area->layerBundle[0].image->getPixelColor(point1) == img.pixelColor(point1));
    +
    515  QVERIFY(area->layerBundle[0].image->getPixelColor(point2) == img.pixelColor(point2));
    +
    516  QVERIFY(area->layerBundle[0].image->getPixelColor(point3) == img.pixelColor(point3));
    +
    517  QVERIFY(area->layerBundle[0].image->getPixelColor(point4) == img.pixelColor(point4));
    +
    518 
    +
    519  area->deleteLayer(0);
    +
    520 }
    +
    521 
    +
    522 //test Shaped-Image operations
    +
    523 void UnitTest::test_ShapedImage_drawPixel(){
    +
    524  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    525 
    +
    526  QPoint point(0,0);
    +
    527 
    +
    528  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    529  area->layerBundle[0].image->drawPixel(point, QColor(0,0,0,255));
    +
    530 
    +
    531  QVERIFY(area->layerBundle[0].image->getPixelColor(point) == QColor(0,0,0,255));
    +
    532 
    +
    533  area->deleteLayer(0);
    +
    534 }
    +
    535 
    +
    536 void UnitTest::test_ShapedImage_drawLine(){
    +
    537  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    538 
    +
    539  QPoint point1(0,0);
    +
    540  QPoint point2(10,10);
    +
    541  QPoint point3(5,5);
    +
    542  QPoint point4(6,5);
    +
    543 
    +
    544  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    545  area->layerBundle[0].image->drawLine(point1, point2, QColor(0,0,0,255),1);
    +
    546  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(0,0,0,255));
    +
    547  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(0,0,0,255));
    +
    548  QVERIFY(area->layerBundle[0].image->getPixelColor(point3)==QColor(0,0,0,255));
    +
    549  QVERIFY(area->layerBundle[0].image->getPixelColor(point4)==QColor(255,255,255,255));
    +
    550 
    +
    551  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    552  area->layerBundle[0].image->drawLine(point1, point2, QColor(0,0,0,255),3);
    +
    553  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(0,0,0,255));
    +
    554  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(0,0,0,255));
    +
    555  QVERIFY(area->layerBundle[0].image->getPixelColor(point3)==QColor(0,0,0,255));
    +
    556  QVERIFY(area->layerBundle[0].image->getPixelColor(point4)==QColor(0,0,0,255));
    +
    557 
    +
    558  area->deleteLayer(0);
    +
    559 }
    +
    560 
    +
    561 void UnitTest::test_ShapedImage_drawPoint(){
    +
    562  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    563 
    +
    564  QPoint point1(5,5);
    +
    565  QPoint point2(5,6);
    +
    566 
    +
    567  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    568  area->layerBundle[0].image->drawPoint(point1, QColor(0,0,0,255),1);
    +
    569  QVERIFY(area->layerBundle[0].image->getPixelColor(point1) == QColor(0,0,0,255));
    +
    570  QVERIFY(area->layerBundle[0].image->getPixelColor(point2) == QColor(255,255,255,255));
    +
    571 
    +
    572 
    +
    573  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    574  area->layerBundle[0].image->drawPoint(point1, QColor(0,0,0,255),5);
    +
    575  QVERIFY(area->layerBundle[0].image->getPixelColor(point1) == QColor(0,0,0,255));
    +
    576  QVERIFY(area->layerBundle[0].image->getPixelColor(point2) == QColor(0,0,0,255));
    +
    577 
    +
    578  area->deleteLayer(0);
    +
    579 }
    +
    580 
    +
    581 void UnitTest::test_ShapedImage_getDisplayable(){
    +
    582  area->addLayer(21,21,10,20,255,ImageType::SHAPEDIMAGE);
    +
    583  std::vector<QPoint> points{
    +
    584  QPoint(10,00),
    +
    585  QPoint(00,10),
    +
    586  QPoint(10,20),
    +
    587  QPoint(20,10)
    +
    588  };
    +
    589 
    +
    590  std::vector<QPoint> test{
    +
    591  QPoint(00,00),
    +
    592  QPoint(00,20),
    +
    593  QPoint(20,00),
    +
    594  QPoint(20,20),
    +
    595  QPoint(10,10)
    +
    596  };
    +
    597  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    598  area->layerBundle[0].image->setPolygon(points);
    +
    599  QSize size(21,21);
    +
    600  QImage img = area->layerBundle[0].image->getDisplayable(size,255);
    +
    601 
    +
    602  QCOMPARE(img.pixelColor(points[0]).alpha(), 255);
    +
    603  QCOMPARE(img.pixelColor(points[1]).alpha(), 255);
    +
    604  QCOMPARE(img.pixelColor(points[2]).alpha(), 255);
    +
    605  QCOMPARE(img.pixelColor(points[3]).alpha(), 255);
    +
    606 
    +
    607  QCOMPARE(img.pixelColor(test[4]).alpha(), 255);
    +
    608  QCOMPARE(img.pixelColor(test[0]).alpha(), 0);
    +
    609  QCOMPARE(img.pixelColor(test[1]).alpha(), 0);
    +
    610  QCOMPARE(img.pixelColor(test[2]).alpha(), 0);
    +
    611  QCOMPARE(img.pixelColor(test[3]).alpha(), 0);
    +
    612 
    +
    613  area->deleteLayer(0);
    +
    614 }
    +
    615 
    +
    616 void UnitTest::test_ShapedImage_getPixelColor(){
    +
    617  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    618 
    +
    619  QPoint point(0,0);
    +
    620  area->layerBundle[0].image->drawPlain(QColor(0, 0, 0, 255));
    +
    621  QVERIFY(area->layerBundle[0].image->getPixelColor(point)==QColor(0,0,0,255));
    +
    622 
    +
    623  area->deleteLayer(0);
    +
    624 }
    +
    625 
    +
    626 void UnitTest::test_ShapedImage_getImageData(){
    +
    627  area->addLayer(2,2,10,20,255,ImageType::RASTERIMAGE);
    +
    628 
    +
    629  QImage img(2,2, QImage::Format_ARGB32);
    +
    630  img.setPixelColor(0,0, Qt::red);
    +
    631  img.setPixelColor(0,1, Qt::yellow);
    +
    632  img.setPixelColor(1,0, Qt::blue);
    +
    633  img.setPixelColor(1,1, Qt::green);
    +
    634 
    +
    635  area->layerBundle[0].image->setImageData(img);
    +
    636  img = img.convertToFormat(QImage::Format_Indexed8);
    +
    637  QImage cpy = area->layerBundle[0].image->getImageData();
    +
    638 
    +
    639  QPoint point1(0,0);
    +
    640  QPoint point2(0,1);
    +
    641  QPoint point3(1,0);
    +
    642  QPoint point4(1,1);
    +
    643  QVERIFY(cpy.pixelColor(point1) == img.pixelColor(point1));
    +
    644  QVERIFY(cpy.pixelColor(point2) == img.pixelColor(point2));
    +
    645  QVERIFY(cpy.pixelColor(point3) == img.pixelColor(point3));
    +
    646  QVERIFY(cpy.pixelColor(point4) == img.pixelColor(point4));
    +
    647 
    +
    648  area->deleteLayer(0);
    +
    649 }
    +
    650 
    +
    651 void UnitTest::test_ShapedImage_setImageData(){
    +
    652  area->addLayer(2,2,10,20,255,ImageType::RASTERIMAGE);
    +
    653 
    +
    654  QImage img(2,2, QImage::Format_ARGB32);
    +
    655  img.setPixelColor(0,0, Qt::red);
    +
    656  img.setPixelColor(0,1, Qt::yellow);
    +
    657  img.setPixelColor(1,0, Qt::blue);
    +
    658  img.setPixelColor(1,1, Qt::green);
    +
    659 
    +
    660  area->layerBundle[0].image->setImageData(img);
    +
    661  img = img.convertToFormat(QImage::Format_Indexed8);
    +
    662 
    +
    663  QPoint point1(0,0);
    +
    664  QPoint point2(0,1);
    +
    665  QPoint point3(1,0);
    +
    666  QPoint point4(1,1);
    +
    667  QVERIFY(area->layerBundle[0].image->getPixelColor(point1) == img.pixelColor(point1));
    +
    668  QVERIFY(area->layerBundle[0].image->getPixelColor(point2) == img.pixelColor(point2));
    +
    669  QVERIFY(area->layerBundle[0].image->getPixelColor(point3) == img.pixelColor(point3));
    +
    670  QVERIFY(area->layerBundle[0].image->getPixelColor(point4) == img.pixelColor(point4));
    +
    671 
    +
    672  area->deleteLayer(0);
    +
    673 }
    +
    674 
    +
    675 //test tools
    +
    676 void UnitTest::test_Circle_fullDraw(){
    +
    677  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    678  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    679  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    680  area->createCircleTool();
    +
    681  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    682 
    +
    683  QPoint point1(100,100);
    +
    684  QPoint point2(150,100);
    +
    685  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    686  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    687  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    688 
    +
    689 
    +
    690  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==area->colorPicker.getSecondColor());
    +
    691  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==area->colorPicker.getFirstColor());
    +
    692 
    +
    693  area->deleteLayer(0);
    +
    694 }
    +
    695 
    +
    696 void UnitTest::test_Circle_interruptedDraw(){
    +
    697  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    698  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    699  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    700  area->createCircleTool();
    +
    701  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    702 
    +
    703  QPoint point1(100,100);
    +
    704  QPoint point2(150,100);
    +
    705  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    706  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    707  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    708  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    709  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    710 
    +
    711 
    +
    712  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(255,0,0,255));
    +
    713  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(255,0,0,255));
    +
    714 
    +
    715  area->deleteLayer(0);
    +
    716 
    +
    717 }
    +
    718 
    +
    719 
    +
    720 void UnitTest::test_FloodFill_fullDraw(){
    +
    721  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    722  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    723  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    724  area->createFloodFillTool();
    +
    725  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    726 
    +
    727  QPoint point1(100,100);
    +
    728  QPoint point2(150,100);
    +
    729  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    730  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    731  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    732 
    +
    733 
    +
    734  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==area->colorPicker.getFirstColor());
    +
    735  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==area->colorPicker.getFirstColor());
    +
    736 
    +
    737  area->deleteLayer(0);
    +
    738 }
    +
    739 
    +
    740 void UnitTest::test_FloodFill_interruptedDraw(){
    +
    741  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    742  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    743  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    744  area->createFloodFillTool();
    +
    745  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    746 
    +
    747  QPoint point1(100,100);
    +
    748  QPoint point2(150,100);
    +
    749  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    750  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    751  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    752  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    753  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    754 
    +
    755 
    +
    756  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(255,0,0,255));
    +
    757  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(255,0,0,255));
    +
    758 
    +
    759  area->deleteLayer(0);
    +
    760 }
    +
    761 
    +
    762 
    +
    763 void UnitTest::test_Line_fullDraw(){
    +
    764  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    765  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    766  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    767  area->createLineTool();
    +
    768  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    769 
    +
    770  QPoint point1(100,100);
    +
    771  QPoint point2(150,100);
    +
    772  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    773  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    774  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    775 
    +
    776 
    +
    777  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==area->colorPicker.getFirstColor());
    +
    778  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==area->colorPicker.getFirstColor());
    +
    779 
    +
    780  area->deleteLayer(0);
    +
    781 }
    +
    782 
    +
    783 void UnitTest::test_Line_interruptedDraw(){
    +
    784  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    785  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    786  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    787  area->createLineTool();
    +
    788  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    789 
    +
    790  QPoint point1(100,100);
    +
    791  QPoint point2(150,100);
    +
    792  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    793  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    794  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    795  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    796  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    797 
    +
    798 
    +
    799  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(255,0,0,255));
    +
    800  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(255,0,0,255));
    +
    801 
    +
    802  area->deleteLayer(0);
    +
    803 }
    +
    804 
    +
    805 void UnitTest::test_Pen_fullDraw(){
    +
    806  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    807  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    808  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    809  area->createPenTool();
    +
    810  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    811 
    +
    812  QPoint point1(100,100);
    +
    813  QPoint point2(150,100);
    +
    814  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    815  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    816  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    817 
    +
    818 
    +
    819  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==area->colorPicker.getFirstColor());
    +
    820  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==area->colorPicker.getFirstColor());
    +
    821 
    +
    822  area->deleteLayer(0);
    +
    823 }
    +
    824 
    +
    825 void UnitTest::test_Pen_interruptedDraw(){
    +
    826  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    827  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    828  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    829  area->createPenTool();
    +
    830  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    831 
    +
    832  QPoint point1(100,100);
    +
    833  QPoint point2(150,100);
    +
    834  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    835  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    836  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    837  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    838  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    839 
    +
    840 
    +
    841  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(255,0,0,255));
    +
    842  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(255,0,0,255));
    +
    843 
    +
    844  area->deleteLayer(0);
    +
    845 }
    +
    846 
    +
    847 void UnitTest::test_Plain_fullDraw(){
    +
    848  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    849  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    850  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    851  area->createPlainTool();
    +
    852  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    853 
    +
    854  QPoint point1(100,100);
    +
    855  QPoint point2(150,100);
    +
    856  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    857  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    858  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    859 
    +
    860 
    +
    861  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==area->colorPicker.getFirstColor());
    +
    862  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==area->colorPicker.getFirstColor());
    +
    863 
    +
    864  area->deleteLayer(0);
    +
    865 }
    +
    866 
    +
    867 void UnitTest::test_Plain_interruptedDraw(){
    +
    868  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    869  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    870  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    871  area->createPlainTool();
    +
    872  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    873 
    +
    874  QPoint point1(100,100);
    +
    875  QPoint point2(150,100);
    +
    876  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    877  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    878  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    879  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    880  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    881 
    +
    882 
    +
    883  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(255,0,0,255));
    +
    884  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(255,0,0,255));
    +
    885 
    +
    886  area->deleteLayer(0);
    +
    887 }
    +
    888 
    +
    889 void UnitTest::test_Polygon_fullDraw(){
    +
    890  area->addLayer(21,21,10,20,255,ImageType::RASTERIMAGE);
    +
    891  std::vector<QPoint> points{
    +
    892  QPoint(10,00),
    +
    893  QPoint(00,10),
    +
    894  QPoint(10,20),
    +
    895  QPoint(20,10)
    +
    896  };
    +
    897 
    +
    898  std::vector<QPoint> test{
    +
    899  QPoint(00,00),
    +
    900  QPoint(00,20),
    +
    901  QPoint(20,00),
    +
    902  QPoint(20,20),
    +
    903  QPoint(10,10)
    +
    904  };
    +
    905 
    +
    906  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    907  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    908  area->createPolygonTool();
    +
    909  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    910 
    +
    911  area->Tool->onMouseLeftPressed(points[0].x(), points[0].y());
    +
    912  area->Tool->onMouseLeftReleased(points[0].x(), points[0].y());
    +
    913  area->Tool->onMouseMoved(points[1].x(), points[1].y());
    +
    914 
    +
    915  area->Tool->onMouseLeftPressed(points[1].x(), points[1].y());
    +
    916  area->Tool->onMouseLeftReleased(points[1].x(), points[1].y());
    +
    917  area->Tool->onMouseMoved(points[2].x(), points[2].y());
    +
    918 
    +
    919  area->Tool->onMouseLeftPressed(points[2].x(), points[2].y());
    +
    920  area->Tool->onMouseLeftReleased(points[2].x(), points[2].y());
    +
    921  area->Tool->onMouseMoved(points[3].x(), points[3].y());
    +
    922 
    +
    923  area->Tool->onMouseLeftPressed(points[3].x(), points[3].y());
    +
    924  area->Tool->onMouseLeftReleased(points[3].x(), points[3].y());
    +
    925  area->Tool->onMouseMoved(points[0].x(), points[0].y());
    +
    926 
    +
    927  area->Tool->onMouseLeftPressed(points[0].x(), points[0].y());
    +
    928  area->Tool->onMouseLeftReleased(points[0].x(), points[0].y());
    +
    929 
    +
    930  QVERIFY(area->layerBundle[0].image->getPixelColor(points[0])==area->colorPicker.getFirstColor());
    +
    931  QVERIFY(area->layerBundle[0].image->getPixelColor(points[1])==area->colorPicker.getFirstColor());
    +
    932  QVERIFY(area->layerBundle[0].image->getPixelColor(points[2])==area->colorPicker.getFirstColor());
    +
    933  QVERIFY(area->layerBundle[0].image->getPixelColor(points[3])==area->colorPicker.getFirstColor());
    +
    934 
    +
    935 
    +
    936  QVERIFY(area->layerBundle[0].image->getPixelColor(test[4])==area->colorPicker.getSecondColor());
    +
    937  QVERIFY(area->layerBundle[0].image->getPixelColor(test[0])==QColor(255,0,0,255));
    +
    938  QVERIFY(area->layerBundle[0].image->getPixelColor(test[1])==QColor(255,0,0,255));
    +
    939  QVERIFY(area->layerBundle[0].image->getPixelColor(test[2])==QColor(255,0,0,255));
    +
    940  QVERIFY(area->layerBundle[0].image->getPixelColor(test[3])==QColor(255,0,0,255));
    +
    941 
    +
    942  area->deleteLayer(0);
    +
    943 }
    +
    944 
    +
    945 
    +
    946 void UnitTest::test_Polygon_interruptedDraw(){
    +
    947  area->addLayer(201,201,10,20,255,ImageType::RASTERIMAGE);
    +
    948  std::vector<QPoint> points{
    +
    949  QPoint(100,000),
    +
    950  QPoint(000,100),
    +
    951  QPoint(100,200),
    +
    952  QPoint(200,100)
    +
    953  };
    +
    954 
    +
    955  std::vector<QPoint> test{
    +
    956  QPoint(000,000),
    +
    957  QPoint(000,200),
    +
    958  QPoint(200,000),
    +
    959  QPoint(200,200),
    +
    960  QPoint(100,100)
    +
    961  };
    +
    962 
    +
    963  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    964  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    965  area->createPolygonTool();
    +
    966  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    967 
    +
    968  area->Tool->onMouseLeftPressed(points[0].x(), points[0].y());
    +
    969  area->Tool->onMouseLeftReleased(points[0].x(), points[0].y());
    +
    970  area->Tool->onMouseMoved(points[1].x(), points[1].y());
    +
    971 
    +
    972  area->Tool->onMouseLeftPressed(points[1].x(), points[1].y());
    +
    973  area->Tool->onMouseLeftReleased(points[1].x(), points[1].y());
    +
    974  area->Tool->onMouseMoved(points[2].x(), points[2].y());
    +
    975 
    +
    976  area->Tool->onMouseLeftPressed(points[2].x(), points[2].y());
    +
    977  area->Tool->onMouseLeftReleased(points[2].x(), points[2].y());
    +
    978  area->Tool->onMouseMoved(points[3].x(), points[3].y());
    +
    979 
    +
    980  area->Tool->onMouseLeftPressed(points[3].x(), points[3].y());
    +
    981  area->Tool->onMouseLeftReleased(points[3].x(), points[3].y());
    +
    982 
    +
    983  area->Tool->onMouseRightPressed(points[0].x(), points[0].y());
    +
    984  area->Tool->onMouseRightReleased(points[0].x(), points[0].y());
    +
    985 
    +
    986 
    +
    987  QVERIFY(area->layerBundle[0].image->getPixelColor(points[0])==QColor(255,0,0,255));
    +
    988  QVERIFY(area->layerBundle[0].image->getPixelColor(points[1])==QColor(255,0,0,255));
    +
    989  QVERIFY(area->layerBundle[0].image->getPixelColor(points[2])==QColor(255,0,0,255));
    +
    990  QVERIFY(area->layerBundle[0].image->getPixelColor(points[3])==QColor(255,0,0,255));
    +
    991 
    +
    992  QVERIFY(area->layerBundle[0].image->getPixelColor(test[4])==QColor(255,0,0,255));
    +
    993  QVERIFY(area->layerBundle[0].image->getPixelColor(test[0])==QColor(255,0,0,255));
    +
    994  QVERIFY(area->layerBundle[0].image->getPixelColor(test[1])==QColor(255,0,0,255));
    +
    995  QVERIFY(area->layerBundle[0].image->getPixelColor(test[2])==QColor(255,0,0,255));
    +
    996  QVERIFY(area->layerBundle[0].image->getPixelColor(test[3])==QColor(255,0,0,255));
    +
    997 
    +
    998  area->deleteLayer(0);
    +
    999 }
    +
    1000 
    +
    1001 
    +
    1002 void UnitTest::test_Rectangle_fullDraw(){
    +
    1003  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1004  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1005  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1006  area->createRectangleTool();
    +
    1007  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1008 
    +
    1009  QPoint point1(100,100);
    +
    1010  QPoint point2(150,150);
    +
    1011  QPoint point3(125,125);
    +
    1012  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1013  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1014  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1015 
    +
    1016 
    +
    1017  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==area->colorPicker.getFirstColor());
    +
    1018  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==area->colorPicker.getFirstColor());
    +
    1019  QVERIFY(area->layerBundle[0].image->getPixelColor(point3)==area->colorPicker.getSecondColor());
    +
    1020 
    +
    1021  area->deleteLayer(0);
    +
    1022 }
    +
    1023 
    +
    1024 void UnitTest::test_Rectangle_interruptedDraw(){
    +
    1025  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1026  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1027  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1028  area->createRectangleTool();
    +
    1029  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1030 
    +
    1031  QPoint point1(100,100);
    +
    1032  QPoint point2(150,150);
    +
    1033  QPoint point3(125,125);
    +
    1034  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1035  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1036  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1037  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1038  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1039 
    +
    1040  QVERIFY(area->layerBundle[0].image->getPixelColor(point1)==QColor(255,0,0,255));
    +
    1041  QVERIFY(area->layerBundle[0].image->getPixelColor(point2)==QColor(255,0,0,255));
    +
    1042  QVERIFY(area->layerBundle[0].image->getPixelColor(point3)==QColor(255,0,0,255));
    +
    1043 
    +
    1044  area->deleteLayer(0);
    +
    1045 }
    +
    1046 
    +
    1047 
    +
    1048 //test Triangulation
    +
    1049 void UnitTest::test_Triangulation_Coverage(){
    +
    1050  std::vector<QPoint> points{
    +
    1051  QPoint(10,00),
    +
    1052  QPoint(00,10),
    +
    1053  QPoint(10,20),
    +
    1054  QPoint(20,10)
    +
    1055  };
    +
    1056  std::vector<QPoint> test{
    +
    1057  QPoint(00,00),
    +
    1058  QPoint(00,20),
    +
    1059  QPoint(20,00),
    +
    1060  QPoint(20,20),
    +
    1061  QPoint(10,10)
    +
    1062  };
    +
    1063  std::vector<Triangle> tria = IntelliTriangulation::calculateTriangles(points);
    +
    1064  QCOMPARE(IntelliTriangulation::isInPolygon(tria, points[0]), true);
    +
    1065  QCOMPARE(IntelliTriangulation::isInPolygon(tria, points[1]), true);
    +
    1066  QCOMPARE(IntelliTriangulation::isInPolygon(tria, points[2]), true);
    +
    1067  QCOMPARE(IntelliTriangulation::isInPolygon(tria, points[3]), true);
    +
    1068 
    +
    1069  QCOMPARE(IntelliTriangulation::isInPolygon(tria, test[4]), true);
    +
    1070  QCOMPARE(IntelliTriangulation::isInPolygon(tria, test[0]), false);
    +
    1071  QCOMPARE(IntelliTriangulation::isInPolygon(tria, test[1]), false);
    +
    1072  QCOMPARE(IntelliTriangulation::isInPolygon(tria, test[2]), false);
    +
    1073  QCOMPARE(IntelliTriangulation::isInPolygon(tria, test[3]), false);
    +
    1074 }
    +
    1075 
    +
    1076 
    +
    1078 
    +
    1079 void UnitTest::bench_addLayer(){
    +
    1080  QBENCHMARK{
    +
    1081  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1082  }
    +
    1083  area->deleteLayer(0);
    +
    1084 }
    +
    1085 
    +
    1086 void UnitTest::bench_deleteLayer(){
    +
    1087  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1088  QBENCHMARK{
    +
    1089  area->deleteLayer(0);
    +
    1090  }
    +
    1091 }
    +
    1092 
    +
    1093 void UnitTest::bench_setActive(){
    +
    1094  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1095  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1096 
    +
    1097  QBENCHMARK{
    +
    1098  area->setLayerActive(0);
    +
    1099  }
    +
    1100 
    +
    1101  area->deleteLayer(1);
    +
    1102  area->deleteLayer(0);
    +
    1103 }
    +
    1104 
    +
    1105 void UnitTest::bench_setAlpha(){
    +
    1106  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1107 
    +
    1108  QBENCHMARK{
    +
    1109  area->setLayerAlpha(0,0);
    +
    1110  }
    +
    1111 
    +
    1112  area->deleteLayer(0);
    +
    1113 }
    +
    1114 
    +
    1115 void UnitTest::bench_floodFill(){
    +
    1116  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1117 
    +
    1118  QBENCHMARK{
    +
    1119  area->layerBundle[0].image->drawPlain(QColor(255, 255, 255, 255));
    +
    1120  }
    +
    1121 
    +
    1122  area->deleteLayer(0);
    +
    1123 }
    +
    1124 
    +
    1125 void UnitTest::bench_moveActive(){
    +
    1126  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1127  area->addLayer(200,200,0,0,255,ImageType::RASTERIMAGE);
    +
    1128 
    +
    1129  area->setLayerActive(0);
    +
    1130  QBENCHMARK{
    +
    1131  area->moveActiveLayer(1);
    +
    1132  }
    +
    1133 
    +
    1134  area->deleteLayer(1);
    +
    1135  area->deleteLayer(0);
    +
    1136 }
    +
    1137 
    +
    1138 void UnitTest::bench_setPolygon(){
    +
    1139  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1140 
    +
    1141  std::vector<QPoint> polygon{
    +
    1142  QPoint(10,00),
    +
    1143  QPoint(00,10),
    +
    1144  QPoint(10,10),
    +
    1145  QPoint(00,10)
    +
    1146  };
    +
    1147 
    +
    1148  QBENCHMARK{
    +
    1149  area->layerBundle[0].image->setPolygon(polygon);
    +
    1150  }
    +
    1151 
    +
    1152  area->deleteLayer(0);
    +
    1153 }
    +
    1154 
    +
    1155 void UnitTest::bench_setLayerUp(){
    +
    1156  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1157  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1158 
    +
    1159  area->setLayerActive(0);
    +
    1160  QBENCHMARK{
    +
    1161  area->selectLayerUp();
    +
    1162  }
    +
    1163 
    +
    1164  area->deleteLayer(1);
    +
    1165  area->deleteLayer(0);
    +
    1166 }
    +
    1167 
    +
    1168 void UnitTest::bench_setLayerDown(){
    +
    1169  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1170  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1171 
    +
    1172  QBENCHMARK{
    +
    1173  area->selectLayerDown();
    +
    1174  }
    +
    1175 
    +
    1176  area->deleteLayer(1);
    +
    1177  area->deleteLayer(0);
    +
    1178 }
    +
    1179 
    +
    1180 void UnitTest::bench_createTools(){
    +
    1181  QBENCHMARK{
    +
    1182  area->createPenTool();
    +
    1183  }
    +
    1184 
    +
    1185  QBENCHMARK{
    +
    1186  area->createLineTool();
    +
    1187  }
    +
    1188 
    +
    1189  QBENCHMARK{
    +
    1190  area->createPlainTool();
    +
    1191  }
    +
    1192 
    +
    1193  QBENCHMARK{
    +
    1194  area->createCircleTool();
    +
    1195  }
    +
    1196 
    +
    1197  QBENCHMARK{
    +
    1198  area->createPolygonTool();
    +
    1199  }
    +
    1200 
    +
    1201  QBENCHMARK{
    +
    1202  area->createFloodFillTool();
    +
    1203  }
    +
    1204 
    +
    1205  QBENCHMARK{
    +
    1206  area->createRectangleTool();
    +
    1207  }
    +
    1208 }
    +
    1209 
    +
    1210 void UnitTest::bench_RasterImage_drawPixel(){
    +
    1211  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1212 
    +
    1213  QPoint point(0,0);
    +
    1214 
    +
    1215  QBENCHMARK{
    +
    1216  area->layerBundle[0].image->drawPixel(point, QColor(0,0,0,255));
    +
    1217  }
    +
    1218 
    +
    1219  area->deleteLayer(0);
    +
    1220 }
    +
    1221 
    +
    1222 void UnitTest::bench_RasterImage_drawLine(){
    +
    1223  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1224 
    +
    1225  QPoint point1(000,000);
    +
    1226  QPoint point2(200,200);
    +
    1227 
    +
    1228  QBENCHMARK{
    +
    1229  area->layerBundle[0].image->drawLine(point1, point2, QColor(0,0,0,255), 1);
    +
    1230  }
    +
    1231 
    +
    1232  area->deleteLayer(0);
    +
    1233 }
    +
    1234 
    +
    1235 void UnitTest::bench_RasterImage_drawPoint(){
    +
    1236  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1237 
    +
    1238  QPoint point(000,000);
    +
    1239 
    +
    1240  QBENCHMARK{
    +
    1241  area->layerBundle[0].image->drawPoint(point, QColor(0,0,0,255), 1);
    +
    1242  }
    +
    1243 
    +
    1244  area->deleteLayer(0);
    +
    1245 }
    +
    1246 
    +
    1247 void UnitTest::bench_RasterImage_getDisplayable(){
    +
    1248  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1249 
    +
    1250  QBENCHMARK{
    +
    1251  area->layerBundle[0].image->getDisplayable(QSize(200,200),255);
    +
    1252  }
    +
    1253 
    +
    1254  area->deleteLayer(0);
    +
    1255 }
    +
    1256 
    +
    1257 void UnitTest::bench_RasterImage_getPixelColor(){
    +
    1258  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1259 
    +
    1260  QPoint point(000,000);
    +
    1261 
    +
    1262  QBENCHMARK{
    +
    1263  area->layerBundle[0].image->getPixelColor(point);
    +
    1264  }
    +
    1265 
    +
    1266  area->deleteLayer(0);
    +
    1267 }
    +
    1268 
    +
    1269 void UnitTest::bench_RasterImage_getImageData(){
    +
    1270  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1271 
    +
    1272  QBENCHMARK{
    +
    1273  area->layerBundle[0].image->getImageData();
    +
    1274  }
    +
    1275 
    +
    1276  area->deleteLayer(0);
    +
    1277 }
    +
    1278 
    +
    1279 void UnitTest::bench_RasterImage_setImageData(){
    +
    1280  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1281 
    +
    1282  QImage img = area->layerBundle[0].image->getImageData();
    +
    1283  QBENCHMARK{
    +
    1284  area->layerBundle[0].image->setImageData(img);
    +
    1285  }
    +
    1286 
    +
    1287  area->deleteLayer(0);
    +
    1288 }
    +
    1289 
    +
    1290 void UnitTest::bench_ShapedImage_drawPixel(){
    +
    1291  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1292 
    +
    1293  QPoint point(0,0);
    +
    1294 
    +
    1295  QBENCHMARK{
    +
    1296  area->layerBundle[0].image->drawPixel(point, QColor(0,0,0,255));
    +
    1297  }
    +
    1298 
    +
    1299  area->deleteLayer(0);
    +
    1300 }
    +
    1301 
    +
    1302 void UnitTest::bench_ShapedImage_drawLine(){
    +
    1303  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1304 
    +
    1305  QPoint point1(000,000);
    +
    1306  QPoint point2(200,200);
    +
    1307 
    +
    1308  QBENCHMARK{
    +
    1309  area->layerBundle[0].image->drawLine(point1, point2, QColor(0,0,0,255), 1);
    +
    1310  }
    +
    1311 
    +
    1312  area->deleteLayer(0);
    +
    1313 }
    +
    1314 
    +
    1315 void UnitTest::bench_ShapedImage_drawPoint(){
    +
    1316  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1317 
    +
    1318  QPoint point(000,000);
    +
    1319 
    +
    1320  QBENCHMARK{
    +
    1321  area->layerBundle[0].image->drawPoint(point, QColor(0,0,0,255), 1);
    +
    1322  }
    +
    1323 
    +
    1324  area->deleteLayer(0);
    +
    1325 }
    +
    1326 
    +
    1327 void UnitTest::bench_ShapedImage_getDisplayable(){
    +
    1328  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1329 
    +
    1330  QBENCHMARK{
    +
    1331  area->layerBundle[0].image->getDisplayable(QSize(200,200),255);
    +
    1332  }
    +
    1333 
    +
    1334  area->deleteLayer(0);
    +
    1335 }
    +
    1336 
    +
    1337 void UnitTest::bench_ShapedImage_getPixelColor(){
    +
    1338  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1339 
    +
    1340  QPoint point(000,000);
    +
    1341 
    +
    1342  QBENCHMARK{
    +
    1343  area->layerBundle[0].image->getPixelColor(point);
    +
    1344  }
    +
    1345 
    +
    1346  area->deleteLayer(0);
    +
    1347 }
    +
    1348 
    +
    1349 void UnitTest::bench_ShapedImage_getImageData(){
    +
    1350  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1351 
    +
    1352  QBENCHMARK{
    +
    1353  area->layerBundle[0].image->getImageData();
    +
    1354  }
    +
    1355 
    +
    1356  area->deleteLayer(0);
    +
    1357 }
    +
    1358 
    +
    1359 void UnitTest::bench_ShapedImage_setImageData(){
    +
    1360  area->addLayer(200,200,10,20,255,ImageType::SHAPEDIMAGE);
    +
    1361 
    +
    1362  QImage img = area->layerBundle[0].image->getImageData();
    +
    1363  QBENCHMARK{
    +
    1364  area->layerBundle[0].image->setImageData(img);
    +
    1365  }
    +
    1366 
    +
    1367  area->deleteLayer(0);
    +
    1368 }
    +
    1369 
    +
    1370 void UnitTest::bench_Circle_fullDraw(){
    +
    1371  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1372  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1373  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1374  area->createCircleTool();
    +
    1375  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1376 
    +
    1377  QPoint point1(100,100);
    +
    1378  QPoint point2(150,100);
    +
    1379  QBENCHMARK{
    +
    1380  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1381  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1382  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1383  }
    +
    1384 
    +
    1385  area->deleteLayer(0);
    +
    1386 }
    +
    1387 
    +
    1388 void UnitTest::bench_Circle_interruptedDraw(){
    +
    1389  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1390  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1391  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1392  area->createCircleTool();
    +
    1393  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1394 
    +
    1395  QPoint point1(100,100);
    +
    1396  QPoint point2(150,100);
    +
    1397  QBENCHMARK{
    +
    1398  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1399  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1400  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1401  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1402  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1403  }
    +
    1404 
    +
    1405  area->deleteLayer(0);
    +
    1406 }
    +
    1407 
    +
    1408 
    +
    1409 void UnitTest::bench_FloodFill_fullDraw(){
    +
    1410  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1411  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1412  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1413  area->createFloodFillTool();
    +
    1414  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1415 
    +
    1416  QPoint point1(100,100);
    +
    1417  QPoint point2(150,100);
    +
    1418  QBENCHMARK{
    +
    1419  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1420  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1421  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1422  }
    +
    1423 
    +
    1424  area->deleteLayer(0);
    +
    1425 }
    +
    1426 
    +
    1427 void UnitTest::bench_FloodFill_interruptedDraw(){
    +
    1428  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1429  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1430  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1431  area->createFloodFillTool();
    +
    1432  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1433 
    +
    1434  QPoint point1(100,100);
    +
    1435  QPoint point2(150,100);
    +
    1436  QBENCHMARK{
    +
    1437  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1438  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1439  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1440  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1441  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1442  }
    +
    1443 
    +
    1444  area->deleteLayer(0);
    +
    1445 }
    +
    1446 
    +
    1447 
    +
    1448 void UnitTest::bench_Line_fullDraw(){
    +
    1449  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1450  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1451  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1452  area->createLineTool();
    +
    1453  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1454 
    +
    1455  QPoint point1(100,100);
    +
    1456  QPoint point2(150,100);
    +
    1457  QBENCHMARK{
    +
    1458  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1459  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1460  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1461  }
    +
    1462 
    +
    1463  area->deleteLayer(0);
    +
    1464 }
    +
    1465 
    +
    1466 void UnitTest::bench_Line_interruptedDraw(){
    +
    1467  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1468  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1469  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1470  area->createLineTool();
    +
    1471  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1472 
    +
    1473  QPoint point1(100,100);
    +
    1474  QPoint point2(150,100);
    +
    1475 
    +
    1476  QBENCHMARK{
    +
    1477  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1478  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1479  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1480  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1481  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1482  }
    +
    1483 
    +
    1484  area->deleteLayer(0);
    +
    1485 }
    +
    1486 
    +
    1487 void UnitTest::bench_Pen_fullDraw(){
    +
    1488  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1489  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1490  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1491  area->createPenTool();
    +
    1492  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1493 
    +
    1494  QPoint point1(100,100);
    +
    1495  QPoint point2(150,100);
    +
    1496  QBENCHMARK{
    +
    1497  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1498  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1499  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1500  }
    +
    1501 
    +
    1502  area->deleteLayer(0);
    +
    1503 }
    +
    1504 
    +
    1505 void UnitTest::bench_Pen_interruptedDraw(){
    +
    1506  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1507  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1508  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1509  area->createPenTool();
    +
    1510  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1511 
    +
    1512  QPoint point1(100,100);
    +
    1513  QPoint point2(150,100);
    +
    1514  QBENCHMARK{
    +
    1515  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1516  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1517  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1518  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1519  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1520  }
    +
    1521 
    +
    1522  area->deleteLayer(0);
    +
    1523 }
    +
    1524 
    +
    1525 void UnitTest::bench_Plain_fullDraw(){
    +
    1526  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1527  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1528  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1529  area->createPlainTool();
    +
    1530  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1531 
    +
    1532  QPoint point1(100,100);
    +
    1533  QPoint point2(150,100);
    +
    1534  QBENCHMARK{
    +
    1535  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1536  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1537  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1538  }
    +
    1539 
    +
    1540  area->deleteLayer(0);
    +
    1541 }
    +
    1542 
    +
    1543 void UnitTest::bench_Plain_interruptedDraw(){
    +
    1544  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1545  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1546  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1547  area->createPlainTool();
    +
    1548  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1549 
    +
    1550  QPoint point1(100,100);
    +
    1551  QPoint point2(150,100);
    +
    1552  QBENCHMARK{
    +
    1553  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1554  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1555  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1556  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1557  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1558  }
    +
    1559 
    +
    1560  area->deleteLayer(0);
    +
    1561 }
    +
    1562 
    +
    1563 void UnitTest::bench_Polygon_fullDraw(){
    +
    1564  area->addLayer(21,21,10,20,255,ImageType::RASTERIMAGE);
    +
    1565  std::vector<QPoint> points{
    +
    1566  QPoint(10,00),
    +
    1567  QPoint(00,10),
    +
    1568  QPoint(10,20),
    +
    1569  QPoint(20,10)
    +
    1570  };
    +
    1571 
    +
    1572  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1573  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1574  area->createPolygonTool();
    +
    1575  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1576 
    +
    1577  QBENCHMARK{
    +
    1578  area->Tool->onMouseLeftPressed(points[0].x(), points[0].y());
    +
    1579  area->Tool->onMouseLeftReleased(points[0].x(), points[0].y());
    +
    1580  area->Tool->onMouseMoved(points[1].x(), points[1].y());
    +
    1581 
    +
    1582  area->Tool->onMouseLeftPressed(points[1].x(), points[1].y());
    +
    1583  area->Tool->onMouseLeftReleased(points[1].x(), points[1].y());
    +
    1584  area->Tool->onMouseMoved(points[2].x(), points[2].y());
    +
    1585 
    +
    1586  area->Tool->onMouseLeftPressed(points[2].x(), points[2].y());
    +
    1587  area->Tool->onMouseLeftReleased(points[2].x(), points[2].y());
    +
    1588  area->Tool->onMouseMoved(points[3].x(), points[3].y());
    +
    1589 
    +
    1590  area->Tool->onMouseLeftPressed(points[3].x(), points[3].y());
    +
    1591  area->Tool->onMouseLeftReleased(points[3].x(), points[3].y());
    +
    1592  area->Tool->onMouseMoved(points[0].x(), points[0].y());
    +
    1593 
    +
    1594  area->Tool->onMouseLeftPressed(points[0].x(), points[0].y());
    +
    1595  area->Tool->onMouseLeftReleased(points[0].x(), points[0].y());
    +
    1596  }
    +
    1597 
    +
    1598  area->deleteLayer(0);
    +
    1599 }
    +
    1600 
    +
    1601 
    +
    1602 void UnitTest::bench_Polygon_interruptedDraw(){
    +
    1603  area->addLayer(201,201,10,20,255,ImageType::RASTERIMAGE);
    +
    1604  std::vector<QPoint> points{
    +
    1605  QPoint(100,000)
    +
    1606  };
    +
    1607 
    +
    1608 
    +
    1609  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1610  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1611  area->createPolygonTool();
    +
    1612  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1613 
    +
    1614  QBENCHMARK{
    +
    1615  area->Tool->onMouseLeftPressed(points[0].x(), points[0].y());
    +
    1616  area->Tool->onMouseLeftReleased(points[0].x(), points[0].y());
    +
    1617 
    +
    1618  area->Tool->onMouseRightPressed(points[0].x(), points[0].y());
    +
    1619  area->Tool->onMouseRightReleased(points[0].x(), points[0].y());
    +
    1620  }
    +
    1621 
    +
    1622  area->deleteLayer(0);
    +
    1623 }
    +
    1624 
    +
    1625 
    +
    1626 void UnitTest::bench_Rectangle_fullDraw(){
    +
    1627  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1628  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1629  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1630  area->createRectangleTool();
    +
    1631  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1632 
    +
    1633  QPoint point1(100,100);
    +
    1634  QPoint point2(150,150);
    +
    1635 
    +
    1636  QBENCHMARK{
    +
    1637  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1638  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1639  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1640  }
    +
    1641 
    +
    1642  area->deleteLayer(0);
    +
    1643 }
    +
    1644 
    +
    1645 void UnitTest::bench_Rectangle_interruptedDraw(){
    +
    1646  area->addLayer(200,200,10,20,255,ImageType::RASTERIMAGE);
    +
    1647  area->colorPicker.setFirstColor(QColor(255,255,255,255));
    +
    1648  area->colorPicker.setSecondColor(QColor(0,0,0,255));
    +
    1649  area->createRectangleTool();
    +
    1650  area->layerBundle[0].image->drawPlain(QColor(255, 0, 0, 255));
    +
    1651 
    +
    1652  QPoint point1(100,100);
    +
    1653  QPoint point2(150,150);
    +
    1654  QBENCHMARK{
    +
    1655  area->Tool->onMouseLeftPressed(point1.x(), point1.y());
    +
    1656  area->Tool->onMouseMoved(point2.x(), point2.y());
    +
    1657  area->Tool->onMouseRightPressed(point2.x(), point2.y());
    +
    1658  area->Tool->onMouseRightReleased(point2.x(),point2.y());
    +
    1659  area->Tool->onMouseLeftReleased(point2.x(), point2.y());
    +
    1660  }
    +
    1661 
    +
    1662  area->deleteLayer(0);
    +
    1663 }
    +
    1664 
    +
    1665 
    +
    1666 void UnitTest::bench_Triangulation_Coverage(){
    +
    1667  std::vector<QPoint> points{
    +
    1668  QPoint(10,00),
    +
    1669  QPoint(00,10),
    +
    1670  QPoint(10,20),
    +
    1671  QPoint(20,10)
    +
    1672  };
    +
    1673  std::vector<QPoint> test{
    +
    1674  QPoint(00,00),
    +
    1675  QPoint(00,20),
    +
    1676  QPoint(20,00),
    +
    1677  QPoint(20,20),
    +
    1678  QPoint(10,10)
    +
    1679  };
    +
    1680 
    +
    1681  QBENCHMARK{
    +
    1682  std::vector<Triangle> tria = IntelliTriangulation::calculateTriangles(points);
    +
    1683  QPoint point;
    +
    1684  for(int i = 0; i<200; i++) {
    +
    1685  point.setX(i);
    +
    1686  for(int j = 0; j<200; j++) {
    +
    1687  point.setY(j);
    +
    1688  IntelliTriangulation::isInPolygon(tria, point);
    +
    1689  }
    +
    1690  }
    +
    1691  }
    +
    1692 }
    +
    1693 
    +
    1694 
    +
    1695 QTEST_MAIN(UnitTest)
    +
    1696 
    +
    1697 #include "tst_unittest.moc"
    +
    +
    +
    void createCircleTool()
    createCircleTool creates a Circle Tool.
    +
    virtual void onMouseRightPressed(int x, int y)
    A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
    Definition: IntelliTool.cpp:19
    +
    QColor getFirstColor() const
    A function to read the primary selected color.
    + +
    virtual void onMouseLeftReleased(int x, int y)
    A function managing the left click Released of a Mouse. Call this in child classes!
    Definition: IntelliTool.cpp:37
    +
    void createRectangleTool()
    createRectangleTool creates a Rectangle Tool.
    + + +
    virtual void onMouseLeftPressed(int x, int y)
    A function managing the left click Pressed of a Mouse. Resetting the current draw....
    Definition: IntelliTool.cpp:30
    + + + +
    void setLayerAlpha(int idx, int alpha)
    The setAlphaOfLayer method sets the alpha value of a specific layer.
    + +
    void setLayerActive(int idx)
    The setLayerToActive method marks a specific layer as active.
    +
    std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
    A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
    +
    void deleteLayer(int idx, bool isTool=false)
    The deleteLayer method removes a layer at a given idx.
    + +
    The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
    +
    void setSecondColor(QColor Color)
    A function to set the secondary color.
    +
    The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
    +
    The IntelliShapedImage manages a Shapedimage.
    + + +
    void createPlainTool()
    createPlainTool creates a Plain Tool.
    +
    The PaintingArea class manages the methods and stores information about the current painting area,...
    Definition: PaintingArea.h:57
    +
    void createPenTool()
    createPenTool creates a Pen Tool.
    + + +
    QColor getSecondColor() const
    A function to read the secondary selected color.
    +
    The IntelliToolRectangle class represents a tool to draw a rectangle.
    +
    void createLineTool()
    createLineTool creates a Line Tool.
    + +
    The IntelliToolPen class represents a tool to draw a line.
    +
    virtual void onMouseRightReleased(int x, int y)
    A function managing the right click Released of a Mouse. Merging the Canvas to Active....
    Definition: IntelliTool.cpp:26
    + + + +
    void setFirstColor(QColor Color)
    A function to set the primary color.
    + +
    void createPolygonTool()
    createPolygonTool creates a Polygon Tool.
    +
    void moveActiveLayer(int idx)
    The moveActiveLayer moves the active layer to a specific position in the layer stack.
    +
    IntelliColorPicker colorPicker
    colorPicker a class to manage Tool color.
    Definition: PaintingArea.h:286
    + +
    void createFloodFillTool()
    createFloodFillTool creates a Floodfill Tool.
    + +
    The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
    + +
    The IntelliToolCircle class represents a tool to draw a circle.
    +
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:48
    +
    int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
    The addLayer adds a layer to the current project/ painting area.
    +
    The IntelliToolPolygon managed the Drawing of Polygonforms.
    +
    std::vector< QPoint > polygonData
    The Vertices of The Polygon. Needs to be a planar Polygon.
    +
    bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
    A function to check if a point lies in a polygon by checking its spanning triangles.
    + + +
    The IntelliToolFloodFill class represents a tool to draw a line.
    + + + + diff --git a/docs/referenzsystem.docx b/docs-src/referenzsystem.docx similarity index 100% rename from docs/referenzsystem.docx rename to docs-src/referenzsystem.docx diff --git a/docs/Benutzerhandbuch.pdf b/docs/Benutzerhandbuch.pdf new file mode 100644 index 0000000..7f159c7 Binary files /dev/null and b/docs/Benutzerhandbuch.pdf differ diff --git a/docs/Entwicklerhandbuch.pdf b/docs/Entwicklerhandbuch.pdf new file mode 100644 index 0000000..7ad9179 Binary files /dev/null and b/docs/Entwicklerhandbuch.pdf differ diff --git a/docs/html/_intelli_color_picker_8cpp.html b/docs/html/_intelli_color_picker_8cpp.html index 97d3c27..5962e3b 100644 --- a/docs/html/_intelli_color_picker_8cpp.html +++ b/docs/html/_intelli_color_picker_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_color_picker_8cpp_source.html b/docs/html/_intelli_color_picker_8cpp_source.html index 6aaf19c..8b8d5ff 100644 --- a/docs/html/_intelli_color_picker_8cpp_source.html +++ b/docs/html/_intelli_color_picker_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_color_picker_8h.html b/docs/html/_intelli_color_picker_8h.html index 95956d4..c1b1408 100644 --- a/docs/html/_intelli_color_picker_8h.html +++ b/docs/html/_intelli_color_picker_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_color_picker_8h_source.html b/docs/html/_intelli_color_picker_8h_source.html index 42b2f3a..4c94c90 100644 --- a/docs/html/_intelli_color_picker_8h_source.html +++ b/docs/html/_intelli_color_picker_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_datamanager_8cpp.html b/docs/html/_intelli_datamanager_8cpp.html index 9bb5dcd..d720eb0 100644 --- a/docs/html/_intelli_datamanager_8cpp.html +++ b/docs/html/_intelli_datamanager_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_datamanager_8cpp_source.html b/docs/html/_intelli_datamanager_8cpp_source.html index 4f709d4..935572b 100644 --- a/docs/html/_intelli_datamanager_8cpp_source.html +++ b/docs/html/_intelli_datamanager_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -182,12 +182,11 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
    94  }
    95  Canvas->setRenderSettings(static_cast<bool>(rendersetting));
    96  openFile.close();
    -
    97  Canvas->historyadd();
    -
    98  return true;
    -
    99  }
    -
    100 
    -
    101  return false;
    -
    102 }
    +
    97  return true;
    +
    98  }
    +
    99 
    +
    100  return false;
    +
    101 }
    @@ -205,7 +204,6 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
    bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
    saveProject saves the current project to a file.
    bool getRenderSettings()
    getRenderSettings updates all Images to the new Rendersetting.
    int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
    The addLayer adds a layer to the current project/ painting area.
    -
    void historyadd()
    historyadd adds an hisotry step
    void setPolygonDataToActive(std::vector< QPoint > points)
    setPolygonDataToActive sets polygondata to the active Layer.
    diff --git a/docs/html/_intelli_datamanager_8h.html b/docs/html/_intelli_datamanager_8h.html index d803876..cfe6b8a 100644 --- a/docs/html/_intelli_datamanager_8h.html +++ b/docs/html/_intelli_datamanager_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_datamanager_8h_source.html b/docs/html/_intelli_datamanager_8h_source.html index 287bb6d..603f53d 100644 --- a/docs/html/_intelli_datamanager_8h_source.html +++ b/docs/html/_intelli_datamanager_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8h_source.html','
    IntelliDatamanager.h
    -Go to the documentation of this file.
    1 #ifndef INTELLIDATAMANAGER_H
    +Go to the documentation of this file.
    1  #ifndef INTELLIDATAMANAGER_H
    2 #define INTELLIDATAMANAGER_H
    3 
    4 #include <QFile>
    diff --git a/docs/html/_intelli_image_8cpp.html b/docs/html/_intelli_image_8cpp.html index cb66434..5a9a149 100644 --- a/docs/html/_intelli_image_8cpp.html +++ b/docs/html/_intelli_image_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_image_8cpp_source.html b/docs/html/_intelli_image_8cpp_source.html index 76e9a4e..e6ac50e 100644 --- a/docs/html/_intelli_image_8cpp_source.html +++ b/docs/html/_intelli_image_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_image_8h.html b/docs/html/_intelli_image_8h.html index f861fe8..cd1515b 100644 --- a/docs/html/_intelli_image_8h.html +++ b/docs/html/_intelli_image_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_image_8h_source.html b/docs/html/_intelli_image_8h_source.html index 698c138..e0ca3b1 100644 --- a/docs/html/_intelli_image_8h_source.html +++ b/docs/html/_intelli_image_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_input_dialog_8cpp.html b/docs/html/_intelli_input_dialog_8cpp.html index 4d14f5a..4ce2fb6 100644 --- a/docs/html/_intelli_input_dialog_8cpp.html +++ b/docs/html/_intelli_input_dialog_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_input_dialog_8cpp_source.html b/docs/html/_intelli_input_dialog_8cpp_source.html index af3b732..a2d0a2d 100644 --- a/docs/html/_intelli_input_dialog_8cpp_source.html +++ b/docs/html/_intelli_input_dialog_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_input_dialog_8h.html b/docs/html/_intelli_input_dialog_8h.html index befe024..4641e20 100644 --- a/docs/html/_intelli_input_dialog_8h.html +++ b/docs/html/_intelli_input_dialog_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_input_dialog_8h_source.html b/docs/html/_intelli_input_dialog_8h_source.html index 263ad64..157061d 100644 --- a/docs/html/_intelli_input_dialog_8h_source.html +++ b/docs/html/_intelli_input_dialog_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_photo_gui_8cpp.html b/docs/html/_intelli_photo_gui_8cpp.html index 4980590..aaa354d 100644 --- a/docs/html/_intelli_photo_gui_8cpp.html +++ b/docs/html/_intelli_photo_gui_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_photo_gui_8cpp_source.html b/docs/html/_intelli_photo_gui_8cpp_source.html index b358b55..79a41e6 100644 --- a/docs/html/_intelli_photo_gui_8cpp_source.html +++ b/docs/html/_intelli_photo_gui_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -403,8 +403,8 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
    315 // Open an about dialog
    316 void IntelliPhotoGui::slotAboutDialog(){
    317  // Window title and text to display
    -
    318  QMessageBox::about(this, tr("About Painting"),
    -
    319  tr("<p><b>IntelliPhoto - </b>A Pretty basic editor.</p> <br>Developed by Team 7."));
    +
    318  QMessageBox::about(this, tr("About Us"),
    +
    319  tr("<h1>About IntelliPhoto</h1><p>Version: v1.0<br>Developed by: Team 7<br>Interactive painting tool with layering and drawing capabilities.</p>"));
    320 }
    321 
    322 void IntelliPhotoGui::slotEnterPressed(){
    @@ -944,7 +944,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
    856 
    857 void IntelliPhotoGui::setIntelliStyle(){
    858  // Set the title
    -
    859  setWindowTitle("IntelliPhoto Prototype");
    +
    859  setWindowTitle("IntelliPhoto v1.0");
    860  // Set style sheet
    861  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
    862 
    @@ -1072,7 +1072,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
    void createPenTool()
    createPenTool creates a Pen Tool.
    QColor getSecondColor() const
    A function to read the secondary selected color.
    int getIndexOfActiveLayer()
    getIndexOfActiveLayer returns the index of athe active Layer.
    -
    void historyGoBack()
    historyGoBack go back in hisotry
    +
    void historyGoBack()
    historyGoBack go back in hisotry
    void createLineTool()
    createLineTool creates a Line Tool.
    void colorPickerSetSecondColor()
    The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
    void colorPickerSetFirstColor()
    The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
    @@ -1099,7 +1099,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
    void movePositionActive(int x, int y)
    The movePositionActive method moves the active layer to certain position.
    An abstract class which manages the basic IntelliImage operations.
    Definition: IntelliImage.h:30
    int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
    The addLayer adds a layer to the current project/ painting area.
    -
    void historyGoForward()
    historyGoForward a function to undo the return of the previous state of the project.
    +
    void historyGoForward()
    historyGoForward a function to undo the return of the previous state of the project.
    void historyadd()
    historyadd adds an hisotry step
    void createGradientTool()
    createGradientTool creates a Gradient Tool.
    diff --git a/docs/html/_intelli_photo_gui_8h.html b/docs/html/_intelli_photo_gui_8h.html index 7af0b73..1159e3d 100644 --- a/docs/html/_intelli_photo_gui_8h.html +++ b/docs/html/_intelli_photo_gui_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_photo_gui_8h_source.html b/docs/html/_intelli_photo_gui_8h_source.html index 4876179..978638d 100644 --- a/docs/html/_intelli_photo_gui_8h_source.html +++ b/docs/html/_intelli_photo_gui_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_raster_image_8cpp.html b/docs/html/_intelli_raster_image_8cpp.html index 4514b81..21b14dc 100644 --- a/docs/html/_intelli_raster_image_8cpp.html +++ b/docs/html/_intelli_raster_image_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_raster_image_8cpp_source.html b/docs/html/_intelli_raster_image_8cpp_source.html index 18fa201..5633ab7 100644 --- a/docs/html/_intelli_raster_image_8cpp_source.html +++ b/docs/html/_intelli_raster_image_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -94,80 +94,69 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
    6 IntelliRasterImage::IntelliRasterImage(int width, int height, bool fastRendererOn)
    7  : IntelliImage(width, height, fastRendererOn){
    -
    9  this->fastRenderering = fastRendererOn;
    -
    10 }
    +
    9 }
    +
    10 
    11 
    -
    12 
    - - -
    15  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), this->fastRenderering);
    -
    16  raster->imageData.copy(0,0,image.getWidth(),image.getWidth());
    -
    17  return raster;
    -
    18 }
    -
    19 
    -
    20 
    - + +
    13 
    +
    14 }
    +
    15 
    + +
    17  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false);
    +
    18  raster->imageData.fill(Qt::transparent);
    + +
    20  return raster;
    +
    21 }
    22 
    -
    23 }
    -
    24 
    - -
    26  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false);
    -
    27  raster->imageData.fill(Qt::transparent);
    - -
    29  return raster;
    -
    30 }
    -
    31 
    - -
    33  // not used in raster image
    -
    34 }
    -
    35 
    - -
    37  return getDisplayable(imageData.size(), alpha);
    -
    38 }
    -
    39 
    -
    40 QImage IntelliRasterImage::getDisplayable(const QSize& displaySize, int alpha){
    -
    41  QImage copy = imageData;
    -
    42  if(fastRenderering) {
    -
    43  copy = copy.convertToFormat(QImage::Format_ARGB32);
    -
    44  }
    -
    45  for(int y = 0; y<copy.height(); y++) {
    -
    46  for(int x = 0; x<copy.width(); x++) {
    -
    47  QColor clr = copy.pixelColor(x,y);
    -
    48  clr.setAlpha(std::min(alpha, clr.alpha()));
    -
    49  copy.setPixelColor(x,y, clr);
    -
    50  }
    -
    51  }
    -
    52  if(fastRenderering) {
    -
    53  copy = copy.convertToFormat(QImage::Format_Indexed8);
    -
    54  }
    -
    55  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
    -
    56 }
    -
    57 
    -
    58 void IntelliRasterImage::setPolygon(const std::vector<QPoint>& polygonData){
    -
    59  return;
    -
    60 }
    -
    61 
    -
    62 std::vector<QPoint> IntelliRasterImage::getPolygon(){
    -
    63  return std::vector<QPoint>();
    -
    64 }
    + +
    24  // not used in raster image
    +
    25 }
    +
    26 
    + +
    28  return getDisplayable(imageData.size(), alpha);
    +
    29 }
    +
    30 
    +
    31 QImage IntelliRasterImage::getDisplayable(const QSize& displaySize, int alpha){
    +
    32  QImage copy = imageData;
    +
    33  if(fastRenderering) {
    +
    34  copy = copy.convertToFormat(QImage::Format_ARGB32);
    +
    35  }
    +
    36  for(int y = 0; y<copy.height(); y++) {
    +
    37  for(int x = 0; x<copy.width(); x++) {
    +
    38  QColor clr = copy.pixelColor(x,y);
    +
    39  clr.setAlpha(std::min(alpha, clr.alpha()));
    +
    40  copy.setPixelColor(x,y, clr);
    +
    41  }
    +
    42  }
    +
    43  if(fastRenderering) {
    +
    44  copy = copy.convertToFormat(QImage::Format_Indexed8);
    +
    45  }
    +
    46  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
    +
    47 }
    +
    48 
    +
    49 void IntelliRasterImage::setPolygon(const std::vector<QPoint>& polygonData){
    +
    50  return;
    +
    51 }
    +
    52 
    +
    53 std::vector<QPoint> IntelliRasterImage::getPolygon(){
    +
    54  return std::vector<QPoint>();
    +
    55 }
    -
    virtual ~IntelliRasterImage() override
    An Destructor.
    +
    virtual ~IntelliRasterImage() override
    An Destructor.
    IntelliRasterImage(int width, int height, bool fastRendererOn)
    The Construcor of the IntelliRasterImage. Given the Image dimensions.
    -
    IntelliRasterImage * copy(const IntelliRasterImage &image)
    bool fastRenderering
    fastRendering is the flag that represents the usage of 8bit pictures.
    Definition: IntelliImage.h:51
    -
    virtual std::vector< QPoint > getPolygon()
    getPolygon
    -
    virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
    A function returning the displayable ImageData in a requested transparence and size.
    +
    virtual std::vector< QPoint > getPolygon()
    getPolygon
    +
    virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
    A function returning the displayable ImageData in a requested transparence and size.
    ImageType TypeOfImage
    The Type, an Image is.
    Definition: IntelliImage.h:46
    QImage imageData
    The underlying image data.
    Definition: IntelliImage.h:41
    An abstract class which manages the basic IntelliImage operations.
    Definition: IntelliImage.h:30
    -
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    -
    virtual void calculateVisiblity() override
    A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
    -
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    An abstract function that sets the data of the visible Polygon, if needed.
    +
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    +
    virtual void calculateVisiblity() override
    A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
    +
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    An abstract function that sets the data of the visible Polygon, if needed.
    The IntelliRasterImage manages a RASTERIMAGE.
    -
    virtual int getWidth() const
    getWidth returns the width of the Image.
    -
    virtual ~IntelliRasterImage() override
    An Destructor.
    +
    virtual ~IntelliRasterImage() override
    An Destructor.
    IntelliRasterImage(int width, int height, bool fastRendererOn)
    The Construcor of the IntelliRasterImage. Given the Image dimensions.
    -
    IntelliRasterImage * copy(const IntelliRasterImage &image)
    -
    virtual std::vector< QPoint > getPolygon()
    getPolygon
    +
    virtual std::vector< QPoint > getPolygon()
    getPolygon
    An abstract class that manages the basic events, like mouse clicks or scrolls events.
    Definition: IntelliTool.h:17
    -
    virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
    A function returning the displayable ImageData in a requested transparence and size.
    +
    virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
    A function returning the displayable ImageData in a requested transparence and size.
    An abstract class which manages the basic IntelliImage operations.
    Definition: IntelliImage.h:30
    -
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    -
    virtual void calculateVisiblity() override
    A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
    -
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    An abstract function that sets the data of the visible Polygon, if needed.
    +
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    +
    virtual void calculateVisiblity() override
    A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
    +
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    An abstract function that sets the data of the visible Polygon, if needed.
    The IntelliRasterImage manages a RASTERIMAGE.
    -
    virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
    A function returning the displayable ImageData in a requested transparence and size.
    -
    IntelliShapedImage * copy(const IntelliShapedImage &image)
    +
    virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
    A function returning the displayable ImageData in a requested transparence and size.
    std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
    A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
    -
    virtual std::vector< QPoint > getPolygon() override
    getPolygon
    +
    virtual std::vector< QPoint > getPolygon() override
    getPolygon
    The IntelliShapedImage manages a Shapedimage.
    -
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    +
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    bool fastRenderering
    fastRendering is the flag that represents the usage of 8bit pictures.
    Definition: IntelliImage.h:51
    ImageType TypeOfImage
    The Type, an Image is.
    Definition: IntelliImage.h:46
    @@ -227,11 +218,10 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
    std::vector< QPoint > polygonData
    The Vertices of The Polygon. Needs to be a planar Polygon.
    IntelliShapedImage(int width, int height, bool fastRendererOn)
    The Construcor of the IntelliShapedImage. Given the Image dimensions.
    bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
    A function to check if a point lies in a polygon by checking its spanning triangles.
    -
    virtual ~IntelliShapedImage() override
    An Destructor.
    +
    virtual ~IntelliShapedImage() override
    An Destructor.
    The IntelliRasterImage manages a RASTERIMAGE.
    -
    virtual int getWidth() const
    getWidth returns the width of the Image.
    -
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    A function that sets the data of the visible Polygon.
    +
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    A function that sets the data of the visible Polygon.
    -
    virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
    A function returning the displayable ImageData in a requested transparence and size.
    -
    IntelliShapedImage * copy(const IntelliShapedImage &image)
    -
    virtual std::vector< QPoint > getPolygon() override
    getPolygon
    +
    virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
    A function returning the displayable ImageData in a requested transparence and size.
    +
    virtual std::vector< QPoint > getPolygon() override
    getPolygon
    The IntelliShapedImage manages a Shapedimage.
    -
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    +
    virtual IntelliImage * getDeepCopy() override
    A function that copys all that returns a [allocated] Image.
    An abstract class that manages the basic events, like mouse clicks or scrolls events.
    Definition: IntelliTool.h:17
    -
    virtual std::vector< QPoint > getPolygonData() override
    A function that returns the Polygondata if existent.
    +
    virtual std::vector< QPoint > getPolygonData() override
    A function that returns the Polygondata if existent.
    An abstract class which manages the basic IntelliImage operations.
    Definition: IntelliImage.h:30
    std::vector< QPoint > polygonData
    The Vertices of The Polygon. Needs to be a planar Polygon.
    IntelliShapedImage(int width, int height, bool fastRendererOn)
    The Construcor of the IntelliShapedImage. Given the Image dimensions.
    -
    virtual ~IntelliShapedImage() override
    An Destructor.
    +
    virtual ~IntelliShapedImage() override
    An Destructor.
    The IntelliRasterImage manages a RASTERIMAGE.
    -
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    A function that sets the data of the visible Polygon.
    +
    virtual void setPolygon(const std::vector< QPoint > &polygonData) override
    A function that sets the data of the visible Polygon.
    virtual void onMouseLeftReleased(int x, int y) override
    A function managing the left click Released of a Mouse. Call this in child classes!
    @@ -228,17 +219,15 @@ $(document).ready(function(){initNavTree('_intelli_tool_gradient_8cpp_source.htm
    virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
    A function that draws a line between two given points in a given color.
    virtual void onMouseLeftPressed(int x, int y)
    A function managing the left click Pressed of a Mouse. Resetting the current draw....
    Definition: IntelliTool.cpp:30
    virtual void drawPixel(const QPoint &p1, const QColor &color)
    A funtcion used to draw a pixel on the Image with the given Color.
    -
    virtual bool isFastRendering() const
    isFastRendering returns if the Image is in fast rendering mode.
    virtual ~IntelliToolGradient() override
    ~IntelliToolGradient basic destructor.
    virtual void onMouseRightPressed(int x, int y) override
    A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
    The PaintingArea class manages the methods and stores information about the current painting area,...
    Definition: PaintingArea.h:57
    bool isDrawing
    A flag checking if the user is currently drawing or not.
    Definition: IntelliTool.h:84
    -
    virtual void onWheelScrolled(int value) override
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    +
    virtual void onWheelScrolled(int value) override
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    QColor getSecondColor() const
    A function to read the secondary selected color.
    IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
    IntelliToolGradient basic constructor of the gradient tool.
    virtual void onMouseRightReleased(int x, int y)
    A function managing the right click Released of a Mouse. Merging the Canvas to Active....
    Definition: IntelliTool.cpp:26
    LayerObject * activeLayer
    A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
    Definition: IntelliTool.h:74
    -
    virtual void updateRendererSetting(bool fastRendererOn)
    updateRendererSetting updates the existing image format to the new format.
    LayerObject * Canvas
    A pointer to the drawing canvas of the tool, work on this.
    Definition: IntelliTool.h:79
    int width
    width - Stores the width of a layer in pixels.
    Definition: PaintingArea.h:31
    virtual void onMouseLeftPressed(int x, int y) override
    A function managing the left click Pressed of a Mouse. Resetting the current draw....
    @@ -250,8 +239,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_gradient_8cpp_source.htm
    The IntelliColorPicker manages the selected colors for one whole project.
    IntelliImage * image
    image - Stores the imageData of the current LayerObject.
    Definition: PaintingArea.h:27
    -
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:47
    -
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:52
    +
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:48
    +
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:53
    The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
    virtual void drawPlain(const QColor &color)
    A function that clears the whole image in a given Color.
    diff --git a/docs/html/_intelli_tool_gradient_8h.html b/docs/html/_intelli_tool_gradient_8h.html index 0cbdbac..2ba7603 100644 --- a/docs/html/_intelli_tool_gradient_8h.html +++ b/docs/html/_intelli_tool_gradient_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_tool_gradient_8h_source.html b/docs/html/_intelli_tool_gradient_8h_source.html index d23c0f4..bfe96a7 100644 --- a/docs/html/_intelli_tool_gradient_8h_source.html +++ b/docs/html/_intelli_tool_gradient_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -117,24 +117,20 @@ $(document).ready(function(){initNavTree('_intelli_tool_gradient_8h_source.html'
    79 
    83 double VectorStartEnd[2];
    84 
    -
    88 double NormalVector[2];
    +
    88 QColor LineColor;
    89 
    -
    93 double NormalDotNormal;
    +
    93 bool hasMoved;
    94 
    -
    98 QColor LineColor;
    -
    99 
    -
    103 bool hasMoved;
    -
    104 
    -
    109 void computeAndDrawPixelColor(QPoint Point);
    -
    110 
    -
    117 double dotProduct(double Vector1[2], double Vector2[2]);
    -
    118 
    -
    124 double lenghtVector(double Vector[2]);
    -
    125 
    -
    129 void computeGradientLayer();
    -
    130 };
    -
    131 
    -
    132 #endif // INTELLITOOLGRADIENT_H
    +
    99 void computeAndDrawPixelColor(QPoint Point, int FirstColor[4], int SecondColor[4], double NormalVector[2], double NormalDotNormal);
    +
    100 
    +
    107 double dotProduct(double Vector1[2], double Vector2[2]);
    +
    108 
    +
    114 double lenghtVector(double Vector[2]);
    +
    115 
    +
    119 void computeGradientLayer();
    +
    120 };
    +
    121 
    +
    122 #endif // INTELLITOOLGRADIENT_H
    virtual void onMouseLeftReleased(int x, int y) override
    A function managing the left click Released of a Mouse. Call this in child classes!
    @@ -146,7 +142,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_gradient_8h_source.html'
    virtual ~IntelliToolGradient() override
    ~IntelliToolGradient basic destructor.
    virtual void onMouseRightPressed(int x, int y) override
    A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
    The PaintingArea class manages the methods and stores information about the current painting area,...
    Definition: PaintingArea.h:57
    -
    virtual void onWheelScrolled(int value) override
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    +
    virtual void onWheelScrolled(int value) override
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
    IntelliToolGradient basic constructor of the gradient tool.
    virtual void onMouseLeftPressed(int x, int y) override
    A function managing the left click Pressed of a Mouse. Resetting the current draw....
    An abstract class that manages the basic events, like mouse clicks or scrolls events.
    Definition: IntelliTool.h:17
    diff --git a/docs/html/_intelli_tool_line_8cpp.html b/docs/html/_intelli_tool_line_8cpp.html index b10fc19..172eb59 100644 --- a/docs/html/_intelli_tool_line_8cpp.html +++ b/docs/html/_intelli_tool_line_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_tool_line_8cpp_source.html b/docs/html/_intelli_tool_line_8cpp_source.html index 16b789e..43832cf 100644 --- a/docs/html/_intelli_tool_line_8cpp_source.html +++ b/docs/html/_intelli_tool_line_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -163,9 +163,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
    virtual void onMouseLeftPressed(int x, int y) override
    A function managing the left click pressed of a mouse. Sets the starting point of the line.
    void setLineWidth(int LineWidth)
    setLineWidth sets the width attribute of the line.
    -
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:47
    +
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:48
    virtual void calculateVisiblity()=0
    An abstract function that calculates the visiblity of the Image data if needed.
    -
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:52
    +
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:53
    The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
    virtual void drawPlain(const QColor &color)
    A function that clears the whole image in a given Color.
    diff --git a/docs/html/_intelli_tool_line_8h.html b/docs/html/_intelli_tool_line_8h.html index cfe0076..78e0d66 100644 --- a/docs/html/_intelli_tool_line_8h.html +++ b/docs/html/_intelli_tool_line_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_tool_line_8h_source.html b/docs/html/_intelli_tool_line_8h_source.html index 0981ba9..c400cc4 100644 --- a/docs/html/_intelli_tool_line_8h_source.html +++ b/docs/html/_intelli_tool_line_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_tool_pen_8cpp.html b/docs/html/_intelli_tool_pen_8cpp.html index 859b0f6..fb17e86 100644 --- a/docs/html/_intelli_tool_pen_8cpp.html +++ b/docs/html/_intelli_tool_pen_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_intelli_tool_pen_8cpp_source.html b/docs/html/_intelli_tool_pen_8cpp_source.html index 97e0572..85207c0 100644 --- a/docs/html/_intelli_tool_pen_8cpp_source.html +++ b/docs/html/_intelli_tool_pen_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -163,10 +163,10 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8cpp_source.html',''
    IntelliImage * image
    image - Stores the imageData of the current LayerObject.
    Definition: PaintingArea.h:27
    void setLineWidth(int LineWidth)
    setLineWidth sets the width attribute of the line.
    -
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:47
    +
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:48
    virtual void onMouseLeftPressed(int x, int y) override
    A function managing the left click pressed of a mouse. Starting the drawing procedure.
    virtual void calculateVisiblity()=0
    An abstract function that calculates the visiblity of the Image data if needed.
    -
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:52
    +
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:53
    The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
    int getWidthOfActive()
    The getWidthOfActive gets the horizontal dimensions of the active layer.
    @@ -688,7 +667,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
    QColor getSecondColor() const
    A function to read the secondary selected color.
    int getIndexOfActiveLayer()
    getIndexOfActiveLayer returns the index of athe active Layer.
    void drawPixelOntoActive(QColor color, QPoint point)
    drawPixelOntoActive draws a pixel onto the image data of the active Layer.
    -
    void historyGoBack()
    historyGoBack go back in hisotry
    +
    void historyGoBack()
    historyGoBack go back in hisotry
    The IntelliToolRectangle class represents a tool to draw a rectangle.
    void createLineTool()
    createLineTool creates a Line Tool.
    @@ -739,14 +718,14 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
    The IntelliToolCircle class represents a tool to draw a circle.
    void movePositionActive(int x, int y)
    The movePositionActive method moves the active layer to certain position.
    An abstract class which manages the basic IntelliImage operations.
    Definition: IntelliImage.h:30
    -
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:47
    +
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:48
    int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
    The addLayer adds a layer to the current project/ painting area.
    The IntelliToolPolygon managed the Drawing of Polygonforms.
    -
    void historyGoForward()
    historyGoForward a function to undo the return of the previous state of the project.
    +
    void historyGoForward()
    historyGoForward a function to undo the return of the previous state of the project.
    virtual void calculateVisiblity()=0
    An abstract function that calculates the visiblity of the Image data if needed.
    void historyadd()
    historyadd adds an hisotry step
    -
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:52
    +
    virtual void onWheelScrolled(int value)
    A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
    Definition: IntelliTool.cpp:53
    The IntelliRasterImage manages a RASTERIMAGE.
    void setPolygonDataToActive(std::vector< QPoint > points)
    setPolygonDataToActive sets polygondata to the active Layer.
    diff --git a/docs/html/_painting_area_8h.html b/docs/html/_painting_area_8h.html index 11cd012..48ea728 100644 --- a/docs/html/_painting_area_8h.html +++ b/docs/html/_painting_area_8h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/_painting_area_8h_source.html b/docs/html/_painting_area_8h_source.html index 359c16b..7a5e167 100644 --- a/docs/html/_painting_area_8h_source.html +++ b/docs/html/_painting_area_8h_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -255,17 +255,13 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
    453 
    457 void updateTools();
    458 
    -
    462 std::vector<LayerObject> history[100] = {layerBundle};
    +
    462 std::vector<std::vector<LayerObject> > history = {layerBundle};
    463 
    -
    467 int historyMaxPast = 0;
    +
    467 int historyPresent = 0;
    468 
    -
    472 int historyMaxFuture = 0;
    -
    473 
    -
    477 int historyPresent = 0;
    -
    478 
    -
    479 };
    -
    480 
    -
    481 #endif
    +
    469 };
    +
    470 
    +
    471 #endif
    int getWidthOfActive()
    The getWidthOfActive gets the horizontal dimensions of the active layer.
    @@ -302,7 +298,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
    int alpha
    alpha - Stores the alpha value of the layer (default=255).
    Definition: PaintingArea.h:47
    void drawPixelOntoActive(QColor color, QPoint point)
    drawPixelOntoActive draws a pixel onto the image data of the active Layer.
    int getIndexOfActiveLayer()
    getIndexOfActiveLayer returns the index of athe active Layer.
    -
    void historyGoBack()
    historyGoBack go back in hisotry
    +
    void historyGoBack()
    historyGoBack go back in hisotry
    void createLineTool()
    createLineTool creates a Line Tool.
    void colorPickerSetSecondColor()
    The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
    void colorPickerSetFirstColor()
    The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
    @@ -336,7 +332,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
    void movePositionActive(int x, int y)
    The movePositionActive method moves the active layer to certain position.
    An abstract class which manages the basic IntelliImage operations.
    Definition: IntelliImage.h:30
    int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
    The addLayer adds a layer to the current project/ painting area.
    -
    void historyGoForward()
    historyGoForward a function to undo the return of the previous state of the project.
    +
    void historyGoForward()
    historyGoForward a function to undo the return of the previous state of the project.
    void historyadd()
    historyadd adds an hisotry step
    void setPolygonDataToActive(std::vector< QPoint > points)
    setPolygonDataToActive sets polygondata to the active Layer.
    diff --git a/docs/html/annotated.html b/docs/html/annotated.html index a23352a..eb95d12 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_color_picker-members.html b/docs/html/class_intelli_color_picker-members.html index 73d06fa..6190a20 100644 --- a/docs/html/class_intelli_color_picker-members.html +++ b/docs/html/class_intelli_color_picker-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_color_picker.html b/docs/html/class_intelli_color_picker.html index f60a452..976e766 100644 --- a/docs/html/class_intelli_color_picker.html +++ b/docs/html/class_intelli_color_picker.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_image-members.html b/docs/html/class_intelli_image-members.html index 96313d4..35376c4 100644 --- a/docs/html/class_intelli_image-members.html +++ b/docs/html/class_intelli_image-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_image.html b/docs/html/class_intelli_image.html index 968965a..cbdf552 100644 --- a/docs/html/class_intelli_image.html +++ b/docs/html/class_intelli_image.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_input_dialog-members.html b/docs/html/class_intelli_input_dialog-members.html index c14f63f..ef6d0e6 100644 --- a/docs/html/class_intelli_input_dialog-members.html +++ b/docs/html/class_intelli_input_dialog-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_input_dialog.html b/docs/html/class_intelli_input_dialog.html index 51f7a82..c863f21 100644 --- a/docs/html/class_intelli_input_dialog.html +++ b/docs/html/class_intelli_input_dialog.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_photo_gui-members.html b/docs/html/class_intelli_photo_gui-members.html index e34fcbd..aeda07b 100644 --- a/docs/html/class_intelli_photo_gui-members.html +++ b/docs/html/class_intelli_photo_gui-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_photo_gui.html b/docs/html/class_intelli_photo_gui.html index 99ec3a5..29db37c 100644 --- a/docs/html/class_intelli_photo_gui.html +++ b/docs/html/class_intelli_photo_gui.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_raster_image-members.html b/docs/html/class_intelli_raster_image-members.html index 520e648..340cc45 100644 --- a/docs/html/class_intelli_raster_image-members.html +++ b/docs/html/class_intelli_raster_image-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -90,34 +90,33 @@ $(document).ready(function(){initNavTree('class_intelli_raster_image.html','');

    This is the complete list of members for IntelliRasterImage, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
    calculateVisiblity() overrideIntelliRasterImageprotectedvirtual
    copy(const IntelliRasterImage &image)IntelliRasterImage
    drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)IntelliImagevirtual
    drawPixel(const QPoint &p1, const QColor &color)IntelliImagevirtual
    drawPlain(const QColor &color)IntelliImagevirtual
    drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)IntelliImagevirtual
    fastRendereringIntelliImageprotected
    getDeepCopy() overrideIntelliRasterImagevirtual
    getDisplayable(const QSize &displaySize, int alpha) overrideIntelliRasterImagevirtual
    getDisplayable(int alpha=255) overrideIntelliRasterImagevirtual
    getHeight() constIntelliImagevirtual
    getImageData()IntelliImagevirtual
    getPixelColor(QPoint &point)IntelliImagevirtual
    getPolygon()IntelliRasterImagevirtual
    getPolygonData()IntelliImageinlinevirtual
    getTypeOfImage()IntelliImageinlinevirtual
    getWidth() constIntelliImagevirtual
    imageDataIntelliImageprotected
    IntelliImage(int width, int height, bool fastRendererOn)IntelliImage
    IntelliRasterImage(int width, int height, bool fastRendererOn)IntelliRasterImage
    isFastRendering() constIntelliImagevirtual
    loadImage(const QString &filePath)IntelliImagevirtual
    resizeImage(QImage *image, const QSize &newSize)IntelliImageprotected
    setImageData(const QImage &newData)IntelliImagevirtual
    setPolygon(const std::vector< QPoint > &polygonData) overrideIntelliRasterImagevirtual
    TypeOfImageIntelliImageprotected
    updateRendererSetting(bool fastRendererOn)IntelliImagevirtual
    ~IntelliImage()=0IntelliImagepure virtual
    ~IntelliRasterImage() overrideIntelliRasterImagevirtual
    drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)IntelliImagevirtual
    drawPixel(const QPoint &p1, const QColor &color)IntelliImagevirtual
    drawPlain(const QColor &color)IntelliImagevirtual
    drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)IntelliImagevirtual
    fastRendereringIntelliImageprotected
    getDeepCopy() overrideIntelliRasterImagevirtual
    getDisplayable(const QSize &displaySize, int alpha) overrideIntelliRasterImagevirtual
    getDisplayable(int alpha=255) overrideIntelliRasterImagevirtual
    getHeight() constIntelliImagevirtual
    getImageData()IntelliImagevirtual
    getPixelColor(QPoint &point)IntelliImagevirtual
    getPolygon()IntelliRasterImagevirtual
    getPolygonData()IntelliImageinlinevirtual
    getTypeOfImage()IntelliImageinlinevirtual
    getWidth() constIntelliImagevirtual
    imageDataIntelliImageprotected
    IntelliImage(int width, int height, bool fastRendererOn)IntelliImage
    IntelliRasterImage(int width, int height, bool fastRendererOn)IntelliRasterImage
    isFastRendering() constIntelliImagevirtual
    loadImage(const QString &filePath)IntelliImagevirtual
    resizeImage(QImage *image, const QSize &newSize)IntelliImageprotected
    setImageData(const QImage &newData)IntelliImagevirtual
    setPolygon(const std::vector< QPoint > &polygonData) overrideIntelliRasterImagevirtual
    TypeOfImageIntelliImageprotected
    updateRendererSetting(bool fastRendererOn)IntelliImagevirtual
    ~IntelliImage()=0IntelliImagepure virtual
    ~IntelliRasterImage() overrideIntelliRasterImagevirtual
    diff --git a/docs/html/class_intelli_raster_image.html b/docs/html/class_intelli_raster_image.html index cb8e1be..13b9704 100644 --- a/docs/html/class_intelli_raster_image.html +++ b/docs/html/class_intelli_raster_image.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -111,8 +111,6 @@ Public Member Functions  IntelliRasterImage (int width, int height, bool fastRendererOn)  The Construcor of the IntelliRasterImage. Given the Image dimensions. More...
      -IntelliRasterImagecopy (const IntelliRasterImage &image) -  virtual ~IntelliRasterImage () override  An Destructor. More...
      @@ -278,7 +276,7 @@ Additional Inherited Members

    An Destructor.

    -

    Definition at line 21 of file IntelliRasterImage.cpp.

    +

    Definition at line 12 of file IntelliRasterImage.cpp.

    @@ -310,27 +308,7 @@ Additional Inherited Members

    Implements IntelliImage.

    -

    Definition at line 32 of file IntelliRasterImage.cpp.

    - - - - -

    ◆ copy()

    - -
    -
    - - - - - - - - -
    IntelliRasterImage * IntelliRasterImage::copy (const IntelliRasterImageimage)
    -
    - -

    Definition at line 13 of file IntelliRasterImage.cpp.

    +

    Definition at line 23 of file IntelliRasterImage.cpp.

    @@ -364,7 +342,7 @@ Additional Inherited Members

    Reimplemented in IntelliShapedImage.

    -

    Definition at line 25 of file IntelliRasterImage.cpp.

    +

    Definition at line 16 of file IntelliRasterImage.cpp.

    @@ -416,7 +394,7 @@ Additional Inherited Members

    Reimplemented in IntelliShapedImage.

    -

    Definition at line 40 of file IntelliRasterImage.cpp.

    +

    Definition at line 31 of file IntelliRasterImage.cpp.

    @@ -457,7 +435,7 @@ Additional Inherited Members

    Reimplemented in IntelliShapedImage.

    -

    Definition at line 36 of file IntelliRasterImage.cpp.

    +

    Definition at line 27 of file IntelliRasterImage.cpp.

    @@ -489,7 +467,7 @@ Additional Inherited Members

    Reimplemented in IntelliShapedImage.

    -

    Definition at line 62 of file IntelliRasterImage.cpp.

    +

    Definition at line 53 of file IntelliRasterImage.cpp.

    @@ -529,7 +507,7 @@ Additional Inherited Members

    Reimplemented in IntelliShapedImage.

    -

    Definition at line 58 of file IntelliRasterImage.cpp.

    +

    Definition at line 49 of file IntelliRasterImage.cpp.

    diff --git a/docs/html/class_intelli_raster_image.js b/docs/html/class_intelli_raster_image.js index 969c4eb..f536e0f 100644 --- a/docs/html/class_intelli_raster_image.js +++ b/docs/html/class_intelli_raster_image.js @@ -3,7 +3,6 @@ var class_intelli_raster_image = [ "IntelliRasterImage", "class_intelli_raster_image.html#ae779b571372296f1922af818ba003413", null ], [ "~IntelliRasterImage", "class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8", null ], [ "calculateVisiblity", "class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60", null ], - [ "copy", "class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e", null ], [ "getDeepCopy", "class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc", null ], [ "getDisplayable", "class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884", null ], [ "getDisplayable", "class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f", null ], diff --git a/docs/html/class_intelli_render_settings-members.html b/docs/html/class_intelli_render_settings-members.html index 091b12a..f0a55fc 100644 --- a/docs/html/class_intelli_render_settings-members.html +++ b/docs/html/class_intelli_render_settings-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_render_settings.html b/docs/html/class_intelli_render_settings.html index 0f5ac69..6e30191 100644 --- a/docs/html/class_intelli_render_settings.html +++ b/docs/html/class_intelli_render_settings.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_shaped_image-members.html b/docs/html/class_intelli_shaped_image-members.html index 08029a5..b6be2f6 100644 --- a/docs/html/class_intelli_shaped_image-members.html +++ b/docs/html/class_intelli_shaped_image-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -89,8 +89,6 @@ $(document).ready(function(){initNavTree('class_intelli_shaped_image.html','');

    This is the complete list of members for IntelliShapedImage, including all inherited members.

    - - diff --git a/docs/html/class_intelli_shaped_image.html b/docs/html/class_intelli_shaped_image.html index 35df737..c036ef0 100644 --- a/docs/html/class_intelli_shaped_image.html +++ b/docs/html/class_intelli_shaped_image.html @@ -26,7 +26,7 @@ @@ -111,8 +111,6 @@ Public Member Functions - - @@ -138,8 +136,6 @@ Public Member Functions - - @@ -287,31 +283,11 @@ Additional Inherited Members

    An Destructor.

    -

    Definition at line 20 of file IntelliShapedImage.cpp.

    +

    Definition at line 12 of file IntelliShapedImage.cpp.

    Member Function Documentation

    - -

    ◆ copy()

    - -
    -
    -
    copy(const IntelliShapedImage &image)IntelliShapedImage
    IntelliRasterImage::copy(const IntelliRasterImage &image)IntelliRasterImage
    drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)IntelliImagevirtual
    drawPixel(const QPoint &p1, const QColor &color)IntelliImagevirtual
    drawPlain(const QColor &color)IntelliImagevirtual
    IntelliPhoto -  0.7 +  1
     IntelliShapedImage (int width, int height, bool fastRendererOn)
     The Construcor of the IntelliShapedImage. Given the Image dimensions. More...
     
    IntelliShapedImagecopy (const IntelliShapedImage &image)
     
    virtual ~IntelliShapedImage () override
     An Destructor. More...
     
     IntelliRasterImage (int width, int height, bool fastRendererOn)
     The Construcor of the IntelliRasterImage. Given the Image dimensions. More...
     
    IntelliRasterImagecopy (const IntelliRasterImage &image)
     
    virtual ~IntelliRasterImage () override
     An Destructor. More...
     
    - - - - - - - -
    IntelliShapedImage * IntelliShapedImage::copy (const IntelliShapedImageimage)
    -
    - -

    Definition at line 13 of file IntelliShapedImage.cpp.

    - -
    -

    ◆ getDeepCopy()

    @@ -340,7 +316,7 @@ Additional Inherited Members

    Reimplemented from IntelliRasterImage.

    -

    Definition at line 28 of file IntelliShapedImage.cpp.

    +

    Definition at line 20 of file IntelliShapedImage.cpp.

    @@ -390,7 +366,7 @@ Additional Inherited Members

    Reimplemented from IntelliRasterImage.

    -

    Definition at line 77 of file IntelliShapedImage.cpp.

    +

    Definition at line 69 of file IntelliShapedImage.cpp.

    @@ -429,7 +405,7 @@ Additional Inherited Members

    Reimplemented from IntelliRasterImage.

    -

    Definition at line 24 of file IntelliShapedImage.cpp.

    +

    Definition at line 16 of file IntelliShapedImage.cpp.

    @@ -461,7 +437,7 @@ Additional Inherited Members

    Reimplemented from IntelliRasterImage.

    -

    Definition at line 122 of file IntelliShapedImage.cpp.

    +

    Definition at line 114 of file IntelliShapedImage.cpp.

    @@ -493,7 +469,7 @@ Additional Inherited Members

    Reimplemented from IntelliImage.

    -

    Definition at line 72 of file IntelliShapedImage.h.

    +

    Definition at line 71 of file IntelliShapedImage.h.

    @@ -531,7 +507,7 @@ Additional Inherited Members

    Reimplemented from IntelliRasterImage.

    -

    Definition at line 95 of file IntelliShapedImage.cpp.

    +

    Definition at line 87 of file IntelliShapedImage.cpp.

    diff --git a/docs/html/class_intelli_shaped_image.js b/docs/html/class_intelli_shaped_image.js index 644cd26..cb558d0 100644 --- a/docs/html/class_intelli_shaped_image.js +++ b/docs/html/class_intelli_shaped_image.js @@ -2,7 +2,6 @@ var class_intelli_shaped_image = [ [ "IntelliShapedImage", "class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9", null ], [ "~IntelliShapedImage", "class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9", null ], - [ "copy", "class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05", null ], [ "getDeepCopy", "class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337", null ], [ "getDisplayable", "class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630", null ], [ "getDisplayable", "class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc", null ], diff --git a/docs/html/class_intelli_tool-members.html b/docs/html/class_intelli_tool-members.html index 98ce117..a4d12f2 100644 --- a/docs/html/class_intelli_tool-members.html +++ b/docs/html/class_intelli_tool-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool.html b/docs/html/class_intelli_tool.html index 52c224a..993df36 100644 --- a/docs/html/class_intelli_tool.html +++ b/docs/html/class_intelli_tool.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -494,7 +494,7 @@ Protected Attributes

    Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

    -

    Definition at line 47 of file IntelliTool.cpp.

    +

    Definition at line 48 of file IntelliTool.cpp.

    @@ -630,7 +630,7 @@ Protected Attributes

    Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

    -

    Definition at line 52 of file IntelliTool.cpp.

    +

    Definition at line 53 of file IntelliTool.cpp.

    diff --git a/docs/html/class_intelli_tool_circle-members.html b/docs/html/class_intelli_tool_circle-members.html index da82e76..64dba21 100644 --- a/docs/html/class_intelli_tool_circle-members.html +++ b/docs/html/class_intelli_tool_circle-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_circle.html b/docs/html/class_intelli_tool_circle.html index d13714d..bd18c9f 100644 --- a/docs/html/class_intelli_tool_circle.html +++ b/docs/html/class_intelli_tool_circle.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_flood_fill-members.html b/docs/html/class_intelli_tool_flood_fill-members.html index a8ad1a6..51ae69a 100644 --- a/docs/html/class_intelli_tool_flood_fill-members.html +++ b/docs/html/class_intelli_tool_flood_fill-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_flood_fill.html b/docs/html/class_intelli_tool_flood_fill.html index 1a5e662..2cc65a7 100644 --- a/docs/html/class_intelli_tool_flood_fill.html +++ b/docs/html/class_intelli_tool_flood_fill.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_gradient-members.html b/docs/html/class_intelli_tool_gradient-members.html index 71b215b..ea13741 100644 --- a/docs/html/class_intelli_tool_gradient-members.html +++ b/docs/html/class_intelli_tool_gradient-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_gradient.html b/docs/html/class_intelli_tool_gradient.html index 6c20c70..f11b2e9 100644 --- a/docs/html/class_intelli_tool_gradient.html +++ b/docs/html/class_intelli_tool_gradient.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -546,7 +546,7 @@ Additional Inherited Members

    Reimplemented from IntelliTool.

    -

    Definition at line 59 of file IntelliToolGradient.cpp.

    +

    Definition at line 54 of file IntelliToolGradient.cpp.

    diff --git a/docs/html/class_intelli_tool_line-members.html b/docs/html/class_intelli_tool_line-members.html index 99238be..d845c20 100644 --- a/docs/html/class_intelli_tool_line-members.html +++ b/docs/html/class_intelli_tool_line-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_line.html b/docs/html/class_intelli_tool_line.html index f2a78bb..f906afe 100644 --- a/docs/html/class_intelli_tool_line.html +++ b/docs/html/class_intelli_tool_line.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_pen-members.html b/docs/html/class_intelli_tool_pen-members.html index 429bf02..b1968b8 100644 --- a/docs/html/class_intelli_tool_pen-members.html +++ b/docs/html/class_intelli_tool_pen-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_pen.html b/docs/html/class_intelli_tool_pen.html index 09aef62..8c00c2d 100644 --- a/docs/html/class_intelli_tool_pen.html +++ b/docs/html/class_intelli_tool_pen.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_plain_tool-members.html b/docs/html/class_intelli_tool_plain_tool-members.html index 93a5b13..f717e35 100644 --- a/docs/html/class_intelli_tool_plain_tool-members.html +++ b/docs/html/class_intelli_tool_plain_tool-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_plain_tool.html b/docs/html/class_intelli_tool_plain_tool.html index db013c6..835f762 100644 --- a/docs/html/class_intelli_tool_plain_tool.html +++ b/docs/html/class_intelli_tool_plain_tool.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_polygon-members.html b/docs/html/class_intelli_tool_polygon-members.html index 8ebaa1d..602fe5e 100644 --- a/docs/html/class_intelli_tool_polygon-members.html +++ b/docs/html/class_intelli_tool_polygon-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_polygon.html b/docs/html/class_intelli_tool_polygon.html index 5266dcd..19171a8 100644 --- a/docs/html/class_intelli_tool_polygon.html +++ b/docs/html/class_intelli_tool_polygon.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_rectangle-members.html b/docs/html/class_intelli_tool_rectangle-members.html index 243556f..0d19481 100644 --- a/docs/html/class_intelli_tool_rectangle-members.html +++ b/docs/html/class_intelli_tool_rectangle-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_tool_rectangle.html b/docs/html/class_intelli_tool_rectangle.html index 014a204..1267b93 100644 --- a/docs/html/class_intelli_tool_rectangle.html +++ b/docs/html/class_intelli_tool_rectangle.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_toolsettings-members.html b/docs/html/class_intelli_toolsettings-members.html index 0787b79..021d117 100644 --- a/docs/html/class_intelli_toolsettings-members.html +++ b/docs/html/class_intelli_toolsettings-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_intelli_toolsettings.html b/docs/html/class_intelli_toolsettings.html index 70fb0ba..0388fd2 100644 --- a/docs/html/class_intelli_toolsettings.html +++ b/docs/html/class_intelli_toolsettings.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_painting_area-members.html b/docs/html/class_painting_area-members.html index a507c09..1f744e9 100644 --- a/docs/html/class_painting_area-members.html +++ b/docs/html/class_painting_area-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_painting_area.html b/docs/html/class_painting_area.html index ea072d1..9841cb7 100644 --- a/docs/html/class_painting_area.html +++ b/docs/html/class_painting_area.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -1099,7 +1099,7 @@ Protected Member Functions

    historyGoBack go back in hisotry

    -

    Definition at line 526 of file PaintingArea.cpp.

    +

    Definition at line 517 of file PaintingArea.cpp.

    @@ -1120,7 +1120,7 @@ Protected Member Functions

    historyGoForward a function to undo the return of the previous state of the project.

    -

    Definition at line 541 of file PaintingArea.cpp.

    +

    Definition at line 526 of file PaintingArea.cpp.

    diff --git a/docs/html/class_unit_test-members.html b/docs/html/class_unit_test-members.html index f73ac07..664b905 100644 --- a/docs/html/class_unit_test-members.html +++ b/docs/html/class_unit_test-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/class_unit_test.html b/docs/html/class_unit_test.html index 76b0527..74614ea 100644 --- a/docs/html/class_unit_test.html +++ b/docs/html/class_unit_test.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/classes.html b/docs/html/classes.html index fdddb71..3aa5a33 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html b/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html index 30beea4..38ab335 100644 --- a/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html +++ b/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html b/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html index 7bf2701..29473ac 100644 --- a/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html +++ b/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index f9bcbab..1df2630 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html index 1ee21b8..a5f22bb 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html index e14c959..603b627 100644 --- a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html +++ b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html b/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html index 3b4f4ff..ae89bf5 100644 --- a/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html +++ b/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/files.html b/docs/html/files.html index 9113ec2..2750a65 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions.html b/docs/html/functions.html index 1fd5e67..adbb240 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_b.html b/docs/html/functions_b.html index cea168f..bb9397f 100644 --- a/docs/html/functions_b.html +++ b/docs/html/functions_b.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_c.html b/docs/html/functions_c.html index 2a7c71e..21c94f9 100644 --- a/docs/html/functions_c.html +++ b/docs/html/functions_c.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -111,10 +111,6 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
  • colorPickerSwapColors() : PaintingArea
  • -
  • copy() -: IntelliRasterImage -, IntelliShapedImage -
  • createCircleTool() : PaintingArea
  • diff --git a/docs/html/functions_d.html b/docs/html/functions_d.html index 3b4caae..f746a65 100644 --- a/docs/html/functions_d.html +++ b/docs/html/functions_d.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_enum.html b/docs/html/functions_enum.html index 91071f9..a0d6752 100644 --- a/docs/html/functions_enum.html +++ b/docs/html/functions_enum.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_f.html b/docs/html/functions_f.html index cfb2878..b4f86bc 100644 --- a/docs/html/functions_f.html +++ b/docs/html/functions_f.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 310d9d1..2352bd9 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -111,10 +111,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • colorPickerSwapColors() : PaintingArea
  • -
  • copy() -: IntelliRasterImage -, IntelliShapedImage -
  • createCircleTool() : PaintingArea
  • diff --git a/docs/html/functions_g.html b/docs/html/functions_g.html index 177e968..bb2925d 100644 --- a/docs/html/functions_g.html +++ b/docs/html/functions_g.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_h.html b/docs/html/functions_h.html index 43b0267..42d0369 100644 --- a/docs/html/functions_h.html +++ b/docs/html/functions_h.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_i.html b/docs/html/functions_i.html index 5a4c8ad..8ec4351 100644 --- a/docs/html/functions_i.html +++ b/docs/html/functions_i.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_l.html b/docs/html/functions_l.html index 8e10476..465a15b 100644 --- a/docs/html/functions_l.html +++ b/docs/html/functions_l.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_m.html b/docs/html/functions_m.html index a36d9f9..c9da406 100644 --- a/docs/html/functions_m.html +++ b/docs/html/functions_m.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_o.html b/docs/html/functions_o.html index 9bc25bc..5b481da 100644 --- a/docs/html/functions_o.html +++ b/docs/html/functions_o.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_p.html b/docs/html/functions_p.html index 4f61eda..cf51c30 100644 --- a/docs/html/functions_p.html +++ b/docs/html/functions_p.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_r.html b/docs/html/functions_r.html index 6b59d0e..2bbbb78 100644 --- a/docs/html/functions_r.html +++ b/docs/html/functions_r.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_s.html b/docs/html/functions_s.html index 1cbb7e2..64bf321 100644 --- a/docs/html/functions_s.html +++ b/docs/html/functions_s.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_t.html b/docs/html/functions_t.html index 518dd57..799d955 100644 --- a/docs/html/functions_t.html +++ b/docs/html/functions_t.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_u.html b/docs/html/functions_u.html index 12e864d..694c809 100644 --- a/docs/html/functions_u.html +++ b/docs/html/functions_u.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 6f3f5c4..fe2304f 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_w.html b/docs/html/functions_w.html index 05fbe34..fe84aa9 100644 --- a/docs/html/functions_w.html +++ b/docs/html/functions_w.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/functions_~.html b/docs/html/functions_~.html index 4d8f4f4..7ea332d 100644 --- a/docs/html/functions_~.html +++ b/docs/html/functions_~.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/globals.html b/docs/html/globals.html index d1c576f..b8e0d2d 100644 --- a/docs/html/globals.html +++ b/docs/html/globals.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/globals_defs.html b/docs/html/globals_defs.html index 1619505..8e4d353 100644 --- a/docs/html/globals_defs.html +++ b/docs/html/globals_defs.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/globals_enum.html b/docs/html/globals_enum.html index 25cac97..55e7481 100644 --- a/docs/html/globals_enum.html +++ b/docs/html/globals_enum.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/globals_func.html b/docs/html/globals_func.html index f23ab4f..78a76ec 100644 --- a/docs/html/globals_func.html +++ b/docs/html/globals_func.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 1fc9652..ed43c38 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/index.html b/docs/html/index.html index 0dcc8a0..62ad9e6 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/main_8cpp.html b/docs/html/main_8cpp.html index d4bc2c0..67c28a4 100644 --- a/docs/html/main_8cpp.html +++ b/docs/html/main_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/main_8cpp_source.html b/docs/html/main_8cpp_source.html index 4fd8147..4955140 100644 --- a/docs/html/main_8cpp_source.html +++ b/docs/html/main_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/main_unit_test_8cpp.html b/docs/html/main_unit_test_8cpp.html index 8b49873..9cb0494 100644 --- a/docs/html/main_unit_test_8cpp.html +++ b/docs/html/main_unit_test_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/main_unit_test_8cpp_source.html b/docs/html/main_unit_test_8cpp_source.html index 016d333..c7f7951 100644 --- a/docs/html/main_unit_test_8cpp_source.html +++ b/docs/html/main_unit_test_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/namespace_intelli_datamanager.html b/docs/html/namespace_intelli_datamanager.html index c8522e9..43783e0 100644 --- a/docs/html/namespace_intelli_datamanager.html +++ b/docs/html/namespace_intelli_datamanager.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/namespace_intelli_triangulation.html b/docs/html/namespace_intelli_triangulation.html index d8948c2..3b22990 100644 --- a/docs/html/namespace_intelli_triangulation.html +++ b/docs/html/namespace_intelli_triangulation.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/namespacemembers.html b/docs/html/namespacemembers.html index 47dfb5a..c5b4326 100644 --- a/docs/html/namespacemembers.html +++ b/docs/html/namespacemembers.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/namespacemembers_func.html b/docs/html/namespacemembers_func.html index b11217f..a9c4bcb 100644 --- a/docs/html/namespacemembers_func.html +++ b/docs/html/namespacemembers_func.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/namespaces.html b/docs/html/namespaces.html index 2ac439f..df49aab 100644 --- a/docs/html/namespaces.html +++ b/docs/html/namespaces.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/navtreedata.js b/docs/html/navtreedata.js index 666ea19..f4f18d5 100644 --- a/docs/html/navtreedata.js +++ b/docs/html/navtreedata.js @@ -56,7 +56,7 @@ var NAVTREE = var NAVTREEINDEX = [ "_intelli_color_picker_8cpp.html", -"class_intelli_tool_rectangle.html" +"class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/docs/html/navtreeindex0.js b/docs/html/navtreeindex0.js index 750f380..7bb8337 100644 --- a/docs/html/navtreeindex0.js +++ b/docs/html/navtreeindex0.js @@ -135,30 +135,28 @@ var NAVTREEINDEX0 = "class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497":[1,0,3,2], "class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0":[1,0,3,0], "class_intelli_raster_image.html":[1,0,4], -"class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f":[1,0,4,6], -"class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b":[1,0,4,8], -"class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e":[1,0,4,3], +"class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f":[1,0,4,5], +"class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b":[1,0,4,7], "class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8":[1,0,4,1], "class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60":[1,0,4,2], -"class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc":[1,0,4,4], -"class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884":[1,0,4,5], +"class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc":[1,0,4,3], +"class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884":[1,0,4,4], "class_intelli_raster_image.html#ae779b571372296f1922af818ba003413":[1,0,4,0], -"class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e":[1,0,4,7], +"class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e":[1,0,4,6], "class_intelli_render_settings.html":[1,0,5], "class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073":[1,0,5,1], "class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529":[1,0,5,0], "class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2":[1,0,5,2], "class_intelli_shaped_image.html":[1,0,6], "class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9":[1,0,6,1], -"class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e":[1,0,6,8], -"class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630":[1,0,6,4], -"class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8":[1,0,6,9], -"class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc":[1,0,6,5], +"class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e":[1,0,6,7], +"class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630":[1,0,6,3], +"class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8":[1,0,6,8], +"class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc":[1,0,6,4], "class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9":[1,0,6,0], -"class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93":[1,0,6,7], -"class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337":[1,0,6,3], -"class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05":[1,0,6,2], -"class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b":[1,0,6,6], +"class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93":[1,0,6,6], +"class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337":[1,0,6,2], +"class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b":[1,0,6,5], "class_intelli_tool.html":[1,0,7], "class_intelli_tool.html#a08ef094271ce6248b42f888472463526":[1,0,7,1], "class_intelli_tool.html#a144d469cc03584f501194529a1b53c77":[1,0,7,14], @@ -249,5 +247,7 @@ var NAVTREEINDEX0 = "class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5":[1,0,14,0], "class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17":[1,0,14,7], "class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427":[1,0,14,5], -"class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d":[1,0,14,2] +"class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d":[1,0,14,2], +"class_intelli_tool_rectangle.html":[1,0,15], +"class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c":[1,0,15,7] }; diff --git a/docs/html/navtreeindex1.js b/docs/html/navtreeindex1.js index 8ed62c2..ed021b7 100644 --- a/docs/html/navtreeindex1.js +++ b/docs/html/navtreeindex1.js @@ -1,7 +1,5 @@ var NAVTREEINDEX1 = { -"class_intelli_tool_rectangle.html":[1,0,15], -"class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c":[1,0,15,7], "class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8":[1,0,15,5], "class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b":[1,0,15,4], "class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1":[1,0,15,1], @@ -69,10 +67,10 @@ var NAVTREEINDEX1 = "class_painting_area.html#af1b7be20235139e4909086696ea74cf7":[1,0,18,17], "class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491":[1,0,18,15], "class_unit_test.html":[1,0,20], -"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,20,2], "class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,20,0], -"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,20,1], +"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,20,2], "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,20,3], +"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,20,1], "classes.html":[1,1], "dir_13830bfc3dd6736fe878600c9081919f.html":[2,0,0,3], "dir_4e4e2e75df7fa6971448b424c011c8b5.html":[2,0,0,0], @@ -81,8 +79,8 @@ var NAVTREEINDEX1 = "dir_8de6078cba2a961961818cf80b28fd4f.html":[2,0,0,2], "dir_fdbdd9841f9a730f284bb666ff3d8cfe.html":[2,0,0,1], "files.html":[2,0], -"functions.html":[1,3,0], "functions.html":[1,3,0,0], +"functions.html":[1,3,0], "functions_b.html":[1,3,0,1], "functions_c.html":[1,3,0,2], "functions_d.html":[1,3,0,3], diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index 27bec62..8c58e8b 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -1,6 +1,6 @@ var searchData= [ - ['unittest_193',['UnitTest',['../class_unit_test.html',1,'UnitTest'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], - ['updategui_194',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], - ['updaterenderersetting_195',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] + ['unittest_192',['UnitTest',['../class_unit_test.html',1,'UnitTest'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_193',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_194',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js index aa0541e..8a72192 100644 --- a/docs/html/search/all_11.js +++ b/docs/html/search/all_11.js @@ -1,6 +1,6 @@ var searchData= [ - ['wheelevent_196',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], - ['width_197',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_198',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['wheelevent_195',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], + ['width_196',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_197',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js index b1d9a13..003ff51 100644 --- a/docs/html/search/all_12.js +++ b/docs/html/search/all_12.js @@ -1,19 +1,19 @@ var searchData= [ - ['_7eintellicolorpicker_199',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_200',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_201',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_202',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_203',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_204',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_205',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolgradient_206',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], - ['_7eintellitoolline_207',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_208',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_209',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolpolygon_210',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], - ['_7eintellitoolrectangle_211',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7eintellitoolsettings_212',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], - ['_7epaintingarea_213',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], - ['_7eunittest_214',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] + ['_7eintellicolorpicker_198',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_199',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_200',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_201',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_202',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_203',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_204',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolgradient_205',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], + ['_7eintellitoolline_206',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_207',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_208',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_209',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_210',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_211',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_212',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_213',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] ]; diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js index dd342a2..1c3936c 100644 --- a/docs/html/search/all_2.js +++ b/docs/html/search/all_2.js @@ -10,13 +10,12 @@ var searchData= ['colorpickersetfirstcolor_15',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], ['colorpickersetsecondcolor_16',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], ['colorpickerswapcolors_17',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], - ['copy_18',['copy',['../class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e',1,'IntelliRasterImage::copy()'],['../class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05',1,'IntelliShapedImage::copy()']]], - ['createcircletool_19',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], - ['createfloodfilltool_20',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], - ['creategradienttool_21',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], - ['createlinetool_22',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_23',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_24',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], - ['createpolygontool_25',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], - ['createrectangletool_26',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] + ['createcircletool_18',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_19',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['creategradienttool_20',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], + ['createlinetool_21',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_22',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_23',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_24',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_25',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js index 76a4d20..e77b791 100644 --- a/docs/html/search/all_3.js +++ b/docs/html/search/all_3.js @@ -1,10 +1,10 @@ var searchData= [ - ['deletealllayers_27',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], - ['deletelayer_28',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], - ['drawline_29',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_30',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawpixelontoactive_31',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], - ['drawplain_32',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_33',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletealllayers_26',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], + ['deletelayer_27',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_28',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_29',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawpixelontoactive_30',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], + ['drawplain_31',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_32',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js index a298432..d9b9318 100644 --- a/docs/html/search/all_4.js +++ b/docs/html/search/all_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['fastrenderering_34',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]], - ['floodfill_35',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] + ['fastrenderering_33',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]], + ['floodfill_34',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] ]; diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js index fdd5574..793f78f 100644 --- a/docs/html/search/all_5.js +++ b/docs/html/search/all_5.js @@ -1,31 +1,31 @@ var searchData= [ - ['getdeepcopy_36',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], - ['getdisplayable_37',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], - ['getfirstcolor_38',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], - ['getheight_39',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], - ['getheightofactive_40',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], - ['getimagedata_41',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], - ['getimagedataofactivelayer_42',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], - ['getimageofactivelayer_43',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], - ['getindexofactivelayer_44',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], - ['getinneralpha_45',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], - ['getint_46',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], - ['getisdrawing_47',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], - ['getlayerbundle_48',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], - ['getlinewidth_49',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], - ['getmaxheight_50',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], - ['getmaxwidth_51',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], - ['getpixelcolor_52',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygon_53',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], - ['getpolygondata_54',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getpolygondataofactivelayer_55',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], - ['getrendersettings_56',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], - ['getsecondcolor_57',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], - ['gettooltype_58',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], - ['gettypeofimage_59',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], - ['gettypeofimageactivelayer_60',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], - ['getwidth_61',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], - ['getwidthofactive_62',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]], - ['gradient_63',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] + ['getdeepcopy_35',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_36',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_37',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], + ['getheight_38',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], + ['getheightofactive_39',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_40',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_41',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_42',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getindexofactivelayer_43',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], + ['getinneralpha_44',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], + ['getint_45',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_46',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], + ['getlayerbundle_47',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], + ['getlinewidth_48',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], + ['getmaxheight_49',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_50',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getpixelcolor_51',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygon_52',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], + ['getpolygondata_53',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofactivelayer_54',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], + ['getrendersettings_55',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], + ['getsecondcolor_56',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], + ['gettooltype_57',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], + ['gettypeofimage_58',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimageactivelayer_59',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], + ['getwidth_60',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], + ['getwidthofactive_61',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]], + ['gradient_62',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js index abc17cc..99a6c0a 100644 --- a/docs/html/search/all_6.js +++ b/docs/html/search/all_6.js @@ -1,8 +1,8 @@ var searchData= [ - ['height_64',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], - ['heightoffset_65',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]], - ['historyadd_66',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], - ['historygoback_67',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], - ['historygoforward_68',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] + ['height_63',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_64',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]], + ['historyadd_65',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], + ['historygoback_66',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], + ['historygoforward_67',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index 32e0788..1ae5b00 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -1,68 +1,68 @@ var searchData= [ - ['image_69',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_70',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], - ['imagetype_71',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], - ['intellicolorpicker_72',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], - ['intellicolorpicker_2ecpp_73',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], - ['intellicolorpicker_2eh_74',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intellidatamanager_75',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], - ['intellidatamanager_2ecpp_76',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], - ['intellidatamanager_2eh_77',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], - ['intelliimage_78',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage::IntelliImage()']]], - ['intelliimage_2ecpp_79',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_80',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliinputdialog_81',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'IntelliInputDialog'],['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog::IntelliInputDialog()']]], - ['intelliinputdialog_2ecpp_82',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], - ['intelliinputdialog_2eh_83',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], - ['intelliphotogui_84',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], - ['intelliphotogui_2ecpp_85',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_86',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_87',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage::IntelliRasterImage()']]], - ['intellirasterimage_2ecpp_88',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_89',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellirendersettings_90',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'IntelliRenderSettings'],['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings::IntelliRenderSettings()']]], - ['intellirendersettings_2ecpp_91',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], - ['intellirendersettings_2eh_92',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], - ['intellishapedimage_93',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage::IntelliShapedImage()']]], - ['intellishapedimage_2ecpp_94',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_95',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_96',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool::IntelliTool()']]], - ['intellitool_2ecpp_97',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_98',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_99',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle::IntelliToolCircle()']]], - ['intellitoolcircle_2ecpp_100',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_101',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_102',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], - ['intellitoolfloodfill_2ecpp_103',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_104',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolgradient_105',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'IntelliToolGradient'],['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient::IntelliToolGradient()']]], - ['intellitoolgradient_2ecpp_106',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], - ['intellitoolgradient_2eh_107',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], - ['intellitoolline_108',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine::IntelliToolLine()']]], - ['intellitoolline_2ecpp_109',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_110',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_111',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen::IntelliToolPen()']]], - ['intellitoolpen_2ecpp_112',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_113',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_114',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_115',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolplaintool_116',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], - ['intellitoolpolygon_117',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon::IntelliToolPolygon()']]], - ['intellitoolpolygon_2ecpp_118',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_119',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_120',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle::IntelliToolRectangle()']]], - ['intellitoolrectangle_2ecpp_121',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_122',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], - ['intellitoolsettings_123',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'IntelliToolsettings'],['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings::IntelliToolsettings()']]], - ['intellitoolsettings_2ecpp_124',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], - ['intellitoolsettings_2eh_125',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], - ['intellitriangulation_126',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]], - ['intellitriangulation_2ecpp_127',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], - ['intellitriangulation_2eh_128',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]], - ['isdrawing_129',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]], - ['isfastrenderering_130',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], - ['isfastrendering_131',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], - ['isinpolygon_132',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], - ['isintriangle_133',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] + ['image_68',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_69',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['imagetype_70',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], + ['intellicolorpicker_71',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], + ['intellicolorpicker_2ecpp_72',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_73',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellidatamanager_74',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], + ['intellidatamanager_2ecpp_75',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], + ['intellidatamanager_2eh_76',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], + ['intelliimage_77',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage::IntelliImage()']]], + ['intelliimage_2ecpp_78',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_79',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_80',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'IntelliInputDialog'],['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog::IntelliInputDialog()']]], + ['intelliinputdialog_2ecpp_81',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_82',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_83',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], + ['intelliphotogui_2ecpp_84',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_85',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_86',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage::IntelliRasterImage()']]], + ['intellirasterimage_2ecpp_87',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_88',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_89',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'IntelliRenderSettings'],['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings::IntelliRenderSettings()']]], + ['intellirendersettings_2ecpp_90',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_91',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_92',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage::IntelliShapedImage()']]], + ['intellishapedimage_2ecpp_93',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_94',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_95',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool::IntelliTool()']]], + ['intellitool_2ecpp_96',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_97',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_98',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle::IntelliToolCircle()']]], + ['intellitoolcircle_2ecpp_99',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_100',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_101',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], + ['intellitoolfloodfill_2ecpp_102',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_103',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolgradient_104',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'IntelliToolGradient'],['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient::IntelliToolGradient()']]], + ['intellitoolgradient_2ecpp_105',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], + ['intellitoolgradient_2eh_106',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], + ['intellitoolline_107',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine::IntelliToolLine()']]], + ['intellitoolline_2ecpp_108',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_109',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_110',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen::IntelliToolPen()']]], + ['intellitoolpen_2ecpp_111',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_112',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_113',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_114',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolplaintool_115',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], + ['intellitoolpolygon_116',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon::IntelliToolPolygon()']]], + ['intellitoolpolygon_2ecpp_117',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_118',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_119',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle::IntelliToolRectangle()']]], + ['intellitoolrectangle_2ecpp_120',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_121',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_122',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'IntelliToolsettings'],['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings::IntelliToolsettings()']]], + ['intellitoolsettings_2ecpp_123',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_124',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_125',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]], + ['intellitriangulation_2ecpp_126',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_127',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]], + ['isdrawing_128',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]], + ['isfastrenderering_129',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], + ['isfastrendering_130',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], + ['isinpolygon_131',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], + ['isintriangle_132',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] ]; diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js index baab99a..2d2951e 100644 --- a/docs/html/search/all_8.js +++ b/docs/html/search/all_8.js @@ -1,7 +1,7 @@ var searchData= [ - ['layerobject_134',['LayerObject',['../struct_layer_object.html',1,'LayerObject'],['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], - ['line_135',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]], - ['loadimage_136',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], - ['loadproject_137',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] + ['layerobject_133',['LayerObject',['../struct_layer_object.html',1,'LayerObject'],['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], + ['line_134',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]], + ['loadimage_135',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], + ['loadproject_136',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] ]; diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index 76d4400..bb41402 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -1,11 +1,11 @@ var searchData= [ - ['main_138',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['main_2ecpp_139',['main.cpp',['../main_8cpp.html',1,'']]], - ['mainunittest_2ecpp_140',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]], - ['mousemoveevent_141',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_142',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_143',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_144',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_145',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_137',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['main_2ecpp_138',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_139',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]], + ['mousemoveevent_140',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_141',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_142',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_143',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_144',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js index 2e0e9b9..4b782ea 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['none_146',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] + ['none_145',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 16eb85a..ecee29e 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_147',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], - ['onmouseleftreleased_148',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], - ['onmousemoved_149',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], - ['onmouserightpressed_150',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], - ['onmouserightreleased_151',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], - ['onwheelscrolled_152',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], - ['open_153',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] + ['onmouseleftpressed_146',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_147',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_148',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_149',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_150',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_151',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_152',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index 91f3ec4..066aa34 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,12 +1,12 @@ var searchData= [ - ['paintevent_154',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_155',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], - ['paintingarea_2ecpp_156',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_157',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], - ['pen_158',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], - ['pi_159',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], - ['plain_160',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], - ['polygon_161',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], - ['polygondata_162',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['paintevent_153',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_154',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], + ['paintingarea_2ecpp_155',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_156',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], + ['pen_157',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['pi_158',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], + ['plain_159',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_160',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], + ['polygondata_161',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index a51bf9e..8595cf2 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,6 +1,6 @@ var searchData= [ - ['rasterimage_163',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], - ['rectangle_164',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], - ['resizeimage_165',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['rasterimage_162',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], + ['rectangle_163',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], + ['resizeimage_164',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index 7663685..ac992ee 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,25 +1,25 @@ var searchData= [ - ['save_166',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], - ['saveproject_167',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], - ['setcanvasdimensions_168',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], - ['setfastrendering_169',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], - ['setfirstcolor_170',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setimagedata_171',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], - ['setinneralpha_172',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], - ['setlayeractive_173',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], - ['setlayeralpha_174',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], - ['setlinewidth_175',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], - ['setpolygon_176',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], - ['setpolygondatatoactive_177',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], - ['setrendersettings_178',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], - ['setsecondcolor_179',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['settoolwidth_180',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], - ['shapedimage_181',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]], - ['sign_182',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], - ['slotactivatelayer_183',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotcloseevent_184',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], - ['slotdeleteactivelayer_185',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['sloteingabe_186',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], - ['swapcolors_187',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] + ['save_165',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['saveproject_166',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], + ['setcanvasdimensions_167',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setfastrendering_168',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_169',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_170',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_171',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_172',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_173',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_174',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_175',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setpolygondatatoactive_176',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], + ['setrendersettings_177',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_178',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_179',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['shapedimage_180',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]], + ['sign_181',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_182',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_183',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_184',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_185',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_186',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index 95ce2e5..7cfddc2 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,8 +1,8 @@ var searchData= [ - ['toolsettings_188',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], - ['tooltype_189',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], - ['triangle_190',['Triangle',['../struct_triangle.html',1,'']]], - ['tst_5funittest_2ecpp_191',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]], - ['typeofimage_192',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] + ['toolsettings_187',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['tooltype_188',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], + ['triangle_189',['Triangle',['../struct_triangle.html',1,'']]], + ['tst_5funittest_2ecpp_190',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]], + ['typeofimage_191',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] ]; diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js index 6e08262..96261a2 100644 --- a/docs/html/search/classes_0.js +++ b/docs/html/search/classes_0.js @@ -1,20 +1,20 @@ var searchData= [ - ['intellicolorpicker_215',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], - ['intelliimage_216',['IntelliImage',['../class_intelli_image.html',1,'']]], - ['intelliinputdialog_217',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], - ['intelliphotogui_218',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], - ['intellirasterimage_219',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], - ['intellirendersettings_220',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], - ['intellishapedimage_221',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], - ['intellitool_222',['IntelliTool',['../class_intelli_tool.html',1,'']]], - ['intellitoolcircle_223',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], - ['intellitoolfloodfill_224',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], - ['intellitoolgradient_225',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'']]], - ['intellitoolline_226',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], - ['intellitoolpen_227',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], - ['intellitoolplaintool_228',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], - ['intellitoolpolygon_229',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], - ['intellitoolrectangle_230',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], - ['intellitoolsettings_231',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] + ['intellicolorpicker_214',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], + ['intelliimage_215',['IntelliImage',['../class_intelli_image.html',1,'']]], + ['intelliinputdialog_216',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], + ['intelliphotogui_217',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], + ['intellirasterimage_218',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], + ['intellirendersettings_219',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], + ['intellishapedimage_220',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], + ['intellitool_221',['IntelliTool',['../class_intelli_tool.html',1,'']]], + ['intellitoolcircle_222',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], + ['intellitoolfloodfill_223',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], + ['intellitoolgradient_224',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'']]], + ['intellitoolline_225',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], + ['intellitoolpen_226',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], + ['intellitoolplaintool_227',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], + ['intellitoolpolygon_228',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], + ['intellitoolrectangle_229',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], + ['intellitoolsettings_230',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] ]; diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js index 8deafad..ea8126e 100644 --- a/docs/html/search/classes_1.js +++ b/docs/html/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['layerobject_232',['LayerObject',['../struct_layer_object.html',1,'']]] + ['layerobject_231',['LayerObject',['../struct_layer_object.html',1,'']]] ]; diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js index dad78c5..6ff5400 100644 --- a/docs/html/search/classes_2.js +++ b/docs/html/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['paintingarea_233',['PaintingArea',['../class_painting_area.html',1,'']]] + ['paintingarea_232',['PaintingArea',['../class_painting_area.html',1,'']]] ]; diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js index 0ada2ee..4d53ddb 100644 --- a/docs/html/search/classes_3.js +++ b/docs/html/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['triangle_234',['Triangle',['../struct_triangle.html',1,'']]] + ['triangle_233',['Triangle',['../struct_triangle.html',1,'']]] ]; diff --git a/docs/html/search/classes_4.js b/docs/html/search/classes_4.js index acd76d1..58278a9 100644 --- a/docs/html/search/classes_4.js +++ b/docs/html/search/classes_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['unittest_235',['UnitTest',['../class_unit_test.html',1,'']]] + ['unittest_234',['UnitTest',['../class_unit_test.html',1,'']]] ]; diff --git a/docs/html/search/defines_0.js b/docs/html/search/defines_0.js index 91d04f8..7f1d4a9 100644 --- a/docs/html/search/defines_0.js +++ b/docs/html/search/defines_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['pi_449',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] + ['pi_447',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] ]; diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js index f493f28..73b215f 100644 --- a/docs/html/search/enums_0.js +++ b/docs/html/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['imagetype_436',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] + ['imagetype_434',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] ]; diff --git a/docs/html/search/enums_1.js b/docs/html/search/enums_1.js index 17714f6..cd72e72 100644 --- a/docs/html/search/enums_1.js +++ b/docs/html/search/enums_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['tooltype_437',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] + ['tooltype_435',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_0.js b/docs/html/search/enumvalues_0.js index 40de1b3..e63d82b 100644 --- a/docs/html/search/enumvalues_0.js +++ b/docs/html/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['circle_438',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] + ['circle_436',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_1.js b/docs/html/search/enumvalues_1.js index 14eada2..8465548 100644 --- a/docs/html/search/enumvalues_1.js +++ b/docs/html/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['floodfill_439',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] + ['floodfill_437',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_2.js b/docs/html/search/enumvalues_2.js index d737ec3..9219bac 100644 --- a/docs/html/search/enumvalues_2.js +++ b/docs/html/search/enumvalues_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['gradient_440',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] + ['gradient_438',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_3.js b/docs/html/search/enumvalues_3.js index 1b89798..1419c1f 100644 --- a/docs/html/search/enumvalues_3.js +++ b/docs/html/search/enumvalues_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['line_441',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] + ['line_439',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_4.js b/docs/html/search/enumvalues_4.js index ec80303..37838a4 100644 --- a/docs/html/search/enumvalues_4.js +++ b/docs/html/search/enumvalues_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['none_442',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] + ['none_440',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_5.js b/docs/html/search/enumvalues_5.js index e6c2912..51607b0 100644 --- a/docs/html/search/enumvalues_5.js +++ b/docs/html/search/enumvalues_5.js @@ -1,6 +1,6 @@ var searchData= [ - ['pen_443',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], - ['plain_444',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], - ['polygon_445',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] + ['pen_441',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['plain_442',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_443',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_6.js b/docs/html/search/enumvalues_6.js index 9888fa1..f20fa1a 100644 --- a/docs/html/search/enumvalues_6.js +++ b/docs/html/search/enumvalues_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['rasterimage_446',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], - ['rectangle_447',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] + ['rasterimage_444',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], + ['rectangle_445',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_7.js b/docs/html/search/enumvalues_7.js index c52e40b..661a033 100644 --- a/docs/html/search/enumvalues_7.js +++ b/docs/html/search/enumvalues_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['shapedimage_448',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]] + ['shapedimage_446',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]] ]; diff --git a/docs/html/search/files_0.js b/docs/html/search/files_0.js index 7a75c60..13baa8f 100644 --- a/docs/html/search/files_0.js +++ b/docs/html/search/files_0.js @@ -1,41 +1,41 @@ var searchData= [ - ['intellicolorpicker_2ecpp_238',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], - ['intellicolorpicker_2eh_239',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intellidatamanager_2ecpp_240',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], - ['intellidatamanager_2eh_241',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], - ['intelliimage_2ecpp_242',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_243',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliinputdialog_2ecpp_244',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], - ['intelliinputdialog_2eh_245',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], - ['intelliphotogui_2ecpp_246',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_247',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_2ecpp_248',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_249',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellirendersettings_2ecpp_250',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], - ['intellirendersettings_2eh_251',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], - ['intellishapedimage_2ecpp_252',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_253',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_2ecpp_254',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_255',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_2ecpp_256',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_257',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_2ecpp_258',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_259',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolgradient_2ecpp_260',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], - ['intellitoolgradient_2eh_261',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], - ['intellitoolline_2ecpp_262',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_263',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_2ecpp_264',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_265',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_266',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_267',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolpolygon_2ecpp_268',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_269',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_2ecpp_270',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_271',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], - ['intellitoolsettings_2ecpp_272',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], - ['intellitoolsettings_2eh_273',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], - ['intellitriangulation_2ecpp_274',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], - ['intellitriangulation_2eh_275',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] + ['intellicolorpicker_2ecpp_237',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_238',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellidatamanager_2ecpp_239',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], + ['intellidatamanager_2eh_240',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], + ['intelliimage_2ecpp_241',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_242',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_2ecpp_243',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_244',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_2ecpp_245',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_246',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_2ecpp_247',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_248',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_2ecpp_249',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_250',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_2ecpp_251',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_252',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_2ecpp_253',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_254',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_2ecpp_255',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_256',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_2ecpp_257',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_258',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolgradient_2ecpp_259',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], + ['intellitoolgradient_2eh_260',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], + ['intellitoolline_2ecpp_261',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_262',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_2ecpp_263',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_264',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_265',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_266',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolpolygon_2ecpp_267',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_268',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_2ecpp_269',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_270',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_2ecpp_271',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_272',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_2ecpp_273',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_274',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_1.js b/docs/html/search/files_1.js index 7fd2c39..de0ecb4 100644 --- a/docs/html/search/files_1.js +++ b/docs/html/search/files_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['main_2ecpp_276',['main.cpp',['../main_8cpp.html',1,'']]], - ['mainunittest_2ecpp_277',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]] + ['main_2ecpp_275',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_276',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]] ]; diff --git a/docs/html/search/files_2.js b/docs/html/search/files_2.js index 6cf5345..158729e 100644 --- a/docs/html/search/files_2.js +++ b/docs/html/search/files_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintingarea_2ecpp_278',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_279',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] + ['paintingarea_2ecpp_277',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_278',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_3.js b/docs/html/search/files_3.js index 0acfd2d..336f405 100644 --- a/docs/html/search/files_3.js +++ b/docs/html/search/files_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['tst_5funittest_2ecpp_280',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]] + ['tst_5funittest_2ecpp_279',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]] ]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index a7c6fbc..4e85c95 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['addlayer_281',['addLayer',['../class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd',1,'PaintingArea']]], - ['addlayerat_282',['addLayerAt',['../class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029',1,'PaintingArea']]] + ['addlayer_280',['addLayer',['../class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd',1,'PaintingArea']]], + ['addlayerat_281',['addLayerAt',['../class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js index 4150c2e..b475388 100644 --- a/docs/html/search/functions_1.js +++ b/docs/html/search/functions_1.js @@ -1,18 +1,17 @@ var searchData= [ - ['calculatetriangles_283',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], - ['calculatevisiblity_284',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], - ['closeevent_285',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], - ['colorpickersetfirstcolor_286',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], - ['colorpickersetsecondcolor_287',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], - ['colorpickerswapcolors_288',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], - ['copy_289',['copy',['../class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e',1,'IntelliRasterImage::copy()'],['../class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05',1,'IntelliShapedImage::copy()']]], - ['createcircletool_290',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], - ['createfloodfilltool_291',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], - ['creategradienttool_292',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], - ['createlinetool_293',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_294',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_295',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], - ['createpolygontool_296',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], - ['createrectangletool_297',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] + ['calculatetriangles_282',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], + ['calculatevisiblity_283',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], + ['closeevent_284',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], + ['colorpickersetfirstcolor_285',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], + ['colorpickersetsecondcolor_286',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], + ['colorpickerswapcolors_287',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], + ['createcircletool_288',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_289',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['creategradienttool_290',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], + ['createlinetool_291',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_292',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_293',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_294',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_295',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js index fd659e3..a880363 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -1,10 +1,10 @@ var searchData= [ - ['deletealllayers_298',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], - ['deletelayer_299',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], - ['drawline_300',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_301',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawpixelontoactive_302',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], - ['drawplain_303',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_304',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletealllayers_296',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], + ['deletelayer_297',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_298',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_299',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawpixelontoactive_300',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], + ['drawplain_301',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_302',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js index e0b420c..9cebdea 100644 --- a/docs/html/search/functions_3.js +++ b/docs/html/search/functions_3.js @@ -1,30 +1,30 @@ var searchData= [ - ['getdeepcopy_305',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], - ['getdisplayable_306',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], - ['getfirstcolor_307',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], - ['getheight_308',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], - ['getheightofactive_309',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], - ['getimagedata_310',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], - ['getimagedataofactivelayer_311',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], - ['getimageofactivelayer_312',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], - ['getindexofactivelayer_313',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], - ['getinneralpha_314',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], - ['getint_315',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], - ['getisdrawing_316',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], - ['getlayerbundle_317',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], - ['getlinewidth_318',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], - ['getmaxheight_319',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], - ['getmaxwidth_320',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], - ['getpixelcolor_321',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygon_322',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], - ['getpolygondata_323',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getpolygondataofactivelayer_324',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], - ['getrendersettings_325',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], - ['getsecondcolor_326',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], - ['gettooltype_327',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], - ['gettypeofimage_328',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], - ['gettypeofimageactivelayer_329',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], - ['getwidth_330',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], - ['getwidthofactive_331',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] + ['getdeepcopy_303',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_304',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_305',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], + ['getheight_306',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], + ['getheightofactive_307',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_308',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_309',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_310',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getindexofactivelayer_311',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], + ['getinneralpha_312',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], + ['getint_313',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_314',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], + ['getlayerbundle_315',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], + ['getlinewidth_316',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], + ['getmaxheight_317',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_318',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getpixelcolor_319',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygon_320',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], + ['getpolygondata_321',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofactivelayer_322',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], + ['getrendersettings_323',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], + ['getsecondcolor_324',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], + ['gettooltype_325',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], + ['gettypeofimage_326',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimageactivelayer_327',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], + ['getwidth_328',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], + ['getwidthofactive_329',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js index 9280718..3cf57e8 100644 --- a/docs/html/search/functions_4.js +++ b/docs/html/search/functions_4.js @@ -1,6 +1,6 @@ var searchData= [ - ['historyadd_332',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], - ['historygoback_333',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], - ['historygoforward_334',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] + ['historyadd_330',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], + ['historygoback_331',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], + ['historygoforward_332',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js index 25a65f1..2a70a7a 100644 --- a/docs/html/search/functions_5.js +++ b/docs/html/search/functions_5.js @@ -1,24 +1,24 @@ var searchData= [ - ['intellicolorpicker_335',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], - ['intelliimage_336',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], - ['intelliinputdialog_337',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], - ['intelliphotogui_338',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], - ['intellirasterimage_339',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], - ['intellirendersettings_340',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], - ['intellishapedimage_341',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], - ['intellitool_342',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], - ['intellitoolcircle_343',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], - ['intellitoolfloodfill_344',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], - ['intellitoolgradient_345',['IntelliToolGradient',['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient']]], - ['intellitoolline_346',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], - ['intellitoolpen_347',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], - ['intellitoolplaintool_348',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], - ['intellitoolpolygon_349',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], - ['intellitoolrectangle_350',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], - ['intellitoolsettings_351',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], - ['isfastrenderering_352',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], - ['isfastrendering_353',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], - ['isinpolygon_354',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], - ['isintriangle_355',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] + ['intellicolorpicker_333',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], + ['intelliimage_334',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], + ['intelliinputdialog_335',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], + ['intelliphotogui_336',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], + ['intellirasterimage_337',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], + ['intellirendersettings_338',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], + ['intellishapedimage_339',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], + ['intellitool_340',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], + ['intellitoolcircle_341',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], + ['intellitoolfloodfill_342',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], + ['intellitoolgradient_343',['IntelliToolGradient',['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient']]], + ['intellitoolline_344',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], + ['intellitoolpen_345',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], + ['intellitoolplaintool_346',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], + ['intellitoolpolygon_347',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], + ['intellitoolrectangle_348',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], + ['intellitoolsettings_349',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], + ['isfastrenderering_350',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], + ['isfastrendering_351',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], + ['isinpolygon_352',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], + ['isintriangle_353',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] ]; diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index 44d490d..0371b97 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,6 +1,6 @@ var searchData= [ - ['layerobject_356',['LayerObject',['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], - ['loadimage_357',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], - ['loadproject_358',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] + ['layerobject_354',['LayerObject',['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], + ['loadimage_355',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], + ['loadproject_356',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] ]; diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js index 7243a62..aa633b0 100644 --- a/docs/html/search/functions_7.js +++ b/docs/html/search/functions_7.js @@ -1,9 +1,9 @@ var searchData= [ - ['main_359',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['mousemoveevent_360',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_361',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_362',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_363',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_364',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_357',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['mousemoveevent_358',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_359',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_360',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_361',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_362',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js index 1c10ddd..555cf6d 100644 --- a/docs/html/search/functions_8.js +++ b/docs/html/search/functions_8.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_365',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], - ['onmouseleftreleased_366',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], - ['onmousemoved_367',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], - ['onmouserightpressed_368',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], - ['onmouserightreleased_369',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], - ['onwheelscrolled_370',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], - ['open_371',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] + ['onmouseleftpressed_363',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_364',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_365',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_366',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_367',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_368',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_369',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index 8286b76..d4dc6fa 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintevent_372',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_373',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] + ['paintevent_370',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_371',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js index f3ff82c..f85cbd3 100644 --- a/docs/html/search/functions_a.js +++ b/docs/html/search/functions_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['resizeimage_374',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['resizeimage_372',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index f512a67..ce879f7 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -1,24 +1,24 @@ var searchData= [ - ['save_375',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], - ['saveproject_376',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], - ['setcanvasdimensions_377',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], - ['setfastrendering_378',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], - ['setfirstcolor_379',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setimagedata_380',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], - ['setinneralpha_381',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], - ['setlayeractive_382',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], - ['setlayeralpha_383',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], - ['setlinewidth_384',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], - ['setpolygon_385',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], - ['setpolygondatatoactive_386',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], - ['setrendersettings_387',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], - ['setsecondcolor_388',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['settoolwidth_389',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], - ['sign_390',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], - ['slotactivatelayer_391',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotcloseevent_392',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], - ['slotdeleteactivelayer_393',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['sloteingabe_394',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], - ['swapcolors_395',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] + ['save_373',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['saveproject_374',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], + ['setcanvasdimensions_375',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setfastrendering_376',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_377',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_378',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_379',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_380',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_381',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_382',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_383',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setpolygondatatoactive_384',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], + ['setrendersettings_385',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_386',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_387',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['sign_388',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_389',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_390',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_391',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_392',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_393',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js index 53e4779..c6b0769 100644 --- a/docs/html/search/functions_c.js +++ b/docs/html/search/functions_c.js @@ -1,6 +1,6 @@ var searchData= [ - ['unittest_396',['UnitTest',['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], - ['updategui_397',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], - ['updaterenderersetting_398',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] + ['unittest_394',['UnitTest',['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_395',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_396',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js index 75d60d9..f9295a8 100644 --- a/docs/html/search/functions_d.js +++ b/docs/html/search/functions_d.js @@ -1,4 +1,4 @@ var searchData= [ - ['wheelevent_399',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] + ['wheelevent_397',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_e.js b/docs/html/search/functions_e.js index c1ffa0c..694d325 100644 --- a/docs/html/search/functions_e.js +++ b/docs/html/search/functions_e.js @@ -1,19 +1,19 @@ var searchData= [ - ['_7eintellicolorpicker_400',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_401',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_402',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_403',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_404',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_405',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_406',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolgradient_407',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], - ['_7eintellitoolline_408',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_409',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_410',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolpolygon_411',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], - ['_7eintellitoolrectangle_412',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7eintellitoolsettings_413',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], - ['_7epaintingarea_414',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], - ['_7eunittest_415',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] + ['_7eintellicolorpicker_398',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_399',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_400',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_401',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_402',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_403',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_404',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolgradient_405',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], + ['_7eintellitoolline_406',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_407',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_408',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_409',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_410',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_411',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_412',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_413',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] ]; diff --git a/docs/html/search/namespaces_0.js b/docs/html/search/namespaces_0.js index 91456d0..0519ad6 100644 --- a/docs/html/search/namespaces_0.js +++ b/docs/html/search/namespaces_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['intellidatamanager_236',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], - ['intellitriangulation_237',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] + ['intellidatamanager_235',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], + ['intellitriangulation_236',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] ]; diff --git a/docs/html/search/variables_0.js b/docs/html/search/variables_0.js index 6d575f8..30cc0d5 100644 --- a/docs/html/search/variables_0.js +++ b/docs/html/search/variables_0.js @@ -1,8 +1,8 @@ var searchData= [ - ['a_416',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], - ['activelayer_417',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], - ['activetype_418',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], - ['alpha_419',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], - ['area_420',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] + ['a_414',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], + ['activelayer_415',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], + ['activetype_416',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], + ['alpha_417',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], + ['area_418',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_1.js b/docs/html/search/variables_1.js index 084680f..e041457 100644 --- a/docs/html/search/variables_1.js +++ b/docs/html/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['b_421',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] + ['b_419',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] ]; diff --git a/docs/html/search/variables_2.js b/docs/html/search/variables_2.js index 81caaee..918266e 100644 --- a/docs/html/search/variables_2.js +++ b/docs/html/search/variables_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['c_422',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], - ['canvas_423',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], - ['colorpicker_424',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] + ['c_420',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], + ['canvas_421',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], + ['colorpicker_422',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] ]; diff --git a/docs/html/search/variables_3.js b/docs/html/search/variables_3.js index 66376a9..c72f150 100644 --- a/docs/html/search/variables_3.js +++ b/docs/html/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['fastrenderering_425',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] + ['fastrenderering_423',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_4.js b/docs/html/search/variables_4.js index 36426b4..68891f3 100644 --- a/docs/html/search/variables_4.js +++ b/docs/html/search/variables_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['height_426',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], - ['heightoffset_427',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] + ['height_424',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_425',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] ]; diff --git a/docs/html/search/variables_5.js b/docs/html/search/variables_5.js index e269799..fb2bd73 100644 --- a/docs/html/search/variables_5.js +++ b/docs/html/search/variables_5.js @@ -1,6 +1,6 @@ var searchData= [ - ['image_428',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_429',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], - ['isdrawing_430',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] + ['image_426',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_427',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['isdrawing_428',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_6.js b/docs/html/search/variables_6.js index c95e56f..8fceeb2 100644 --- a/docs/html/search/variables_6.js +++ b/docs/html/search/variables_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['polygondata_431',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['polygondata_429',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] ]; diff --git a/docs/html/search/variables_7.js b/docs/html/search/variables_7.js index d455425..1e351fa 100644 --- a/docs/html/search/variables_7.js +++ b/docs/html/search/variables_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['toolsettings_432',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], - ['typeofimage_433',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] + ['toolsettings_430',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['typeofimage_431',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_8.js b/docs/html/search/variables_8.js index 34c35a5..ec2bada 100644 --- a/docs/html/search/variables_8.js +++ b/docs/html/search/variables_8.js @@ -1,5 +1,5 @@ var searchData= [ - ['width_434',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_435',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['width_432',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_433',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/struct_layer_object-members.html b/docs/html/struct_layer_object-members.html index c99aa32..43acfb5 100644 --- a/docs/html/struct_layer_object-members.html +++ b/docs/html/struct_layer_object-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/struct_layer_object.html b/docs/html/struct_layer_object.html index 431bbd6..65d2db8 100644 --- a/docs/html/struct_layer_object.html +++ b/docs/html/struct_layer_object.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/struct_triangle-members.html b/docs/html/struct_triangle-members.html index c45831a..52f3ea5 100644 --- a/docs/html/struct_triangle-members.html +++ b/docs/html/struct_triangle-members.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/struct_triangle.html b/docs/html/struct_triangle.html index 8a3a68e..dd86d99 100644 --- a/docs/html/struct_triangle.html +++ b/docs/html/struct_triangle.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/tst__unittest_8cpp.html b/docs/html/tst__unittest_8cpp.html index 6dd0e71..20c4fda 100644 --- a/docs/html/tst__unittest_8cpp.html +++ b/docs/html/tst__unittest_8cpp.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    diff --git a/docs/html/tst__unittest_8cpp_source.html b/docs/html/tst__unittest_8cpp_source.html index d07a191..04351e8 100644 --- a/docs/html/tst__unittest_8cpp_source.html +++ b/docs/html/tst__unittest_8cpp_source.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.7 +  1
    @@ -1831,7 +1831,7 @@ $(document).ready(function(){initNavTree('tst__unittest_8cpp_source.html',''); i
    The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
    The IntelliToolCircle class represents a tool to draw a circle.
    -
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:47
    +
    virtual void onMouseMoved(int x, int y)
    A function managing the mouse moved event. Call this in child classes!
    Definition: IntelliTool.cpp:48
    int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
    The addLayer adds a layer to the current project/ painting area.
    The IntelliToolPolygon managed the Drawing of Polygonforms.
    std::vector< QPoint > polygonData
    The Vertices of The Polygon. Needs to be a planar Polygon.
    diff --git a/src/GUI/IntelliPhotoGui.cpp b/src/GUI/IntelliPhotoGui.cpp index 10b621a..004b12b 100644 --- a/src/GUI/IntelliPhotoGui.cpp +++ b/src/GUI/IntelliPhotoGui.cpp @@ -125,7 +125,7 @@ void IntelliPhotoGui::slotCreateNewShapedLayer(){ // Create New Layer if (ok1&&ok2) { paintingArea->addLayer(width, height, 0, 0,255, ImageType::SHAPEDIMAGE); - paintingArea->historyadd(); + paintingArea->historyadd(); UpdateGui(); } } @@ -315,8 +315,8 @@ void IntelliPhotoGui::slotCreateGradientTool(){ // Open an about dialog void IntelliPhotoGui::slotAboutDialog(){ // Window title and text to display - QMessageBox::about(this, tr("About Us"), - tr("

    About IntelliPhoto

    Version: v1.0
    Developed by: Team 7
    Interactive painting tool with layering and drawing capabilities.

    ")); + QMessageBox::about(this, tr("About Us"), + tr("

    About IntelliPhoto

    Version: v1.0
    Developed by: Team 7
    Interactive painting tool with layering and drawing capabilities.

    ")); } void IntelliPhotoGui::slotEnterPressed(){ @@ -856,7 +856,7 @@ void IntelliPhotoGui::createGui(){ void IntelliPhotoGui::setIntelliStyle(){ // Set the title - setWindowTitle("IntelliPhoto v1.0"); + setWindowTitle("IntelliPhoto v1.0"); // Set style sheet this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);"); diff --git a/src/Image/IntelliRasterImage.cpp b/src/Image/IntelliRasterImage.cpp index f419986..f16fee8 100644 --- a/src/Image/IntelliRasterImage.cpp +++ b/src/Image/IntelliRasterImage.cpp @@ -9,7 +9,6 @@ IntelliRasterImage::IntelliRasterImage(int width, int height, bool fastRendererO } - IntelliRasterImage::~IntelliRasterImage(){ } diff --git a/src/Image/IntelliShapedImage.cpp b/src/Image/IntelliShapedImage.cpp index 392f9c6..9fc7060 100644 --- a/src/Image/IntelliShapedImage.cpp +++ b/src/Image/IntelliShapedImage.cpp @@ -5,7 +5,7 @@ #include IntelliShapedImage::IntelliShapedImage(int width, int height, bool fastRendererOn) - : IntelliRasterImage(width, height, fastRendererOn){ + : IntelliRasterImage(width, height, fastRendererOn){ TypeOfImage = ImageType::SHAPEDIMAGE; } diff --git a/src/IntelliHelper/IntelliDatamanager.h b/src/IntelliHelper/IntelliDatamanager.h index e3c1683..5cd6805 100644 --- a/src/IntelliHelper/IntelliDatamanager.h +++ b/src/IntelliHelper/IntelliDatamanager.h @@ -1,4 +1,4 @@ - #ifndef INTELLIDATAMANAGER_H + #ifndef INTELLIDATAMANAGER_H #define INTELLIDATAMANAGER_H #include diff --git a/src/Layer/PaintingArea.cpp b/src/Layer/PaintingArea.cpp index a0aada5..a6b6ad1 100644 --- a/src/Layer/PaintingArea.cpp +++ b/src/Layer/PaintingArea.cpp @@ -26,9 +26,9 @@ LayerObject::LayerObject(){ LayerObject::LayerObject(const LayerObject& layer){ if(layer.image->getTypeOfImage()==ImageType::RASTERIMAGE) { - this->image = new IntelliRasterImage(*dynamic_cast(layer.image)); + this->image = new IntelliRasterImage(*dynamic_cast(layer.image)); }else if(layer.image->getTypeOfImage()==ImageType::SHAPEDIMAGE) { - this->image = new IntelliShapedImage(*dynamic_cast(layer.image)); + this->image = new IntelliShapedImage(*dynamic_cast(layer.image)); } this->width = layer.width; this->height = layer.height; @@ -130,7 +130,7 @@ void PaintingArea::slotDeleteActiveLayer(){ this->layerBundle.erase(layerBundle.begin() + activeLayer); activeLayer--; } - historyadd(); + historyadd(); } void PaintingArea::setLayerActive(int idx){ @@ -205,7 +205,7 @@ void PaintingArea::movePositionActive(int x, int y){ updateTools(); layerBundle[static_cast(activeLayer)].widthOffset += x; layerBundle[static_cast(activeLayer)].heightOffset += y; - historyadd(); + historyadd(); } void PaintingArea::moveActiveLayer(int idx){ @@ -216,7 +216,7 @@ void PaintingArea::moveActiveLayer(int idx){ this->selectLayerDown(); } guiReference->UpdateGui(); - historyadd(); + historyadd(); } void PaintingArea::slotActivateLayer(int a){ @@ -511,18 +511,18 @@ void PaintingArea::updateTools(){ void PaintingArea::historyadd(){ - history.erase(history.begin()+historyPresent+1,history.end()); - historyPresent++; - history.push_back(layerBundle); + history.erase(history.begin() + historyPresent + 1,history.end()); + historyPresent++; + history.push_back(layerBundle); } void PaintingArea::historyGoBack(){ - historyPresent--; - if( historyPresent<0){ - historyPresent=0; - } - layerBundle = history[static_cast(historyPresent)]; - this->guiReference->UpdateGui(); + historyPresent--; + if( historyPresent<0) { + historyPresent = 0; + } + layerBundle = history[static_cast(historyPresent)]; + this->guiReference->UpdateGui(); } void PaintingArea::historyGoForward(){ diff --git a/src/Layer/PaintingArea.h b/src/Layer/PaintingArea.h index 5dc8793..2954c83 100644 --- a/src/Layer/PaintingArea.h +++ b/src/Layer/PaintingArea.h @@ -459,7 +459,7 @@ void updateTools(); /*! * \brief history - an array out of containers to save history actions. */ -std::vector> history = {layerBundle}; +std::vector > history = {layerBundle}; /*! * \brief historyPresent a indicator where the present is. diff --git a/src/Tool/IntelliTool.cpp b/src/Tool/IntelliTool.cpp index f3c2a1b..02c0d5f 100644 --- a/src/Tool/IntelliTool.cpp +++ b/src/Tool/IntelliTool.cpp @@ -40,7 +40,7 @@ void IntelliTool::onMouseLeftReleased(int x, int y){ this->mergeToolLayer(); this->deleteToolLayer(); activeLayer->image->calculateVisiblity(); - Area->historyadd(); + Area->historyadd(); } } diff --git a/src/Tool/IntelliToolGradient.cpp b/src/Tool/IntelliToolGradient.cpp index 79a2b9a..c532c13 100644 --- a/src/Tool/IntelliToolGradient.cpp +++ b/src/Tool/IntelliToolGradient.cpp @@ -83,10 +83,10 @@ void IntelliToolGradient::computeAndDrawPixelColor(QPoint Point, int FirstColor[ computedColor = colorPicker->getSecondColor(); } else{ - computedColor.setRed(static_cast(ratio * SecondColor[0] + (1 - ratio) * FirstColor[0])); - computedColor.setGreen(static_cast(ratio * SecondColor[1] + (1 - ratio) * FirstColor[1])); - computedColor.setBlue(static_cast(ratio * SecondColor[2] + (1 - ratio) * FirstColor[2])); - computedColor.setAlpha(static_cast(ratio * SecondColor[3] + (1 - ratio) * FirstColor[3])); + computedColor.setRed(static_cast(ratio * SecondColor[0] + (1 - ratio) * FirstColor[0])); + computedColor.setGreen(static_cast(ratio * SecondColor[1] + (1 - ratio) * FirstColor[1])); + computedColor.setBlue(static_cast(ratio * SecondColor[2] + (1 - ratio) * FirstColor[2])); + computedColor.setAlpha(static_cast(ratio * SecondColor[3] + (1 - ratio) * FirstColor[3])); } Canvas->image->drawPixel(Point,computedColor); } @@ -100,23 +100,23 @@ double IntelliToolGradient::lenghtVector(double Vector[2]){ } void IntelliToolGradient::computeGradientLayer(){ - int FirstColor[4]; - colorPicker->getFirstColor().getRgb(&FirstColor[0],&FirstColor[1],&FirstColor[2],&FirstColor[3]); - int SecondColor[4]; - colorPicker->getSecondColor().getRgb(&SecondColor[0],&SecondColor[1],&SecondColor[2],&SecondColor[3]); + int FirstColor[4]; + colorPicker->getFirstColor().getRgb(&FirstColor[0],&FirstColor[1],&FirstColor[2],&FirstColor[3]); + int SecondColor[4]; + colorPicker->getSecondColor().getRgb(&SecondColor[0],&SecondColor[1],&SecondColor[2],&SecondColor[3]); - double NormalVector[2]; - double NormalDotNormal; + double NormalVector[2]; + double NormalDotNormal; - VectorStartEnd[0] = static_cast(endPoint.x() - startPoint.x()); - VectorStartEnd[1] = static_cast(endPoint.y() - startPoint.y()); - NormalVector[0] = VectorStartEnd[1]; - NormalVector[1] = (-1 * VectorStartEnd[0]); - NormalDotNormal = dotProduct(NormalVector,NormalVector); + VectorStartEnd[0] = static_cast(endPoint.x() - startPoint.x()); + VectorStartEnd[1] = static_cast(endPoint.y() - startPoint.y()); + NormalVector[0] = VectorStartEnd[1]; + NormalVector[1] = (-1 * VectorStartEnd[0]); + NormalDotNormal = dotProduct(NormalVector,NormalVector); - for(int i = 0; i < activeLayer->height; i++) { + for(int i = 0; i < activeLayer->height; i++) { for(int j = 0; j < activeLayer->width; j++) { - computeAndDrawPixelColor(QPoint(j,i), FirstColor, SecondColor, NormalVector, NormalDotNormal); + computeAndDrawPixelColor(QPoint(j,i), FirstColor, SecondColor, NormalVector, NormalDotNormal); } } }