From f5f4ca7a068ed8c36f0c31cd3b8eb70fb215ac06 Mon Sep 17 00:00:00 2001 From: Jan Schuffenhauer Date: Thu, 16 Jan 2020 12:21:09 +0100 Subject: [PATCH] Automated Release Preparation --- docs/html/_intelli_color_picker_8cpp.html | 104 + .../_intelli_color_picker_8cpp_source.html | 139 ++ .../html/_intelli_color_picker_8h_source.html | 67 +- docs/html/_intelli_image_8cpp_source.html | 191 +- docs/html/_intelli_image_8h_source.html | 161 +- docs/html/_intelli_photo_gui_8cpp_source.html | 60 +- docs/html/_intelli_photo_gui_8h_source.html | 342 +-- .../_intelli_raster_image_8cpp_source.html | 15 +- .../html/_intelli_raster_image_8h_source.html | 49 +- .../_intelli_render_settings_8h_source.html | 33 +- .../_intelli_shaped_image_8cpp_source.html | 14 +- .../html/_intelli_shaped_image_8h_source.html | 73 +- docs/html/_intelli_tool_8cpp_source.html | 42 +- docs/html/_intelli_tool_8h_source.html | 143 +- .../_intelli_tool_circle_8cpp_source.html | 30 +- docs/html/_intelli_tool_circle_8h_source.html | 66 +- .../_intelli_tool_flood_fill_8cpp_source.html | 119 +- .../_intelli_tool_flood_fill_8h_source.html | 68 +- docs/html/_intelli_tool_line_8cpp_source.html | 28 +- docs/html/_intelli_tool_line_8h_source.html | 67 +- docs/html/_intelli_tool_pen_8cpp_source.html | 26 +- docs/html/_intelli_tool_pen_8h_source.html | 61 +- .../html/_intelli_tool_plain_8cpp_source.html | 20 +- docs/html/_intelli_tool_plain_8h_source.html | 62 +- .../_intelli_tool_polygon_8cpp_source.html | 232 +-- .../html/_intelli_tool_polygon_8h_source.html | 88 +- .../_intelli_tool_rectangle_8cpp_source.html | 28 +- .../_intelli_tool_rectangle_8h_source.html | 66 +- .../html/_intelli_toolsettings_8h_source.html | 37 +- .../_intelli_triangulation_8cpp_source.html | 10 +- .../_intelli_triangulation_8h_source.html | 78 +- docs/html/_painting_area_8cpp_source.html | 926 +++++---- docs/html/_painting_area_8h_source.html | 324 +-- docs/html/annotated.html | 1 + docs/html/annotated_dup.js | 3 +- docs/html/class_intelli_color_picker.html | 18 +- docs/html/class_intelli_image.html | 42 +- docs/html/class_intelli_photo_gui.html | 2 +- docs/html/class_intelli_raster_image.html | 6 +- docs/html/class_intelli_render_settings.html | 2 +- docs/html/class_intelli_shaped_image.html | 10 +- docs/html/class_intelli_tool.html | 18 +- docs/html/class_intelli_tool_circle.html | 2 +- docs/html/class_intelli_tool_flood_fill.html | 8 +- docs/html/class_intelli_tool_line.html | 2 +- docs/html/class_intelli_tool_pen.html | 2 +- docs/html/class_intelli_tool_plain_tool.html | 2 +- .../class_intelli_tool_polygon-members.html | 21 +- docs/html/class_intelli_tool_polygon.html | 12 +- docs/html/class_intelli_tool_rectangle.html | 2 +- docs/html/class_intelli_toolsettings.html | 2 +- docs/html/class_painting_area.html | 86 +- docs/html/class_unit_test-members.html | 107 + docs/html/class_unit_test.html | 202 ++ docs/html/class_unit_test.js | 7 + docs/html/class_unit_test.png | Bin 0 -> 372 bytes docs/html/classes.html | 13 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 4 + .../dir_68267d1309a1af8e8297ef4c3efbcdba.js | 8 +- .../dir_858355f3357c73763e566ff49d1e6a7a.html | 2 - .../dir_858355f3357c73763e566ff49d1e6a7a.js | 1 - .../dir_8de6078cba2a961961818cf80b28fd4f.html | 2 +- .../dir_8de6078cba2a961961818cf80b28fd4f.js | 2 +- docs/html/files.html | 39 +- docs/html/functions.html | 6 + docs/html/functions_func.html | 6 + docs/html/hierarchy.html | 8 +- docs/html/hierarchy.js | 3 + docs/html/main_8cpp_source.html | 2 +- docs/html/main_unit_test_8cpp.html | 115 + docs/html/main_unit_test_8cpp_source.html | 309 +++ .../html/namespace_intelli_triangulation.html | 4 +- docs/html/navtreedata.js | 4 +- docs/html/navtreeindex0.js | 74 +- docs/html/navtreeindex1.js | 13 +- docs/html/search/all_10.js | 6 +- docs/html/search/all_11.js | 29 +- docs/html/search/all_7.js | 2 +- docs/html/search/all_9.js | 11 +- docs/html/search/all_a.js | 14 +- docs/html/search/all_b.js | 18 +- docs/html/search/all_c.js | 8 +- docs/html/search/all_d.js | 38 +- docs/html/search/all_e.js | 9 +- docs/html/search/all_f.js | 5 +- docs/html/search/classes_0.js | 32 +- docs/html/search/classes_1.js | 2 +- docs/html/search/classes_2.js | 2 +- docs/html/search/classes_3.js | 2 +- docs/html/search/classes_4.html | 30 + docs/html/search/classes_4.js | 4 + docs/html/search/defines_0.js | 2 +- docs/html/search/enums_0.js | 2 +- docs/html/search/enums_1.js | 2 +- docs/html/search/enumvalues_0.js | 2 +- docs/html/search/enumvalues_1.js | 2 +- docs/html/search/enumvalues_2.js | 2 +- docs/html/search/enumvalues_3.js | 6 +- docs/html/search/enumvalues_4.js | 4 +- docs/html/search/enumvalues_5.js | 2 +- docs/html/search/files_0.js | 68 +- docs/html/search/files_1.js | 3 +- docs/html/search/files_2.js | 4 +- docs/html/search/files_3.html | 30 + docs/html/search/files_3.js | 4 + docs/html/search/functions_0.js | 4 +- docs/html/search/functions_1.js | 26 +- docs/html/search/functions_2.js | 10 +- docs/html/search/functions_3.js | 44 +- docs/html/search/functions_4.js | 38 +- docs/html/search/functions_5.js | 2 +- docs/html/search/functions_6.js | 12 +- docs/html/search/functions_7.js | 14 +- docs/html/search/functions_8.js | 4 +- docs/html/search/functions_9.js | 4 +- docs/html/search/functions_a.js | 36 +- docs/html/search/functions_b.js | 5 +- docs/html/search/functions_c.js | 2 +- docs/html/search/functions_d.js | 29 +- docs/html/search/namespaces_0.js | 2 +- docs/html/search/searchdata.js | 4 +- docs/html/search/variables_0.js | 10 +- docs/html/search/variables_1.js | 2 +- docs/html/search/variables_2.js | 6 +- docs/html/search/variables_3.js | 2 +- docs/html/search/variables_4.js | 4 +- docs/html/search/variables_5.js | 6 +- docs/html/search/variables_6.js | 2 +- docs/html/search/variables_7.js | 4 +- docs/html/search/variables_8.js | 4 +- docs/html/struct_layer_object.html | 42 +- docs/html/struct_triangle.html | 8 +- docs/html/tst__unittest_8cpp.html | 131 ++ docs/html/tst__unittest_8cpp_source.html | 1852 +++++++++++++++++ 134 files changed, 5397 insertions(+), 2198 deletions(-) create mode 100644 docs/html/_intelli_color_picker_8cpp.html create mode 100644 docs/html/_intelli_color_picker_8cpp_source.html create mode 100644 docs/html/class_unit_test-members.html create mode 100644 docs/html/class_unit_test.html create mode 100644 docs/html/class_unit_test.js create mode 100644 docs/html/class_unit_test.png create mode 100644 docs/html/main_unit_test_8cpp.html create mode 100644 docs/html/main_unit_test_8cpp_source.html create mode 100644 docs/html/search/classes_4.html create mode 100644 docs/html/search/classes_4.js create mode 100644 docs/html/search/files_3.html create mode 100644 docs/html/search/files_3.js create mode 100644 docs/html/tst__unittest_8cpp.html create mode 100644 docs/html/tst__unittest_8cpp_source.html diff --git a/docs/html/_intelli_color_picker_8cpp.html b/docs/html/_intelli_color_picker_8cpp.html new file mode 100644 index 0000000..4c18fee --- /dev/null +++ b/docs/html/_intelli_color_picker_8cpp.html @@ -0,0 +1,104 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp File Reference
+
+ +
+ + + + diff --git a/docs/html/_intelli_color_picker_8cpp_source.html b/docs/html/_intelli_color_picker_8cpp_source.html new file mode 100644 index 0000000..d997afc --- /dev/null +++ b/docs/html/_intelli_color_picker_8cpp_source.html @@ -0,0 +1,139 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliColorPicker.h"
+
2 
+ +
4  firstColor = {255,0,0,255};
+
5  secondColor = {0,255,255,255};
+
6 }
+
7 
+ +
9 
+
10 }
+
11 
+ +
13  std::swap(firstColor, secondColor);
+
14 }
+
15 
+ +
17  return this->firstColor;
+
18 }
+
19 
+ +
21  return this->secondColor;
+
22 }
+
23 
+ +
25  this->firstColor = Color;
+
26 }
+
27 
+ +
29  this->secondColor = Color;
+
30 }
+
+
+
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
QColor getSecondColor()
A function to read the secondary selected color.
+
+
void setFirstColor(QColor Color)
A function to set the primary color.
+
QColor getFirstColor()
A function to read the primary selected color.
+
void swapColors()
A function switching primary and secondary color.
+
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
+ + + + diff --git a/docs/html/_intelli_color_picker_8h_source.html b/docs/html/_intelli_color_picker_8h_source.html index 26bc4f1..7c0b1d8 100644 --- a/docs/html/_intelli_color_picker_8h_source.html +++ b/docs/html/_intelli_color_picker_8h_source.html @@ -93,39 +93,44 @@ $(document).ready(function(){initNavTree('_intelli_color_picker_8h_source.html',
5 #include "QPoint"
6 #include "QColorDialog"
7 
-
11 class IntelliColorPicker {
-
12 public:
-
16 IntelliColorPicker();
-
17 
-
21 virtual ~IntelliColorPicker();
-
22 
-
26 void swapColors();
-
27 
-
32 QColor getFirstColor();
-
33 
-
38 QColor getSecondColor();
-
39 
-
44 void setFirstColor(QColor Color);
-
45 
-
50 void setSecondColor(QColor Color);
-
51 
-
52 private:
-
56 QColor firstColor;
-
57 
-
61 QColor secondColor;
-
62 };
-
63 
-
64 #endif
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+
14 class IntelliColorPicker {
+
15  friend UnitTest;
+
16 public:
+
20 IntelliColorPicker();
+
21 
+
25 virtual ~IntelliColorPicker();
+
26 
+
30 void swapColors();
+
31 
+
36 QColor getFirstColor();
+
37 
+
42 QColor getSecondColor();
+
43 
+
48 void setFirstColor(QColor Color);
+
49 
+
54 void setSecondColor(QColor Color);
+
55 
+
56 private:
+
60 QColor firstColor;
+
61 
+
65 QColor secondColor;
+
66 };
+
67 
+
68 #endif
-
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
-
void setSecondColor(QColor Color)
A function to set the secondary color.
-
QColor getSecondColor()
A function to read the secondary selected color.
-
void setFirstColor(QColor Color)
A function to set the primary color.
-
QColor getFirstColor()
A function to read the primary selected color.
-
The IntelliColorPicker manages the selected colors for one whole project.
-
void swapColors()
A function switching primary and secondary color.
-
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
+
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
QColor getSecondColor()
A function to read the secondary selected color.
+
void setFirstColor(QColor Color)
A function to set the primary color.
+
QColor getFirstColor()
A function to read the primary selected color.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
Definition: mainUnitTest.cpp:8
+
void swapColors()
A function switching primary and secondary color.
+
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
-
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws A Line between two given Points in a given color.
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
virtual ~IntelliImage()=0
An Abstract Destructor.
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
-
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
-
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:47
-
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
void resizeImage(QImage *image, const QSize &newSize)
-
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
-
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
-
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
-
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
-
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws A Line between two given Points in a given color.
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
virtual ~IntelliImage()=0
An Abstract Destructor.
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:134
-
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:130
+
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:138
+
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:134
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
-
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
-
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:47
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
+
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
@ SHAPEDIMAGE
-
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
void resizeImage(QImage *image, const QSize &newSize)
-
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
-
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:42
-
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
+
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
@ RASTERIMAGE
-
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
Definition: mainUnitTest.cpp:8
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
virtual IntelliImage * getDeepCopy()=0
A function that copys all that returns a [allocated] Image.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
-
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:26
-
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:30
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
-
void createCircleTool()
+
void createCircleTool()
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
-
IntelliImage * getImageOfActiveLayer()
-
void createRectangleTool()
-
int getMaxWidth()
-
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
-
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
-
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
-
int getMaxHeight()
-
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
QColor getSecondColor()
A function to read the secondary selected color.
-
void createPlainTool()
+
IntelliImage * getImageOfActiveLayer()
+
void createRectangleTool()
+
int getMaxWidth()
+
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
int getMaxHeight()
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
QColor getSecondColor()
A function to read the secondary selected color.
+
void createPlainTool()
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
void createPenTool()
-
void createLineTool()
-
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
-
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
void createPenTool()
+
void createLineTool()
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
-
int getNumberOfActiveLayer()
+
int getNumberOfActiveLayer()
@ SHAPEDIMAGE
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
-
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
void setToolWidth(int value)
-
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
-
void createPolygonTool()
-
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
-
IntelliColorPicker colorPicker
Definition: PaintingArea.h:182
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
void createPolygonTool()
+
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
+
IntelliColorPicker colorPicker
Definition: PaintingArea.h:202
-
QColor getFirstColor()
A function to read the primary selected color.
-
void createFloodFillTool()
+
QColor getFirstColor()
A function to read the primary selected color.
+
void createFloodFillTool()
void setInnerAlpha(int innerAlpha)
void UpdateGui()
@ RASTERIMAGE
-
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:181
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:201
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
void setLineWidth(int LineWidth)
-
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
-
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
void setToolWidth(int value)
-
The IntelliColorPicker manages the selected colors for one whole project.
+
The IntelliColorPicker manages the selected colors for one whole project.
void UpdateGui()
+
Definition: mainUnitTest.cpp:8
virtual ~IntelliRasterImage() override
An Destructor.
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
-
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:47
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
-
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:42
+
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
@ RASTERIMAGE
-
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
virtual void calculateVisiblity() override
A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
An abstract function that sets the data of the visible Polygon, if needed.
-
The IntelliRasterImage manages a RASTERIMAGE.
+
The IntelliRasterImage manages a RASTERIMAGE.
virtual ~IntelliRasterImage() override
An Destructor.
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+
Definition: mainUnitTest.cpp:8
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
virtual void calculateVisiblity() override
A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
An abstract function that sets the data of the visible Polygon, if needed.
-
The IntelliRasterImage manages a RASTERIMAGE.
+
The IntelliRasterImage manages a RASTERIMAGE.
-
+
bool isFastRenderering()
The getfastRenderer gets the value of the flag for the fastRenderer setting.
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
+
Definition: mainUnitTest.cpp:8
IntelliRenderSettings()
virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
A function returning the displayable ImageData in a requested transparence and size.
-
The IntelliShapedImage manages a Shapedimage.
+
The IntelliShapedImage manages a Shapedimage.
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
virtual std::vector< QPoint > getPolygonData() override
A function that returns the Polygondata if existent.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
std::vector< QPoint > polygonData
The Vertices of The Polygon. Needs to be a planar Polygon.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual std::vector< QPoint > getPolygonData() override
A function that returns the Polygondata if existent.
+
Definition: mainUnitTest.cpp:8
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
+
std::vector< QPoint > polygonData
The Vertices of The Polygon. Needs to be a planar Polygon.
IntelliShapedImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliShapedImage. Given the Image dimensions.
virtual ~IntelliShapedImage() override
An Destructor.
-
The IntelliRasterImage manages a RASTERIMAGE.
+
The IntelliRasterImage manages a RASTERIMAGE.
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
A function that sets the data of the visible Polygon.
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
Tooltype
Definition: IntelliTool.h:16
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
-
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:130
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
Tooltype
Definition: IntelliTool.h:20
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:73
+
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:134
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:59
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:63
Tooltype getTooltype()
Definition: IntelliTool.cpp:96
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
int width
Definition: PaintingArea.h:27
-
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
-
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
void setToolWidth(int value)
bool getIsDrawing()
-
int height
Definition: PaintingArea.h:28
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:4
void UpdateGui()
-
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
-
IntelliImage * image
Definition: PaintingArea.h:26
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
int getLineWidth()
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
+
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:11
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
diff --git a/docs/html/_intelli_tool_8h_source.html b/docs/html/_intelli_tool_8h_source.html index 2785156..2cc1ee6 100644 --- a/docs/html/_intelli_tool_8h_source.html +++ b/docs/html/_intelli_tool_8h_source.html @@ -93,96 +93,101 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html',''); ini
5 #include "IntelliHelper/IntelliToolsettings.h"
6 #include <vector>
7 
-
8 struct LayerObject;
-
9 class PaintingArea;
+
8 //for unit testing
+
9 class UnitTest;
10 
-
14 class IntelliTool {
-
15 public:
-
16 enum class Tooltype {
-
17  CIRCLE,
-
18  FLOODFILL,
-
19  LINE,
-
20  PEN,
-
21  PLAIN,
-
22  POLYGON,
-
23  RECTANGLE
-
24 };
-
25 private:
-
30 bool createToolLayer();
-
31 
-
35 void mergeToolLayer();
-
36 
-
40 void deleteToolLayer();
-
41 protected:
-
45 PaintingArea* Area;
-
46 
-
47 Tooltype ActiveType;
-
48 
-
52 IntelliColorPicker* colorPicker;
-
53 
-
54 IntelliToolsettings* Toolsettings;
-
55 
-
59 LayerObject* activeLayer;
-
60 
-
64 LayerObject* Canvas;
-
65 
-
69 bool isDrawing = false;
-
70 
-
71 public:
-
77 IntelliTool(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings);
-
78 
-
82 virtual ~IntelliTool() = 0;
-
83 
-
89 virtual void onMouseRightPressed(int x, int y);
-
90 
-
96 virtual void onMouseRightReleased(int x, int y);
-
97 
-
103 virtual void onMouseLeftPressed(int x, int y);
-
104 
-
110 virtual void onMouseLeftReleased(int x, int y);
-
111 
-
116 virtual void onWheelScrolled(int value);
-
117 
-
123 virtual void onMouseMoved(int x, int y);
-
124 
-
125 Tooltype getTooltype();
-
126 
-
127 bool getIsDrawing();
+
11 struct LayerObject;
+
12 class PaintingArea;
+
13 
+
17 class IntelliTool {
+
18  friend UnitTest;
+
19 public:
+
20 enum class Tooltype {
+
21  CIRCLE,
+
22  FLOODFILL,
+
23  LINE,
+
24  PEN,
+
25  PLAIN,
+
26  POLYGON,
+
27  RECTANGLE
+
28 };
+
29 private:
+
34 bool createToolLayer();
+
35 
+
39 void mergeToolLayer();
+
40 
+
44 void deleteToolLayer();
+
45 protected:
+
49 PaintingArea* Area;
+
50 
+
51 Tooltype ActiveType;
+
52 
+
56 IntelliColorPicker* colorPicker;
+
57 
+
58 IntelliToolsettings* Toolsettings;
+
59 
+
63 LayerObject* activeLayer;
+
64 
+
68 LayerObject* Canvas;
+
69 
+
73 bool isDrawing = false;
+
74 
+
75 public:
+
81 IntelliTool(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings);
+
82 
+
86 virtual ~IntelliTool() = 0;
+
87 
+
93 virtual void onMouseRightPressed(int x, int y);
+
94 
+
100 virtual void onMouseRightReleased(int x, int y);
+
101 
+
107 virtual void onMouseLeftPressed(int x, int y);
+
108 
+
114 virtual void onMouseLeftReleased(int x, int y);
+
115 
+
120 virtual void onWheelScrolled(int value);
+
121 
+
127 virtual void onMouseMoved(int x, int y);
128 
-
129 };
-
130 #endif
+
129 Tooltype getTooltype();
+
130 
+
131 bool getIsDrawing();
+
132 
+
133 };
+
134 #endif
@ PEN
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
@ FLOODFILL
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
Tooltype
Definition: IntelliTool.h:16
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
-
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:25
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
Tooltype
Definition: IntelliTool.h:20
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:73
+
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:59
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:63
@ PLAIN
@ POLYGON
Tooltype getTooltype()
Definition: IntelliTool.cpp:96
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
bool getIsDrawing()
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:4
@ RECTANGLE
+
Definition: mainUnitTest.cpp:8
@ LINE
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
+
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:11
@ CIRCLE
diff --git a/docs/html/_intelli_tool_circle_8cpp_source.html b/docs/html/_intelli_tool_circle_8cpp_source.html index 21aef0b..130ef9b 100644 --- a/docs/html/_intelli_tool_circle_8cpp_source.html +++ b/docs/html/_intelli_tool_circle_8cpp_source.html @@ -176,27 +176,27 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws A Line between two given Points in a given color.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
QColor getSecondColor()
A function to read the secondary selected color.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
+
QColor getSecondColor()
A function to read the secondary selected color.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:73
int getInnerAlpha()
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
virtual ~IntelliToolCircle() override
A Destructor.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit...
-
IntelliImage * image
Definition: PaintingArea.h:26
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
void setLineWidth(int LineWidth)
int getLineWidth()
@@ -204,8 +204,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
-
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
@ CIRCLE
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the middle point of the cricle.
diff --git a/docs/html/_intelli_tool_circle_8h_source.html b/docs/html/_intelli_tool_circle_8h_source.html index c75d116..3c79cb3 100644 --- a/docs/html/_intelli_tool_circle_8h_source.html +++ b/docs/html/_intelli_tool_circle_8h_source.html @@ -92,48 +92,54 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
4 
5 #include "QColor"
6 #include "QPoint"
-
10 class IntelliToolCircle : public IntelliTool {
-
15 void drawCircle(int radius);
-
16 
-
20 QPoint centerPoint;
+
7 
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+
14 class IntelliToolCircle : public IntelliTool {
+
15  friend UnitTest;
+
20 void drawCircle(int radius);
21 
-
22 public:
-
28 IntelliToolCircle(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings);
-
29 
-
33 virtual ~IntelliToolCircle() override;
+
25 QPoint centerPoint;
+
26 
+
27 public:
+
33 IntelliToolCircle(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings);
34 
-
40 virtual void onMouseRightPressed(int x, int y) override;
-
41 
-
47 virtual void onMouseRightReleased(int x, int y) override;
-
48 
-
54 virtual void onMouseLeftPressed(int x, int y) override;
-
55 
-
61 virtual void onMouseLeftReleased(int x, int y) override;
-
62 
-
67 virtual void onWheelScrolled(int value) override;
-
68 
-
74 virtual void onMouseMoved(int x, int y) override;
-
75 };
-
76 
-
77 #endif
+
38 virtual ~IntelliToolCircle() override;
+
39 
+
45 virtual void onMouseRightPressed(int x, int y) override;
+
46 
+
52 virtual void onMouseRightReleased(int x, int y) override;
+
53 
+
59 virtual void onMouseLeftPressed(int x, int y) override;
+
60 
+
66 virtual void onMouseLeftReleased(int x, int y) override;
+
67 
+
72 virtual void onWheelScrolled(int value) override;
+
73 
+
79 virtual void onMouseMoved(int x, int y) override;
+
80 };
+
81 
+
82 #endif
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas layer.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
virtual ~IntelliToolCircle() override
A Destructor.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit...
+
Definition: mainUnitTest.cpp:8
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
-
The IntelliToolCircle class represents a tool to draw a circle.
-
+
The IntelliToolCircle class represents a tool to draw a circle.
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the middle point of the cricle.
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
@ FLOODFILL
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
-
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
-
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual ~IntelliToolFloodFill() override
A Destructor.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:59
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
int width
Definition: PaintingArea.h:27
-
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:63
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
-
int height
Definition: PaintingArea.h:28
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
+
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
-
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
-
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual ~IntelliToolFloodFill() override
A Destructor.
-
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
-
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
-
+
Definition: mainUnitTest.cpp:8
+
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws A Line between two given Points in a given color.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:73
virtual ~IntelliToolLine() override
An abstract Destructor.
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the starting point of the line.
@ LINE
void setLineWidth(int LineWidth)
@@ -166,8 +166,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
-
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual ~IntelliToolLine() override
An abstract Destructor.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
+
Definition: mainUnitTest.cpp:8
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the starting point of the line.
-
-
The IntelliToolFloodFill class represents a tool to draw a line.
+
+
The IntelliToolFloodFill class represents a tool to draw a line.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
virtual ~IntelliToolPen() override
A Destructor.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. To draw the line.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current draw.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
The IntelliToolPen class represents a tool to draw a line.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
The IntelliToolPen class represents a tool to draw a line.
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing penWidth relativ to value.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the drawing to the active layer.
IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. Reading the penWidth.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
Definition: mainUnitTest.cpp:8
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Starting the drawing procedure.
-
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
@ PLAIN
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual ~IntelliToolPlainTool() override
A Destructor.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
-
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
+
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
Definition: mainUnitTest.cpp:8
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
virtual ~IntelliToolPlainTool() override
A Destructor.
-
+
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws A Line between two given Points in a given color.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
+
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
QColor getSecondColor()
A function to read the secondary selected color.
-
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
QColor getSecondColor()
A function to read the secondary selected color.
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:73
int getInnerAlpha()
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
+
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:59
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:63
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
@ POLYGON
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
IntelliImage::ImageType getTypeOfImageRealLayer()
-
int width
Definition: PaintingArea.h:27
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:68
+
IntelliImage::ImageType getTypeOfImageRealLayer()
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
@ SHAPEDIMAGE
-
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
-
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
-
QColor getFirstColor()
A function to read the primary selected color.
-
int height
Definition: PaintingArea.h:28
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
Tooltype ActiveType
Definition: IntelliTool.h:51
+
The IntelliColorPicker manages the selected colors for one whole project.
~IntelliToolPolygon() override
A Destructor.
@ RASTERIMAGE
-
IntelliImage * image
Definition: PaintingArea.h:26
-
std::vector< QPoint > getPolygonDataOfRealLayer()
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
std::vector< QPoint > getPolygonDataOfRealLayer()
void setLineWidth(int LineWidth)
int getLineWidth()
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
-
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
-
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
+
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
The IntelliColorPicker manages the selected colors for one whole project.
~IntelliToolPolygon() override
A Destructor.
+
Definition: mainUnitTest.cpp:8
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
-
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
The IntelliToolPolygon managed the Drawing of Polygonforms.
-
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
The IntelliToolPolygon managed the Drawing of Polygonforms.
+
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
-
-
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
+
+
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.Changing edgeWidth relativ to value.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:56
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:58
virtual ~IntelliToolRectangle() override
A Destructor.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:49
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
The IntelliToolRectangle class represents a tool to draw a rectangle.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
The IntelliToolRectangle class represents a tool to draw a rectangle.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
Definition: mainUnitTest.cpp:8
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the draw to the active layer.
-
+
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
virtual ~IntelliToolsettings()
int getInnerAlpha()
void setInnerAlpha(int innerAlpha)
+
Definition: mainUnitTest.cpp:8
void setLineWidth(int LineWidth)
int getLineWidth()
IntelliToolsettings()
-
+
-
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
-
QPoint B
+
QPoint B
#define pi
-
QPoint C
-
The Triangle struct holds the 3 vertices of a triangle.
+
QPoint C
+
The Triangle struct holds the 3 vertices of a triangle.
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
-
QPoint A
+
QPoint A
-
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
-
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
+
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
-
QPoint B
-
QPoint C
-
The Triangle struct holds the 3 vertices of a triangle.
+
QPoint B
+
QPoint C
+
The Triangle struct holds the 3 vertices of a triangle.
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
-
-
QPoint A
+
+
QPoint A
+
Definition: mainUnitTest.cpp:8
-
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
+
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
@ PEN
-
void createCircleTool()
+
void createCircleTool()
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:15
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:33
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
-
IntelliImage * getImageOfActiveLayer()
-
void mouseReleaseEvent(QMouseEvent *event) override
-
void createRectangleTool()
+
IntelliImage * getImageOfActiveLayer()
+
void mouseReleaseEvent(QMouseEvent *event) override
+
void createRectangleTool()
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
int getMaxWidth()
+
int getMaxWidth()
-
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
-
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
@ FLOODFILL
-
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
-
int widthOffset
Definition: PaintingArea.h:29
-
int getMaxHeight()
-
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
-
void setSecondColor(QColor Color)
A function to set the secondary color.
-
The IntelliShapedImage manages a Shapedimage.
-
QColor getSecondColor()
A function to read the secondary selected color.
-
int heightOffset
Definition: PaintingArea.h:30
-
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
+
int getMaxHeight()
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
+
void setSecondColor(QColor Color)
A function to set the secondary color.
+
The IntelliShapedImage manages a Shapedimage.
+
QColor getSecondColor()
A function to read the secondary selected color.
+
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
+
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
void createPlainTool()
-
void wheelEvent(QWheelEvent *event) override
-
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:25
-
void createPenTool()
+
void createPlainTool()
+
void wheelEvent(QWheelEvent *event) override
+
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
void createPenTool()
-
void mousePressEvent(QMouseEvent *event) override
+
void mousePressEvent(QMouseEvent *event) override
-
int alpha
Definition: PaintingArea.h:31
-
The IntelliToolRectangle class represents a tool to draw a rectangle.
-
void createLineTool()
+
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
+
The IntelliToolRectangle class represents a tool to draw a rectangle.
+
void createLineTool()
-
The IntelliToolPen class represents a tool to draw a line.
-
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
The IntelliToolPen class represents a tool to draw a line.
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:22
-
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
+
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
@ PLAIN
@ POLYGON
Tooltype getTooltype()
Definition: IntelliTool.cpp:96
-
IntelliImage::ImageType getTypeOfImageRealLayer()
-
int width
Definition: PaintingArea.h:27
+
IntelliImage::ImageType getTypeOfImageRealLayer()
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
bool isFastRenderering()
The getfastRenderer gets the value of the flag for the fastRenderer setting.
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
-
void mouseMoveEvent(QMouseEvent *event) override
-
int getNumberOfActiveLayer()
-
void setFirstColor(QColor Color)
A function to set the primary color.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
void mouseMoveEvent(QMouseEvent *event) override
+
int getNumberOfActiveLayer()
+
void setFirstColor(QColor Color)
A function to set the primary color.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
@ SHAPEDIMAGE
-
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
+
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
void setToolWidth(int value)
-
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
-
void createPolygonTool()
-
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
-
IntelliColorPicker colorPicker
Definition: PaintingArea.h:182
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
void createPolygonTool()
+
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
+
IntelliColorPicker colorPicker
Definition: PaintingArea.h:202
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
bool getIsDrawing()
-
QColor getFirstColor()
A function to read the primary selected color.
-
int height
Definition: PaintingArea.h:28
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
-
void createFloodFillTool()
-
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
-
void paintEvent(QPaintEvent *event) override
+
QColor getFirstColor()
A function to read the primary selected color.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
void createFloodFillTool()
+
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
void paintEvent(QPaintEvent *event) override
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
void UpdateGui()
@ RASTERIMAGE
@ RECTANGLE
-
IntelliImage * image
Definition: PaintingArea.h:26
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
-
std::vector< QPoint > getPolygonDataOfRealLayer()
-
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:181
-
void resizeEvent(QResizeEvent *event) override
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
std::vector< QPoint > getPolygonDataOfRealLayer()
+
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:201
+
void resizeEvent(QResizeEvent *event) override
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
@ LINE
-
void swapColors()
A function switching primary and secondary color.
-
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
-
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
void swapColors()
A function switching primary and secondary color.
+
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
-
The IntelliToolCircle class represents a tool to draw a circle.
-
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+
The IntelliToolCircle class represents a tool to draw a circle.
+
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
-
The IntelliToolPolygon managed the Drawing of Polygonforms.
+
The IntelliToolPolygon managed the Drawing of Polygonforms.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:48
-
The IntelliRasterImage manages a RASTERIMAGE.
+
The IntelliRasterImage manages a RASTERIMAGE.
-
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
-
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:26
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:30
@ CIRCLE
-
The IntelliToolFloodFill class represents a tool to draw a line.
+
The IntelliToolFloodFill class represents a tool to draw a line.
-
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
-
void createCircleTool()
+
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
+
void createCircleTool()
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
-
IntelliImage * getImageOfActiveLayer()
-
void mouseReleaseEvent(QMouseEvent *event) override
-
void createRectangleTool()
+
IntelliImage * getImageOfActiveLayer()
+
void mouseReleaseEvent(QMouseEvent *event) override
+
void createRectangleTool()
-
int getMaxWidth()
+
int getMaxWidth()
-
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
-
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
-
-
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
-
int widthOffset
Definition: PaintingArea.h:29
-
int getMaxHeight()
-
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
-
int heightOffset
Definition: PaintingArea.h:30
-
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
-
void createPlainTool()
-
void wheelEvent(QWheelEvent *event) override
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:25
-
void createPenTool()
-
void mousePressEvent(QMouseEvent *event) override
+
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
+
int getMaxHeight()
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
+
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
+
void createPlainTool()
+
void wheelEvent(QWheelEvent *event) override
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
void createPenTool()
+
void mousePressEvent(QMouseEvent *event) override
-
int alpha
Definition: PaintingArea.h:31
-
void createLineTool()
-
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
-
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
+
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
+
void createLineTool()
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer...
-
IntelliImage::ImageType getTypeOfImageRealLayer()
-
int width
Definition: PaintingArea.h:27
+
IntelliImage::ImageType getTypeOfImageRealLayer()
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
-
void mouseMoveEvent(QMouseEvent *event) override
+
void mouseMoveEvent(QMouseEvent *event) override
-
int getNumberOfActiveLayer()
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
-
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
-
void createPolygonTool()
-
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
-
IntelliColorPicker colorPicker
Definition: PaintingArea.h:182
+
int getNumberOfActiveLayer()
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
void createPolygonTool()
+
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
+
IntelliColorPicker colorPicker
Definition: PaintingArea.h:202
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
-
int height
Definition: PaintingArea.h:28
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
-
void createFloodFillTool()
-
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
-
The IntelliColorPicker manages the selected colors for one whole project.
-
void paintEvent(QPaintEvent *event) override
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
void createFloodFillTool()
+
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
void paintEvent(QPaintEvent *event) override
@ RASTERIMAGE
-
IntelliImage * image
Definition: PaintingArea.h:26
-
std::vector< QPoint > getPolygonDataOfRealLayer()
-
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:181
-
void resizeEvent(QResizeEvent *event) override
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
-
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
-
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
-
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
-
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:26
+
Definition: mainUnitTest.cpp:8
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
std::vector< QPoint > getPolygonDataOfRealLayer()
+
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:201
+
void resizeEvent(QResizeEvent *event) override
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
+
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:30
diff --git a/docs/html/annotated_dup.js b/docs/html/annotated_dup.js index 0bd7c03..e7e6e6e 100644 --- a/docs/html/annotated_dup.js +++ b/docs/html/annotated_dup.js @@ -18,5 +18,6 @@ var annotated_dup = [ "IntelliToolsettings", "class_intelli_toolsettings.html", "class_intelli_toolsettings" ], [ "LayerObject", "struct_layer_object.html", "struct_layer_object" ], [ "PaintingArea", "class_painting_area.html", "class_painting_area" ], - [ "Triangle", "struct_triangle.html", "struct_triangle" ] + [ "Triangle", "struct_triangle.html", "struct_triangle" ], + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] ]; \ No newline at end of file diff --git a/docs/html/class_intelli_color_picker.html b/docs/html/class_intelli_color_picker.html index 393deac..9eac72c 100644 --- a/docs/html/class_intelli_color_picker.html +++ b/docs/html/class_intelli_color_picker.html @@ -122,7 +122,7 @@ Public Member Functions

Detailed Description

The IntelliColorPicker manages the selected colors for one whole project.

-

Definition at line 11 of file IntelliColorPicker.h.

+

Definition at line 14 of file IntelliColorPicker.h.

Constructor & Destructor Documentation

◆ IntelliColorPicker()

@@ -141,7 +141,7 @@ Public Member Functions

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

-

Definition at line 3 of file IntelliColorPicker.cpp.

+

Definition at line 3 of file IntelliColorPicker.cpp.

@@ -170,7 +170,7 @@ Public Member Functions

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

-

Definition at line 8 of file IntelliColorPicker.cpp.

+

Definition at line 8 of file IntelliColorPicker.cpp.

@@ -193,7 +193,7 @@ Public Member Functions

A function to read the primary selected color.

Returns
Returns the primary color.
-

Definition at line 16 of file IntelliColorPicker.cpp.

+

Definition at line 16 of file IntelliColorPicker.cpp.

@@ -215,7 +215,7 @@ Public Member Functions

A function to read the secondary selected color.

Returns
Returns the secondary color.
-

Definition at line 20 of file IntelliColorPicker.cpp.

+

Definition at line 20 of file IntelliColorPicker.cpp.

@@ -243,7 +243,7 @@ Public Member Functions -

Definition at line 24 of file IntelliColorPicker.cpp.

+

Definition at line 24 of file IntelliColorPicker.cpp.

@@ -271,7 +271,7 @@ Public Member Functions -

Definition at line 28 of file IntelliColorPicker.cpp.

+

Definition at line 28 of file IntelliColorPicker.cpp.

@@ -292,13 +292,13 @@ Public Member Functions

A function switching primary and secondary color.

-

Definition at line 12 of file IntelliColorPicker.cpp.

+

Definition at line 12 of file IntelliColorPicker.cpp.


The documentation for this class was generated from the following files: diff --git a/docs/html/class_intelli_image.html b/docs/html/class_intelli_image.html index 594de07..66a4383 100644 --- a/docs/html/class_intelli_image.html +++ b/docs/html/class_intelli_image.html @@ -128,10 +128,10 @@ Public Member Functions  A funtcion used to draw a pixel on the Image with the given Color. More...
  virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth) - A function that draws A Line between two given Points in a given color. More...
