mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-12 11:30:29 +02:00
Automated Release Preparation
This commit is contained in:
435
cppcheck_config.txt
Normal file
435
cppcheck_config.txt
Normal file
@@ -0,0 +1,435 @@
|
||||
src/GUI/IntelliInputDialog.h:4:0: information: Include file: <QSize> 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: <QDialog> 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: <QLabel> 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: <QGridLayout> 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: <QDialogButtonBox> 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: <QPushButton> 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: <QSpinBox> 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: <QAction> 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: <QFileDialog> 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: <QMessageBox> 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: <QImageWriter> 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: <QMenu> 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: <QMenuBar> 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: <QList> 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: <QMainWindow> 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: <QGridLayout> 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: <QPushButton> 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: <QTextEdit> 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: <QLabel> 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: <QLineEdit> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.h:17:0: information: Include file: <QScrollArea> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.h:19:0: information: Include file: "IntelliHelper/IntelliDatamanager.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:4:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:6:0: information: Include file: <QEvent> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:7:0: information: Include file: <QCloseEvent> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:8:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:9:0: information: Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:10:0: information: Include file: <QScreen> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/GUI/IntelliPhotoGui.cpp:11:0: information: Include file: <QGuiApplication> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Image/IntelliImage.cpp:1:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Image/IntelliImage.cpp:2:0: information: Include file: <QSize> 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: <QPainter> 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: <QPainter> 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: <QRect> 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: <QDebug> 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: <QPainter> 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: <QRect> 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: <QDebug> 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: <QFile> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.h:5:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliDatamanager.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliToolsettings.cpp:2:0: information: Include file: <QInputDialog> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/IntelliHelper/IntelliTriangulation.h:7:0: information: Include file: <QPoint> 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: <vector> 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: <algorithm> 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: <queue> 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: <cmath> 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: <vector> 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: <QtWidgets> 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: <QPoint> 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: <QRect> 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: <QColor> 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: <QImage> 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: <QPoint> 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: <QWidget> 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: <QList> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.h:10:0: information: Include file: <QLabel> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Layer/PaintingArea.h:11:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
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: <vector> 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: <cmath> 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: <functional> 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: <queue> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:3:0: information: Include file: "math.h" not found. [missingInclude]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolGradient.cpp:4:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/Tool/IntelliToolLine.h:5:0: information: Include file: "QPoint" not found. [missingInclude]
|
||||
|
||||
^
|
||||
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: <vector> 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: <QPoint> 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: <QCursor> 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: <QInputDialog> 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: <QDebug> 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: <cmath> 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: <QApplication> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/main.cpp:3:0: information: Include file: <QDebug> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/main.cpp:4:0: information: Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/main.cpp:5:0: information: Include file: <fstream> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/mainUnitTest.cpp:1:0: information: Include file: <QtTest> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem]
|
||||
|
||||
^
|
||||
src/mainUnitTest.cpp:3:0: information: Include file: <string> 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: <QtTest> 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: <QCoreApplication> 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: <QImage> 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: <QPoint> 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: <QColor> 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: <QSize> 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: <QWidget> 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: <vector> 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: <vector> 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]
|
||||
|
||||
^
|
||||
329
cppcheck_errors.txt
Normal file
329
cppcheck_errors.txt
Normal file
@@ -0,0 +1,329 @@
|
||||
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/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]
|
||||
|
||||
@@ -149,7 +149,7 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  in >> widthCanvas >> heightCanvas;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  in >> numberOffLayers;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Canvas-><a class="code" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a>(widthCanvas, heightCanvas);</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Canvas-><a class="code" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">setCanvasDimensions</a>(widthCanvas, heightCanvas);</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i<numberOffLayers; i++) {</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">int</span> width, height, widthOffset, heightOffset, alpha;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  in >> width >> height >> widthOffset >> heightOffset >> alpha;</div>
|
||||
@@ -196,11 +196,11 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
|
||||
<div class="ttc" id="aclass_painting_area_html_aa811d142df9239ae248679bd70ad6da7"><div class="ttname"><a href="class_painting_area.html#aa811d142df9239ae248679bd70ad6da7">PaintingArea::getMaxHeight</a></div><div class="ttdeci">int getMaxHeight()</div><div class="ttdoc">getMaxHeight gets the max height of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00294">PaintingArea.cpp:294</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af1b7be20235139e4909086696ea74cf7"><div class="ttname"><a href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">PaintingArea::drawPixelOntoActive</a></div><div class="ttdeci">void drawPixelOntoActive(QColor color, QPoint point)</div><div class="ttdoc">drawPixelOntoActive draws a pixel onto the image data of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00086">PaintingArea.cpp:86</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00491">PaintingArea.cpp:491</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00493">PaintingArea.cpp:493</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37">ImageType::SHAPEDIMAGE</a></div><div class="ttdeci">@ SHAPEDIMAGE</div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af4701dee7ce672d91ed1e80cdd1e7491"><div class="ttname"><a href="class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491">PaintingArea::deleteAllLayers</a></div><div class="ttdeci">void deleteAllLayers()</div><div class="ttdoc">deleteAllLayers deletes all layers</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3bfc63de27c54f3edf9feb3af538343c"><div class="ttname"><a href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int maxWidth, int maxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a641a654451d5883fc43e7f7563e64f7e"><div class="ttname"><a href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int newMaxWidth, int newMaxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html_ac02f6f47ff8785ad9d49588baaca3d54"><div class="ttname"><a href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">IntelliDatamanager::saveProject</a></div><div class="ttdeci">bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")</div><div class="ttdoc">saveProject saves the current project to a file.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8cpp_source.html#l00004">IntelliDatamanager.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ad631e87a1e7fe2b60f546b0f34995097"><div class="ttname"><a href="class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097">PaintingArea::getRenderSettings</a></div><div class="ttdeci">bool getRenderSettings()</div><div class="ttdoc">getRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00068">PaintingArea.cpp:68</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abd5e3e4d3f2f026383d0a275dc55cbbd"><div class="ttname"><a href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)</div><div class="ttdoc">The addLayer adds a layer to the current project/ painting area.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00094">PaintingArea.cpp:94</a></div></div>
|
||||
|
||||
@@ -233,7 +233,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// Change dimension</span></div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">if</span> (ok1&&ok2) {</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  paintingArea-><a class="code" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a>(width,height);</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  paintingArea-><a class="code" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">setCanvasDimensions</a>(width,height);</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
@@ -1057,7 +1057,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_aeb08029a0c946ed0402c9c11a91965b1"><div class="ttname"><a href="class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor() const</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00015">IntelliColorPicker.cpp:15</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9">ImageType::RASTERIMAGE</a></div><div class="ttdeci">@ RASTERIMAGE</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a63be0831e5b6ceb8cc622d83aa28f0bd"><div class="ttname"><a href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">PaintingArea::setRenderSettings</a></div><div class="ttdeci">void setRenderSettings(bool isFastRenderingOn)</div><div class="ttdoc">setRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00051">PaintingArea.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acab11ad35d07e9081203d8217d2c0855"><div class="ttname"><a href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a></div><div class="ttdeci">IntelliImage * getImageOfActiveLayer()</div><div class="ttdoc">getImageOfActiveLayer returns the image of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00469">PaintingArea.cpp:469</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acab11ad35d07e9081203d8217d2c0855"><div class="ttname"><a href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a></div><div class="ttdeci">IntelliImage * getImageOfActiveLayer()</div><div class="ttdoc">getImageOfActiveLayer returns the image of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00471">PaintingArea.cpp:471</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a5b04ce62ce024e307f54e0281f7ae4bd"><div class="ttname"><a href="class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd">PaintingArea::createRectangleTool</a></div><div class="ttdeci">void createRectangleTool()</div><div class="ttdoc">createRectangleTool creates a Rectangle Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00258">PaintingArea.cpp:258</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb082c1cda3edb6b68d8ee45cf4822f8"><div class="ttname"><a href="class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8">PaintingArea::getMaxWidth</a></div><div class="ttdeci">int getMaxWidth()</div><div class="ttdoc">getMaxWidth gets the max width of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00290">PaintingArea.cpp:290</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa2463d4f403224086acab02903ae407e"><div class="ttname"><a href="class_painting_area.html#aa2463d4f403224086acab02903ae407e">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &filePath, const char *fileFormat)</div><div class="ttdoc">The save method is used for exporting the current project as one picture.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00181">PaintingArea.cpp:181</a></div></div>
|
||||
@@ -1071,8 +1071,8 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
|
||||
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00057">PaintingArea.h:57</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdoc">createPenTool creates a Pen Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00243">PaintingArea.cpp:243</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_ab41abe8fb7e184db2c33e792f09792e0"><div class="ttname"><a href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor() const</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00019">IntelliColorPicker.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a2ea1108ae4e4be995c4df0d378c536e7"><div class="ttname"><a href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a></div><div class="ttdeci">int getIndexOfActiveLayer()</div><div class="ttdoc">getIndexOfActiveLayer returns the index of athe active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00465">PaintingArea.cpp:465</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6a6083ca9fece2b185b592f941a91aa4"><div class="ttname"><a href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a></div><div class="ttdeci">void historyGoBack()</div><div class="ttdoc">historyGoBack go back in hisotry</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00517">PaintingArea.cpp:517</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a2ea1108ae4e4be995c4df0d378c536e7"><div class="ttname"><a href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a></div><div class="ttdeci">int getIndexOfActiveLayer()</div><div class="ttdoc">getIndexOfActiveLayer returns the index of athe active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00467">PaintingArea.cpp:467</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6a6083ca9fece2b185b592f941a91aa4"><div class="ttname"><a href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a></div><div class="ttdeci">void historyGoBack()</div><div class="ttdoc">historyGoBack go back in hisotry</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00519">PaintingArea.cpp:519</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdoc">createLineTool creates a Line Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00253">PaintingArea.cpp:253</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdoc">The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00234">PaintingArea.cpp:234</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdoc">The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00229">PaintingArea.cpp:229</a></div></div>
|
||||
@@ -1087,9 +1087,9 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdoc">The moveActiveLayer moves the active layer to a specific position in the layer stack.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00211">PaintingArea.cpp:211</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a132535c4e16052c1472cf1b9f3e096ed"><div class="ttname"><a href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">PaintingArea::colorPicker</a></div><div class="ttdeci">IntelliColorPicker colorPicker</div><div class="ttdoc">colorPicker a class to manage Tool color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00286">PaintingArea.h:286</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3bfc63de27c54f3edf9feb3af538343c"><div class="ttname"><a href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int maxWidth, int maxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a0b22e18069b524f3e75857d203baf256"><div class="ttname"><a href="class_painting_area.html#a0b22e18069b524f3e75857d203baf256">PaintingArea::createFloodFillTool</a></div><div class="ttdeci">void createFloodFillTool()</div><div class="ttdoc">createFloodFillTool creates a Floodfill Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00272">PaintingArea.cpp:272</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html_a9a61f3de61efeba2287f8b32941f4271"><div class="ttname"><a href="class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271">IntelliToolsettings::setInnerAlpha</a></div><div class="ttdeci">void setInnerAlpha(int innerAlpha)</div><div class="ttdoc">setInnerAlpha sets the inner alpha attribute of the Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8cpp_source.html#l00032">IntelliToolsettings.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a641a654451d5883fc43e7f7563e64f7e"><div class="ttname"><a href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int newMaxWidth, int newMaxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_datamanager_html_ac02f6f47ff8785ad9d49588baaca3d54"><div class="ttname"><a href="namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54">IntelliDatamanager::saveProject</a></div><div class="ttdeci">bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")</div><div class="ttdoc">saveProject saves the current project to a file.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_datamanager_8cpp_source.html#l00004">IntelliDatamanager.cpp:4</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a1dbef8d4688227aa9455aea52db00bf4"><div class="ttname"><a href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">IntelliPhotoGui::UpdateGui</a></div><div class="ttdeci">void UpdateGui()</div><div class="ttdoc">UpdateGui a function to update all gui elements.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00932">IntelliPhotoGui.cpp:932</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abc2f798744f1dc805a651731eb1692ea"><div class="ttname"><a href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">PaintingArea::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings Toolsettings</div><div class="ttdoc">Toolsettings - a class to manage Tool settings.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00281">PaintingArea.h:281</a></div></div>
|
||||
@@ -1099,8 +1099,8 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdoc">The movePositionActive method moves the active layer to certain position.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00204">PaintingArea.cpp:204</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abd5e3e4d3f2f026383d0a275dc55cbbd"><div class="ttname"><a href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)</div><div class="ttdoc">The addLayer adds a layer to the current project/ painting area.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00094">PaintingArea.cpp:94</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aecc72f0f5971244205194934ff721546"><div class="ttname"><a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a></div><div class="ttdeci">void historyGoForward()</div><div class="ttdoc">historyGoForward a function to undo the return of the previous state of the project.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00526">PaintingArea.cpp:526</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00510">PaintingArea.cpp:510</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aecc72f0f5971244205194934ff721546"><div class="ttname"><a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a></div><div class="ttdeci">void historyGoForward()</div><div class="ttdoc">historyGoForward a function to undo the return of the previous state of the project.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00528">PaintingArea.cpp:528</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00512">PaintingArea.cpp:512</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ad8636e986fdcdd3146f9f72d3cdb1831"><div class="ttname"><a href="class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831">PaintingArea::createGradientTool</a></div><div class="ttdeci">void createGradientTool()</div><div class="ttdoc">createGradientTool creates a Gradient Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00277">PaintingArea.cpp:277</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -145,8 +145,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html',''); i
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keywordtype">bool</span> IntelliTool::createToolLayer(){</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->createTempTopLayer(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)) {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  this-><a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)];</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer + 1)];</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  this-><a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer)];</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a> = &<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(<a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>->activeLayer + 1)];</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
@@ -229,7 +229,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html',''); i
|
||||
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdoc">image - Stores the imageData of the current LayerObject.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00027">PaintingArea.h:27</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00048">IntelliTool.cpp:48</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00510">PaintingArea.cpp:510</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00512">PaintingArea.cpp:512</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00053">IntelliTool.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdoc">The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00009">IntelliToolsettings.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00015">IntelliTool.cpp:15</a></div></div>
|
||||
|
||||
@@ -272,7 +272,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp_source.html
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_aa36b012b48311c36e7cd6771a5081427"><div class="ttname"><a href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse. Resetting the current fill.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00083">IntelliToolPolygon.cpp:83</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00476">PaintingArea.cpp:476</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00478">PaintingArea.cpp:478</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdoc">ActiveType the type of the active tool.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a087cbf2254010989df6106a357471499"><div class="ttname"><a href="class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499">IntelliToolPolygon::~IntelliToolPolygon</a></div><div class="ttdeci">~IntelliToolPolygon() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00020">IntelliToolPolygon.cpp:20</a></div></div>
|
||||
|
||||
@@ -176,7 +176,7 @@ $(document).ready(function(){initNavTree('_intelli_triangulation_8cpp_source.htm
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">// update post und prev idx</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  post = getPrev(post, Vertices.size());</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  post = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(getPrev(post, Vertices.size()));</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  prev = prev<smallest.idx ? prev : (prev - 1);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">// calcultae neighboors of prev and post to calculate new interior angles</span></div>
|
||||
|
||||
@@ -125,10 +125,10 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  this-><a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a> = layer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a>;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460"> 40</a></span> <a class="code" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a>(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight, QWidget*parent)</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8"> 40</a></span> <a class="code" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea::PaintingArea</a>(<span class="keywordtype">int</span> newMaxWidth, <span class="keywordtype">int</span> newMaxHeight, QWidget*parent)</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  : QLabel(parent){</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  this->Tool = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  this-><a class="code" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a>(maxWidth, maxHeight);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  this-><a class="code" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">setCanvasDimensions</a>(newMaxWidth, newMaxHeight);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  activeLayer = -1;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
@@ -157,10 +157,10 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">return</span> this->renderSettings.<a class="code" href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">isFastRenderering</a>();</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> }</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c"> 72</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea::setCanvasDimensions</a>(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight){</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e"> 72</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea::setCanvasDimensions</a>(<span class="keywordtype">int</span> newMaxWidth, <span class="keywordtype">int</span> newMaxHeight){</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">//set standart parameter</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  this->maxWidth = maxWidth;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  this->maxHeight = maxHeight;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  this->maxWidth = newMaxWidth;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  this->maxHeight = newMaxHeight;</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  Canvas = <span class="keyword">new</span> QImage(maxWidth,maxHeight, QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  this->offsetXDimension = maxWidth / 2;</div>
|
||||
@@ -541,84 +541,86 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keywordflow">switch</span>(Tool-><a class="code" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">getTooltype</a>()) {</div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">IntelliTool::Tooltype::CIRCLE</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_circle.html">IntelliToolCircle</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">IntelliTool::Tooltype::FLOODFILL</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">IntelliTool::Tooltype::LINE</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_line.html">IntelliToolLine</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">IntelliTool::Tooltype::PEN</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_pen.html">IntelliToolPen</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">IntelliTool::Tooltype::PLAIN</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">IntelliTool::Tooltype::POLYGON</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_polygon.html">IntelliToolPolygon</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">IntelliTool::Tooltype::RECTANGLE</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordflow">default</span>: <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  }</div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span> }</div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  </div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7"> 465</a></span> <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keywordflow">return</span> activeLayer;</div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span> }</div>
|
||||
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  </div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855"> 469</a></span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="keywordflow">if</span>(activeLayer<0) {</div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  }</div>
|
||||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keywordflow">return</span> layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(activeLayer)].image;</div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> }</div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  </div>
|
||||
<div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423"> 476</a></span> QImage <a class="code" href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  QImage returnImage;</div>
|
||||
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keywordflow">if</span>(activeLayer<0) {</div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  returnImage = QImage(QSize(10,10),QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  returnImage.fill(QColor(255,255,255,255));</div>
|
||||
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  }</div>
|
||||
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  returnImage = layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(activeLayer)].image->getImageData();</div>
|
||||
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordflow">if</span>(renderSettings.<a class="code" href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">isFastRenderering</a>()) {</div>
|
||||
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  returnImage = returnImage.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  }</div>
|
||||
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  }</div>
|
||||
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keywordflow">return</span> returnImage;</div>
|
||||
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> }</div>
|
||||
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  </div>
|
||||
<div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba"> 491</a></span> std::vector<LayerObject>* <a class="code" href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a>(){</div>
|
||||
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  <span class="keywordflow">return</span> &layerBundle;</div>
|
||||
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span> }</div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  </div>
|
||||
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> <span class="keywordtype">void</span> PaintingArea::updateTools(){</div>
|
||||
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <span class="keywordflow">if</span>(Tool!=<span class="keyword">nullptr</span>) {</div>
|
||||
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="keywordflow">if</span>(Tool-><a class="code" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">getIsDrawing</a>()) {</div>
|
||||
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <a class="code" href="class_intelli_tool.html">IntelliTool</a>* temp = copyActiveTool();</div>
|
||||
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  this->Tool = temp;</div>
|
||||
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  }</div>
|
||||
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keywordflow">if</span>(isSettingPolygon) {</div>
|
||||
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  this->Tool = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  isSettingPolygon = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  }</div>
|
||||
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  }</div>
|
||||
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span> }</div>
|
||||
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  </div>
|
||||
<div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f"> 510</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a>(){</div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f">IntelliTool::Tooltype::GRADIENT</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_gradient.html">IntelliToolGradient</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">IntelliTool::Tooltype::LINE</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_line.html">IntelliToolLine</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">IntelliTool::Tooltype::PEN</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_pen.html">IntelliToolPen</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">IntelliTool::Tooltype::PLAIN</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">IntelliTool::Tooltype::POLYGON</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_polygon.html">IntelliToolPolygon</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">IntelliTool::Tooltype::RECTANGLE</a>: <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a>(<span class="keyword">this</span>,&<a class="code" href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">colorPicker</a>, &<a class="code" href="class_painting_area.html#abc2f798744f1dc805a651731eb1692ea">Toolsettings</a>);</div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keywordflow">case</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">IntelliTool::Tooltype::NONE</a>: <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordflow">default</span>: <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  }</div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> }</div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  </div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7"> 467</a></span> <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordflow">return</span> activeLayer;</div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> }</div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  </div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855"> 471</a></span> <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="keywordflow">if</span>(activeLayer<0) {</div>
|
||||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  }</div>
|
||||
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keywordflow">return</span> layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(activeLayer)].image;</div>
|
||||
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> }</div>
|
||||
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  </div>
|
||||
<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423"> 478</a></span> QImage <a class="code" href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  QImage returnImage;</div>
|
||||
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="keywordflow">if</span>(activeLayer<0) {</div>
|
||||
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  returnImage = QImage(QSize(10,10),QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  returnImage.fill(QColor(255,255,255,255));</div>
|
||||
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  }</div>
|
||||
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  returnImage = layerBundle[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(activeLayer)].image->getImageData();</div>
|
||||
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keywordflow">if</span>(renderSettings.<a class="code" href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">isFastRenderering</a>()) {</div>
|
||||
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  returnImage = returnImage.convertToFormat(QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  }</div>
|
||||
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  }</div>
|
||||
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keywordflow">return</span> returnImage;</div>
|
||||
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span> }</div>
|
||||
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  </div>
|
||||
<div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba"> 493</a></span> std::vector<LayerObject>* <a class="code" href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a>(){</div>
|
||||
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keywordflow">return</span> &layerBundle;</div>
|
||||
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> }</div>
|
||||
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  </div>
|
||||
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> <span class="keywordtype">void</span> PaintingArea::updateTools(){</div>
|
||||
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <span class="keywordflow">if</span>(Tool!=<span class="keyword">nullptr</span>) {</div>
|
||||
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="keywordflow">if</span>(Tool-><a class="code" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">getIsDrawing</a>()) {</div>
|
||||
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <a class="code" href="class_intelli_tool.html">IntelliTool</a>* temp = copyActiveTool();</div>
|
||||
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  this->Tool = temp;</div>
|
||||
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  }</div>
|
||||
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <span class="keywordflow">if</span>(isSettingPolygon) {</div>
|
||||
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  this->Tool = <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  isSettingPolygon = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  }</div>
|
||||
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  }</div>
|
||||
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span> }</div>
|
||||
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  </div>
|
||||
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  history.erase(history.begin() + historyPresent + 1,history.end());</div>
|
||||
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  historyPresent++;</div>
|
||||
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  history.push_back(layerBundle);</div>
|
||||
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span> }</div>
|
||||
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  </div>
|
||||
<div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4"> 517</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a>(){</div>
|
||||
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  historyPresent--;</div>
|
||||
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  <span class="keywordflow">if</span>( historyPresent<0) {</div>
|
||||
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  historyPresent = 0;</div>
|
||||
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  }</div>
|
||||
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  layerBundle = history[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(historyPresent)];</div>
|
||||
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  this->guiReference-><a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span> }</div>
|
||||
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  </div>
|
||||
<div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="class_painting_area.html#aecc72f0f5971244205194934ff721546"> 526</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a>(){</div>
|
||||
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  historyPresent++;</div>
|
||||
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="keywordflow">if</span>(historyPresent>=<span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(history.size())) {</div>
|
||||
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  historyPresent = history.size() - 1;</div>
|
||||
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  }</div>
|
||||
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  layerBundle = history[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(historyPresent)];</div>
|
||||
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  this->guiReference-><a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span> }</div>
|
||||
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f"> 512</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a>(){</div>
|
||||
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  </div>
|
||||
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  history.erase(history.begin() + historyPresent + 1,history.end());</div>
|
||||
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  historyPresent++;</div>
|
||||
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  history.push_back(layerBundle);</div>
|
||||
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span> }</div>
|
||||
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  </div>
|
||||
<div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4"> 519</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a>(){</div>
|
||||
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  historyPresent--;</div>
|
||||
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  <span class="keywordflow">if</span>( historyPresent<0) {</div>
|
||||
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  historyPresent = 0;</div>
|
||||
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  }</div>
|
||||
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  layerBundle = history[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(historyPresent)];</div>
|
||||
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  this->guiReference-><a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span> }</div>
|
||||
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  </div>
|
||||
<div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="class_painting_area.html#aecc72f0f5971244205194934ff721546"> 528</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a>(){</div>
|
||||
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  historyPresent++;</div>
|
||||
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <span class="keywordflow">if</span>(historyPresent>=<span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(history.size())) {</div>
|
||||
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  historyPresent = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(history.size() - 1);</div>
|
||||
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  }</div>
|
||||
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  layerBundle = history[<span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(historyPresent)];</div>
|
||||
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  this->guiReference-><a class="code" href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">UpdateGui</a>();</div>
|
||||
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_painting_area_html_a675ee91b26b1c58be6d833f279d81597"><div class="ttname"><a href="class_painting_area.html#a675ee91b26b1c58be6d833f279d81597">PaintingArea::getWidthOfActive</a></div><div class="ttdeci">int getWidthOfActive()</div><div class="ttdoc">The getWidthOfActive gets the horizontal dimensions of the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00282">PaintingArea.cpp:282</a></div></div>
|
||||
@@ -630,7 +632,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00037">IntelliTool.cpp:37</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a></div><div class="ttdeci">ImageType</div><div class="ttdoc">The Types, which an Image can be.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a63be0831e5b6ceb8cc622d83aa28f0bd"><div class="ttname"><a href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">PaintingArea::setRenderSettings</a></div><div class="ttdeci">void setRenderSettings(bool isFastRenderingOn)</div><div class="ttdoc">setRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00051">PaintingArea.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acab11ad35d07e9081203d8217d2c0855"><div class="ttname"><a href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a></div><div class="ttdeci">IntelliImage * getImageOfActiveLayer()</div><div class="ttdoc">getImageOfActiveLayer returns the image of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00469">PaintingArea.cpp:469</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acab11ad35d07e9081203d8217d2c0855"><div class="ttname"><a href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a></div><div class="ttdeci">IntelliImage * getImageOfActiveLayer()</div><div class="ttdoc">getImageOfActiveLayer returns the image of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00471">PaintingArea.cpp:471</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a35b5df914acb608cc29717659793359c"><div class="ttname"><a href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a></div><div class="ttdeci">void mouseReleaseEvent(QMouseEvent *event) override</div><div class="ttdoc">mouseReleaseEvent handles a mouse released event</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00341">PaintingArea.cpp:341</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a5b04ce62ce024e307f54e0281f7ae4bd"><div class="ttname"><a href="class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd">PaintingArea::createRectangleTool</a></div><div class="ttdeci">void createRectangleTool()</div><div class="ttdoc">createRectangleTool creates a Rectangle Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00258">PaintingArea.cpp:258</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_polygon_8h_html"><div class="ttname"><a href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a></div></div>
|
||||
@@ -638,6 +640,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af90f0965efbc5c25126691e998f39ca3"><div class="ttname"><a href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">IntelliTool::getIsDrawing</a></div><div class="ttdeci">bool getIsDrawing() const</div><div class="ttdoc">getIsDrawing returns if the tool is currently drawing</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00105">IntelliTool.cpp:105</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb082c1cda3edb6b68d8ee45cf4822f8"><div class="ttname"><a href="class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8">PaintingArea::getMaxWidth</a></div><div class="ttdeci">int getMaxWidth()</div><div class="ttdoc">getMaxWidth gets the max width of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00290">PaintingArea.cpp:290</a></div></div>
|
||||
<div class="ttc" id="a_intelli_shaped_image_8h_html"><div class="ttname"><a href="_intelli_shaped_image_8h.html">IntelliShapedImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3f6d5f8e544ecc73e84828ac15ab28d8"><div class="ttname"><a href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)</div><div class="ttdoc">PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00040">PaintingArea.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html_a38fd592c4948d2e47b95bb6fabc34073"><div class="ttname"><a href="class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073">IntelliRenderSettings::isFastRenderering</a></div><div class="ttdeci">bool isFastRenderering() const</div><div class="ttdoc">The getfastRenderer gets the value of the flag for the fastRenderer setting.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8cpp_source.html#l00012">IntelliRenderSettings.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa2463d4f403224086acab02903ae407e"><div class="ttname"><a href="class_painting_area.html#aa2463d4f403224086acab02903ae407e">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &filePath, const char *fileFormat)</div><div class="ttdoc">The save method is used for exporting the current project as one picture.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00181">PaintingArea.cpp:181</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_adf5c06ad2b2c0d745fb68cf80e7e5694"><div class="ttname"><a href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">IntelliTool::getTooltype</a></div><div class="ttdeci">Tooltype getTooltype() const</div><div class="ttdoc">getTooltype returns the tools type</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00101">IntelliTool.cpp:101</a></div></div>
|
||||
@@ -647,6 +650,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="aclass_painting_area_html_a79eb059829f27e8cdb3a54c5cd3d12c9"><div class="ttname"><a href="class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9">PaintingArea::setLayerActive</a></div><div class="ttdeci">void setLayerActive(int idx)</div><div class="ttdoc">The setLayerToActive method marks a specific layer as active.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00136">PaintingArea.cpp:136</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a72b44d27c7bbb60dde14f04ec240ab96"><div class="ttname"><a href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">LayerObject::widthOffset</a></div><div class="ttdeci">int widthOffset</div><div class="ttdoc">widthOffset - Stores the number of pixles from the left side of the painting area.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00039">PaintingArea.h:39</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa811d142df9239ae248679bd70ad6da7"><div class="ttname"><a href="class_painting_area.html#aa811d142df9239ae248679bd70ad6da7">PaintingArea::getMaxHeight</a></div><div class="ttdeci">int getMaxHeight()</div><div class="ttdoc">getMaxHeight gets the max height of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00294">PaintingArea.cpp:294</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">IntelliTool::Tooltype::NONE</a></div><div class="ttdeci">@ NONE</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a9b7dc8b8dc0b301ce58206aa76fb1630"><div class="ttname"><a href="class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int idx, bool isTool=false)</div><div class="ttdoc">The deleteLayer method removes a layer at a given idx.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00113">PaintingArea.cpp:113</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html"><div class="ttname"><a href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></div><div class="ttdoc">The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8h_source.html#l00013">IntelliToolPlain.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a86bf4a940e4a0e465e30cbdf28748931"><div class="ttname"><a href="class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931">IntelliColorPicker::setSecondColor</a></div><div class="ttdeci">void setSecondColor(QColor Color)</div><div class="ttdoc">A function to set the secondary color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00027">IntelliColorPicker.cpp:27</a></div></div>
|
||||
@@ -665,9 +669,9 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="a_intelli_raster_image_8h_html"><div class="ttname"><a href="_intelli_raster_image_8h.html">IntelliRasterImage.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a402cb1d9f20436032fe080681b80eb56"><div class="ttname"><a href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">LayerObject::alpha</a></div><div class="ttdeci">int alpha</div><div class="ttdoc">alpha - Stores the alpha value of the layer (default=255).</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00047">PaintingArea.h:47</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_ab41abe8fb7e184db2c33e792f09792e0"><div class="ttname"><a href="class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor() const</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8cpp_source.html#l00019">IntelliColorPicker.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a2ea1108ae4e4be995c4df0d378c536e7"><div class="ttname"><a href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a></div><div class="ttdeci">int getIndexOfActiveLayer()</div><div class="ttdoc">getIndexOfActiveLayer returns the index of athe active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00465">PaintingArea.cpp:465</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a2ea1108ae4e4be995c4df0d378c536e7"><div class="ttname"><a href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a></div><div class="ttdeci">int getIndexOfActiveLayer()</div><div class="ttdoc">getIndexOfActiveLayer returns the index of athe active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00467">PaintingArea.cpp:467</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af1b7be20235139e4909086696ea74cf7"><div class="ttname"><a href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">PaintingArea::drawPixelOntoActive</a></div><div class="ttdeci">void drawPixelOntoActive(QColor color, QPoint point)</div><div class="ttdoc">drawPixelOntoActive draws a pixel onto the image data of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00086">PaintingArea.cpp:86</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6a6083ca9fece2b185b592f941a91aa4"><div class="ttname"><a href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a></div><div class="ttdeci">void historyGoBack()</div><div class="ttdoc">historyGoBack go back in hisotry</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00517">PaintingArea.cpp:517</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6a6083ca9fece2b185b592f941a91aa4"><div class="ttname"><a href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a></div><div class="ttdeci">void historyGoBack()</div><div class="ttdoc">historyGoBack go back in hisotry</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00519">PaintingArea.cpp:519</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html"><div class="ttname"><a href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a></div><div class="ttdoc">The IntelliToolRectangle class represents a tool to draw a rectangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8h_source.html#l00015">IntelliToolRectangle.h:15</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdoc">createLineTool creates a Line Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00253">PaintingArea.cpp:253</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_line_8h_html"><div class="ttname"><a href="_intelli_tool_line_8h.html">IntelliToolLine.h</a></div></div>
|
||||
@@ -677,7 +681,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdoc">The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00229">PaintingArea.cpp:229</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">IntelliTool::Tooltype::PLAIN</a></div><div class="ttdeci">@ PLAIN</div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">IntelliTool::Tooltype::POLYGON</a></div><div class="ttdeci">@ POLYGON</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00491">PaintingArea.cpp:491</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00493">PaintingArea.cpp:493</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width - Stores the width of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00031">PaintingArea.h:31</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_rectangle_8h_html"><div class="ttname"><a href="_intelli_tool_rectangle_8h.html">IntelliToolRectangle.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa32adc113f77031945f73e33051931e8"><div class="ttname"><a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a></div><div class="ttdeci">~PaintingArea() override</div><div class="ttdoc">This deconstructor is used to clear up the memory and remove the currently active window.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00047">PaintingArea.cpp:47</a></div></div>
|
||||
@@ -693,14 +697,13 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="aclass_painting_area_html_a13c2f94644bea9c2d3123d0b7898f34b"><div class="ttname"><a href="class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b">PaintingArea::createPolygonTool</a></div><div class="ttdeci">void createPolygonTool()</div><div class="ttdoc">createPolygonTool creates a Polygon Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00267">PaintingArea.cpp:267</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdoc">The moveActiveLayer moves the active layer to a specific position in the layer stack.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00211">PaintingArea.cpp:211</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a132535c4e16052c1472cf1b9f3e096ed"><div class="ttname"><a href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">PaintingArea::colorPicker</a></div><div class="ttdeci">IntelliColorPicker colorPicker</div><div class="ttdoc">colorPicker a class to manage Tool color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00286">PaintingArea.h:286</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4fa0ec23e78cc59f28c823584c721460"><div class="ttname"><a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</div><div class="ttdoc">PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00040">PaintingArea.cpp:40</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af4701dee7ce672d91ed1e80cdd1e7491"><div class="ttname"><a href="class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491">PaintingArea::deleteAllLayers</a></div><div class="ttdeci">void deleteAllLayers()</div><div class="ttdoc">deleteAllLayers deletes all layers</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3bfc63de27c54f3edf9feb3af538343c"><div class="ttname"><a href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int maxWidth, int maxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00476">PaintingArea.cpp:476</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00478">PaintingArea.cpp:478</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a0b22e18069b524f3e75857d203baf256"><div class="ttname"><a href="class_painting_area.html#a0b22e18069b524f3e75857d203baf256">PaintingArea::createFloodFillTool</a></div><div class="ttdeci">void createFloodFillTool()</div><div class="ttdoc">createFloodFillTool creates a Floodfill Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00272">PaintingArea.cpp:272</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdoc">The slotActivateLayer method handles the event of selecting one layer as active.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00222">PaintingArea.cpp:222</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a641a654451d5883fc43e7f7563e64f7e"><div class="ttname"><a href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int newMaxWidth, int newMaxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4a8138b9508ee4ec87a7fca9160368a7"><div class="ttname"><a href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event) override</div><div class="ttdoc">paintEvent handles a painting event</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00371">PaintingArea.cpp:371</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_render_settings_html_a5ffb878b77e5d448ffe4eb03a8397ac2"><div class="ttname"><a href="class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2">IntelliRenderSettings::setFastRendering</a></div><div class="ttdeci">void setFastRendering(bool Updatedsetting)</div><div class="ttdoc">setFastRendering sets fastRendering to Updatedsetting.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_render_settings_8cpp_source.html#l00008">IntelliRenderSettings.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a1dbef8d4688227aa9455aea52db00bf4"><div class="ttname"><a href="class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4">IntelliPhotoGui::UpdateGui</a></div><div class="ttdeci">void UpdateGui()</div><div class="ttdoc">UpdateGui a function to update all gui elements.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00932">IntelliPhotoGui.cpp:932</a></div></div>
|
||||
@@ -717,13 +720,14 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
|
||||
<div class="ttc" id="a_intelli_tool_pen_8h_html"><div class="ttname"><a href="_intelli_tool_pen_8h.html">IntelliToolPen.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html"><div class="ttname"><a href="class_intelli_tool_circle.html">IntelliToolCircle</a></div><div class="ttdoc">The IntelliToolCircle class represents a tool to draw a circle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8h_source.html#l00014">IntelliToolCircle.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdoc">The movePositionActive method moves the active layer to certain position.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00204">PaintingArea.cpp:204</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f">IntelliTool::Tooltype::GRADIENT</a></div><div class="ttdeci">@ GRADIENT</div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00048">IntelliTool.cpp:48</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abd5e3e4d3f2f026383d0a275dc55cbbd"><div class="ttname"><a href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)</div><div class="ttdoc">The addLayer adds a layer to the current project/ painting area.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00094">PaintingArea.cpp:94</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html"><div class="ttname"><a href="class_intelli_tool_polygon.html">IntelliToolPolygon</a></div><div class="ttdoc">The IntelliToolPolygon managed the Drawing of Polygonforms.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8h_source.html#l00015">IntelliToolPolygon.h:15</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aecc72f0f5971244205194934ff721546"><div class="ttname"><a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a></div><div class="ttdeci">void historyGoForward()</div><div class="ttdoc">historyGoForward a function to undo the return of the previous state of the project.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00526">PaintingArea.cpp:526</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aecc72f0f5971244205194934ff721546"><div class="ttname"><a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a></div><div class="ttdeci">void historyGoForward()</div><div class="ttdoc">historyGoForward a function to undo the return of the previous state of the project.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00528">PaintingArea.cpp:528</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00510">PaintingArea.cpp:510</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00512">PaintingArea.cpp:512</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a0c4519287423c097acb2a0764913f7d0"><div class="ttname"><a href="struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0">LayerObject::LayerObject</a></div><div class="ttdeci">LayerObject()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00023">PaintingArea.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00053">IntelliTool.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html"><div class="ttname"><a href="class_intelli_raster_image.html">IntelliRasterImage</a></div><div class="ttdoc">The IntelliRasterImage manages a RASTERIMAGE.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8h_source.html#l00012">IntelliRasterImage.h:12</a></div></div>
|
||||
|
||||
@@ -128,7 +128,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">friend</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">friend</span> <a class="code" href="class_intelli_photo_gui.html">IntelliPhotoGui</a>;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <a class="code" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a>(<span class="keywordtype">int</span> maxWidth = 600, <span class="keywordtype">int</span> maxHeight = 600, QWidget*parent = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <a class="code" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea</a>(<span class="keywordtype">int</span> newMaxWidth = 600, <span class="keywordtype">int</span> newMaxHeight = 600, QWidget*parent = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <a class="code" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">~PaintingArea</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
@@ -198,7 +198,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  </div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aecc72f0f5971244205194934ff721546">historyGoForward</a>();</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  </div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a>(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight);</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">setCanvasDimensions</a>(<span class="keywordtype">int</span> newMaxWidth, <span class="keywordtype">int</span> newMaxHeight);</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  </div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">drawPixelOntoActive</a>(QColor color, QPoint point);</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  </div>
|
||||
@@ -270,13 +270,14 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a></div><div class="ttdeci">ImageType</div><div class="ttdoc">The Types, which an Image can be.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00022">IntelliImage.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1274e60a912d2f1dfabcdd1b767fb029"><div class="ttname"><a href="class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029">PaintingArea::addLayerAt</a></div><div class="ttdeci">int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::RASTERIMAGE)</div><div class="ttdoc">The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer...</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a63be0831e5b6ceb8cc622d83aa28f0bd"><div class="ttname"><a href="class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd">PaintingArea::setRenderSettings</a></div><div class="ttdeci">void setRenderSettings(bool isFastRenderingOn)</div><div class="ttdoc">setRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00051">PaintingArea.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acab11ad35d07e9081203d8217d2c0855"><div class="ttname"><a href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a></div><div class="ttdeci">IntelliImage * getImageOfActiveLayer()</div><div class="ttdoc">getImageOfActiveLayer returns the image of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00469">PaintingArea.cpp:469</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acab11ad35d07e9081203d8217d2c0855"><div class="ttname"><a href="class_painting_area.html#acab11ad35d07e9081203d8217d2c0855">PaintingArea::getImageOfActiveLayer</a></div><div class="ttdeci">IntelliImage * getImageOfActiveLayer()</div><div class="ttdoc">getImageOfActiveLayer returns the image of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00471">PaintingArea.cpp:471</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a35b5df914acb608cc29717659793359c"><div class="ttname"><a href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a></div><div class="ttdeci">void mouseReleaseEvent(QMouseEvent *event) override</div><div class="ttdoc">mouseReleaseEvent handles a mouse released event</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00341">PaintingArea.cpp:341</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a5b04ce62ce024e307f54e0281f7ae4bd"><div class="ttname"><a href="class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd">PaintingArea::createRectangleTool</a></div><div class="ttdeci">void createRectangleTool()</div><div class="ttdoc">createRectangleTool creates a Rectangle Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00258">PaintingArea.cpp:258</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb082c1cda3edb6b68d8ee45cf4822f8"><div class="ttname"><a href="class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8">PaintingArea::getMaxWidth</a></div><div class="ttdeci">int getMaxWidth()</div><div class="ttdoc">getMaxWidth gets the max width of the Canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00290">PaintingArea.cpp:290</a></div></div>
|
||||
<div class="ttc" id="a_intelli_shaped_image_8h_html"><div class="ttname"><a href="_intelli_shaped_image_8h.html">IntelliShapedImage.h</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html"><div class="ttname"><a href="_intelli_image_8h.html">IntelliImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3f6d5f8e544ecc73e84828ac15ab28d8"><div class="ttname"><a href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)</div><div class="ttdoc">PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00040">PaintingArea.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa2463d4f403224086acab02903ae407e"><div class="ttname"><a href="class_painting_area.html#aa2463d4f403224086acab02903ae407e">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &filePath, const char *fileFormat)</div><div class="ttdoc">The save method is used for exporting the current project as one picture.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00181">PaintingArea.cpp:181</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6c7e0865e684ae1089ee283b4399d055"><div class="ttname"><a href="class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055">PaintingArea::setLayerAlpha</a></div><div class="ttdeci">void setLayerAlpha(int idx, int alpha)</div><div class="ttdoc">The setAlphaOfLayer method sets the alpha value of a specific layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00143">PaintingArea.cpp:143</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae6eb9b269cdee993dbabd066e4679576"><div class="ttname"><a href="class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576">PaintingArea::getPolygonDataOfActiveLayer</a></div><div class="ttdeci">std::vector< QPoint > getPolygonDataOfActiveLayer()</div><div class="ttdoc">getPolygonDataOfActiveLayer get the polygon data of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00302">PaintingArea.cpp:302</a></div></div>
|
||||
@@ -297,13 +298,13 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
|
||||
<div class="ttc" id="a_intelli_raster_image_8h_html"><div class="ttname"><a href="_intelli_raster_image_8h.html">IntelliRasterImage.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a402cb1d9f20436032fe080681b80eb56"><div class="ttname"><a href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">LayerObject::alpha</a></div><div class="ttdeci">int alpha</div><div class="ttdoc">alpha - Stores the alpha value of the layer (default=255).</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00047">PaintingArea.h:47</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af1b7be20235139e4909086696ea74cf7"><div class="ttname"><a href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">PaintingArea::drawPixelOntoActive</a></div><div class="ttdeci">void drawPixelOntoActive(QColor color, QPoint point)</div><div class="ttdoc">drawPixelOntoActive draws a pixel onto the image data of the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00086">PaintingArea.cpp:86</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a2ea1108ae4e4be995c4df0d378c536e7"><div class="ttname"><a href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a></div><div class="ttdeci">int getIndexOfActiveLayer()</div><div class="ttdoc">getIndexOfActiveLayer returns the index of athe active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00465">PaintingArea.cpp:465</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6a6083ca9fece2b185b592f941a91aa4"><div class="ttname"><a href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a></div><div class="ttdeci">void historyGoBack()</div><div class="ttdoc">historyGoBack go back in hisotry</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00517">PaintingArea.cpp:517</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a2ea1108ae4e4be995c4df0d378c536e7"><div class="ttname"><a href="class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7">PaintingArea::getIndexOfActiveLayer</a></div><div class="ttdeci">int getIndexOfActiveLayer()</div><div class="ttdoc">getIndexOfActiveLayer returns the index of athe active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00467">PaintingArea.cpp:467</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6a6083ca9fece2b185b592f941a91aa4"><div class="ttname"><a href="class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4">PaintingArea::historyGoBack</a></div><div class="ttdeci">void historyGoBack()</div><div class="ttdoc">historyGoBack go back in hisotry</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00519">PaintingArea.cpp:519</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdoc">createLineTool creates a Line Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00253">PaintingArea.cpp:253</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdoc">The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00234">PaintingArea.cpp:234</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdoc">The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00229">PaintingArea.cpp:229</a></div></div>
|
||||
<div class="ttc" id="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00491">PaintingArea.cpp:491</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1452c4bf2ebf188d8af019a862f3d8ba"><div class="ttname"><a href="class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba">PaintingArea::getLayerBundle</a></div><div class="ttdeci">std::vector< LayerObject > * getLayerBundle()</div><div class="ttdoc">getLayerBundle returns the real active layerbundle (care!)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00493">PaintingArea.cpp:493</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width - Stores the width of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00031">PaintingArea.h:31</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa32adc113f77031945f73e33051931e8"><div class="ttname"><a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a></div><div class="ttdeci">~PaintingArea() override</div><div class="ttdoc">This deconstructor is used to clear up the memory and remove the currently active window.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00047">PaintingArea.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa22e274b6094a9619f196cd7b49526b5"><div class="ttname"><a href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a></div><div class="ttdeci">void mouseMoveEvent(QMouseEvent *event) override</div><div class="ttdoc">mouseMoveEvent handles a mouse moved event</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00328">PaintingArea.cpp:328</a></div></div>
|
||||
@@ -314,14 +315,13 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
|
||||
<div class="ttc" id="aclass_painting_area_html_a13c2f94644bea9c2d3123d0b7898f34b"><div class="ttname"><a href="class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b">PaintingArea::createPolygonTool</a></div><div class="ttdeci">void createPolygonTool()</div><div class="ttdoc">createPolygonTool creates a Polygon Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00267">PaintingArea.cpp:267</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdoc">The moveActiveLayer moves the active layer to a specific position in the layer stack.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00211">PaintingArea.cpp:211</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a132535c4e16052c1472cf1b9f3e096ed"><div class="ttname"><a href="class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed">PaintingArea::colorPicker</a></div><div class="ttdeci">IntelliColorPicker colorPicker</div><div class="ttdoc">colorPicker a class to manage Tool color.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00286">PaintingArea.h:286</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4fa0ec23e78cc59f28c823584c721460"><div class="ttname"><a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</div><div class="ttdoc">PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00040">PaintingArea.cpp:40</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_ae0003fb815e50ed587a9897988befc90"><div class="ttname"><a href="struct_layer_object.html#ae0003fb815e50ed587a9897988befc90">LayerObject::height</a></div><div class="ttdeci">int height</div><div class="ttdoc">height - Stores the height of a layer in pixels.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00035">PaintingArea.h:35</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_af4701dee7ce672d91ed1e80cdd1e7491"><div class="ttname"><a href="class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491">PaintingArea::deleteAllLayers</a></div><div class="ttdeci">void deleteAllLayers()</div><div class="ttdoc">deleteAllLayers deletes all layers</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3bfc63de27c54f3edf9feb3af538343c"><div class="ttname"><a href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int maxWidth, int maxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00476">PaintingArea.cpp:476</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4f484ff3ca7ae202ab57a00f52551423"><div class="ttname"><a href="class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423">PaintingArea::getImageDataOfActiveLayer</a></div><div class="ttdeci">QImage getImageDataOfActiveLayer()</div><div class="ttdoc">getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00478">PaintingArea.cpp:478</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a0b22e18069b524f3e75857d203baf256"><div class="ttname"><a href="class_painting_area.html#a0b22e18069b524f3e75857d203baf256">PaintingArea::createFloodFillTool</a></div><div class="ttdeci">void createFloodFillTool()</div><div class="ttdoc">createFloodFillTool creates a Floodfill Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00272">PaintingArea.cpp:272</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdoc">The slotActivateLayer method handles the event of selecting one layer as active.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00222">PaintingArea.cpp:222</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a641a654451d5883fc43e7f7563e64f7e"><div class="ttname"><a href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea::setCanvasDimensions</a></div><div class="ttdeci">void setCanvasDimensions(int newMaxWidth, int newMaxHeight)</div><div class="ttdoc">setCanvasDimensions sets the dimension of the Canvas</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00072">PaintingArea.cpp:72</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4a8138b9508ee4ec87a7fca9160368a7"><div class="ttname"><a href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event) override</div><div class="ttdoc">paintEvent handles a painting event</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00371">PaintingArea.cpp:371</a></div></div>
|
||||
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ad631e87a1e7fe2b60f546b0f34995097"><div class="ttname"><a href="class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097">PaintingArea::getRenderSettings</a></div><div class="ttdeci">bool getRenderSettings()</div><div class="ttdoc">getRenderSettings updates all Images to the new Rendersetting.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00068">PaintingArea.cpp:68</a></div></div>
|
||||
@@ -332,8 +332,8 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdoc">The movePositionActive method moves the active layer to certain position.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00204">PaintingArea.cpp:204</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00030">IntelliImage.h:30</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abd5e3e4d3f2f026383d0a275dc55cbbd"><div class="ttname"><a href="class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)</div><div class="ttdoc">The addLayer adds a layer to the current project/ painting area.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00094">PaintingArea.cpp:94</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aecc72f0f5971244205194934ff721546"><div class="ttname"><a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a></div><div class="ttdeci">void historyGoForward()</div><div class="ttdoc">historyGoForward a function to undo the return of the previous state of the project.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00526">PaintingArea.cpp:526</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00510">PaintingArea.cpp:510</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aecc72f0f5971244205194934ff721546"><div class="ttname"><a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">PaintingArea::historyGoForward</a></div><div class="ttdeci">void historyGoForward()</div><div class="ttdoc">historyGoForward a function to undo the return of the previous state of the project.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00528">PaintingArea.cpp:528</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_acf20e3f5f74a239e6f9b7e2e1200295f"><div class="ttname"><a href="class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f">PaintingArea::historyadd</a></div><div class="ttdeci">void historyadd()</div><div class="ttdoc">historyadd adds an hisotry step</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00512">PaintingArea.cpp:512</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a0c4519287423c097acb2a0764913f7d0"><div class="ttname"><a href="struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0">LayerObject::LayerObject</a></div><div class="ttdeci">LayerObject()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00023">PaintingArea.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aac7d7bca37e0d7c7d077b65224795577"><div class="ttname"><a href="class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577">PaintingArea::setPolygonDataToActive</a></div><div class="ttdeci">void setPolygonDataToActive(std::vector< QPoint > points)</div><div class="ttdoc">setPolygonDataToActive sets polygondata to the active Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00090">PaintingArea.cpp:90</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ad8636e986fdcdd3146f9f72d3cdb1831"><div class="ttname"><a href="class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831">PaintingArea::createGradientTool</a></div><div class="ttdeci">void createGradientTool()</div><div class="ttdoc">createGradientTool creates a Gradient Tool.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00277">PaintingArea.cpp:277</a></div></div>
|
||||
|
||||
@@ -127,9 +127,9 @@ $(document).ready(function(){initNavTree('class_painting_area.html',''); initRes
|
||||
<tr><td class="entry"><a class="el" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(int x, int y)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_painting_area.html#a88c7e759aa8375a56129791645f46ea5">open</a>(const QString &filePath)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">paintEvent</a>(QPaintEvent *event) override</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a>(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea</a>(int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_painting_area.html#aa2463d4f403224086acab02903ae407e">save</a>(const QString &filePath, const char *fileFormat)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a>(int maxWidth, int maxHeight)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">setCanvasDimensions</a>(int newMaxWidth, int newMaxHeight)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9">setLayerActive</a>(int idx)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055">setLayerAlpha</a>(int idx, int alpha)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_painting_area.html#aa409492ac26483d618bb33616f2e3f81">setPolygon</a>(int idx)</td><td class="entry"><a class="el" href="class_painting_area.html">PaintingArea</a></td><td class="entry"></td></tr>
|
||||
|
||||
@@ -115,9 +115,9 @@ Public Slots</h2></td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a4fa0ec23e78cc59f28c823584c721460"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a> (int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</td></tr>
|
||||
<tr class="memdesc:a4fa0ec23e78cc59f28c823584c721460"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> is the constructor of the <a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> class, which initiates the working environment. <a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">More...</a><br /></td></tr>
|
||||
<tr class="separator:a4fa0ec23e78cc59f28c823584c721460"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3f6d5f8e544ecc73e84828ac15ab28d8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea</a> (int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)</td></tr>
|
||||
<tr class="memdesc:a3f6d5f8e544ecc73e84828ac15ab28d8"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> is the constructor of the <a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> class, which initiates the working environment. <a href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3f6d5f8e544ecc73e84828ac15ab28d8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa32adc113f77031945f73e33051931e8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">~PaintingArea</a> () override</td></tr>
|
||||
<tr class="memdesc:aa32adc113f77031945f73e33051931e8"><td class="mdescLeft"> </td><td class="mdescRight">This deconstructor is used to clear up the memory and remove the currently active window. <a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">More...</a><br /></td></tr>
|
||||
<tr class="separator:aa32adc113f77031945f73e33051931e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -232,9 +232,9 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:aecc72f0f5971244205194934ff721546"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#aecc72f0f5971244205194934ff721546">historyGoForward</a> ()</td></tr>
|
||||
<tr class="memdesc:aecc72f0f5971244205194934ff721546"><td class="mdescLeft"> </td><td class="mdescRight">historyGoForward a function to undo the return of the previous state of the project. <a href="class_painting_area.html#aecc72f0f5971244205194934ff721546">More...</a><br /></td></tr>
|
||||
<tr class="separator:aecc72f0f5971244205194934ff721546"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3bfc63de27c54f3edf9feb3af538343c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">setCanvasDimensions</a> (int maxWidth, int maxHeight)</td></tr>
|
||||
<tr class="memdesc:a3bfc63de27c54f3edf9feb3af538343c"><td class="mdescLeft"> </td><td class="mdescRight">setCanvasDimensions sets the dimension of the Canvas <a href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3bfc63de27c54f3edf9feb3af538343c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a641a654451d5883fc43e7f7563e64f7e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">setCanvasDimensions</a> (int newMaxWidth, int newMaxHeight)</td></tr>
|
||||
<tr class="memdesc:a641a654451d5883fc43e7f7563e64f7e"><td class="mdescLeft"> </td><td class="mdescRight">setCanvasDimensions sets the dimension of the Canvas <a href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">More...</a><br /></td></tr>
|
||||
<tr class="separator:a641a654451d5883fc43e7f7563e64f7e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af1b7be20235139e4909086696ea74cf7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">drawPixelOntoActive</a> (QColor color, QPoint point)</td></tr>
|
||||
<tr class="memdesc:af1b7be20235139e4909086696ea74cf7"><td class="mdescLeft"> </td><td class="mdescRight">drawPixelOntoActive draws a pixel onto the image data of the active Layer. <a href="class_painting_area.html#af1b7be20235139e4909086696ea74cf7">More...</a><br /></td></tr>
|
||||
<tr class="separator:af1b7be20235139e4909086696ea74cf7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -274,8 +274,8 @@ Protected Member Functions</h2></td></tr>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8h_source.html#l00057">57</a> of file <a class="el" href="_painting_area_8h_source.html">PaintingArea.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a4fa0ec23e78cc59f28c823584c721460"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4fa0ec23e78cc59f28c823584c721460">◆ </a></span>PaintingArea()</h2>
|
||||
<a id="a3f6d5f8e544ecc73e84828ac15ab28d8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3f6d5f8e544ecc73e84828ac15ab28d8">◆ </a></span>PaintingArea()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
@@ -284,13 +284,13 @@ Protected Member Functions</h2></td></tr>
|
||||
<td class="memname">PaintingArea::PaintingArea </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>maxWidth</em> = <code>600</code>, </td>
|
||||
<td class="paramname"><em>newMaxWidth</em> = <code>600</code>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>maxHeight</em> = <code>600</code>, </td>
|
||||
<td class="paramname"><em>newMaxHeight</em> = <code>600</code>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -309,8 +309,8 @@ Protected Member Functions</h2></td></tr>
|
||||
<p><a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> is the constructor of the <a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> class, which initiates the working environment. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">maxWidth</td><td>- The maximum amount of pixles that are inside painting area from left to right (default=600px) </td></tr>
|
||||
<tr><td class="paramname">maxHeight</td><td>- The maximum amount of pixles that are inside painting area from top to bottom (default=600px) </td></tr>
|
||||
<tr><td class="paramname">newMaxWidth</td><td>- The maximum amount of pixles that are inside painting area from left to right (default=600px) </td></tr>
|
||||
<tr><td class="paramname">newMaxHeight</td><td>- The maximum amount of pixles that are inside painting area from top to bottom (default=600px) </td></tr>
|
||||
<tr><td class="paramname">parent</td><td>- The parent window of the main window (default=nullptr) </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
@@ -854,7 +854,7 @@ Protected Member Functions</h2></td></tr>
|
||||
<p>getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture) </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>return the image as an rgba32bit qImage </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00476">476</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00478">478</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -876,7 +876,7 @@ Protected Member Functions</h2></td></tr>
|
||||
<p>getImageOfActiveLayer returns the image of the active Layer. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>return the image of the active Layer. </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00469">469</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00471">471</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -898,7 +898,7 @@ Protected Member Functions</h2></td></tr>
|
||||
<p>getIndexOfActiveLayer returns the index of athe active Layer. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>return the index of the active Layer. </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00465">465</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00467">467</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -920,7 +920,7 @@ Protected Member Functions</h2></td></tr>
|
||||
<p>getLayerBundle returns the real active layerbundle (care!) </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>the reference of the currentLayerBundle </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00491">491</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00493">493</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1006,12 +1006,7 @@ Protected Member Functions</h2></td></tr>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>getRenderSettings updates all Images to the new Rendersetting. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">isFastRenderingOn</td><td>is the new given flag for the FastRenderer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Returns if the flag for the FastRendererin is enabled. </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00068">68</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
@@ -1078,7 +1073,7 @@ Protected Member Functions</h2></td></tr>
|
||||
|
||||
<p>historyadd adds an hisotry step </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00510">510</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00512">512</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1099,7 +1094,7 @@ Protected Member Functions</h2></td></tr>
|
||||
|
||||
<p>historyGoBack go back in hisotry </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00517">517</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00519">519</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1120,7 +1115,7 @@ Protected Member Functions</h2></td></tr>
|
||||
|
||||
<p>historyGoForward a function to undo the return of the previous state of the project. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00526">526</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_painting_area_8cpp_source.html#l00528">528</a> of file <a class="el" href="_painting_area_8cpp_source.html">PaintingArea.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1404,8 +1399,8 @@ Protected Member Functions</h2></td></tr>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3bfc63de27c54f3edf9feb3af538343c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3bfc63de27c54f3edf9feb3af538343c">◆ </a></span>setCanvasDimensions()</h2>
|
||||
<a id="a641a654451d5883fc43e7f7563e64f7e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a641a654451d5883fc43e7f7563e64f7e">◆ </a></span>setCanvasDimensions()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
@@ -1414,13 +1409,13 @@ Protected Member Functions</h2></td></tr>
|
||||
<td class="memname">void PaintingArea::setCanvasDimensions </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>maxWidth</em>, </td>
|
||||
<td class="paramname"><em>newMaxWidth</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>maxHeight</em> </td>
|
||||
<td class="paramname"><em>newMaxHeight</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -1433,8 +1428,8 @@ Protected Member Functions</h2></td></tr>
|
||||
<p>setCanvasDimensions sets the dimension of the Canvas </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">maxWidth</td><td>- the width of the Canvas. </td></tr>
|
||||
<tr><td class="paramname">maxHeight</td><td>- the height of the Canvas. </td></tr>
|
||||
<tr><td class="paramname">newMaxWidth</td><td>- the width of the Canvas. </td></tr>
|
||||
<tr><td class="paramname">newMaxHeight</td><td>- the height of the Canvas. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
var class_painting_area =
|
||||
[
|
||||
[ "PaintingArea", "class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460", null ],
|
||||
[ "PaintingArea", "class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8", null ],
|
||||
[ "~PaintingArea", "class_painting_area.html#aa32adc113f77031945f73e33051931e8", null ],
|
||||
[ "addLayer", "class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd", null ],
|
||||
[ "addLayerAt", "class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029", null ],
|
||||
@@ -40,7 +40,7 @@ var class_painting_area =
|
||||
[ "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 ],
|
||||
[ "setCanvasDimensions", "class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e", null ],
|
||||
[ "setLayerActive", "class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9", null ],
|
||||
[ "setLayerAlpha", "class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055", null ],
|
||||
[ "setPolygon", "class_painting_area.html#aa409492ac26483d618bb33616f2e3f81", null ],
|
||||
|
||||
@@ -435,7 +435,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
|
||||
: <a class="el" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea</a>
|
||||
</li>
|
||||
<li>PaintingArea()
|
||||
: <a class="el" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a>
|
||||
: <a class="el" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -452,7 +452,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
|
||||
: <a class="el" href="class_painting_area.html#aa2463d4f403224086acab02903ae407e">PaintingArea</a>
|
||||
</li>
|
||||
<li>setCanvasDimensions()
|
||||
: <a class="el" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea</a>
|
||||
: <a class="el" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea</a>
|
||||
</li>
|
||||
<li>setFastRendering()
|
||||
: <a class="el" href="class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2">IntelliRenderSettings</a>
|
||||
|
||||
@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('functions_p.html',''); initResizable()
|
||||
: <a class="el" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea</a>
|
||||
</li>
|
||||
<li>PaintingArea()
|
||||
: <a class="el" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a>
|
||||
: <a class="el" href="class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8">PaintingArea</a>
|
||||
</li>
|
||||
<li>polygonData
|
||||
: <a class="el" href="class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8">IntelliShapedImage</a>
|
||||
|
||||
@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
|
||||
: <a class="el" href="class_painting_area.html#aa2463d4f403224086acab02903ae407e">PaintingArea</a>
|
||||
</li>
|
||||
<li>setCanvasDimensions()
|
||||
: <a class="el" href="class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c">PaintingArea</a>
|
||||
: <a class="el" href="class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e">PaintingArea</a>
|
||||
</li>
|
||||
<li>setFastRendering()
|
||||
: <a class="el" href="class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2">IntelliRenderSettings</a>
|
||||
|
||||
@@ -25,16 +25,16 @@ var NAVTREEINDEX1 =
|
||||
"class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466":[1,0,18,7],
|
||||
"class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7":[1,0,18,21],
|
||||
"class_painting_area.html#a35b5df914acb608cc29717659793359c":[1,0,18,34],
|
||||
"class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c":[1,0,18,40],
|
||||
"class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,18,12],
|
||||
"class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8":[1,0,18,0],
|
||||
"class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df":[1,0,18,4],
|
||||
"class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,18,38],
|
||||
"class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423":[1,0,18,19],
|
||||
"class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460":[1,0,18,0],
|
||||
"class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd":[1,0,18,14],
|
||||
"class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4":[1,0,18,48],
|
||||
"class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd":[1,0,18,45],
|
||||
"class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395":[1,0,18,27],
|
||||
"class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e":[1,0,18,40],
|
||||
"class_painting_area.html#a675ee91b26b1c58be6d833f279d81597":[1,0,18,28],
|
||||
"class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4":[1,0,18,30],
|
||||
"class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055":[1,0,18,42],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
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_154',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8',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']]],
|
||||
|
||||
@@ -2,7 +2,7 @@ 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']]],
|
||||
['setcanvasdimensions_167',['setCanvasDimensions',['../class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e',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']]],
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['paintevent_370',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]],
|
||||
['paintingarea_371',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]]
|
||||
['paintingarea_371',['PaintingArea',['../class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8',1,'PaintingArea']]]
|
||||
];
|
||||
|
||||
@@ -2,7 +2,7 @@ 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']]],
|
||||
['setcanvasdimensions_375',['setCanvasDimensions',['../class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e',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']]],
|
||||
|
||||
@@ -88,7 +88,7 @@ std::vector<Triangle> IntelliTriangulation::calculateTriangles(std::vector<QPoin
|
||||
}
|
||||
|
||||
// update post und prev idx
|
||||
post = static_cast<int>(getPrev(post, Vertices.size()));
|
||||
post = static_cast<int>(getPrev(post, Vertices.size()));
|
||||
prev = prev<smallest.idx ? prev : (prev - 1);
|
||||
|
||||
// calcultae neighboors of prev and post to calculate new interior angles
|
||||
|
||||
@@ -40,7 +40,7 @@ LayerObject::LayerObject(const LayerObject& layer){
|
||||
PaintingArea::PaintingArea(int newMaxWidth, int newMaxHeight, QWidget*parent)
|
||||
: QLabel(parent){
|
||||
this->Tool = nullptr;
|
||||
this->setCanvasDimensions(newMaxWidth, newMaxHeight);
|
||||
this->setCanvasDimensions(newMaxWidth, newMaxHeight);
|
||||
activeLayer = -1;
|
||||
}
|
||||
|
||||
@@ -71,8 +71,8 @@ bool PaintingArea::getRenderSettings(){
|
||||
|
||||
void PaintingArea::setCanvasDimensions(int newMaxWidth, int newMaxHeight){
|
||||
//set standart parameter
|
||||
this->maxWidth = newMaxWidth;
|
||||
this->maxHeight = newMaxHeight;
|
||||
this->maxWidth = newMaxWidth;
|
||||
this->maxHeight = newMaxHeight;
|
||||
Canvas = new QImage(maxWidth,maxHeight, QImage::Format_ARGB32);
|
||||
|
||||
this->offsetXDimension = maxWidth / 2;
|
||||
@@ -453,14 +453,14 @@ IntelliTool* PaintingArea::copyActiveTool(){
|
||||
switch(Tool->getTooltype()) {
|
||||
case IntelliTool::Tooltype::CIRCLE: return new IntelliToolCircle(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::FLOODFILL: return new IntelliToolFloodFill(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::GRADIENT: return new IntelliToolGradient(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::GRADIENT: return new IntelliToolGradient(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::LINE: return new IntelliToolLine(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::PEN: return new IntelliToolPen(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::PLAIN: return new IntelliToolPlainTool(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::POLYGON: return new IntelliToolPolygon(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::RECTANGLE: return new IntelliToolRectangle(this,&colorPicker, &Toolsettings);
|
||||
case IntelliTool::Tooltype::NONE: return nullptr;
|
||||
default: return nullptr;
|
||||
case IntelliTool::Tooltype::NONE: return nullptr;
|
||||
default: return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -526,10 +526,10 @@ void PaintingArea::historyGoBack(){
|
||||
}
|
||||
|
||||
void PaintingArea::historyGoForward(){
|
||||
historyPresent++;
|
||||
if(historyPresent>=static_cast<int>(history.size())){
|
||||
historyPresent=static_cast<int>(history.size()-1);
|
||||
}
|
||||
layerBundle = history[static_cast<size_t>(historyPresent)];
|
||||
historyPresent++;
|
||||
if(historyPresent>=static_cast<int>(history.size())) {
|
||||
historyPresent = static_cast<int>(history.size() - 1);
|
||||
}
|
||||
layerBundle = history[static_cast<size_t>(historyPresent)];
|
||||
this->guiReference->UpdateGui();
|
||||
}
|
||||
|
||||
@@ -57,8 +57,8 @@ void IntelliTool::onWheelScrolled(int value){
|
||||
|
||||
bool IntelliTool::createToolLayer(){
|
||||
if(Area->createTempTopLayer(Area->activeLayer)) {
|
||||
this->activeLayer = &Area->layerBundle[static_cast<size_t>(Area->activeLayer)];
|
||||
this->Canvas = &Area->layerBundle[static_cast<size_t>(Area->activeLayer + 1)];
|
||||
this->activeLayer = &Area->layerBundle[static_cast<size_t>(Area->activeLayer)];
|
||||
this->Canvas = &Area->layerBundle[static_cast<size_t>(Area->activeLayer + 1)];
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user