+ A function that draws a line between two given points in a given color. More...
  virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) - A. More...
+ A function that draws a point between on a given point in a given color. More...
  virtual void drawPlain (const QColor &color)  A function that clears the whole image in a given Color. More...
@@ -192,7 +192,7 @@ Protected Attributes

Detailed Description

An abstract class which manages the basic IntelliImage operations.

-

Definition at line 19 of file IntelliImage.h.

+

Definition at line 22 of file IntelliImage.h.

Member Enumeration Documentation

◆ ImageType

@@ -220,7 +220,7 @@ Protected Attributes SHAPEDIMAGE  -

Definition at line 26 of file IntelliImage.h.

+

Definition at line 30 of file IntelliImage.h.

@@ -376,7 +376,7 @@ Protected Attributes
-

A function that draws A Line between two given Points in a given color.

+

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

Parameters
@@ -387,7 +387,7 @@ Protected Attributes -

Definition at line 90 of file IntelliImage.cpp.

+

Definition at line 96 of file IntelliImage.cpp.

@@ -470,7 +470,7 @@ Protected Attributes -

Definition at line 107 of file IntelliImage.cpp.

+

Definition at line 116 of file IntelliImage.cpp.

@@ -514,17 +514,17 @@ Protected Attributes
p1- The coordinates of the first Point.
-

A.

+

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

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

Definition at line 74 of file IntelliImage.cpp.

+

Definition at line 77 of file IntelliImage.cpp.

@@ -668,7 +668,7 @@ Protected Attributes

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

-

Definition at line 125 of file IntelliImage.cpp.

+

Definition at line 134 of file IntelliImage.cpp.

@@ -705,7 +705,7 @@ Protected Attributes
Returns
The color of the Pixel as QColor.
-

Definition at line 117 of file IntelliImage.cpp.

+

Definition at line 126 of file IntelliImage.cpp.

@@ -737,7 +737,7 @@ Protected Attributes

Reimplemented in IntelliShapedImage.

-

Definition at line 130 of file IntelliImage.h.

+

Definition at line 134 of file IntelliImage.h.

@@ -764,7 +764,7 @@ Protected Attributes
-

Definition at line 134 of file IntelliImage.h.

+

Definition at line 138 of file IntelliImage.h.

@@ -875,7 +875,7 @@ Protected Attributes -

Definition at line 133 of file IntelliImage.cpp.

+

Definition at line 142 of file IntelliImage.cpp.

@@ -947,7 +947,7 @@ Protected Attributes -

Definition at line 143 of file IntelliImage.cpp.

+

Definition at line 152 of file IntelliImage.cpp.

@@ -974,7 +974,7 @@ Protected Attributes

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

-

Definition at line 47 of file IntelliImage.h.

+

Definition at line 51 of file IntelliImage.h.

@@ -1000,7 +1000,7 @@ Protected Attributes

The underlying image data.

-

Definition at line 37 of file IntelliImage.h.

+

Definition at line 41 of file IntelliImage.h.

@@ -1026,7 +1026,7 @@ Protected Attributes

The Type, an Image is.

-

Definition at line 42 of file IntelliImage.h.

+

Definition at line 46 of file IntelliImage.h.

diff --git a/docs/html/class_intelli_photo_gui.html b/docs/html/class_intelli_photo_gui.html index f0f2685..d0f4eab 100644 --- a/docs/html/class_intelli_photo_gui.html +++ b/docs/html/class_intelli_photo_gui.html @@ -121,7 +121,7 @@ Protected Member Functions

Detailed Description

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

-

Definition at line 27 of file IntelliPhotoGui.h.

+

Definition at line 28 of file IntelliPhotoGui.h.

Constructor & Destructor Documentation

◆ IntelliPhotoGui()

diff --git a/docs/html/class_intelli_raster_image.html b/docs/html/class_intelli_raster_image.html index 6c7699b..c33fd64 100644 --- a/docs/html/class_intelli_raster_image.html +++ b/docs/html/class_intelli_raster_image.html @@ -137,10 +137,10 @@ Public Member Functions  A funtcion used to draw a pixel on the Image with the given Color. More...
  virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth) - A function that draws A Line between two given Points in a given color. More...
+ A function that draws a line between two given points in a given color. More...
  virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) - A. More...
+ A function that draws a point between on a given point in a given color. More...
  virtual void drawPlain (const QColor &color)  A function that clears the whole image in a given Color. More...
@@ -197,7 +197,7 @@ Additional Inherited Members

Detailed Description

The IntelliRasterImage manages a RASTERIMAGE.

-

Definition at line 9 of file IntelliRasterImage.h.

+

Definition at line 12 of file IntelliRasterImage.h.

Constructor & Destructor Documentation

◆ IntelliRasterImage()

diff --git a/docs/html/class_intelli_render_settings.html b/docs/html/class_intelli_render_settings.html index 0f69132..d0d1d39 100644 --- a/docs/html/class_intelli_render_settings.html +++ b/docs/html/class_intelli_render_settings.html @@ -105,7 +105,7 @@ Public Member Functions

Detailed Description

-

Definition at line 5 of file IntelliRenderSettings.h.

+

Definition at line 8 of file IntelliRenderSettings.h.

Constructor & Destructor Documentation

◆ IntelliRenderSettings()

diff --git a/docs/html/class_intelli_shaped_image.html b/docs/html/class_intelli_shaped_image.html index 43f1d4a..c2857a4 100644 --- a/docs/html/class_intelli_shaped_image.html +++ b/docs/html/class_intelli_shaped_image.html @@ -147,10 +147,10 @@ Public Member Functions  A funtcion used to draw a pixel on the Image with the given Color. More...
  virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth) - A function that draws A Line between two given Points in a given color. More...
+ A function that draws a line between two given points in a given color. More...
  virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) - A. More...
+ A function that draws a point between on a given point in a given color. More...
  virtual void drawPlain (const QColor &color)  A function that clears the whole image in a given Color. More...
@@ -204,7 +204,7 @@ Additional Inherited Members

Detailed Description

The IntelliShapedImage manages a Shapedimage.

-

Definition at line 10 of file IntelliShapedImage.h.

+

Definition at line 13 of file IntelliShapedImage.h.

Constructor & Destructor Documentation

◆ IntelliShapedImage()

@@ -431,7 +431,7 @@ Additional Inherited Members

Reimplemented from IntelliImage.

-

Definition at line 67 of file IntelliShapedImage.h.

+

Definition at line 71 of file IntelliShapedImage.h.

@@ -496,7 +496,7 @@ Additional Inherited Members

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

-

Definition at line 27 of file IntelliShapedImage.h.

+

Definition at line 31 of file IntelliShapedImage.h.

diff --git a/docs/html/class_intelli_tool.html b/docs/html/class_intelli_tool.html index 287a8cd..f53b14d 100644 --- a/docs/html/class_intelli_tool.html +++ b/docs/html/class_intelli_tool.html @@ -183,7 +183,7 @@ Protected Attributes

Detailed Description

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

-

Definition at line 14 of file IntelliTool.h.

+

Definition at line 17 of file IntelliTool.h.

Member Enumeration Documentation

◆ Tooltype

@@ -214,7 +214,7 @@ Protected Attributes RECTANGLE  -

Definition at line 16 of file IntelliTool.h.

+

Definition at line 20 of file IntelliTool.h.

@@ -638,7 +638,7 @@ Protected Attributes

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

-

Definition at line 59 of file IntelliTool.h.

+

Definition at line 63 of file IntelliTool.h.

@@ -662,7 +662,7 @@ Protected Attributes
-

Definition at line 47 of file IntelliTool.h.

+

Definition at line 51 of file IntelliTool.h.

@@ -688,7 +688,7 @@ Protected Attributes

A pointer to the general PaintingArea to interact with.

-

Definition at line 45 of file IntelliTool.h.

+

Definition at line 49 of file IntelliTool.h.

@@ -714,7 +714,7 @@ Protected Attributes

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

-

Definition at line 64 of file IntelliTool.h.

+

Definition at line 68 of file IntelliTool.h.

@@ -740,7 +740,7 @@ Protected Attributes

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

-

Definition at line 52 of file IntelliTool.h.

+

Definition at line 56 of file IntelliTool.h.

@@ -766,7 +766,7 @@ Protected Attributes

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

-

Definition at line 69 of file IntelliTool.h.

+

Definition at line 73 of file IntelliTool.h.

@@ -790,7 +790,7 @@ Protected Attributes
-

Definition at line 54 of file IntelliTool.h.

+

Definition at line 58 of file IntelliTool.h.

diff --git a/docs/html/class_intelli_tool_circle.html b/docs/html/class_intelli_tool_circle.html index ac2bf56..252908e 100644 --- a/docs/html/class_intelli_tool_circle.html +++ b/docs/html/class_intelli_tool_circle.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolCircle class represents a tool to draw a circle.

-

Definition at line 10 of file IntelliToolCircle.h.

+

Definition at line 14 of file IntelliToolCircle.h.

Constructor & Destructor Documentation

◆ IntelliToolCircle()

diff --git a/docs/html/class_intelli_tool_flood_fill.html b/docs/html/class_intelli_tool_flood_fill.html index 2a2dc9e..c376724 100644 --- a/docs/html/class_intelli_tool_flood_fill.html +++ b/docs/html/class_intelli_tool_flood_fill.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

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

-

Definition at line 10 of file IntelliToolFloodFill.h.

+

Definition at line 14 of file IntelliToolFloodFill.h.

Constructor & Destructor Documentation

◆ IntelliToolFloodFill()

@@ -352,7 +352,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 69 of file IntelliToolFloodFill.cpp.

+

Definition at line 72 of file IntelliToolFloodFill.cpp.

@@ -401,7 +401,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 78 of file IntelliToolFloodFill.cpp.

+

Definition at line 81 of file IntelliToolFloodFill.cpp.

@@ -537,7 +537,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 73 of file IntelliToolFloodFill.cpp.

+

Definition at line 76 of file IntelliToolFloodFill.cpp.

diff --git a/docs/html/class_intelli_tool_line.html b/docs/html/class_intelli_tool_line.html index a6e71fb..fbe600e 100644 --- a/docs/html/class_intelli_tool_line.html +++ b/docs/html/class_intelli_tool_line.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolFloodFill class represents a tool to draw a line.

-

Definition at line 10 of file IntelliToolLine.h.

+

Definition at line 13 of file IntelliToolLine.h.

Constructor & Destructor Documentation

◆ IntelliToolLine()

diff --git a/docs/html/class_intelli_tool_pen.html b/docs/html/class_intelli_tool_pen.html index c80262c..8e58a78 100644 --- a/docs/html/class_intelli_tool_pen.html +++ b/docs/html/class_intelli_tool_pen.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolPen class represents a tool to draw a line.

-

Definition at line 11 of file IntelliToolPen.h.

+

Definition at line 14 of file IntelliToolPen.h.

Constructor & Destructor Documentation

◆ IntelliToolPen()

diff --git a/docs/html/class_intelli_tool_plain_tool.html b/docs/html/class_intelli_tool_plain_tool.html index d095921..1e74cd8 100644 --- a/docs/html/class_intelli_tool_plain_tool.html +++ b/docs/html/class_intelli_tool_plain_tool.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

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

-

Definition at line 9 of file IntelliToolPlain.h.

+

Definition at line 13 of file IntelliToolPlain.h.

Constructor & Destructor Documentation

◆ IntelliToolPlainTool()

diff --git a/docs/html/class_intelli_tool_polygon-members.html b/docs/html/class_intelli_tool_polygon-members.html index 6240740..9741c30 100644 --- a/docs/html/class_intelli_tool_polygon-members.html +++ b/docs/html/class_intelli_tool_polygon-members.html @@ -98,16 +98,17 @@ $(document).ready(function(){initNavTree('class_intelli_tool_polygon.html',''); getTooltype()IntelliTool IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)IntelliToolPolygon - onMouseLeftPressed(int x, int y) overrideIntelliToolPolygonvirtual - onMouseLeftReleased(int x, int y) overrideIntelliToolPolygonvirtual - onMouseMoved(int x, int y) overrideIntelliToolPolygonvirtual - onMouseRightPressed(int x, int y) overrideIntelliToolPolygonvirtual - onMouseRightReleased(int x, int y) overrideIntelliToolPolygonvirtual - onWheelScrolled(int value) overrideIntelliToolPolygonvirtual - ToolsettingsIntelliToolprotected - Tooltype enum nameIntelliTool - ~IntelliTool()=0IntelliToolpure virtual - ~IntelliToolPolygon() overrideIntelliToolPolygon + isDrawingIntelliToolprotected + onMouseLeftPressed(int x, int y) overrideIntelliToolPolygonvirtual + onMouseLeftReleased(int x, int y) overrideIntelliToolPolygonvirtual + onMouseMoved(int x, int y) overrideIntelliToolPolygonvirtual + onMouseRightPressed(int x, int y) overrideIntelliToolPolygonvirtual + onMouseRightReleased(int x, int y) overrideIntelliToolPolygonvirtual + onWheelScrolled(int value) overrideIntelliToolPolygonvirtual + ToolsettingsIntelliToolprotected + Tooltype enum nameIntelliTool + ~IntelliTool()=0IntelliToolpure virtual + ~IntelliToolPolygon() overrideIntelliToolPolygon diff --git a/docs/html/class_intelli_tool_polygon.html b/docs/html/class_intelli_tool_polygon.html index cc8857a..ac3ad17 100644 --- a/docs/html/class_intelli_tool_polygon.html +++ b/docs/html/class_intelli_tool_polygon.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolPolygon managed the Drawing of Polygonforms.

-

Definition at line 11 of file IntelliToolPolygon.h.

+

Definition at line 15 of file IntelliToolPolygon.h.

Constructor & Destructor Documentation

◆ IntelliToolPolygon()

@@ -359,7 +359,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 89 of file IntelliToolPolygon.cpp.

+

Definition at line 90 of file IntelliToolPolygon.cpp.

@@ -408,7 +408,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 135 of file IntelliToolPolygon.cpp.

+

Definition at line 136 of file IntelliToolPolygon.cpp.

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

Reimplemented from IntelliTool.

-

Definition at line 81 of file IntelliToolPolygon.cpp.

+

Definition at line 82 of file IntelliToolPolygon.cpp.

@@ -506,7 +506,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 122 of file IntelliToolPolygon.cpp.

+

Definition at line 123 of file IntelliToolPolygon.cpp.

@@ -544,7 +544,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 126 of file IntelliToolPolygon.cpp.

+

Definition at line 127 of file IntelliToolPolygon.cpp.

diff --git a/docs/html/class_intelli_tool_rectangle.html b/docs/html/class_intelli_tool_rectangle.html index eb9d4b3..ef936c6 100644 --- a/docs/html/class_intelli_tool_rectangle.html +++ b/docs/html/class_intelli_tool_rectangle.html @@ -181,7 +181,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolRectangle class represents a tool to draw a rectangle.

-

Definition at line 11 of file IntelliToolRectangle.h.

+

Definition at line 15 of file IntelliToolRectangle.h.

Constructor & Destructor Documentation

◆ IntelliToolRectangle()

diff --git a/docs/html/class_intelli_toolsettings.html b/docs/html/class_intelli_toolsettings.html index e73d85c..2dd77e8 100644 --- a/docs/html/class_intelli_toolsettings.html +++ b/docs/html/class_intelli_toolsettings.html @@ -109,7 +109,7 @@ Public Member Functions

Detailed Description

-

Definition at line 4 of file IntelliToolsettings.h.

+

Definition at line 7 of file IntelliToolsettings.h.

Constructor & Destructor Documentation

◆ IntelliToolsettings()

diff --git a/docs/html/class_painting_area.html b/docs/html/class_painting_area.html index b1ac146..726411a 100644 --- a/docs/html/class_painting_area.html +++ b/docs/html/class_painting_area.html @@ -224,7 +224,7 @@ Protected Member Functions

Detailed Description

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

-

Definition at line 37 of file PaintingArea.h.

+

Definition at line 53 of file PaintingArea.h.

Constructor & Destructor Documentation

◆ PaintingArea()

@@ -359,7 +359,7 @@ Protected Member Functions
Returns
Returns the number of layers in the project
-

Definition at line 54 of file PaintingArea.cpp.

+

Definition at line 62 of file PaintingArea.cpp.

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

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

-

Definition at line 177 of file PaintingArea.cpp.

+

Definition at line 187 of file PaintingArea.cpp.

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

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

-

Definition at line 182 of file PaintingArea.cpp.

+

Definition at line 192 of file PaintingArea.cpp.

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

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

-

Definition at line 187 of file PaintingArea.cpp.

+

Definition at line 197 of file PaintingArea.cpp.

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

Definition at line 211 of file PaintingArea.cpp.

+

Definition at line 221 of file PaintingArea.cpp.

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

Definition at line 220 of file PaintingArea.cpp.

+

Definition at line 230 of file PaintingArea.cpp.

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

Definition at line 201 of file PaintingArea.cpp.

+

Definition at line 211 of file PaintingArea.cpp.

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

Definition at line 191 of file PaintingArea.cpp.

+

Definition at line 201 of file PaintingArea.cpp.

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

Definition at line 196 of file PaintingArea.cpp.

+

Definition at line 206 of file PaintingArea.cpp.

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

Definition at line 215 of file PaintingArea.cpp.

+

Definition at line 225 of file PaintingArea.cpp.

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

Definition at line 206 of file PaintingArea.cpp.

+

Definition at line 216 of file PaintingArea.cpp.

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

Definition at line 73 of file PaintingArea.cpp.

+

Definition at line 81 of file PaintingArea.cpp.

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

The getHeightOfActive gets the vertical dimensions of the active layer.

Returns
Returns the vertical pixle count of the active layer
-

Definition at line 229 of file PaintingArea.cpp.

+

Definition at line 239 of file PaintingArea.cpp.

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

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

Returns
return the image as an rgba32bit qImage
-

Definition at line 424 of file PaintingArea.cpp.

+

Definition at line 434 of file PaintingArea.cpp.

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

Definition at line 417 of file PaintingArea.cpp.

+

Definition at line 427 of file PaintingArea.cpp.

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

Definition at line 237 of file PaintingArea.cpp.

+

Definition at line 247 of file PaintingArea.cpp.

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

Definition at line 233 of file PaintingArea.cpp.

+

Definition at line 243 of file PaintingArea.cpp.

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

Definition at line 413 of file PaintingArea.cpp.

+

Definition at line 423 of file PaintingArea.cpp.

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

Definition at line 245 of file PaintingArea.cpp.

+

Definition at line 255 of file PaintingArea.cpp.

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

Definition at line 241 of file PaintingArea.cpp.

+

Definition at line 251 of file PaintingArea.cpp.

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

The getWidthOfActive gets the horizontal dimensions of the active layer.

Returns
Returns the horizontal pixle count of the active layer
-

Definition at line 225 of file PaintingArea.cpp.

+

Definition at line 235 of file PaintingArea.cpp.

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

Definition at line 271 of file PaintingArea.cpp.

+

Definition at line 281 of file PaintingArea.cpp.

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

Definition at line 252 of file PaintingArea.cpp.

+

Definition at line 262 of file PaintingArea.cpp.

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

Definition at line 284 of file PaintingArea.cpp.

+

Definition at line 294 of file PaintingArea.cpp.

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

Definition at line 160 of file PaintingArea.cpp.

+

Definition at line 170 of file PaintingArea.cpp.

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

Definition at line 154 of file PaintingArea.cpp.

+

Definition at line 164 of file PaintingArea.cpp.

@@ -1014,13 +1014,13 @@ Protected Member Functions

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

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

Definition at line 119 of file PaintingArea.cpp.

+

Definition at line 129 of file PaintingArea.cpp.

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

Definition at line 314 of file PaintingArea.cpp.

+

Definition at line 324 of file PaintingArea.cpp.

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

Definition at line 325 of file PaintingArea.cpp.

+

Definition at line 335 of file PaintingArea.cpp.

@@ -1109,14 +1109,14 @@ Protected Member Functions

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

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

Definition at line 131 of file PaintingArea.cpp.

+

Definition at line 141 of file PaintingArea.cpp.

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

Definition at line 95 of file PaintingArea.cpp.

+

Definition at line 103 of file PaintingArea.cpp.

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

Definition at line 102 of file PaintingArea.cpp.

+

Definition at line 110 of file PaintingArea.cpp.

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

Definition at line 107 of file PaintingArea.cpp.

+

Definition at line 117 of file PaintingArea.cpp.

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

Definition at line 170 of file PaintingArea.cpp.

+

Definition at line 180 of file PaintingArea.cpp.

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

The slotDeleteActiveLayer method handles the deletion of the active layer.

-

Definition at line 88 of file PaintingArea.cpp.

+

Definition at line 96 of file PaintingArea.cpp.

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

Definition at line 299 of file PaintingArea.cpp.

+

Definition at line 309 of file PaintingArea.cpp.

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

Definition at line 182 of file PaintingArea.h.

+

Definition at line 202 of file PaintingArea.h.

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

Definition at line 181 of file PaintingArea.h.

+

Definition at line 201 of file PaintingArea.h.

diff --git a/docs/html/class_unit_test-members.html b/docs/html/class_unit_test-members.html new file mode 100644 index 0000000..4a3dd58 --- /dev/null +++ b/docs/html/class_unit_test-members.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
UnitTest Member List
+
+
+ +

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

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

+Public Member Functions

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

Detailed Description

+
+

Definition at line 8 of file mainUnitTest.cpp.

+

Constructor & Destructor Documentation

+ +

◆ UnitTest() [1/2]

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

Definition at line 95 of file mainUnitTest.cpp.

+ +
+
+ +

◆ ~UnitTest() [1/2]

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

Definition at line 108 of file mainUnitTest.cpp.

+ +
+
+ +

◆ UnitTest() [2/2]

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

◆ ~UnitTest() [2/2]

+ +
+
+ + + + + + + +
UnitTest::~UnitTest ()
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/class_unit_test.js b/docs/html/class_unit_test.js new file mode 100644 index 0000000..0a29f02 --- /dev/null +++ b/docs/html/class_unit_test.js @@ -0,0 +1,7 @@ +var class_unit_test = +[ + [ "UnitTest", "class_unit_test.html#a67ddaff817b55a624741d32550052f4b", null ], + [ "~UnitTest", "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf", null ], + [ "UnitTest", "class_unit_test.html#a67ddaff817b55a624741d32550052f4b", null ], + [ "~UnitTest", "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf", null ] +]; \ No newline at end of file diff --git a/docs/html/class_unit_test.png b/docs/html/class_unit_test.png new file mode 100644 index 0000000000000000000000000000000000000000..452282e27bfcbbb13725921762e30e7c493b73e5 GIT binary patch literal 372 zcmeAS@N?(olHy`uVBq!ia0vp^)<7Jcge?*lw@f`KCH?ajp8BvIBMZ#2=rpm9xpOT7C0ujN9qwJFLpq z?^^$Jb58l;Ki|%tIksifq$k1-@!So;<~LG59yY%rT6(zr#`>Q&kqwT%VhKKzStTx~ zFdqBDAL&`t)m@+8&^PaNTSQ%k?Ar5_<~wBm-g4S3eBBM*=$Z*hyI2h095$2wafL5- z@14`t$KtNuNtm469=vDj_k{hMpP5N>t^RIW+jn>Ke%6NXU)&=-KfPq{;!!fH**EJS QFo+mDUHx3vIVCg!055T^6951J literal 0 HcmV?d00001 diff --git a/docs/html/classes.html b/docs/html/classes.html index d1cb6ea..ffab68d 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
Class Index
-
i | l | p | t
+
i | l | p | t | u
@@ -111,19 +111,22 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); }) - + + - + - + +
  i  
IntelliToolPolygon   
  p  
  u  
+
IntelliInputDialog    IntelliToolCircle    IntelliToolRectangle   
IntelliPhotoGui    IntelliToolFloodFill    IntelliToolsettings    PaintingArea   
UnitTest   
-
i | l | p | t
+
i | l | p | t | u
diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 88b8a1b..86f4e3b 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -104,6 +104,10 @@ Directories Files file  main.cpp [code]   +file  mainUnitTest.cpp [code] +  +file  tst_unittest.cpp [code] diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js index eee6b10..64c14e9 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -5,5 +5,11 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba = [ "IntelliHelper", "dir_8de6078cba2a961961818cf80b28fd4f.html", "dir_8de6078cba2a961961818cf80b28fd4f" ], [ "Layer", "dir_13830bfc3dd6736fe878600c9081919f.html", "dir_13830bfc3dd6736fe878600c9081919f" ], [ "Tool", "dir_858355f3357c73763e566ff49d1e6a7a.html", "dir_858355f3357c73763e566ff49d1e6a7a" ], - [ "main.cpp", "main_8cpp.html", "main_8cpp" ] + [ "main.cpp", "main_8cpp.html", "main_8cpp" ], + [ "mainUnitTest.cpp", "main_unit_test_8cpp.html", [ + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] + ] ], + [ "tst_unittest.cpp", "tst__unittest_8cpp.html", [ + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] + ] ] ]; \ No newline at end of file diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html index a54757f..b8f1c91 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html @@ -89,8 +89,6 @@ $(document).ready(function(){initNavTree('dir_858355f3357c73763e566ff49d1e6a7a.h - - diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js index 19d8762..c69fb83 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js @@ -1,6 +1,5 @@ var dir_858355f3357c73763e566ff49d1e6a7a = [ - [ "IntelliColorPicker.cpp", "_tool_2_intelli_color_picker_8cpp.html", null ], [ "IntelliTool.cpp", "_intelli_tool_8cpp.html", null ], [ "IntelliTool.h", "_intelli_tool_8h.html", [ [ "IntelliTool", "class_intelli_tool.html", "class_intelli_tool" ] diff --git a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html index 03da172..03bd1ac 100644 --- a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html +++ b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('dir_8de6078cba2a961961818cf80b28fd4f.h

Files

file  IntelliColorPicker.cpp [code]
 
file  IntelliTool.cpp [code]
 
file  IntelliTool.h [code]
- + diff --git a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js index b339aad..88cefe4 100644 --- a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js +++ b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js @@ -1,6 +1,6 @@ var dir_8de6078cba2a961961818cf80b28fd4f = [ - [ "IntelliColorPicker.cpp", "_intelli_helper_2_intelli_color_picker_8cpp.html", null ], + [ "IntelliColorPicker.cpp", "_intelli_color_picker_8cpp.html", null ], [ "IntelliColorPicker.h", "_intelli_color_picker_8h.html", [ [ "IntelliColorPicker", "class_intelli_color_picker.html", "class_intelli_color_picker" ] ] ], diff --git a/docs/html/files.html b/docs/html/files.html index d8be851..987452b 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -102,7 +102,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); - + @@ -114,24 +114,25 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +

Files

file  IntelliColorPicker.cpp [code]
file  IntelliColorPicker.cpp [code]
 
file  IntelliColorPicker.h [code]
 
 IntelliShapedImage.cpp
 IntelliShapedImage.h
  IntelliHelper
 IntelliColorPicker.cpp
 IntelliColorPicker.cpp
 IntelliColorPicker.h
 IntelliRenderSettings.cpp
 IntelliRenderSettings.h
 PaintingArea.cpp
 PaintingArea.h
  Tool
 IntelliColorPicker.cpp
 IntelliTool.cpp
 IntelliTool.h
 IntelliToolCircle.cpp
 IntelliToolCircle.h
 IntelliToolFloodFill.cpp
 IntelliToolFloodFill.h
 IntelliToolLine.cpp
 IntelliToolLine.h
 IntelliToolPen.cpp
 IntelliToolPen.h
 IntelliToolPlain.cpp
 IntelliToolPlain.h
 IntelliToolPolygon.cpp
 IntelliToolPolygon.h
 IntelliToolRectangle.cpp
 IntelliToolRectangle.h
 main.cpp
 IntelliTool.cpp
 IntelliTool.h
 IntelliToolCircle.cpp
 IntelliToolCircle.h
 IntelliToolFloodFill.cpp
 IntelliToolFloodFill.h
 IntelliToolLine.cpp
 IntelliToolLine.h
 IntelliToolPen.cpp
 IntelliToolPen.h
 IntelliToolPlain.cpp
 IntelliToolPlain.h
 IntelliToolPolygon.cpp
 IntelliToolPolygon.h
 IntelliToolRectangle.cpp
 IntelliToolRectangle.h
 main.cpp
 mainUnitTest.cpp
 tst_unittest.cpp
diff --git a/docs/html/functions.html b/docs/html/functions.html index e1c6880..3ddbda5 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -534,6 +534,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

- u -

diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 5bcfd1c..e16fd3a 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -456,6 +456,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl

- u -

diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 76d1bc9..75d499c 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -107,9 +107,11 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable();  CIntelliInputDialog  CQMainWindow  CIntelliPhotoGuiThe IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program - CQWidget - CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project - CTriangleThe Triangle struct holds the 3 vertices of a triangle + CQObject + CUnitTest + CQWidget + CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project + CTriangleThe Triangle struct holds the 3 vertices of a triangle diff --git a/docs/html/hierarchy.js b/docs/html/hierarchy.js index 617e7cc..8e6f13d 100644 --- a/docs/html/hierarchy.js +++ b/docs/html/hierarchy.js @@ -24,6 +24,9 @@ var hierarchy = [ "QMainWindow", null, [ [ "IntelliPhotoGui", "class_intelli_photo_gui.html", null ] ] ], + [ "QObject", null, [ + [ "UnitTest", "class_unit_test.html", null ] + ] ], [ "QWidget", null, [ [ "PaintingArea", "class_painting_area.html", null ] ] ], diff --git a/docs/html/main_8cpp_source.html b/docs/html/main_8cpp_source.html index 8a58d0c..49516cf 100644 --- a/docs/html/main_8cpp_source.html +++ b/docs/html/main_8cpp_source.html @@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('main_8cpp_source.html',''); initResiza
15 }
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
int main(int argc, char *argv[])
Definition: main.cpp:6
diff --git a/docs/html/main_unit_test_8cpp.html b/docs/html/main_unit_test_8cpp.html new file mode 100644 index 0000000..b6b374d --- /dev/null +++ b/docs/html/main_unit_test_8cpp.html @@ -0,0 +1,115 @@ + + + + + + + +IntelliPhoto: src/mainUnitTest.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
mainUnitTest.cpp File Reference
+
+
+
#include <QtTest>
+#include <string>
+#include "GUI/IntelliPhotoGui.h"
+#include "tst_unittest.moc"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  UnitTest
 
+
+
+ + + + diff --git a/docs/html/main_unit_test_8cpp_source.html b/docs/html/main_unit_test_8cpp_source.html new file mode 100644 index 0000000..6ab93b1 --- /dev/null +++ b/docs/html/main_unit_test_8cpp_source.html @@ -0,0 +1,309 @@ + + + + + + + +IntelliPhoto: src/mainUnitTest.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
mainUnitTest.cpp
+
+
+Go to the documentation of this file.
1 #include <QtTest>
+
2 // add necessary includes here
+
3 #include<string>
+
4 
+
5 #include "GUI/IntelliPhotoGui.h"
+
6 
+
7 
+
8 class UnitTest : public QObject
+
9 {
+
10  Q_OBJECT
+
11 private:
+
12  IntelliPhotoGui* gui;
+
13  PaintingArea* area;
+
14  QApplication* app;
+
15 
+
16 public:
+
17  UnitTest();
+
18  ~UnitTest();
+
19 
+
20 private slots:
+
21  void initTestCase();
+
22  void cleanupTestCase();
+
23  //void test_case1();
+
24 
+
25  //test painting area
+
26  void test_addLayer();
+
27  void test_deleteLayer();
+
28  void test_setActive();
+
29  void test_setAlpha();
+
30  void test_floodFill();
+
31  void test_moveActive();
+
32  void test_setPolygon();
+
33  void test_setLayerUp();
+
34  void test_setLayerDown();
+
35 
+
36  void test_createTools();
+
37 
+
38  //test Raster-Image operations
+
39  void test_RasterImage_drawPixel();
+
40  void test_RasterImage_drawLine();
+
41  void test_RasterImage_drawPoint();
+
42  void test_RasterImage_getDisplayable();
+
43  void test_RasterImage_setPolygon();
+
44  void test_RasterImage_loadImage();
+
45  void test_RasterImage_getPixelColor();
+
46  void test_RasterImage_getImageData();
+
47  void test_RasterImage_setImageData();
+
48 
+
49  //test Shaped-Image operations
+
50  void test_ShapedImage_drawPixel();
+
51  void test_ShapedImage_drawLine();
+
52  void test_ShapedImage_drawPoint();
+
53  void test_ShapedImage_getDisplayable();
+
54  void test_ShapedImage_setPolygon();
+
55  void test_ShapedImage_loadImage();
+
56  void test_ShapedImage_getPixelColor();
+
57  void test_ShapedImage_getImageData();
+
58  void test_ShapedImage_setImageData();
+
59 
+
60  //test painting-area tools
+
61  void test_createTool_Circle();
+
62  void test_createTool_FloodFill();
+
63  void test_createTool_Line();
+
64  void test_createTool_Pen();
+
65  void test_createTool_Plain();
+
66  void test_createTool_Polygon();
+
67  void test_createTool_Rectangle();
+
68 
+
69  //test tools
+
70  void test_Circle_fullDraw();
+
71  void test_Circle_interruptedDraw();
+
72 
+
73  void test_FloodFill_fullDraw();
+
74  void test_FloodFill_interruptedDraw();
+
75 
+
76  void test_Line_fullDraw();
+
77  void test_Line_interruptedDraw();
+
78 
+
79  void test_Pen_fullDraw();
+
80  void test_Pen_interruptedDraw();
+
81 
+
82  void test_Plain_fullDraw();
+
83  void test_Plain_interruptedDraw();
+
84 
+
85  void test_Polygon_fullDraw();
+
86  void test_Polygon_interruptedDraw();
+
87 
+
88  void test_Rectangle_fullDraw();
+
89  void test_Rectangle_interruptedDraw();
+
90 
+
91  //test Triangulation
+
92  void test_Triangulation_Coverage();
+
93 };
+
94 
+ +
96 {
+
97  char arg0[] = "programName";
+
98  char arg1[] = "arg1";
+
99  char arg2[] = "arg2";
+
100  char *argv[] = {arg0, arg1, arg2, nullptr};
+
101  int argc = sizeof(argv) / sizeof(char*) - 1;
+
102 
+
103  app = new QApplication(argc,argv);
+
104  gui = new IntelliPhotoGui();
+
105  area = gui->paintingArea;
+
106 }
+
107 
+ +
109 {
+
110 
+
111 }
+
112 
+
113 void UnitTest::initTestCase()
+
114 {
+
115 
+
116 }
+
117 
+
118 void UnitTest::cleanupTestCase()
+
119 {
+
120  delete gui;
+
121  delete app;
+
122 }
+
123 
+
124 //void UnitTest::test_case1()
+
125 //{
+
126 // QBENCHMARK {
+
127 // QVERIFY(1 == 1);
+
128 // }
+
129 //}
+
130 
+
131 //test painting area
+
132 void UnitTest::test_addLayer(){}
+
133 void UnitTest::test_deleteLayer(){}
+
134 void UnitTest::test_setActive(){}
+
135 void UnitTest::test_setAlpha(){}
+
136 void UnitTest::test_floodFill(){}
+
137 void UnitTest::test_moveActive(){}
+
138 void UnitTest::test_setPolygon(){}
+
139 void UnitTest::test_setLayerUp(){}
+
140 void UnitTest::test_setLayerDown(){}
+
141 
+
142 void UnitTest::test_createTools(){}
+
143 
+
144 //test Raster-Image operations
+
145 void UnitTest::test_RasterImage_drawPixel(){}
+
146 void UnitTest::test_RasterImage_drawLine(){}
+
147 void UnitTest::test_RasterImage_drawPoint(){}
+
148 void UnitTest::test_RasterImage_getDisplayable(){}
+
149 void UnitTest::test_RasterImage_setPolygon(){}
+
150 void UnitTest::test_RasterImage_loadImage(){}
+
151 void UnitTest::test_RasterImage_getPixelColor(){}
+
152 void UnitTest::test_RasterImage_getImageData(){}
+
153 void UnitTest::test_RasterImage_setImageData(){}
+
154 
+
155 //test Shaped-Image operations
+
156 void UnitTest::test_ShapedImage_drawPixel(){}
+
157 void UnitTest::test_ShapedImage_drawLine(){}
+
158 void UnitTest::test_ShapedImage_drawPoint(){}
+
159 void UnitTest::test_ShapedImage_getDisplayable(){}
+
160 void UnitTest::test_ShapedImage_setPolygon(){}
+
161 void UnitTest::test_ShapedImage_loadImage(){}
+
162 void UnitTest::test_ShapedImage_getPixelColor(){}
+
163 void UnitTest::test_ShapedImage_getImageData(){}
+
164 void UnitTest::test_ShapedImage_setImageData(){}
+
165 
+
166 //test painting-area tools
+
167 void UnitTest::test_createTool_Circle(){}
+
168 void UnitTest::test_createTool_FloodFill(){}
+
169 void UnitTest::test_createTool_Line(){}
+
170 void UnitTest::test_createTool_Pen(){}
+
171 void UnitTest::test_createTool_Plain(){}
+
172 void UnitTest::test_createTool_Polygon(){}
+
173 void UnitTest::test_createTool_Rectangle(){}
+
174 
+
175 //test tools
+
176 void UnitTest::test_Circle_fullDraw(){}
+
177 void UnitTest::test_Circle_interruptedDraw(){}
+
178 
+
179 void UnitTest::test_FloodFill_fullDraw(){}
+
180 void UnitTest::test_FloodFill_interruptedDraw(){}
+
181 
+
182 void UnitTest::test_Line_fullDraw(){}
+
183 void UnitTest::test_Line_interruptedDraw(){}
+
184 
+
185 void UnitTest::test_Pen_fullDraw(){}
+
186 void UnitTest::test_Pen_interruptedDraw(){}
+
187 
+
188 void UnitTest::test_Plain_fullDraw(){}
+
189 void UnitTest::test_Plain_interruptedDraw(){}
+
190 
+
191 void UnitTest::test_Polygon_fullDraw(){}
+
192 void UnitTest::test_Polygon_interruptedDraw(){}
+
193 
+
194 void UnitTest::test_Rectangle_fullDraw(){}
+
195 void UnitTest::test_Rectangle_interruptedDraw(){}
+
196 
+
197 //test Triangulation
+
198 void UnitTest::test_Triangulation_Coverage(){}
+
199 
+
200 QTEST_APPLESS_MAIN(UnitTest)
+
201 
+
202 #include "tst_unittest.moc"
+
+
+
~UnitTest()
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
UnitTest()
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
+
Definition: mainUnitTest.cpp:8
+ + + + diff --git a/docs/html/namespace_intelli_triangulation.html b/docs/html/namespace_intelli_triangulation.html index 10ec8ee..ea5d042 100644 --- a/docs/html/namespace_intelli_triangulation.html +++ b/docs/html/namespace_intelli_triangulation.html @@ -218,7 +218,7 @@ Functions
Returns
Returns true if the point is in the triangle, false otheriwse
-

Definition at line 33 of file IntelliTriangulation.h.

+

Definition at line 36 of file IntelliTriangulation.h.

@@ -273,7 +273,7 @@ Functions
Returns
Returns the area of the traingle*2
-

Definition at line 23 of file IntelliTriangulation.h.

+

Definition at line 26 of file IntelliTriangulation.h.

diff --git a/docs/html/navtreedata.js b/docs/html/navtreedata.js index 154afb6..d347af5 100644 --- a/docs/html/navtreedata.js +++ b/docs/html/navtreedata.js @@ -54,8 +54,8 @@ var NAVTREE = var NAVTREEINDEX = [ -"_intelli_color_picker_8h.html", -"class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df" +"_intelli_color_picker_8cpp.html", +"class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/docs/html/navtreeindex0.js b/docs/html/navtreeindex0.js index a421ac7..49b8dd2 100644 --- a/docs/html/navtreeindex0.js +++ b/docs/html/navtreeindex0.js @@ -1,9 +1,9 @@ var NAVTREEINDEX0 = { +"_intelli_color_picker_8cpp.html":[2,0,0,2,0], +"_intelli_color_picker_8cpp_source.html":[2,0,0,2,0], "_intelli_color_picker_8h.html":[2,0,0,2,1], "_intelli_color_picker_8h_source.html":[2,0,0,2,1], -"_intelli_helper_2_intelli_color_picker_8cpp.html":[2,0,0,2,0], -"_intelli_helper_2_intelli_color_picker_8cpp_source.html":[2,0,0,2,0], "_intelli_image_8cpp.html":[2,0,0,1,0], "_intelli_image_8cpp_source.html":[2,0,0,1,0], "_intelli_image_8h.html":[2,0,0,1,1], @@ -28,38 +28,38 @@ var NAVTREEINDEX0 = "_intelli_shaped_image_8cpp_source.html":[2,0,0,1,4], "_intelli_shaped_image_8h.html":[2,0,0,1,5], "_intelli_shaped_image_8h_source.html":[2,0,0,1,5], -"_intelli_tool_8cpp.html":[2,0,0,4,1], -"_intelli_tool_8cpp_source.html":[2,0,0,4,1], -"_intelli_tool_8h.html":[2,0,0,4,2], -"_intelli_tool_8h_source.html":[2,0,0,4,2], -"_intelli_tool_circle_8cpp.html":[2,0,0,4,3], -"_intelli_tool_circle_8cpp_source.html":[2,0,0,4,3], -"_intelli_tool_circle_8h.html":[2,0,0,4,4], -"_intelli_tool_circle_8h_source.html":[2,0,0,4,4], -"_intelli_tool_flood_fill_8cpp.html":[2,0,0,4,5], -"_intelli_tool_flood_fill_8cpp_source.html":[2,0,0,4,5], -"_intelli_tool_flood_fill_8h.html":[2,0,0,4,6], -"_intelli_tool_flood_fill_8h_source.html":[2,0,0,4,6], -"_intelli_tool_line_8cpp.html":[2,0,0,4,7], -"_intelli_tool_line_8cpp_source.html":[2,0,0,4,7], -"_intelli_tool_line_8h.html":[2,0,0,4,8], -"_intelli_tool_line_8h_source.html":[2,0,0,4,8], -"_intelli_tool_pen_8cpp.html":[2,0,0,4,9], -"_intelli_tool_pen_8cpp_source.html":[2,0,0,4,9], -"_intelli_tool_pen_8h.html":[2,0,0,4,10], -"_intelli_tool_pen_8h_source.html":[2,0,0,4,10], -"_intelli_tool_plain_8cpp.html":[2,0,0,4,11], -"_intelli_tool_plain_8cpp_source.html":[2,0,0,4,11], -"_intelli_tool_plain_8h.html":[2,0,0,4,12], -"_intelli_tool_plain_8h_source.html":[2,0,0,4,12], -"_intelli_tool_polygon_8cpp.html":[2,0,0,4,13], -"_intelli_tool_polygon_8cpp_source.html":[2,0,0,4,13], -"_intelli_tool_polygon_8h.html":[2,0,0,4,14], -"_intelli_tool_polygon_8h_source.html":[2,0,0,4,14], -"_intelli_tool_rectangle_8cpp.html":[2,0,0,4,15], -"_intelli_tool_rectangle_8cpp_source.html":[2,0,0,4,15], -"_intelli_tool_rectangle_8h.html":[2,0,0,4,16], -"_intelli_tool_rectangle_8h_source.html":[2,0,0,4,16], +"_intelli_tool_8cpp.html":[2,0,0,4,0], +"_intelli_tool_8cpp_source.html":[2,0,0,4,0], +"_intelli_tool_8h.html":[2,0,0,4,1], +"_intelli_tool_8h_source.html":[2,0,0,4,1], +"_intelli_tool_circle_8cpp.html":[2,0,0,4,2], +"_intelli_tool_circle_8cpp_source.html":[2,0,0,4,2], +"_intelli_tool_circle_8h.html":[2,0,0,4,3], +"_intelli_tool_circle_8h_source.html":[2,0,0,4,3], +"_intelli_tool_flood_fill_8cpp.html":[2,0,0,4,4], +"_intelli_tool_flood_fill_8cpp_source.html":[2,0,0,4,4], +"_intelli_tool_flood_fill_8h.html":[2,0,0,4,5], +"_intelli_tool_flood_fill_8h_source.html":[2,0,0,4,5], +"_intelli_tool_line_8cpp.html":[2,0,0,4,6], +"_intelli_tool_line_8cpp_source.html":[2,0,0,4,6], +"_intelli_tool_line_8h.html":[2,0,0,4,7], +"_intelli_tool_line_8h_source.html":[2,0,0,4,7], +"_intelli_tool_pen_8cpp.html":[2,0,0,4,8], +"_intelli_tool_pen_8cpp_source.html":[2,0,0,4,8], +"_intelli_tool_pen_8h.html":[2,0,0,4,9], +"_intelli_tool_pen_8h_source.html":[2,0,0,4,9], +"_intelli_tool_plain_8cpp.html":[2,0,0,4,10], +"_intelli_tool_plain_8cpp_source.html":[2,0,0,4,10], +"_intelli_tool_plain_8h.html":[2,0,0,4,11], +"_intelli_tool_plain_8h_source.html":[2,0,0,4,11], +"_intelli_tool_polygon_8cpp.html":[2,0,0,4,12], +"_intelli_tool_polygon_8cpp_source.html":[2,0,0,4,12], +"_intelli_tool_polygon_8h.html":[2,0,0,4,13], +"_intelli_tool_polygon_8h_source.html":[2,0,0,4,13], +"_intelli_tool_rectangle_8cpp.html":[2,0,0,4,14], +"_intelli_tool_rectangle_8cpp_source.html":[2,0,0,4,14], +"_intelli_tool_rectangle_8h.html":[2,0,0,4,15], +"_intelli_tool_rectangle_8h_source.html":[2,0,0,4,15], "_intelli_toolsettings_8cpp.html":[2,0,0,2,4], "_intelli_toolsettings_8cpp_source.html":[2,0,0,2,4], "_intelli_toolsettings_8h.html":[2,0,0,2,5], @@ -77,8 +77,6 @@ var NAVTREEINDEX0 = "_painting_area_8cpp_source.html":[2,0,0,3,0], "_painting_area_8h.html":[2,0,0,3,1], "_painting_area_8h_source.html":[2,0,0,3,1], -"_tool_2_intelli_color_picker_8cpp.html":[2,0,0,4,0], -"_tool_2_intelli_color_picker_8cpp_source.html":[2,0,0,4,0], "annotated.html":[1,0], "class_intelli_color_picker.html":[1,0,0], "class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae":[1,0,0,0], @@ -249,5 +247,7 @@ var NAVTREEINDEX0 = "class_painting_area.html#a24280454ebb80db7feba2fd621513353":[1,0,17,20], "class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466":[1,0,17,7], "class_painting_area.html#a35b5df914acb608cc29717659793359c":[1,0,17,26], -"class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,17,11] +"class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,17,11], +"class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df":[1,0,17,4], +"class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,17,30] }; diff --git a/docs/html/navtreeindex1.js b/docs/html/navtreeindex1.js index 7608701..37e2e48 100644 --- a/docs/html/navtreeindex1.js +++ b/docs/html/navtreeindex1.js @@ -1,7 +1,5 @@ var NAVTREEINDEX1 = { -"class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df":[1,0,17,4], -"class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,17,30], "class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423":[1,0,17,16], "class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460":[1,0,17,0], "class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd":[1,0,17,13], @@ -33,6 +31,11 @@ var NAVTREEINDEX1 = "class_painting_area.html#ae261acaaa346610dfed489dbac17e789":[1,0,17,5], "class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead":[1,0,17,22], "class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8":[1,0,17,19], +"class_unit_test.html":[1,0,19], +"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,19,0], +"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,19,2], +"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,19,1], +"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,19,3], "classes.html":[1,1], "dir_13830bfc3dd6736fe878600c9081919f.html":[2,0,0,3], "dir_4e4e2e75df7fa6971448b424c011c8b5.html":[2,0,0,0], @@ -53,6 +56,8 @@ var NAVTREEINDEX1 = "main_8cpp.html":[2,0,0,5], "main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97":[2,0,0,5,0], "main_8cpp_source.html":[2,0,0,5], +"main_unit_test_8cpp.html":[2,0,0,6], +"main_unit_test_8cpp_source.html":[2,0,0,6], "namespace_intelli_triangulation.html":[0,0,0], "namespacemembers.html":[0,1,0], "namespacemembers_func.html":[0,1,1], @@ -68,5 +73,7 @@ var NAVTREEINDEX1 = "struct_triangle.html":[1,0,18], "struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b":[1,0,18,0], "struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7":[1,0,18,1], -"struct_triangle.html#addb8aaab314d79f3617acca01e12872a":[1,0,18,2] +"struct_triangle.html#addb8aaab314d79f3617acca01e12872a":[1,0,18,2], +"tst__unittest_8cpp.html":[2,0,0,7], +"tst__unittest_8cpp_source.html":[2,0,0,7] }; diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index 5c3fd99..c478149 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -1,6 +1,6 @@ var searchData= [ - ['wheelevent_169',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], - ['width_170',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_171',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['wheelevent_172',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], + ['width_173',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_174',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js index d23bbcf..e5b1ebc 100644 --- a/docs/html/search/all_11.js +++ b/docs/html/search/all_11.js @@ -1,17 +1,18 @@ var searchData= [ - ['_7eintellicolorpicker_172',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_173',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_174',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_175',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_176',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_177',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_178',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolline_179',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_180',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_181',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolpolygon_182',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], - ['_7eintellitoolrectangle_183',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7eintellitoolsettings_184',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], - ['_7epaintingarea_185',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]] + ['_7eintellicolorpicker_175',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_176',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_177',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_178',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_179',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_180',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_181',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolline_182',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_183',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_184',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_185',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_186',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_187',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_188',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_189',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] ]; diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index ba1df0a..da51913 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -4,7 +4,7 @@ var searchData= ['imagedata_57',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], ['imagetype_58',['ImageType',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e',1,'IntelliImage']]], ['intellicolorpicker_59',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], - ['intellicolorpicker_2ecpp_60',['IntelliColorPicker.cpp',['../_intelli_helper_2_intelli_color_picker_8cpp.html',1,'(Global Namespace)'],['../_tool_2_intelli_color_picker_8cpp.html',1,'(Global Namespace)']]], + ['intellicolorpicker_2ecpp_60',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], ['intellicolorpicker_2eh_61',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], ['intelliimage_62',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage::IntelliImage()']]], ['intelliimage_2ecpp_63',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index 159fcbd..9276f07 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -2,9 +2,10 @@ var searchData= [ ['main_117',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], ['main_2ecpp_118',['main.cpp',['../main_8cpp.html',1,'']]], - ['mousemoveevent_119',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_120',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_121',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_122',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_123',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['mainunittest_2ecpp_119',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]], + ['mousemoveevent_120',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_121',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_122',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_123',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_124',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js index 19151ca..2178336 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_124',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], - ['onmouseleftreleased_125',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], - ['onmousemoved_126',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], - ['onmouserightpressed_127',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], - ['onmouserightreleased_128',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], - ['onwheelscrolled_129',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], - ['open_130',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] + ['onmouseleftpressed_125',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_126',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_127',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_128',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_129',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_130',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_131',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 7d7b8b7..5271c89 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,12 +1,12 @@ var searchData= [ - ['paintevent_131',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_132',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], - ['paintingarea_2ecpp_133',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_134',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], - ['pen_135',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], - ['pi_136',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], - ['plain_137',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], - ['polygon_138',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], - ['polygondata_139',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['paintevent_132',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_133',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], + ['paintingarea_2ecpp_134',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_135',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], + ['pen_136',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['pi_137',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], + ['plain_138',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_139',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], + ['polygondata_140',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] ]; diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index ca661e9..dc3c2ae 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,7 +1,7 @@ var searchData= [ - ['rasterimage_140',['RASTERIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage']]], - ['rectangle_141',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], - ['resizeevent_142',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], - ['resizeimage_143',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['rasterimage_141',['RASTERIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage']]], + ['rectangle_142',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], + ['resizeevent_143',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], + ['resizeimage_144',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index 4c8b128..fa7e83c 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,22 +1,22 @@ var searchData= [ - ['save_144',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], - ['setfastrendering_145',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], - ['setfirstcolor_146',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setimagedata_147',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], - ['setinneralpha_148',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], - ['setlayeractive_149',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], - ['setlayeralpha_150',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], - ['setlinewidth_151',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], - ['setpolygon_152',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], - ['setrendersettings_153',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], - ['setsecondcolor_154',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['settoolwidth_155',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], - ['shapedimage_156',['SHAPEDIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37',1,'IntelliImage']]], - ['sign_157',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], - ['slotactivatelayer_158',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotcloseevent_159',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], - ['slotdeleteactivelayer_160',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['sloteingabe_161',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], - ['swapcolors_162',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] + ['save_145',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['setfastrendering_146',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_147',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_148',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_149',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_150',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_151',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_152',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_153',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setrendersettings_154',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_155',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_156',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['shapedimage_157',['SHAPEDIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37',1,'IntelliImage']]], + ['sign_158',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_159',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_160',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_161',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_162',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_163',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index b6ea8eb..9dc44e7 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,7 +1,8 @@ var searchData= [ - ['toolsettings_163',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], - ['tooltype_164',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], - ['triangle_165',['Triangle',['../struct_triangle.html',1,'']]], - ['typeofimage_166',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] + ['toolsettings_164',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['tooltype_165',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], + ['triangle_166',['Triangle',['../struct_triangle.html',1,'']]], + ['tst_5funittest_2ecpp_167',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]], + ['typeofimage_168',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index 927af63..c04840d 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,5 +1,6 @@ var searchData= [ - ['updategui_167',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], - ['updaterenderersetting_168',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] + ['unittest_169',['UnitTest',['../class_unit_test.html',1,'UnitTest'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_170',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_171',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js index 2af9c60..fdc09c0 100644 --- a/docs/html/search/classes_0.js +++ b/docs/html/search/classes_0.js @@ -1,19 +1,19 @@ var searchData= [ - ['intellicolorpicker_186',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], - ['intelliimage_187',['IntelliImage',['../class_intelli_image.html',1,'']]], - ['intelliinputdialog_188',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], - ['intelliphotogui_189',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], - ['intellirasterimage_190',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], - ['intellirendersettings_191',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], - ['intellishapedimage_192',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], - ['intellitool_193',['IntelliTool',['../class_intelli_tool.html',1,'']]], - ['intellitoolcircle_194',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], - ['intellitoolfloodfill_195',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], - ['intellitoolline_196',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], - ['intellitoolpen_197',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], - ['intellitoolplaintool_198',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], - ['intellitoolpolygon_199',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], - ['intellitoolrectangle_200',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], - ['intellitoolsettings_201',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] + ['intellicolorpicker_190',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], + ['intelliimage_191',['IntelliImage',['../class_intelli_image.html',1,'']]], + ['intelliinputdialog_192',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], + ['intelliphotogui_193',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], + ['intellirasterimage_194',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], + ['intellirendersettings_195',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], + ['intellishapedimage_196',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], + ['intellitool_197',['IntelliTool',['../class_intelli_tool.html',1,'']]], + ['intellitoolcircle_198',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], + ['intellitoolfloodfill_199',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], + ['intellitoolline_200',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], + ['intellitoolpen_201',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], + ['intellitoolplaintool_202',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], + ['intellitoolpolygon_203',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], + ['intellitoolrectangle_204',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], + ['intellitoolsettings_205',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] ]; diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js index bc6e0b8..3dc67ba 100644 --- a/docs/html/search/classes_1.js +++ b/docs/html/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['layerobject_202',['LayerObject',['../struct_layer_object.html',1,'']]] + ['layerobject_206',['LayerObject',['../struct_layer_object.html',1,'']]] ]; diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js index 4f740c2..77f270c 100644 --- a/docs/html/search/classes_2.js +++ b/docs/html/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['paintingarea_203',['PaintingArea',['../class_painting_area.html',1,'']]] + ['paintingarea_207',['PaintingArea',['../class_painting_area.html',1,'']]] ]; diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js index 9da43d3..8e64488 100644 --- a/docs/html/search/classes_3.js +++ b/docs/html/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['triangle_204',['Triangle',['../struct_triangle.html',1,'']]] + ['triangle_208',['Triangle',['../struct_triangle.html',1,'']]] ]; diff --git a/docs/html/search/classes_4.html b/docs/html/search/classes_4.html new file mode 100644 index 0000000..095ab59 --- /dev/null +++ b/docs/html/search/classes_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/html/search/classes_4.js b/docs/html/search/classes_4.js new file mode 100644 index 0000000..a01181e --- /dev/null +++ b/docs/html/search/classes_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['unittest_209',['UnitTest',['../class_unit_test.html',1,'']]] +]; diff --git a/docs/html/search/defines_0.js b/docs/html/search/defines_0.js index ab1a8f1..51788b0 100644 --- a/docs/html/search/defines_0.js +++ b/docs/html/search/defines_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['pi_388',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] + ['pi_397',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] ]; diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js index f56fc35..5df6bbf 100644 --- a/docs/html/search/enums_0.js +++ b/docs/html/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['imagetype_377',['ImageType',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e',1,'IntelliImage']]] + ['imagetype_386',['ImageType',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680e',1,'IntelliImage']]] ]; diff --git a/docs/html/search/enums_1.js b/docs/html/search/enums_1.js index 61bfe2e..b2eaa58 100644 --- a/docs/html/search/enums_1.js +++ b/docs/html/search/enums_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['tooltype_378',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] + ['tooltype_387',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_0.js b/docs/html/search/enumvalues_0.js index c10f52d..79025de 100644 --- a/docs/html/search/enumvalues_0.js +++ b/docs/html/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['circle_379',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] + ['circle_388',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_1.js b/docs/html/search/enumvalues_1.js index 57b1da8..61de8b1 100644 --- a/docs/html/search/enumvalues_1.js +++ b/docs/html/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['floodfill_380',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] + ['floodfill_389',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_2.js b/docs/html/search/enumvalues_2.js index 06c858c..7d5dc9e 100644 --- a/docs/html/search/enumvalues_2.js +++ b/docs/html/search/enumvalues_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['line_381',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] + ['line_390',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_3.js b/docs/html/search/enumvalues_3.js index 3f68a49..92b44e4 100644 --- a/docs/html/search/enumvalues_3.js +++ b/docs/html/search/enumvalues_3.js @@ -1,6 +1,6 @@ var searchData= [ - ['pen_382',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], - ['plain_383',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], - ['polygon_384',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] + ['pen_391',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['plain_392',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_393',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_4.js b/docs/html/search/enumvalues_4.js index cd86a8a..31b7d8d 100644 --- a/docs/html/search/enumvalues_4.js +++ b/docs/html/search/enumvalues_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['rasterimage_385',['RASTERIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage']]], - ['rectangle_386',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] + ['rasterimage_394',['RASTERIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eadd5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage']]], + ['rectangle_395',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_5.js b/docs/html/search/enumvalues_5.js index f603ae9..b7988e0 100644 --- a/docs/html/search/enumvalues_5.js +++ b/docs/html/search/enumvalues_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['shapedimage_387',['SHAPEDIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37',1,'IntelliImage']]] + ['shapedimage_396',['SHAPEDIMAGE',['../class_intelli_image.html#a5274ce9fcdcb2659c148e7ff916b680eac065b60ec4cf443808263527bdc0df37',1,'IntelliImage']]] ]; diff --git a/docs/html/search/files_0.js b/docs/html/search/files_0.js index 3e58c14..28002b1 100644 --- a/docs/html/search/files_0.js +++ b/docs/html/search/files_0.js @@ -1,37 +1,37 @@ var searchData= [ - ['intellicolorpicker_2ecpp_206',['IntelliColorPicker.cpp',['../_intelli_helper_2_intelli_color_picker_8cpp.html',1,'(Global Namespace)'],['../_tool_2_intelli_color_picker_8cpp.html',1,'(Global Namespace)']]], - ['intellicolorpicker_2eh_207',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intelliimage_2ecpp_208',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_209',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliinputdialog_2ecpp_210',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], - ['intelliinputdialog_2eh_211',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], - ['intelliphotogui_2ecpp_212',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_213',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_2ecpp_214',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_215',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellirendersettings_2ecpp_216',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], - ['intellirendersettings_2eh_217',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], - ['intellishapedimage_2ecpp_218',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_219',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_2ecpp_220',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_221',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_2ecpp_222',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_223',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_2ecpp_224',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_225',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolline_2ecpp_226',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_227',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_2ecpp_228',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_229',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_230',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_231',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolpolygon_2ecpp_232',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_233',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_2ecpp_234',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_235',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], - ['intellitoolsettings_2ecpp_236',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], - ['intellitoolsettings_2eh_237',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], - ['intellitriangulation_2ecpp_238',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], - ['intellitriangulation_2eh_239',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] + ['intellicolorpicker_2ecpp_211',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_212',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intelliimage_2ecpp_213',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_214',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_2ecpp_215',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_216',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_2ecpp_217',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_218',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_2ecpp_219',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_220',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_2ecpp_221',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_222',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_2ecpp_223',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_224',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_2ecpp_225',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_226',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_2ecpp_227',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_228',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_2ecpp_229',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_230',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolline_2ecpp_231',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_232',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_2ecpp_233',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_234',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_235',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_236',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolpolygon_2ecpp_237',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_238',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_2ecpp_239',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_240',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_2ecpp_241',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_242',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_2ecpp_243',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_244',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_1.js b/docs/html/search/files_1.js index 12f1a9c..c3bff03 100644 --- a/docs/html/search/files_1.js +++ b/docs/html/search/files_1.js @@ -1,4 +1,5 @@ var searchData= [ - ['main_2ecpp_240',['main.cpp',['../main_8cpp.html',1,'']]] + ['main_2ecpp_245',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_246',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]] ]; diff --git a/docs/html/search/files_2.js b/docs/html/search/files_2.js index 5e8e35d..0fa739d 100644 --- a/docs/html/search/files_2.js +++ b/docs/html/search/files_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintingarea_2ecpp_241',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_242',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] + ['paintingarea_2ecpp_247',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_248',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_3.html b/docs/html/search/files_3.html new file mode 100644 index 0000000..1076bc5 --- /dev/null +++ b/docs/html/search/files_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/html/search/files_3.js b/docs/html/search/files_3.js new file mode 100644 index 0000000..18e7b0d --- /dev/null +++ b/docs/html/search/files_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tst_5funittest_2ecpp_249',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]] +]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index 441ec99..0aeb97c 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['addlayer_243',['addLayer',['../class_painting_area.html#a6e9207612cef104d39013564696fe989',1,'PaintingArea']]], - ['addlayerat_244',['addLayerAt',['../class_painting_area.html#ab4a0b3a497ea8821a045ad12c34bd980',1,'PaintingArea']]] + ['addlayer_250',['addLayer',['../class_painting_area.html#a6e9207612cef104d39013564696fe989',1,'PaintingArea']]], + ['addlayerat_251',['addLayerAt',['../class_painting_area.html#ab4a0b3a497ea8821a045ad12c34bd980',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js index fe6b394..f37c11c 100644 --- a/docs/html/search/functions_1.js +++ b/docs/html/search/functions_1.js @@ -1,16 +1,16 @@ var searchData= [ - ['calculatetriangles_245',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], - ['calculatevisiblity_246',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], - ['closeevent_247',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], - ['colorpickersetfirstcolor_248',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], - ['colorpickersetsecondcolor_249',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], - ['colorpickerswapcolors_250',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], - ['createcircletool_251',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], - ['createfloodfilltool_252',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], - ['createlinetool_253',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_254',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_255',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], - ['createpolygontool_256',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], - ['createrectangletool_257',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] + ['calculatetriangles_252',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], + ['calculatevisiblity_253',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], + ['closeevent_254',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], + ['colorpickersetfirstcolor_255',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], + ['colorpickersetsecondcolor_256',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], + ['colorpickerswapcolors_257',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], + ['createcircletool_258',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_259',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['createlinetool_260',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_261',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_262',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_263',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_264',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js index a30b8ed..fa94b3d 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -1,8 +1,8 @@ var searchData= [ - ['deletelayer_258',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], - ['drawline_259',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_260',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawplain_261',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_262',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletelayer_265',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_266',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_267',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawplain_268',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_269',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js index 1d3e8b7..46edeb3 100644 --- a/docs/html/search/functions_3.js +++ b/docs/html/search/functions_3.js @@ -1,25 +1,25 @@ var searchData= [ - ['getdeepcopy_263',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], - ['getdisplayable_264',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], - ['getfirstcolor_265',['getFirstColor',['../class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7',1,'IntelliColorPicker']]], - ['getheightofactive_266',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], - ['getimagedata_267',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], - ['getimagedataofactivelayer_268',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], - ['getimageofactivelayer_269',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], - ['getinneralpha_270',['getInnerAlpha',['../class_intelli_toolsettings.html#a7d6ce2054ec4bcba7629dc2b514b6b5c',1,'IntelliToolsettings']]], - ['getint_271',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], - ['getisdrawing_272',['getIsDrawing',['../class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb',1,'IntelliTool']]], - ['getlinewidth_273',['getLineWidth',['../class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a',1,'IntelliToolsettings']]], - ['getmaxheight_274',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], - ['getmaxwidth_275',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], - ['getnumberofactivelayer_276',['getNumberOfActiveLayer',['../class_painting_area.html#a24280454ebb80db7feba2fd621513353',1,'PaintingArea']]], - ['getpixelcolor_277',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygondata_278',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getpolygondataofreallayer_279',['getPolygonDataOfRealLayer',['../class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90',1,'PaintingArea']]], - ['getsecondcolor_280',['getSecondColor',['../class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415',1,'IntelliColorPicker']]], - ['gettooltype_281',['getTooltype',['../class_intelli_tool.html#aae2a11c5bae4973ed827c60e0c1352b1',1,'IntelliTool']]], - ['gettypeofimage_282',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], - ['gettypeofimagereallayer_283',['getTypeOfImageRealLayer',['../class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead',1,'PaintingArea']]], - ['getwidthofactive_284',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] + ['getdeepcopy_270',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_271',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_272',['getFirstColor',['../class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7',1,'IntelliColorPicker']]], + ['getheightofactive_273',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_274',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_275',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_276',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getinneralpha_277',['getInnerAlpha',['../class_intelli_toolsettings.html#a7d6ce2054ec4bcba7629dc2b514b6b5c',1,'IntelliToolsettings']]], + ['getint_278',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_279',['getIsDrawing',['../class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb',1,'IntelliTool']]], + ['getlinewidth_280',['getLineWidth',['../class_intelli_toolsettings.html#a68528dd3bad8f39ba19fa6b12a4e415a',1,'IntelliToolsettings']]], + ['getmaxheight_281',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_282',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getnumberofactivelayer_283',['getNumberOfActiveLayer',['../class_painting_area.html#a24280454ebb80db7feba2fd621513353',1,'PaintingArea']]], + ['getpixelcolor_284',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygondata_285',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofreallayer_286',['getPolygonDataOfRealLayer',['../class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90',1,'PaintingArea']]], + ['getsecondcolor_287',['getSecondColor',['../class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415',1,'IntelliColorPicker']]], + ['gettooltype_288',['getTooltype',['../class_intelli_tool.html#aae2a11c5bae4973ed827c60e0c1352b1',1,'IntelliTool']]], + ['gettypeofimage_289',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimagereallayer_290',['getTypeOfImageRealLayer',['../class_painting_area.html#ae92b27dfd09573c224d2ae1958d3bead',1,'PaintingArea']]], + ['getwidthofactive_291',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js index 03a6d77..959b7f5 100644 --- a/docs/html/search/functions_4.js +++ b/docs/html/search/functions_4.js @@ -1,22 +1,22 @@ var searchData= [ - ['intellicolorpicker_285',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], - ['intelliimage_286',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], - ['intelliinputdialog_287',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], - ['intelliphotogui_288',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], - ['intellirasterimage_289',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], - ['intellirendersettings_290',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], - ['intellishapedimage_291',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], - ['intellitool_292',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], - ['intellitoolcircle_293',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], - ['intellitoolfloodfill_294',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], - ['intellitoolline_295',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], - ['intellitoolpen_296',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], - ['intellitoolplaintool_297',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], - ['intellitoolpolygon_298',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], - ['intellitoolrectangle_299',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], - ['intellitoolsettings_300',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], - ['isfastrenderering_301',['isFastRenderering',['../class_intelli_render_settings.html#a5d0eb9a5a3bf788dd87509386dea8dcd',1,'IntelliRenderSettings']]], - ['isinpolygon_302',['isInPolygon',['../namespace_intelli_triangulation.html#a00621e2d8708fe2e8966d7d79b64e186',1,'IntelliTriangulation']]], - ['isintriangle_303',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] + ['intellicolorpicker_292',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], + ['intelliimage_293',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], + ['intelliinputdialog_294',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], + ['intelliphotogui_295',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], + ['intellirasterimage_296',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], + ['intellirendersettings_297',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], + ['intellishapedimage_298',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], + ['intellitool_299',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], + ['intellitoolcircle_300',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], + ['intellitoolfloodfill_301',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], + ['intellitoolline_302',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], + ['intellitoolpen_303',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], + ['intellitoolplaintool_304',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], + ['intellitoolpolygon_305',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], + ['intellitoolrectangle_306',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], + ['intellitoolsettings_307',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], + ['isfastrenderering_308',['isFastRenderering',['../class_intelli_render_settings.html#a5d0eb9a5a3bf788dd87509386dea8dcd',1,'IntelliRenderSettings']]], + ['isinpolygon_309',['isInPolygon',['../namespace_intelli_triangulation.html#a00621e2d8708fe2e8966d7d79b64e186',1,'IntelliTriangulation']]], + ['isintriangle_310',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] ]; diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js index 9a58991..7c550e9 100644 --- a/docs/html/search/functions_5.js +++ b/docs/html/search/functions_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['loadimage_304',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]] + ['loadimage_311',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index d9b6206..05e60ef 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,9 +1,9 @@ var searchData= [ - ['main_305',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['mousemoveevent_306',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_307',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_308',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_309',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_310',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_312',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['mousemoveevent_313',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_314',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_315',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_316',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_317',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js index d522fff..176d04b 100644 --- a/docs/html/search/functions_7.js +++ b/docs/html/search/functions_7.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_311',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], - ['onmouseleftreleased_312',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], - ['onmousemoved_313',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], - ['onmouserightpressed_314',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], - ['onmouserightreleased_315',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], - ['onwheelscrolled_316',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], - ['open_317',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] + ['onmouseleftpressed_318',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_319',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_320',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_321',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_322',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_323',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_324',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js index 1069c92..990e950 100644 --- a/docs/html/search/functions_8.js +++ b/docs/html/search/functions_8.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintevent_318',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_319',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] + ['paintevent_325',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_326',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index f427352..1615c64 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,5 +1,5 @@ var searchData= [ - ['resizeevent_320',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], - ['resizeimage_321',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['resizeevent_327',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], + ['resizeimage_328',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js index c878f47..513ad94 100644 --- a/docs/html/search/functions_a.js +++ b/docs/html/search/functions_a.js @@ -1,21 +1,21 @@ var searchData= [ - ['save_322',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], - ['setfastrendering_323',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], - ['setfirstcolor_324',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setimagedata_325',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], - ['setinneralpha_326',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], - ['setlayeractive_327',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], - ['setlayeralpha_328',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], - ['setlinewidth_329',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], - ['setpolygon_330',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], - ['setrendersettings_331',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], - ['setsecondcolor_332',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['settoolwidth_333',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], - ['sign_334',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], - ['slotactivatelayer_335',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotcloseevent_336',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], - ['slotdeleteactivelayer_337',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['sloteingabe_338',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], - ['swapcolors_339',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] + ['save_329',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['setfastrendering_330',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_331',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_332',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_333',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_334',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_335',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_336',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_337',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setrendersettings_338',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_339',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_340',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['sign_341',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_342',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_343',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_344',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_345',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_346',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index c3b5fa4..91445d2 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -1,5 +1,6 @@ var searchData= [ - ['updategui_340',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], - ['updaterenderersetting_341',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] + ['unittest_347',['UnitTest',['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_348',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_349',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js index 959d316..686df1e 100644 --- a/docs/html/search/functions_c.js +++ b/docs/html/search/functions_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['wheelevent_342',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] + ['wheelevent_350',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js index 673dd9a..0bc346e 100644 --- a/docs/html/search/functions_d.js +++ b/docs/html/search/functions_d.js @@ -1,17 +1,18 @@ var searchData= [ - ['_7eintellicolorpicker_343',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_344',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_345',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_346',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_347',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_348',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_349',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolline_350',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_351',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_352',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolpolygon_353',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], - ['_7eintellitoolrectangle_354',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7eintellitoolsettings_355',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], - ['_7epaintingarea_356',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]] + ['_7eintellicolorpicker_351',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_352',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_353',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_354',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_355',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_356',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_357',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolline_358',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_359',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_360',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_361',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_362',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_363',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_364',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_365',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] ]; diff --git a/docs/html/search/namespaces_0.js b/docs/html/search/namespaces_0.js index 04939a0..a9bc87f 100644 --- a/docs/html/search/namespaces_0.js +++ b/docs/html/search/namespaces_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['intellitriangulation_205',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] + ['intellitriangulation_210',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] ]; diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js index 68e88af..43635c5 100644 --- a/docs/html/search/searchdata.js +++ b/docs/html/search/searchdata.js @@ -1,9 +1,9 @@ var indexSectionsWithContent = { 0: "abcdfghilmoprstuw~", - 1: "ilpt", + 1: "ilptu", 2: "i", - 3: "imp", + 3: "impt", 4: "acdgilmoprsuw~", 5: "abcfhiptw", 6: "it", diff --git a/docs/html/search/variables_0.js b/docs/html/search/variables_0.js index 60bc340..27906d5 100644 --- a/docs/html/search/variables_0.js +++ b/docs/html/search/variables_0.js @@ -1,8 +1,8 @@ var searchData= [ - ['a_357',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], - ['activelayer_358',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], - ['activetype_359',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], - ['alpha_360',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], - ['area_361',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] + ['a_366',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], + ['activelayer_367',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], + ['activetype_368',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], + ['alpha_369',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], + ['area_370',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_1.js b/docs/html/search/variables_1.js index db4af2b..f1630c4 100644 --- a/docs/html/search/variables_1.js +++ b/docs/html/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['b_362',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] + ['b_371',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] ]; diff --git a/docs/html/search/variables_2.js b/docs/html/search/variables_2.js index acab1a0..0230af2 100644 --- a/docs/html/search/variables_2.js +++ b/docs/html/search/variables_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['c_363',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], - ['canvas_364',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], - ['colorpicker_365',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] + ['c_372',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], + ['canvas_373',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], + ['colorpicker_374',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] ]; diff --git a/docs/html/search/variables_3.js b/docs/html/search/variables_3.js index e29f1aa..389024f 100644 --- a/docs/html/search/variables_3.js +++ b/docs/html/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['fastrenderering_366',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] + ['fastrenderering_375',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_4.js b/docs/html/search/variables_4.js index 1e3f048..096c756 100644 --- a/docs/html/search/variables_4.js +++ b/docs/html/search/variables_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['height_367',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], - ['heightoffset_368',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] + ['height_376',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_377',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] ]; diff --git a/docs/html/search/variables_5.js b/docs/html/search/variables_5.js index eb4f386..cd257ab 100644 --- a/docs/html/search/variables_5.js +++ b/docs/html/search/variables_5.js @@ -1,6 +1,6 @@ var searchData= [ - ['image_369',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_370',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], - ['isdrawing_371',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] + ['image_378',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_379',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['isdrawing_380',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_6.js b/docs/html/search/variables_6.js index 6a1cab9..1cfc5e5 100644 --- a/docs/html/search/variables_6.js +++ b/docs/html/search/variables_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['polygondata_372',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['polygondata_381',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] ]; diff --git a/docs/html/search/variables_7.js b/docs/html/search/variables_7.js index 7275765..ee88f95 100644 --- a/docs/html/search/variables_7.js +++ b/docs/html/search/variables_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['toolsettings_373',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], - ['typeofimage_374',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] + ['toolsettings_382',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['typeofimage_383',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_8.js b/docs/html/search/variables_8.js index f119ac1..d14ebf9 100644 --- a/docs/html/search/variables_8.js +++ b/docs/html/search/variables_8.js @@ -1,5 +1,5 @@ var searchData= [ - ['width_375',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_376',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['width_384',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_385',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/struct_layer_object.html b/docs/html/struct_layer_object.html index daba37d..05f0cb1 100644 --- a/docs/html/struct_layer_object.html +++ b/docs/html/struct_layer_object.html @@ -98,32 +98,28 @@ $(document).ready(function(){initNavTree('struct_layer_object.html',''); initRes

Public Attributes

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

Detailed Description

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

-
Parameters
- - - - - - -
width- Stores the width of a layer in pixels
height- Stores the height of a layer in pixels
alpha- Stores the alpha value of the layer (default=255)
widthOffset- Stores the number of pixles from the left side of the painting area
heightOffset- Stores the number of pixles from the top of the painting area
-
-
-

Definition at line 25 of file PaintingArea.h.

+

Definition at line 23 of file PaintingArea.h.

Member Data Documentation

◆ alpha

@@ -137,7 +133,9 @@ Public Attributes
-

Definition at line 31 of file PaintingArea.h.

+

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

+ +

Definition at line 47 of file PaintingArea.h.

@@ -153,7 +151,9 @@ Public Attributes
-

Definition at line 28 of file PaintingArea.h.

+

height - Stores the height of a layer in pixels.

+ +

Definition at line 35 of file PaintingArea.h.

@@ -169,7 +169,9 @@ Public Attributes
-

Definition at line 30 of file PaintingArea.h.

+

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

+ +

Definition at line 43 of file PaintingArea.h.

@@ -185,7 +187,9 @@ Public Attributes
-

Definition at line 26 of file PaintingArea.h.

+

image - Stores the imageData of the current LayerObject.

+ +

Definition at line 27 of file PaintingArea.h.

@@ -201,7 +205,9 @@ Public Attributes
-

Definition at line 27 of file PaintingArea.h.

+

width - Stores the width of a layer in pixels.

+ +

Definition at line 31 of file PaintingArea.h.

@@ -217,7 +223,9 @@ Public Attributes
-

Definition at line 29 of file PaintingArea.h.

+

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

+ +

Definition at line 39 of file PaintingArea.h.

diff --git a/docs/html/struct_triangle.html b/docs/html/struct_triangle.html index b07f1d8..46b4d8e 100644 --- a/docs/html/struct_triangle.html +++ b/docs/html/struct_triangle.html @@ -107,7 +107,7 @@ Public Attributes

Detailed Description

The Triangle struct holds the 3 vertices of a triangle.

-

Definition at line 10 of file IntelliTriangulation.h.

+

Definition at line 13 of file IntelliTriangulation.h.

Member Data Documentation

◆ A

@@ -121,7 +121,7 @@ Public Attributes
-

Definition at line 11 of file IntelliTriangulation.h.

+

Definition at line 14 of file IntelliTriangulation.h.

@@ -137,7 +137,7 @@ Public Attributes
-

Definition at line 11 of file IntelliTriangulation.h.

+

Definition at line 14 of file IntelliTriangulation.h.

@@ -153,7 +153,7 @@ Public Attributes
-

Definition at line 11 of file IntelliTriangulation.h.

+

Definition at line 14 of file IntelliTriangulation.h.

diff --git a/docs/html/tst__unittest_8cpp.html b/docs/html/tst__unittest_8cpp.html new file mode 100644 index 0000000..20cd4a2 --- /dev/null +++ b/docs/html/tst__unittest_8cpp.html @@ -0,0 +1,131 @@ + + + + + + + +IntelliPhoto: src/tst_unittest.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
tst_unittest.cpp File Reference
+
+
+
#include <QtTest>
+#include <QCoreApplication>
+#include "GUI/IntelliPhotoGui.h"
+#include "Image/IntelliImage.h"
+#include "Image/IntelliRasterImage.h"
+#include "Image/IntelliShapedImage.h"
+#include "IntelliHelper/IntelliColorPicker.h"
+#include "IntelliHelper/IntelliRenderSettings.h"
+#include "IntelliHelper/IntelliToolsettings.h"
+#include "IntelliHelper/IntelliTriangulation.h"
+#include "Layer/PaintingArea.h"
+#include "Tool/IntelliTool.h"
+#include "Tool/IntelliToolCircle.h"
+#include "Tool/IntelliToolFloodFill.h"
+#include "Tool/IntelliToolLine.h"
+#include "Tool/IntelliToolPen.h"
+#include "Tool/IntelliToolPlain.h"
+#include "Tool/IntelliToolPolygon.h"
+#include "Tool/IntelliToolRectangle.h"
+#include "tst_unittest.moc"
+
+

Go to the source code of this file.

+ + + + +

+Classes

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