diff --git a/docs/html/_intelli_color_picker_8h.html b/docs/html/_intelli_color_picker_8h.html index e1b1b4e..b04a431 100644 --- a/docs/html/_intelli_color_picker_8h.html +++ b/docs/html/_intelli_color_picker_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_color_picker_8h_source.html b/docs/html/_intelli_color_picker_8h_source.html index c8bfc90..c7df48e 100644 --- a/docs/html/_intelli_color_picker_8h_source.html +++ b/docs/html/_intelli_color_picker_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,30 +93,30 @@ $(document).ready(function(){initNavTree('_intelli_color_picker_8h_source.html', Go to the documentation of this file.
1 #ifndef INTELLITOOLSETCOLORTOOL_H
2 #define INTELLITOOLSETCOLORTOOL_H
3 
-
4 #include"QColor"
-
5 #include"QPoint"
-
6 #include"QColorDialog"
+
4 #include "QColor"
+
5 #include "QPoint"
+
6 #include "QColorDialog"
7 
-
11 class IntelliColorPicker{
+
11 class IntelliColorPicker {
12 public:
-
16  IntelliColorPicker();
+
16 IntelliColorPicker();
17 
-
21  virtual ~IntelliColorPicker();
+
21 virtual ~IntelliColorPicker();
22 
-
26  void switchColors();
+
26 void switchColors();
27 
-
32  QColor getFirstColor();
+
32 QColor getFirstColor();
33 
-
38  QColor getSecondColor();
+
38 QColor getSecondColor();
39 
-
44  void setFirstColor(QColor Color);
+
44 void setFirstColor(QColor Color);
45 
-
50  void setSecondColor(QColor Color);
+
50 void setSecondColor(QColor Color);
51 
52 private:
-
56  QColor firstColor;
+
56 QColor firstColor;
57 
-
61  QColor secondColor;
+
61 QColor secondColor;
62 };
63 
64 #endif // INTELLITOOLSETCOLORTOOL_H
diff --git a/docs/html/_intelli_helper_2_intelli_color_picker_8cpp.html b/docs/html/_intelli_helper_2_intelli_color_picker_8cpp.html index 1306302..1a18124 100644 --- a/docs/html/_intelli_helper_2_intelli_color_picker_8cpp.html +++ b/docs/html/_intelli_helper_2_intelli_color_picker_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html b/docs/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html index ba52d45..0476d7b 100644 --- a/docs/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html +++ b/docs/html/_intelli_helper_2_intelli_color_picker_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('_intelli_helper_2_intelli_color_picker Go to the documentation of this file.
1 #include "IntelliColorPicker.h"
2 
-
4  firstColor = {255,0,0,255};
-
5  secondColor = {0,0,255,255};
+
4  firstColor = {255,0,0,255};
+
5  secondColor = {0,255,255,255};
6 }
7 
@@ -102,23 +102,23 @@ $(document).ready(function(){initNavTree('_intelli_helper_2_intelli_color_picker
10 }
11 
-
13  std::swap(firstColor, secondColor);
+
13  std::swap(firstColor, secondColor);
14 }
15 
-
17  return this->firstColor;
+
17  return this->firstColor;
18 }
19 
-
21  return this->secondColor;
+
21  return this->secondColor;
22 }
23 
-
25  this->firstColor = Color;
+
25  this->firstColor = Color;
26 }
27 
-
29  this->secondColor = Color;
+
29  this->secondColor = Color;
30 }
diff --git a/docs/html/_intelli_helper_8cpp.html b/docs/html/_intelli_helper_8cpp.html index fc80966..c4f89ed 100644 --- a/docs/html/_intelli_helper_8cpp.html +++ b/docs/html/_intelli_helper_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_helper_8cpp_source.html b/docs/html/_intelli_helper_8cpp_source.html index 5389678..1b67b46 100644 --- a/docs/html/_intelli_helper_8cpp_source.html +++ b/docs/html/_intelli_helper_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -90,128 +90,129 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
IntelliHelper.cpp
-Go to the documentation of this file.
1 #include"IntelliHelper.h"
-
2 #include<algorithm>
-
3 #include<queue>
-
4 #include<cmath>
+Go to the documentation of this file.
1 #include "IntelliHelper.h"
+
2 #include <algorithm>
+
3 #include <queue>
+
4 #include <cmath>
5 
6 
7 std::vector<Triangle> IntelliHelper::calculateTriangles(std::vector<QPoint> polyPoints){
-
8  // helper for managing the triangle vertices and their state
-
9  struct TriangleHelper{
-
10  QPoint vertex;
-
11  float interiorAngle;
-
12  int index;
-
13  bool isTip;
-
14  };
+
8  // helper for managing the triangle vertices and their state
+
9  struct TriangleHelper {
+
10  QPoint vertex;
+
11  float interiorAngle;
+
12  int index;
+
13  bool isTip;
+
14  };
15 
-
16  // calculates the inner angle of 'point'
-
17  auto calculateInner = [](QPoint& point, QPoint& prev, QPoint& post){
-
18  QPoint AP(point.x()-prev.x(), point.y()-prev.y());
-
19  QPoint BP(point.x()-post.x(), point.y()-post.y());
+
16  // calculates the inner angle of 'point'
+
17  auto calculateInner = [](QPoint& point, QPoint& prev, QPoint& post){
+
18  QPoint AP(point.x()-prev.x(), point.y()-prev.y());
+
19  QPoint BP(point.x()-post.x(), point.y()-post.y());
20 
-
21  float topSclar = AP.x()*BP.x()+AP.y()*BP.y();
-
22  float absolute = sqrt(pow(AP.x(),2.)+pow(AP.y(),2.))*sqrt(pow(BP.x(),2.)+pow(BP.y(),2.));
-
23  return acos(topSclar/absolute);
-
24  };
+
21  float topSclar = AP.x()*BP.x()+AP.y()*BP.y();
+
22  float absolute = sqrt(pow(AP.x(),2.)+pow(AP.y(),2.))*sqrt(pow(BP.x(),2.)+pow(BP.y(),2.));
+
23  return acos(topSclar/absolute);
+
24  };
25 
-
26  // gets the first element of vec for which element.isTip == true holds
-
27  auto getTip= [](const std::vector<TriangleHelper>& vec){
-
28  for(auto element:vec){
-
29  if(element.isTip){
-
30  return element;
-
31  }
-
32  }
-
33  return vec[0];
-
34  };
-
35 
-
36  // get the vertex Index bevor index in relation to the container length
-
37  auto getPrev = [](int index, int length){
-
38  return (index-1)>0?(index-1):(length-1);
-
39  };
-
40 
-
41  // get the vertex Index after index in relation to the container lenght
-
42  auto getPost = [](int index, int length){
-
43  return (index+1)%length;
-
44  };
-
45 
-
46  // return if the vertex is a tip
-
47  auto isTip = [](float angle){
-
48  return angle<180.f;
-
49  };
-
50 
-
51  std::vector<TriangleHelper> Vertices;
-
52  std::vector<Triangle> Triangles;
-
53 
-
54  // set up all vertices and calculate intirior angle
-
55  for(int i=0; i<static_cast<int>(polyPoints.size()); i++){
-
56  TriangleHelper helper;
-
57  int prev = getPrev(i, static_cast<int>(polyPoints.size()));
-
58  int post = getPost(i, static_cast<int>(polyPoints.size()));
-
59 
-
60  helper.vertex = polyPoints[static_cast<size_t>(i)];
-
61  helper.index = i;
-
62 
-
63  helper.interiorAngle = calculateInner(polyPoints[static_cast<size_t>(i)],
-
64  polyPoints[static_cast<size_t>(prev)],
-
65  polyPoints[static_cast<size_t>(post)]);
-
66  helper.isTip = isTip(helper.interiorAngle);
-
67  Vertices.push_back(helper);
-
68  }
-
69 
-
70  // search triangles based on the intirior angles of each vertey
-
71  while(Triangles.size() != polyPoints.size()-2){
-
72  Triangle tri;
-
73  TriangleHelper smallest = getTip(Vertices);
-
74  int prev = getPrev(smallest.index, static_cast<int>(Vertices.size()));
-
75  int post = getPost(smallest.index, static_cast<int>(Vertices.size()));
-
76 
-
77  // set triangle and push it
-
78  tri.A = Vertices[static_cast<size_t>(prev)].vertex;
-
79  tri.B = Vertices[static_cast<size_t>(smallest.index)].vertex;
-
80  tri.C = Vertices[static_cast<size_t>(post)].vertex;
-
81  Triangles.push_back(tri);
-
82 
-
83  // update Vertice array
-
84  Vertices.erase(Vertices.begin()+smallest.index);
-
85  for(size_t i=static_cast<size_t>(smallest.index); i<Vertices.size(); i++){
-
86  Vertices[i].index-=1;
-
87  }
-
88 
-
89  // update post und prev index
-
90  post = post-1;
-
91  prev = prev<smallest.index?prev:(prev-1);
-
92 
-
93  // calcultae neighboors of prev and post to calculate new interior angles
-
94  int prevOfPrev = getPrev(prev, static_cast<int>(Vertices.size()));
-
95  int postOfPrev = getPost(prev, static_cast<int>(Vertices.size()));
-
96 
-
97  int prevOfPost = getPrev(post, static_cast<int>(Vertices.size()));
-
98  int postOfPost = getPost(post, static_cast<int>(Vertices.size()));
-
99 
-
100  // update vertices with interior angles
-
101  // updtae prev
-
102  Vertices[static_cast<size_t>(prev)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(prev)].vertex,
-
103  Vertices[static_cast<size_t>(prevOfPrev)].vertex,
-
104  Vertices[static_cast<size_t>(postOfPrev)].vertex);
-
105  Vertices[static_cast<size_t>(prev)].isTip = isTip(Vertices[static_cast<size_t>(prev)].interiorAngle);
-
106  // update post
-
107  Vertices[static_cast<size_t>(post)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(post)].vertex,
-
108  Vertices[static_cast<size_t>(prevOfPost)].vertex,
-
109  Vertices[static_cast<size_t>(postOfPost)].vertex);
-
110  Vertices[static_cast<size_t>(post)].isTip = isTip(Vertices[static_cast<size_t>(post)].interiorAngle);
-
111  }
-
112  return Triangles;
-
113 }
-
114 
-
115 bool IntelliHelper::isInPolygon(std::vector<Triangle> &triangles, QPoint &point){
-
116  for(auto triangle : triangles){
-
117  if(IntelliHelper::isInTriangle(triangle, point)){
-
118  return true;
-
119  }
-
120  }
-
121  return false;
-
122 }
+
26  // gets the first element of vec for which element.isTip == true holds
+
27  auto getTip= [](const std::vector<TriangleHelper>& vec){
+
28  size_t min = 0;
+
29  for(size_t i=0; i<vec.size(); i++) {
+
30  if(vec[i].interiorAngle<vec[min].interiorAngle) {
+
31  min = i;
+
32  }
+
33  }
+
34  return vec[min];
+
35  };
+
36 
+
37  // get the vertex Index bevor index in relation to the container length
+
38  auto getPrev = [](int index, int length){
+
39  return (index-1)>=0 ? (index-1) : (length-1);
+
40  };
+
41 
+
42  // get the vertex Index after index in relation to the container lenght
+
43  auto getPost = [](int index, int length){
+
44  return (index+1)%length;
+
45  };
+
46 
+
47  // return if the vertex is a tip
+
48  auto isTip = [](float angle){
+
49  return static_cast<double>(angle)<(M_PI/2.);
+
50  };
+
51 
+
52  std::vector<TriangleHelper> Vertices;
+
53  std::vector<Triangle> Triangles;
+
54 
+
55  // set up all vertices and calculate intirior angle
+
56  for(int i=0; i<static_cast<int>(polyPoints.size()); i++) {
+
57  TriangleHelper helper;
+
58  int prev = getPrev(i, static_cast<int>(polyPoints.size()));
+
59  int post = getPost(i, static_cast<int>(polyPoints.size()));
+
60 
+
61  helper.vertex = polyPoints[static_cast<size_t>(i)];
+
62  helper.index = i;
+
63 
+
64  helper.interiorAngle = calculateInner(polyPoints[static_cast<size_t>(i)],
+
65  polyPoints[static_cast<size_t>(prev)],
+
66  polyPoints[static_cast<size_t>(post)]);
+
67  helper.isTip = isTip(helper.interiorAngle);
+
68  Vertices.push_back(helper);
+
69  }
+
70 
+
71  // search triangles based on the intirior angles of each vertey
+
72  while(Triangles.size() != polyPoints.size()-2) {
+
73  Triangle tri;
+
74  TriangleHelper smallest = getTip(Vertices);
+
75  int prev = getPrev(smallest.index, static_cast<int>(Vertices.size()));
+
76  int post = getPost(smallest.index, static_cast<int>(Vertices.size()));
+
77 
+
78  // set triangle and push it
+
79  tri.A = Vertices[static_cast<size_t>(prev)].vertex;
+
80  tri.B = Vertices[static_cast<size_t>(smallest.index)].vertex;
+
81  tri.C = Vertices[static_cast<size_t>(post)].vertex;
+
82  Triangles.push_back(tri);
+
83 
+
84  // update Vertice array
+
85  Vertices.erase(Vertices.begin()+smallest.index);
+
86  for(size_t i=static_cast<size_t>(smallest.index); i<Vertices.size(); i++) {
+
87  Vertices[i].index-=1;
+
88  }
+
89 
+
90  // update post und prev index
+
91  post = post-1;
+
92  prev = prev<smallest.index ? prev : (prev-1);
+
93 
+
94  // calcultae neighboors of prev and post to calculate new interior angles
+
95  int prevOfPrev = getPrev(prev, static_cast<int>(Vertices.size()));
+
96  int postOfPrev = getPost(prev, static_cast<int>(Vertices.size()));
+
97 
+
98  int prevOfPost = getPrev(post, static_cast<int>(Vertices.size()));
+
99  int postOfPost = getPost(post, static_cast<int>(Vertices.size()));
+
100 
+
101  // update vertices with interior angles
+
102  // updtae prev
+
103  Vertices[static_cast<size_t>(prev)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(prev)].vertex,
+
104  Vertices[static_cast<size_t>(prevOfPrev)].vertex,
+
105  Vertices[static_cast<size_t>(postOfPrev)].vertex);
+
106  Vertices[static_cast<size_t>(prev)].isTip = isTip(Vertices[static_cast<size_t>(prev)].interiorAngle);
+
107  // update post
+
108  Vertices[static_cast<size_t>(post)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(post)].vertex,
+
109  Vertices[static_cast<size_t>(prevOfPost)].vertex,
+
110  Vertices[static_cast<size_t>(postOfPost)].vertex);
+
111  Vertices[static_cast<size_t>(post)].isTip = isTip(Vertices[static_cast<size_t>(post)].interiorAngle);
+
112  }
+
113  return Triangles;
+
114 }
+
115 
+
116 bool IntelliHelper::isInPolygon(std::vector<Triangle> &triangles, QPoint &point){
+
117  for(auto triangle : triangles) {
+
118  if(IntelliHelper::isInTriangle(triangle, point)) {
+
119  return true;
+
120  }
+
121  }
+
122  return false;
+
123 }
IntelliHelper::isInTriangle
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
Definition: IntelliHelper.h:33
@@ -219,7 +220,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
Triangle::B
QPoint B
Definition: IntelliHelper.h:11
Triangle::C
QPoint C
Definition: IntelliHelper.h:11
Triangle
The Triangle struct holds the 3 vertices of a triangle.
Definition: IntelliHelper.h:10
-
IntelliHelper::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliHelper.cpp:115
+
IntelliHelper::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliHelper.cpp:116
Triangle::A
QPoint A
Definition: IntelliHelper.h:11
IntelliHelper::calculateTriangles
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 ...
Definition: IntelliHelper.cpp:7
diff --git a/docs/html/_intelli_helper_8h.html b/docs/html/_intelli_helper_8h.html index c3a21c3..f0a631b 100644 --- a/docs/html/_intelli_helper_8h.html +++ b/docs/html/_intelli_helper_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_helper_8h_source.html b/docs/html/_intelli_helper_8h_source.html index 368522f..c6c3d54 100644 --- a/docs/html/_intelli_helper_8h_source.html +++ b/docs/html/_intelli_helper_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,20 +93,20 @@ $(document).ready(function(){initNavTree('_intelli_helper_8h_source.html','');}) Go to the documentation of this file.
1 #ifndef INTELLIHELPER_H
2 #define INTELLIHELPER_H
3 
-
4 #include<QPoint>
-
5 #include<vector>
+
4 #include <QPoint>
+
5 #include <vector>
6 
-
10 struct Triangle{
-
11  QPoint A,B,C;
+
10 struct Triangle {
+
11  QPoint A,B,C;
12 };
13 
14 namespace IntelliHelper {
15 
-
23  inline float sign(QPoint& p1, QPoint& p2, QPoint& p3){
+
23 inline float sign(QPoint& p1, QPoint& p2, QPoint& p3){
24  return (p1.x()-p3.x())*(p2.y()-p3.y())-(p2.x()-p3.x())*(p1.y()-p3.y());
-
25  }
+
25 }
26 
-
33  inline bool isInTriangle(Triangle& tri, QPoint& P){
+
33 inline bool isInTriangle(Triangle& tri, QPoint& P){
34  float val1, val2, val3;
35  bool neg, pos;
36 
@@ -118,11 +118,11 @@ $(document).ready(function(){initNavTree('_intelli_helper_8h_source.html','');})
42  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);
43 
44  return !(neg && pos);
-
45  }
+
45 }
46 
-
52  std::vector<Triangle> calculateTriangles(std::vector<QPoint> polyPoints);
+
52 std::vector<Triangle> calculateTriangles(std::vector<QPoint> polyPoints);
53 
-
60  bool isInPolygon(std::vector<Triangle> &triangles, QPoint &point);
+
60 bool isInPolygon(std::vector<Triangle> &triangles, QPoint &point);
61 }
62 
63 #endif
@@ -133,7 +133,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_8h_source.html','');})
QPoint C
Definition: IntelliHelper.h:11
Definition: IntelliHelper.h:14
The Triangle struct holds the 3 vertices of a triangle.
Definition: IntelliHelper.h:10
-
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
QPoint A
Definition: IntelliHelper.h:11
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
Definition: IntelliHelper.h:23
diff --git a/docs/html/_intelli_image_8cpp.html b/docs/html/_intelli_image_8cpp.html index 90b5df4..77c7818 100644 --- a/docs/html/_intelli_image_8cpp.html +++ b/docs/html/_intelli_image_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_image_8cpp_source.html b/docs/html/_intelli_image_8cpp_source.html index b3dfcd8..b12334b 100644 --- a/docs/html/_intelli_image_8cpp_source.html +++ b/docs/html/_intelli_image_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -90,13 +90,13 @@ $(document).ready(function(){initNavTree('_intelli_image_8cpp_source.html','');}
IntelliImage.cpp
-Go to the documentation of this file.
1 #include"Image/IntelliImage.h"
-
2 #include<QSize>
-
3 #include<QPainter>
+Go to the documentation of this file.
1 #include "Image/IntelliImage.h"
+
2 #include <QSize>
+
3 #include <QPainter>
4 
5 IntelliImage::IntelliImage(int weight, int height)
-
6  :imageData(QSize(weight, height), QImage::Format_ARGB32){
-
7  imageData.fill(QColor(255,255,255,255));
+
6  : imageData(QSize(weight, height), QImage::Format_ARGB32){
+
7  imageData.fill(QColor(255,255,255,255));
8 }
9 
@@ -104,73 +104,73 @@ $(document).ready(function(){initNavTree('_intelli_image_8cpp_source.html','');}
12 }
13 
14 bool IntelliImage::loadImage(const QString &fileName){
-
15  // Holds the image
-
16  QImage loadedImage;
+
15  // Holds the image
+
16  QImage loadedImage;
17 
-
18  // If the image wasn't loaded leave this function
-
19  if (!loadedImage.load(fileName))
-
20  return false;
+
18  // If the image wasn't loaded leave this function
+
19  if (!loadedImage.load(fileName))
+
20  return false;
21 
-
22  // scaled Image to size of Layer
-
23  loadedImage = loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
+
22  // scaled Image to size of Layer
+
23  loadedImage = loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
24 
-
25  imageData = loadedImage.convertToFormat(QImage::Format_ARGB32);
-
26  return true;
+
25  imageData = loadedImage.convertToFormat(QImage::Format_ARGB32);
+
26  return true;
27 }
28 
-
29 void IntelliImage::resizeImage(QImage *image, const QSize &newSize){
-
30  // Check if we need to redraw the image
-
31  if (image->size() == newSize)
-
32  return;
+
29 void IntelliImage::resizeImage(QImage*image, const QSize &newSize){
+
30  // Check if we need to redraw the image
+
31  if (image->size() == newSize)
+
32  return;
33 
-
34  // Create a new image to display and fill it with white
-
35  QImage newImage(newSize, QImage::Format_ARGB32);
-
36  newImage.fill(qRgb(255, 255, 255));
+
34  // Create a new image to display and fill it with white
+
35  QImage newImage(newSize, QImage::Format_ARGB32);
+
36  newImage.fill(qRgb(255, 255, 255));
37 
-
38  // Draw the image
-
39  QPainter painter(&newImage);
-
40  painter.drawImage(QPoint(0, 0), *image);
-
41  *image = newImage;
+
38  // Draw the image
+
39  QPainter painter(&newImage);
+
40  painter.drawImage(QPoint(0, 0), *image);
+
41  *image = newImage;
42 }
43 
44 void IntelliImage::drawPixel(const QPoint &p1, const QColor& color){
-
45  // Used to draw on the widget
-
46  QPainter painter(&imageData);
+
45  // Used to draw on the widget
+
46  QPainter painter(&imageData);
47 
-
48  // Set the current settings for the pen
-
49  painter.setPen(QPen(color, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+
48  // Set the current settings for the pen
+
49  painter.setPen(QPen(color, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
50 
-
51  // Draw a line from the last registered point to the current
-
52  painter.drawPoint(p1);
+
51  // Draw a line from the last registered point to the current
+
52  painter.drawPoint(p1);
53 }
54 
55 void IntelliImage::drawPoint(const QPoint &p1, const QColor& color, const int& penWidth){
-
56  // Used to draw on the widget
-
57  QPainter painter(&imageData);
+
56  // Used to draw on the widget
+
57  QPainter painter(&imageData);
58 
-
59  // Set the current settings for the pen
-
60  painter.setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
-
61  // Draw a line from the last registered point to the current
-
62  painter.drawPoint(p1);
+
59  // Set the current settings for the pen
+
60  painter.setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+
61  // Draw a line from the last registered point to the current
+
62  painter.drawPoint(p1);
63 }
64 
65 void IntelliImage::drawLine(const QPoint &p1, const QPoint& p2, const QColor& color, const int& penWidth){
-
66  // Used to draw on the widget
-
67  QPainter painter(&imageData);
+
66  // Used to draw on the widget
+
67  QPainter painter(&imageData);
68 
-
69  // Set the current settings for the pen
-
70  painter.setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+
69  // Set the current settings for the pen
+
70  painter.setPen(QPen(color, penWidth, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
71 
-
72  // Draw a line from the last registered point to the current
-
73  painter.drawLine(p1, p2);
+
72  // Draw a line from the last registered point to the current
+
73  painter.drawLine(p1, p2);
74 }
75 
76 void IntelliImage::drawPlain(const QColor& color){
-
77  imageData.fill(color);
+
77  imageData.fill(color);
78 }
79 
80 QColor IntelliImage::getPixelColor(QPoint& point){
-
81  return imageData.pixelColor(point);
+
81  return imageData.pixelColor(point);
82 }
diff --git a/docs/html/_intelli_image_8h.html b/docs/html/_intelli_image_8h.html index 595e317..b661225 100644 --- a/docs/html/_intelli_image_8h.html +++ b/docs/html/_intelli_image_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_image_8h_source.html b/docs/html/_intelli_image_8h_source.html index fad1c88..45206cb 100644 --- a/docs/html/_intelli_image_8h_source.html +++ b/docs/html/_intelli_image_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,58 +93,60 @@ $(document).ready(function(){initNavTree('_intelli_image_8h_source.html','');}); Go to the documentation of this file.
1 #ifndef INTELLIIMAGE_H
2 #define INTELLIIMAGE_H
3 
-
4 #include<QImage>
-
5 #include<QPoint>
-
6 #include<QColor>
-
7 #include<QSize>
-
8 #include<QWidget>
-
9 #include<vector>
+
4 #include <QImage>
+
5 #include <QPoint>
+
6 #include <QColor>
+
7 #include <QSize>
+
8 #include <QWidget>
+
9 #include <vector>
10 
-
14 enum class ImageType{
-
15  Raster_Image,
-
16  Shaped_Image
+
14 enum class ImageType {
+
15  Raster_Image,
+
16  Shaped_Image
17 };
18 
19 class IntelliTool;
20 
-
24 class IntelliImage{
-
25  friend IntelliTool;
+
24 class IntelliImage {
+
25 friend IntelliTool;
26 protected:
-
27  void resizeImage(QImage *image, const QSize &newSize);
+
27 void resizeImage(QImage*image, const QSize &newSize);
28 
-
32  QImage imageData;
+
32 QImage imageData;
33 public:
-
39  IntelliImage(int weight, int height);
+
39 IntelliImage(int weight, int height);
40 
-
44  virtual ~IntelliImage() = 0;
+
44 virtual ~IntelliImage() = 0;
45 
46 
-
52  virtual void drawPixel(const QPoint &p1, const QColor& color);
+
52 virtual void drawPixel(const QPoint &p1, const QColor& color);
53 
-
61  virtual void drawLine(const QPoint &p1, const QPoint& p2, const QColor& color, const int& penWidth);
+
61 virtual void drawLine(const QPoint &p1, const QPoint& p2, const QColor& color, const int& penWidth);
62 
-
69  virtual void drawPoint(const QPoint &p1, const QColor& color, const int& penWidth);
+
69 virtual void drawPoint(const QPoint &p1, const QColor& color, const int& penWidth);
70 
-
75  virtual void drawPlain(const QColor& color);
+
75 virtual void drawPlain(const QColor& color);
76 
-
83  virtual QImage getDisplayable(const QSize& displaySize, int alpha)=0;
+
83 virtual QImage getDisplayable(const QSize& displaySize, int alpha) = 0;
84 
-
90  virtual QImage getDisplayable(int alpha=255)=0;
+
90 virtual QImage getDisplayable(int alpha=255) = 0;
91 
-
96  virtual IntelliImage* getDeepCopy()=0;
+
96 virtual IntelliImage* getDeepCopy() = 0;
97 
-
101  virtual void calculateVisiblity()=0;
+
101 virtual void calculateVisiblity() = 0;
102 
-
107  virtual void setPolygon(const std::vector<QPoint>& polygonData)=0;
+
107 virtual void setPolygon(const std::vector<QPoint>& polygonData) = 0;
108 
-
113  virtual std::vector<QPoint> getPolygonData(){ return std::vector<QPoint>();}
-
114 
-
120  virtual bool loadImage(const QString &fileName);
-
121 
-
127  virtual QColor getPixelColor(QPoint& point);
-
128 };
-
129 
-
130 #endif
+
113 virtual std::vector<QPoint> getPolygonData(){
+
114  return std::vector<QPoint>();
+
115 }
+
116 
+
122 virtual bool loadImage(const QString &fileName);
+
123 
+
129 virtual QColor getPixelColor(QPoint& point);
+
130 };
+
131 
+
132 #endif
ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:14
diff --git a/docs/html/_intelli_photo_gui_8cpp.html b/docs/html/_intelli_photo_gui_8cpp.html index eefb404..ec66163 100644 --- a/docs/html/_intelli_photo_gui_8cpp.html +++ b/docs/html/_intelli_photo_gui_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_photo_gui_8cpp_source.html b/docs/html/_intelli_photo_gui_8cpp_source.html index f4d75bf..cd9f204 100644 --- a/docs/html/_intelli_photo_gui_8cpp_source.html +++ b/docs/html/_intelli_photo_gui_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -314,272 +314,308 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
222  paintingArea->createLineTool();
223 }
224 
-
225 // Open an about dialog
-
226 void IntelliPhotoGui::slotAboutDialog(){
-
227  // Window title and text to display
-
228  QMessageBox::about(this, tr("About Painting"),
-
229  tr("<p><b>IntelliPhoto</b>Pretty basic editor.</p>"));
-
230 }
-
231 
-
232 // Define menu actions that call functions
-
233 void IntelliPhotoGui::createActions(){
-
234  // Get a list of the supported file formats
-
235  // QImageWriter is used to write images to files
-
236  foreach (QByteArray format, QImageWriter::supportedImageFormats()) {
-
237  QString text = tr("%1...").arg(QString(format).toUpper());
-
238 
-
239  // Create an action for each file format
-
240  QAction*action = new QAction(text, this);
-
241 
-
242  // Set an action for each file format
-
243  action->setData(format);
-
244 
-
245  // When clicked call IntelliPhotoGui::save()
-
246  connect(action, SIGNAL(triggered()), this, SLOT(slotSave()));
+
225 void IntelliPhotoGui::slotCreateRectangleTool(){
+
226  paintingArea->createRectangleTool();
+
227 }
+
228 
+
229 void IntelliPhotoGui::slotCreateCircleTool(){
+
230  paintingArea->createCircleTool();
+
231 }
+
232 
+
233 void IntelliPhotoGui::slotCreatePolygonTool(){
+
234  paintingArea->createPolygonTool();
+
235 }
+
236 
+
237 void IntelliPhotoGui::slotCreateFloodFillTool(){
+
238  paintingArea->createFloodFillTool();
+
239 }
+
240 
+
241 // Open an about dialog
+
242 void IntelliPhotoGui::slotAboutDialog(){
+
243  // Window title and text to display
+
244  QMessageBox::about(this, tr("About Painting"),
+
245  tr("<p><b>IntelliPhoto</b>Pretty basic editor.</p>"));
+
246 }
247 
-
248  // Attach each file format option menu item to Save As
-
249  actionSaveAs.append(action);
-
250  }
-
251 
-
252  //set exporter to actions
-
253  QAction*pngSaveAction = new QAction("PNG-8", this);
-
254  pngSaveAction->setData("PNG");
-
255  // When clicked call IntelliPhotoGui::save()
-
256  connect(pngSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
-
257  // Attach each PNG in save Menu
-
258  actionSaveAs.append(pngSaveAction);
-
259 
-
260  // Create exit action and tie to IntelliPhotoGui::close()
-
261  actionExit = new QAction(tr("&Exit"), this);
-
262  actionExit->setShortcuts(QKeySequence::Quit);
-
263  connect(actionExit, SIGNAL(triggered()), this, SLOT(close()));
-
264 
-
265  actionOpen = new QAction(tr("&Open"), this);
-
266  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));
-
267  connect(actionOpen, SIGNAL(triggered()), this, SLOT(slotOpen()));
-
268 
-
269  // Create New Layer action and tie to IntelliPhotoGui::newLayer()
-
270  actionCreateNewLayer = new QAction(tr("&New Layer..."), this);
-
271  actionCreateNewLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));
-
272  connect(actionCreateNewLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewLayer()));
-
273 
-
274  // Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()
-
275  actionDeleteLayer = new QAction(tr("&Delete Layer..."), this);
-
276  connect(actionDeleteLayer, SIGNAL(triggered()), this, SLOT(slotDeleteLayer()));
-
277 
-
278  actionSetActiveLayer = new QAction(tr("&set Active"), this);
-
279  connect(actionSetActiveLayer, SIGNAL(triggered()), this, SLOT(slotSetActiveLayer()));
+
248 // Define menu actions that call functions
+
249 void IntelliPhotoGui::createActions(){
+
250  // Get a list of the supported file formats
+
251  // QImageWriter is used to write images to files
+
252  foreach (QByteArray format, QImageWriter::supportedImageFormats()) {
+
253  QString text = tr("%1...").arg(QString(format).toUpper());
+
254 
+
255  // Create an action for each file format
+
256  QAction*action = new QAction(text, this);
+
257 
+
258  // Set an action for each file format
+
259  action->setData(format);
+
260 
+
261  // When clicked call IntelliPhotoGui::save()
+
262  connect(action, SIGNAL(triggered()), this, SLOT(slotSave()));
+
263 
+
264  // Attach each file format option menu item to Save As
+
265  actionSaveAs.append(action);
+
266  }
+
267 
+
268  //set exporter to actions
+
269  QAction*pngSaveAction = new QAction("PNG-8", this);
+
270  pngSaveAction->setData("PNG");
+
271  // When clicked call IntelliPhotoGui::save()
+
272  connect(pngSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
+
273  // Attach each PNG in save Menu
+
274  actionSaveAs.append(pngSaveAction);
+
275 
+
276  // Create exit action and tie to IntelliPhotoGui::close()
+
277  actionExit = new QAction(tr("&Exit"), this);
+
278  actionExit->setShortcuts(QKeySequence::Quit);
+
279  connect(actionExit, SIGNAL(triggered()), this, SLOT(close()));
280 
-
281  actionSetActiveAlpha = new QAction(tr("&set Alpha"), this);
-
282  connect(actionSetActiveAlpha, SIGNAL(triggered()), this, SLOT(slotSetActiveAlpha()));
-
283 
-
284  actionMovePositionUp = new QAction(tr("&move Up"), this);
-
285  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));
-
286  connect(actionMovePositionUp, SIGNAL(triggered()), this, SLOT(slotPositionMoveUp()));
-
287 
-
288  actionMovePositionDown = new QAction(tr("&move Down"), this);
-
289  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));
-
290  connect(actionMovePositionDown, SIGNAL(triggered()), this, SLOT(slotPositionMoveDown()));
-
291 
-
292  actionMovePositionLeft = new QAction(tr("&move Left"), this);
-
293  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));
-
294  connect(actionMovePositionLeft, SIGNAL(triggered()), this, SLOT(slotPositionMoveLeft()));
-
295 
-
296  actionMovePositionRight = new QAction(tr("&move Right"), this);
-
297  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));
-
298  connect(actionMovePositionRight, SIGNAL(triggered()), this, SLOT(slotPositionMoveRight()));
+
281  actionOpen = new QAction(tr("&Open"), this);
+
282  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));
+
283  connect(actionOpen, SIGNAL(triggered()), this, SLOT(slotOpen()));
+
284 
+
285  // Create New Layer action and tie to IntelliPhotoGui::newLayer()
+
286  actionCreateNewLayer = new QAction(tr("&New Layer..."), this);
+
287  actionCreateNewLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));
+
288  connect(actionCreateNewLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewLayer()));
+
289 
+
290  // Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()
+
291  actionDeleteLayer = new QAction(tr("&Delete Layer..."), this);
+
292  connect(actionDeleteLayer, SIGNAL(triggered()), this, SLOT(slotDeleteLayer()));
+
293 
+
294  actionSetActiveLayer = new QAction(tr("&set Active"), this);
+
295  connect(actionSetActiveLayer, SIGNAL(triggered()), this, SLOT(slotSetActiveLayer()));
+
296 
+
297  actionSetActiveAlpha = new QAction(tr("&set Alpha"), this);
+
298  connect(actionSetActiveAlpha, SIGNAL(triggered()), this, SLOT(slotSetActiveAlpha()));
299 
-
300  actionMoveLayerUp = new QAction(tr("&move Layer Up"), this);
-
301  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));
-
302  connect(actionMoveLayerUp, SIGNAL(triggered()), this, SLOT(slotMoveLayerUp()));
+
300  actionMovePositionUp = new QAction(tr("&move Up"), this);
+
301  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));
+
302  connect(actionMovePositionUp, SIGNAL(triggered()), this, SLOT(slotPositionMoveUp()));
303 
-
304  actionMoveLayerDown= new QAction(tr("&move Layer Down"), this);
-
305  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));
-
306  connect(actionMoveLayerDown, SIGNAL(triggered()), this, SLOT(slotMoveLayerDown()));
+
304  actionMovePositionDown = new QAction(tr("&move Down"), this);
+
305  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));
+
306  connect(actionMovePositionDown, SIGNAL(triggered()), this, SLOT(slotPositionMoveDown()));
307 
-
308  //Create Color Actions here
-
309  actionColorPickerFirstColor = new QAction(tr("&Main"), this);
-
310  connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
+
308  actionMovePositionLeft = new QAction(tr("&move Left"), this);
+
309  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));
+
310  connect(actionMovePositionLeft, SIGNAL(triggered()), this, SLOT(slotPositionMoveLeft()));
311 
-
312  actionColorPickerSecondColor = new QAction(tr("&Secondary"), this);
-
313  connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetSecondColor()));
-
314 
-
315  actionColorSwitch = new QAction(tr("&Switch"), this);
-
316  actionColorSwitch->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));
-
317  connect(actionColorSwitch, SIGNAL(triggered()), this, SLOT(slotSwitchColor()));
-
318 
-
319  //Create Tool actions down here
-
320  actionCreatePlainTool = new QAction(tr("&Plain"), this);
-
321  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotCreatePlainTool()));
-
322 
-
323  actionCreatePenTool = new QAction(tr("&Pen"),this);
-
324  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotCreatePenTool()));
-
325 
-
326  actionCreateLineTool = new QAction(tr("&Line"), this);
-
327  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotCreateLineTool()));
-
328 
-
329  // Create about action and tie to IntelliPhotoGui::about()
-
330  actionAboutDialog = new QAction(tr("&About"), this);
-
331  connect(actionAboutDialog, SIGNAL(triggered()), this, SLOT(slotAboutDialog()));
-
332 
-
333  // Create about Qt action and tie to IntelliPhotoGui::aboutQt()
-
334  actionAboutQtDialog = new QAction(tr("About &Qt"), this);
-
335  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
-
336 }
-
337 
-
338 // Create the menubar
-
339 void IntelliPhotoGui::createMenus(){
-
340  // Create Save As option and the list of file types
-
341  saveAsMenu = new QMenu(tr("&Save As"), this);
-
342  foreach (QAction *action, actionSaveAs)
-
343  saveAsMenu->addAction(action);
+
312  actionMovePositionRight = new QAction(tr("&move Right"), this);
+
313  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));
+
314  connect(actionMovePositionRight, SIGNAL(triggered()), this, SLOT(slotPositionMoveRight()));
+
315 
+
316  actionMoveLayerUp = new QAction(tr("&move Layer Up"), this);
+
317  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));
+
318  connect(actionMoveLayerUp, SIGNAL(triggered()), this, SLOT(slotMoveLayerUp()));
+
319 
+
320  actionMoveLayerDown= new QAction(tr("&move Layer Down"), this);
+
321  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));
+
322  connect(actionMoveLayerDown, SIGNAL(triggered()), this, SLOT(slotMoveLayerDown()));
+
323 
+
324  //Create Color Actions here
+
325  actionColorPickerFirstColor = new QAction(tr("&Main"), this);
+
326  connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
+
327 
+
328  actionColorPickerSecondColor = new QAction(tr("&Secondary"), this);
+
329  connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetSecondColor()));
+
330 
+
331  actionColorSwitch = new QAction(tr("&Switch"), this);
+
332  actionColorSwitch->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));
+
333  connect(actionColorSwitch, SIGNAL(triggered()), this, SLOT(slotSwitchColor()));
+
334 
+
335  //Create Tool actions down here
+
336  actionCreatePlainTool = new QAction(tr("&Plain"), this);
+
337  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotCreatePlainTool()));
+
338 
+
339  actionCreatePenTool = new QAction(tr("&Pen"),this);
+
340  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotCreatePenTool()));
+
341 
+
342  actionCreateLineTool = new QAction(tr("&Line"), this);
+
343  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotCreateLineTool()));
344 
-
345 
-
346  // Attach all actions to File
-
347  fileMenu = new QMenu(tr("&File"), this);
-
348  fileMenu->addAction(actionOpen);
-
349  fileMenu->addMenu(saveAsMenu);
-
350  fileMenu->addSeparator();
-
351  fileMenu->addAction(actionExit);
-
352 
-
353  // Attach all actions to Options
-
354  optionMenu = new QMenu(tr("&Options"), this);
-
355  optionMenu->addAction(actionSetActiveLayer);
-
356  optionMenu->addAction(actionSetActiveAlpha);
-
357  optionMenu->addAction(actionMovePositionUp);
-
358  optionMenu->addAction(actionMovePositionDown);
-
359  optionMenu->addAction(actionMovePositionLeft);
-
360  optionMenu->addAction(actionMovePositionRight);
-
361  optionMenu->addAction(actionMoveLayerUp);
-
362  optionMenu->addAction(actionMoveLayerDown);
-
363 
-
364  // Attach all actions to Layer
-
365  layerMenu = new QMenu(tr("&Layer"), this);
-
366  layerMenu->addAction(actionCreateNewLayer);
-
367  layerMenu->addAction(actionDeleteLayer);
-
368 
-
369  //Attach all Color Options
-
370  colorMenu = new QMenu(tr("&Color"), this);
-
371  colorMenu->addAction(actionColorPickerFirstColor);
-
372  colorMenu->addAction(actionColorPickerSecondColor);
-
373  colorMenu->addAction(actionColorSwitch);
-
374 
-
375  //Attach all Tool Options
-
376  toolMenu = new QMenu(tr("&Tools"), this);
-
377  toolMenu->addAction(actionCreatePenTool);
-
378  toolMenu->addAction(actionCreatePlainTool);
-
379  toolMenu->addAction(actionCreateLineTool);
-
380  toolMenu->addSeparator();
-
381  toolMenu->addMenu(colorMenu);
-
382 
-
383  // Attach all actions to Help
-
384  helpMenu = new QMenu(tr("&Help"), this);
-
385  helpMenu->addAction(actionAboutDialog);
-
386  helpMenu->addAction(actionAboutQtDialog);
-
387 
-
388  // Add menu items to the menubar
-
389  menuBar()->addMenu(fileMenu);
-
390  menuBar()->addMenu(optionMenu);
-
391  menuBar()->addMenu(layerMenu);
-
392  menuBar()->addMenu(toolMenu);
-
393  menuBar()->addMenu(helpMenu);
-
394 }
-
395 
-
396 void IntelliPhotoGui::createGui(){
-
397  // create a central widget to work on
-
398  centralGuiWidget = new QWidget(this);
-
399  setCentralWidget(centralGuiWidget);
-
400 
-
401  // create the grid for the layout
-
402  mainLayout = new QGridLayout(centralGuiWidget);
-
403  centralGuiWidget->setLayout(mainLayout);
-
404 
-
405  // create Gui elements
-
406  paintingArea = new PaintingArea();
-
407 
-
408  // set gui elements
-
409  mainLayout->addWidget(paintingArea);
-
410 }
-
411 
-
412 void IntelliPhotoGui::setIntelliStyle(){
-
413  // Set the title
-
414  setWindowTitle("IntelliPhoto Prototype");
-
415  // Set style sheet
-
416  this->setStyleSheet("background-color:rgb(64,64,64)");
-
417  this->centralGuiWidget->setStyleSheet("color:rgb(255,255,255)");
-
418  this->menuBar()->setStyleSheet("color:rgb(255,255,255)");
-
419 }
-
420 
-
421 bool IntelliPhotoGui::maybeSave(){
-
422  // Check for changes since last save
-
423 
-
424  // TODO insert variable for modified status here to make an save exit message
-
425  if (false) {
-
426  QMessageBox::StandardButton ret;
+
345  actionCreateCircleTool = new QAction(tr("&Circle"), this);
+
346  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotCreateCircleTool()));
+
347 
+
348  actionCreateRectangleTool = new QAction(tr("&Rectangle"), this);
+
349  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotCreateRectangleTool()));
+
350 
+
351  actionCreatePolygonTool = new QAction(tr("&Polygon"), this);
+
352  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotCreatePolygonTool()));
+
353 
+
354  actionCreateFloodFillTool = new QAction(tr("&FloodFill"), this);
+
355  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotCreateFloodFillTool()));
+
356 
+
357  // Create about action and tie to IntelliPhotoGui::about()
+
358  actionAboutDialog = new QAction(tr("&About"), this);
+
359  connect(actionAboutDialog, SIGNAL(triggered()), this, SLOT(slotAboutDialog()));
+
360 
+
361  // Create about Qt action and tie to IntelliPhotoGui::aboutQt()
+
362  actionAboutQtDialog = new QAction(tr("About &Qt"), this);
+
363  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
+
364 }
+
365 
+
366 // Create the menubar
+
367 void IntelliPhotoGui::createMenus(){
+
368  // Create Save As option and the list of file types
+
369  saveAsMenu = new QMenu(tr("&Save As"), this);
+
370  foreach (QAction *action, actionSaveAs)
+
371  saveAsMenu->addAction(action);
+
372 
+
373 
+
374  // Attach all actions to File
+
375  fileMenu = new QMenu(tr("&File"), this);
+
376  fileMenu->addAction(actionOpen);
+
377  fileMenu->addMenu(saveAsMenu);
+
378  fileMenu->addSeparator();
+
379  fileMenu->addAction(actionExit);
+
380 
+
381  // Attach all actions to Options
+
382  optionMenu = new QMenu(tr("&Options"), this);
+
383  optionMenu->addAction(actionSetActiveLayer);
+
384  optionMenu->addAction(actionSetActiveAlpha);
+
385  optionMenu->addAction(actionMovePositionUp);
+
386  optionMenu->addAction(actionMovePositionDown);
+
387  optionMenu->addAction(actionMovePositionLeft);
+
388  optionMenu->addAction(actionMovePositionRight);
+
389  optionMenu->addAction(actionMoveLayerUp);
+
390  optionMenu->addAction(actionMoveLayerDown);
+
391 
+
392  // Attach all actions to Layer
+
393  layerMenu = new QMenu(tr("&Layer"), this);
+
394  layerMenu->addAction(actionCreateNewLayer);
+
395  layerMenu->addAction(actionDeleteLayer);
+
396 
+
397  //Attach all Color Options
+
398  colorMenu = new QMenu(tr("&Color"), this);
+
399  colorMenu->addAction(actionColorPickerFirstColor);
+
400  colorMenu->addAction(actionColorPickerSecondColor);
+
401  colorMenu->addAction(actionColorSwitch);
+
402 
+
403  //Attach all Tool Options
+
404  toolMenu = new QMenu(tr("&Tools"), this);
+
405  toolMenu->addAction(actionCreatePenTool);
+
406  toolMenu->addAction(actionCreatePlainTool);
+
407  toolMenu->addAction(actionCreateLineTool);
+
408  toolMenu->addAction(actionCreateRectangleTool);
+
409  toolMenu->addAction(actionCreateCircleTool);
+
410  toolMenu->addAction(actionCreatePolygonTool);
+
411  toolMenu->addAction(actionCreateFloodFillTool);
+
412  toolMenu->addSeparator();
+
413  toolMenu->addMenu(colorMenu);
+
414 
+
415  // Attach all actions to Help
+
416  helpMenu = new QMenu(tr("&Help"), this);
+
417  helpMenu->addAction(actionAboutDialog);
+
418  helpMenu->addAction(actionAboutQtDialog);
+
419 
+
420  // Add menu items to the menubar
+
421  menuBar()->addMenu(fileMenu);
+
422  menuBar()->addMenu(optionMenu);
+
423  menuBar()->addMenu(layerMenu);
+
424  menuBar()->addMenu(toolMenu);
+
425  menuBar()->addMenu(helpMenu);
+
426 }
427 
-
428  // Painting is the title of the window
-
429  // Add text and the buttons
-
430  ret = QMessageBox::warning(this, tr("Painting"),
-
431  tr("The image has been modified.\n"
-
432  "Do you want to save your changes?"),
-
433  QMessageBox::Save | QMessageBox::Discard
-
434  | QMessageBox::Cancel);
-
435 
-
436  // If save button clicked call for file to be saved
-
437  if (ret == QMessageBox::Save) {
-
438  return saveFile("png");
+
428 void IntelliPhotoGui::createGui(){
+
429  // create a central widget to work on
+
430  centralGuiWidget = new QWidget(this);
+
431  setCentralWidget(centralGuiWidget);
+
432 
+
433  // create the grid for the layout
+
434  mainLayout = new QGridLayout(centralGuiWidget);
+
435  centralGuiWidget->setLayout(mainLayout);
+
436 
+
437  // create Gui elements
+
438  paintingArea = new PaintingArea();
439 
-
440  // If cancel do nothing
-
441  } else if (ret == QMessageBox::Cancel) {
-
442  return false;
-
443  }
-
444  }
-
445  return true;
-
446 }
-
447 
-
448 bool IntelliPhotoGui::saveFile(const QByteArray &fileFormat){
-
449  // Define path, name and default file type
-
450  QString initialPath = QDir::currentPath() + "/untitled." + fileFormat;
-
451 
-
452  // Get selected file from dialog
-
453  // Add the proper file formats and extensions
-
454  QString fileName = QFileDialog::getSaveFileName(this, tr("Save As"),
-
455  initialPath,
-
456  tr("%1 Files (*.%2);;All Files (*)")
-
457  .arg(QString::fromLatin1(fileFormat.toUpper()))
-
458  .arg(QString::fromLatin1(fileFormat)), nullptr, QFileDialog::DontUseNativeDialog);
+
440  // set gui elements
+
441  mainLayout->addWidget(paintingArea);
+
442 }
+
443 
+
444 void IntelliPhotoGui::setIntelliStyle(){
+
445  // Set the title
+
446  setWindowTitle("IntelliPhoto Prototype");
+
447  // Set style sheet
+
448  this->setStyleSheet("background-color:rgb(64,64,64)");
+
449  this->centralGuiWidget->setStyleSheet("color:rgb(255,255,255)");
+
450  this->menuBar()->setStyleSheet("color:rgb(255,255,255)");
+
451 }
+
452 
+
453 bool IntelliPhotoGui::maybeSave(){
+
454  // Check for changes since last save
+
455 
+
456  // TODO insert variable for modified status here to make an save exit message
+
457  if (false) {
+
458  QMessageBox::StandardButton ret;
459 
-
460  // If no file do nothing
-
461  if (fileName.isEmpty()) {
-
462  return false;
-
463  } else {
-
464  // Call for the file to be saved
-
465  return paintingArea->save(fileName, fileFormat.constData());
-
466  }
-
467 }
+
460  // Painting is the title of the window
+
461  // Add text and the buttons
+
462  ret = QMessageBox::warning(this, tr("Painting"),
+
463  tr("The image has been modified.\n"
+
464  "Do you want to save your changes?"),
+
465  QMessageBox::Save | QMessageBox::Discard
+
466  | QMessageBox::Cancel);
+
467 
+
468  // If save button clicked call for file to be saved
+
469  if (ret == QMessageBox::Save) {
+
470  return saveFile("png");
+
471 
+
472  // If cancel do nothing
+
473  } else if (ret == QMessageBox::Cancel) {
+
474  return false;
+
475  }
+
476  }
+
477  return true;
+
478 }
+
479 
+
480 bool IntelliPhotoGui::saveFile(const QByteArray &fileFormat){
+
481  // Define path, name and default file type
+
482  QString initialPath = QDir::currentPath() + "/untitled." + fileFormat;
+
483 
+
484  // Get selected file from dialog
+
485  // Add the proper file formats and extensions
+
486  QString fileName = QFileDialog::getSaveFileName(this, tr("Save As"),
+
487  initialPath,
+
488  tr("%1 Files (*.%2);;All Files (*)")
+
489  .arg(QString::fromLatin1(fileFormat.toUpper()))
+
490  .arg(QString::fromLatin1(fileFormat)), nullptr, QFileDialog::DontUseNativeDialog);
+
491 
+
492  // If no file do nothing
+
493  if (fileName.isEmpty()) {
+
494  return false;
+
495  } else {
+
496  // Call for the file to be saved
+
497  return paintingArea->save(fileName, fileFormat.constData());
+
498  }
+
499 }
-
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
Definition: PaintingArea.cpp:58
-
PaintingArea::open
bool open(const QString &fileName)
Definition: PaintingArea.cpp:104
-
PaintingArea::setLayerToActive
void setLayerToActive(int index)
Definition: PaintingArea.cpp:91
-
PaintingArea::floodFill
void floodFill(int r, int g, int b, int a)
Definition: PaintingArea.cpp:140
-
PaintingArea::save
bool save(const QString &fileName, const char *fileFormat)
Definition: PaintingArea.cpp:116
-
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:187
-
IntelliPhotoGui::IntelliPhotoGui
IntelliPhotoGui()
Definition: IntelliPhotoGui.cpp:10
-
PaintingArea
Definition: PaintingArea.h:25
-
PaintingArea::deleteLayer
void deleteLayer(int index)
Definition: PaintingArea.cpp:75
-
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:182
-
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:192
-
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
Definition: PaintingArea.cpp:173
-
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
Definition: PaintingArea.cpp:168
-
PaintingArea::colorPickerSwitchColor
void colorPickerSwitchColor()
Definition: PaintingArea.cpp:178
+
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:200
+
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:56
+
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:195
+
PaintingArea::open
bool open(const QString &fileName)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:102
+
PaintingArea::setLayerToActive
void setLayerToActive(int index)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:89
+
PaintingArea::floodFill
void floodFill(int r, int g, int b, int a)
The floodFill method fills a the active layer with a given color.
Definition: PaintingArea.cpp:138
+
PaintingArea::save
bool save(const QString &fileName, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:114
+
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:185
+
IntelliPhotoGui::IntelliPhotoGui
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
Definition: IntelliPhotoGui.cpp:10
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
+
PaintingArea::deleteLayer
void deleteLayer(int index)
The deleteLayer method removes a layer at a given index.
Definition: PaintingArea.cpp:73
+
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:180
+
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:190
+
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:171
+
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:166
+
PaintingArea::colorPickerSwitchColor
void colorPickerSwitchColor()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:176
IntelliPhotoGui.h
IntelliPhotoGui::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: IntelliPhotoGui.cpp:26
-
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
Definition: PaintingArea.cpp:154
+
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:204
+
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:152
PaintingArea.h
-
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
Definition: PaintingArea.cpp:162
-
PaintingArea::setAlphaOfLayer
void setAlphaOfLayer(int index, int alpha)
Definition: PaintingArea.cpp:97
-
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
Definition: PaintingArea.cpp:149
+
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:209
+
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:160
+
PaintingArea::setAlphaOfLayer
void setAlphaOfLayer(int index, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:95
+
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:147

Classes

class  IntelliPhotoGui + The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program. More...
  diff --git a/docs/html/_intelli_photo_gui_8h_source.html b/docs/html/_intelli_photo_gui_8h_source.html index 9628d3c..73cc16d 100644 --- a/docs/html/_intelli_photo_gui_8h_source.html +++ b/docs/html/_intelli_photo_gui_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -108,120 +108,128 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h_source.html','')
16 
17 class IntelliColorPicker;
18 
-
19 class IntelliPhotoGui : public QMainWindow{
-
20  // Declares our class as a QObject which is the base class
-
21  // for all Qt objects
-
22  // QObjects handle events
-
23  Q_OBJECT
-
24 public:
-
25  IntelliPhotoGui();
-
26 
-
27 protected:
-
28  // Function used to close an event
-
29  void closeEvent(QCloseEvent *event) override;
-
30 
-
31 private slots:
-
32  // meta slots here (need further )
-
33  void slotOpen();
-
34  void slotSave();
-
35 
-
36  // layer slots here
-
37  void slotCreateNewLayer();
-
38  void slotDeleteLayer();
-
39  void slotClearActiveLayer();
-
40  void slotSetActiveLayer();
-
41  void slotSetActiveAlpha();
-
42  void slotPositionMoveUp();
-
43  void slotPositionMoveDown();
-
44  void slotPositionMoveLeft();
-
45  void slotPositionMoveRight();
-
46  void slotMoveLayerUp();
-
47  void slotMoveLayerDown();
-
48 
-
49  // color Picker slots here
-
50  void slotSetFirstColor();
-
51  void slotSetSecondColor();
-
52  void slotSwitchColor();
-
53 
-
54  // tool slots here
-
55  void slotCreatePenTool();
-
56  void slotCreatePlainTool();
-
57  void slotCreateLineTool();
-
58 
-
59  // slots for dialogs
-
60  void slotAboutDialog();
-
61 
-
62 private:
-
63  // Will tie user actions to functions
-
64  void createActions();
-
65  void createMenus();
-
66  // setup GUI elements
-
67  void createGui();
-
68  // set style of the GUI
-
69  void setIntelliStyle();
-
70 
-
71  // Will check if changes have occurred since last save
-
72  bool maybeSave();
-
73  // Opens the Save dialog and saves
-
74  bool saveFile(const QByteArray &fileFormat);
-
75 
-
76  // What we'll draw on
-
77  PaintingArea* paintingArea;
-
78 
-
79  // The menu widgets
-
80  QMenu *saveAsMenu;
-
81  QMenu *fileMenu;
-
82  QMenu *optionMenu;
-
83  QMenu *layerMenu;
-
84  QMenu *colorMenu;
-
85  QMenu *toolMenu;
-
86  QMenu *helpMenu;
-
87 
-
88  // All the actions that can occur
-
89  // meta image actions (need further modularisation)
-
90  QAction *actionOpen;
-
91  QAction *actionExit;
-
92 
-
93  // color Picker actions
-
94  QAction *actionColorPickerFirstColor;
-
95  QAction *actionColorPickerSecondColor;
-
96  QAction *actionColorSwitch;
+
22 class IntelliPhotoGui : public QMainWindow {
+
23 // Declares our class as a QObject which is the base class
+
24 // for all Qt objects
+
25 // QObjects handle events
+
26 Q_OBJECT
+
27 public:
+
31 IntelliPhotoGui();
+
32 
+
33 protected:
+
34 // Function used to close an event
+
35 void closeEvent(QCloseEvent*event) override;
+
36 
+
37 private slots:
+
38 // meta slots here (need further )
+
39 void slotOpen();
+
40 void slotSave();
+
41 
+
42 // layer slots here
+
43 void slotCreateNewLayer();
+
44 void slotDeleteLayer();
+
45 void slotClearActiveLayer();
+
46 void slotSetActiveLayer();
+
47 void slotSetActiveAlpha();
+
48 void slotPositionMoveUp();
+
49 void slotPositionMoveDown();
+
50 void slotPositionMoveLeft();
+
51 void slotPositionMoveRight();
+
52 void slotMoveLayerUp();
+
53 void slotMoveLayerDown();
+
54 
+
55 // color Picker slots here
+
56 void slotSetFirstColor();
+
57 void slotSetSecondColor();
+
58 void slotSwitchColor();
+
59 
+
60 // tool slots here
+
61 void slotCreatePenTool();
+
62 void slotCreatePlainTool();
+
63 void slotCreateLineTool();
+
64 void slotCreateRectangleTool();
+
65 void slotCreateCircleTool();
+
66 void slotCreatePolygonTool();
+
67 void slotCreateFloodFillTool();
+
68 
+
69 // slots for dialogs
+
70 void slotAboutDialog();
+
71 
+
72 private:
+
73 // Will tie user actions to functions
+
74 void createActions();
+
75 void createMenus();
+
76 // setup GUI elements
+
77 void createGui();
+
78 // set style of the GUI
+
79 void setIntelliStyle();
+
80 
+
81 // Will check if changes have occurred since last save
+
82 bool maybeSave();
+
83 // Opens the Save dialog and saves
+
84 bool saveFile(const QByteArray &fileFormat);
+
85 
+
86 // What we'll draw on
+
87 PaintingArea* paintingArea;
+
88 
+
89 // The menu widgets
+
90 QMenu*saveAsMenu;
+
91 QMenu*fileMenu;
+
92 QMenu*optionMenu;
+
93 QMenu*layerMenu;
+
94 QMenu*colorMenu;
+
95 QMenu*toolMenu;
+
96 QMenu*helpMenu;
97 
-
98  // tool actions
-
99  QAction *actionCreatePenTool;
-
100  QAction *actionCreatePlainTool;
-
101  QAction *actionCreateLineTool;
+
98 // All the actions that can occur
+
99 // meta image actions (need further modularisation)
+
100 QAction*actionOpen;
+
101 QAction*actionExit;
102 
-
103  // dialog actions
-
104  QAction *actionAboutDialog;
-
105  QAction *actionAboutQtDialog;
-
106 
-
107  // layer change actions
-
108  QAction *actionCreateNewLayer;
-
109  QAction *actionDeleteLayer;
-
110  QAction* actionSetActiveLayer;
-
111  QAction* actionSetActiveAlpha;
-
112  QAction* actionMovePositionUp;
-
113  QAction* actionMovePositionDown;
-
114  QAction* actionMovePositionLeft;
-
115  QAction* actionMovePositionRight;
-
116  QAction* actionMoveLayerUp;
-
117  QAction* actionMoveLayerDown;
-
118 
-
119  // Actions tied to specific file formats
-
120  QList<QAction *> actionSaveAs;
-
121 
-
122  // main GUI elements
-
123  QWidget* centralGuiWidget;
-
124  QGridLayout *mainLayout;
-
125 };
-
126 
-
127 #endif
+
103 // color Picker actions
+
104 QAction*actionColorPickerFirstColor;
+
105 QAction*actionColorPickerSecondColor;
+
106 QAction*actionColorSwitch;
+
107 
+
108 // tool actions
+
109 QAction*actionCreatePenTool;
+
110 QAction*actionCreatePlainTool;
+
111 QAction*actionCreateLineTool;
+
112 QAction*actionCreateRectangleTool;
+
113 QAction*actionCreateCircleTool;
+
114 QAction*actionCreatePolygonTool;
+
115 QAction*actionCreateFloodFillTool;
+
116 
+
117 // dialog actions
+
118 QAction*actionAboutDialog;
+
119 QAction*actionAboutQtDialog;
+
120 
+
121 // layer change actions
+
122 QAction*actionCreateNewLayer;
+
123 QAction*actionDeleteLayer;
+
124 QAction* actionSetActiveLayer;
+
125 QAction* actionSetActiveAlpha;
+
126 QAction* actionMovePositionUp;
+
127 QAction* actionMovePositionDown;
+
128 QAction* actionMovePositionLeft;
+
129 QAction* actionMovePositionRight;
+
130 QAction* actionMoveLayerUp;
+
131 QAction* actionMoveLayerDown;
+
132 
+
133 // Actions tied to specific file formats
+
134 QList<QAction*> actionSaveAs;
+
135 
+
136 // main GUI elements
+
137 QWidget* centralGuiWidget;
+
138 QGridLayout*mainLayout;
+
139 };
+
140 
+
141 #endif
-
IntelliPhotoGui
Definition: IntelliPhotoGui.h:19
-
IntelliPhotoGui::IntelliPhotoGui
IntelliPhotoGui()
Definition: IntelliPhotoGui.cpp:10
-
PaintingArea
Definition: PaintingArea.h:25
+
IntelliPhotoGui
The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program.
Definition: IntelliPhotoGui.h:22
+
IntelliPhotoGui::IntelliPhotoGui
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
Definition: IntelliPhotoGui.cpp:10
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliPhotoGui::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: IntelliPhotoGui.cpp:26
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
diff --git a/docs/html/_intelli_raster_image_8cpp.html b/docs/html/_intelli_raster_image_8cpp.html index dd0cace..180a1b7 100644 --- a/docs/html/_intelli_raster_image_8cpp.html +++ b/docs/html/_intelli_raster_image_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_raster_image_8cpp_source.html b/docs/html/_intelli_raster_image_8cpp_source.html index 1505657..44473a2 100644 --- a/docs/html/_intelli_raster_image_8cpp_source.html +++ b/docs/html/_intelli_raster_image_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -90,13 +90,13 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
IntelliRasterImage.cpp
-Go to the documentation of this file.
-
2 #include<QPainter>
-
3 #include<QRect>
-
4 #include<QDebug>
+Go to the documentation of this file.
+
2 #include <QPainter>
+
3 #include <QRect>
+
4 #include <QDebug>
5 
-
7  :IntelliImage(weight, height){
+
7  : IntelliImage(weight, height){
8 
9 }
10 
@@ -105,34 +105,34 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
13 }
14 
-
16  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height());
-
17  raster->imageData.fill(Qt::transparent);
-
18  return raster;
+
16  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height());
+
17  raster->imageData.fill(Qt::transparent);
+
18  return raster;
19 }
20 
-
22  // not used in raster image
+
22  // not used in raster image
23 }
24 
-
26  return getDisplayable(imageData.size(), alpha);
+
26  return getDisplayable(imageData.size(), alpha);
27 }
28 
29 QImage IntelliRasterImage::getDisplayable(const QSize& displaySize, int alpha){
-
30  QImage copy = imageData;
-
31  for(int y = 0; y<copy.height(); y++){
-
32  for(int x = 0; x<copy.width(); x++){
-
33  QColor clr = copy.pixelColor(x,y);
-
34  clr.setAlpha(std::min(alpha, clr.alpha()));
-
35  copy.setPixelColor(x,y, clr);
-
36  }
-
37  }
-
38  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
+
30  QImage copy = imageData;
+
31  for(int y = 0; y<copy.height(); y++) {
+
32  for(int x = 0; x<copy.width(); x++) {
+
33  QColor clr = copy.pixelColor(x,y);
+
34  clr.setAlpha(std::min(alpha, clr.alpha()));
+
35  copy.setPixelColor(x,y, clr);
+
36  }
+
37  }
+
38  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
39 }
40 
41 void IntelliRasterImage::setPolygon(const std::vector<QPoint>& polygonData){
-
42  qDebug() << "Raster Image has no polygon data " << polygonData.size() <<"\n";
-
43  return;
+
42  qDebug() << "Raster Image has no polygon data " << polygonData.size() <<"\n";
+
43  return;
44 }
diff --git a/docs/html/_intelli_raster_image_8h.html b/docs/html/_intelli_raster_image_8h.html index 27f4ca3..f9b8aa7 100644 --- a/docs/html/_intelli_raster_image_8h.html +++ b/docs/html/_intelli_raster_image_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_raster_image_8h_source.html b/docs/html/_intelli_raster_image_8h_source.html index 9724a25..974c110 100644 --- a/docs/html/_intelli_raster_image_8h_source.html +++ b/docs/html/_intelli_raster_image_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,24 +93,24 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8h_source.html', Go to the documentation of this file.
1 #ifndef INTELLIRASTER_H
2 #define INTELLIRASTER_H
3 
-
4 #include"Image/IntelliImage.h"
+
4 #include "Image/IntelliImage.h"
5 
-
9 class IntelliRasterImage : public IntelliImage{
-
10  friend IntelliTool;
+
9 class IntelliRasterImage : public IntelliImage {
+
10 friend IntelliTool;
11 protected:
-
15  virtual void calculateVisiblity() override;
+
15 virtual void calculateVisiblity() override;
16 public:
-
22  IntelliRasterImage(int weight, int height);
+
22 IntelliRasterImage(int weight, int height);
23 
-
27  virtual ~IntelliRasterImage() override;
+
27 virtual ~IntelliRasterImage() override;
28 
-
35  virtual QImage getDisplayable(const QSize& displaySize,int alpha) override;
+
35 virtual QImage getDisplayable(const QSize& displaySize,int alpha) override;
36 
-
42  virtual QImage getDisplayable(int alpha=255) override;
+
42 virtual QImage getDisplayable(int alpha=255) override;
43 
-
48  virtual IntelliImage* getDeepCopy() override;
+
48 virtual IntelliImage* getDeepCopy() override;
49 
-
54  virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
+
54 virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
55 };
56 
57 #endif
diff --git a/docs/html/_intelli_shaped_image_8cpp.html b/docs/html/_intelli_shaped_image_8cpp.html index b3e12a0..6412dc2 100644 --- a/docs/html/_intelli_shaped_image_8cpp.html +++ b/docs/html/_intelli_shaped_image_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_shaped_image_8cpp_source.html b/docs/html/_intelli_shaped_image_8cpp_source.html index f839ba3..d464d5f 100644 --- a/docs/html/_intelli_shaped_image_8cpp_source.html +++ b/docs/html/_intelli_shaped_image_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -90,14 +90,14 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
IntelliShapedImage.cpp
-Go to the documentation of this file.
- -
3 #include<QPainter>
-
4 #include<QRect>
-
5 #include<QDebug>
+Go to the documentation of this file.
+ +
3 #include <QPainter>
+
4 #include <QRect>
+
5 #include <QDebug>
6 
-
8  :IntelliRasterImage(weight, height){
+
8  : IntelliRasterImage(weight, height){
9 }
10 
@@ -105,68 +105,68 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
13 }
14 
-
16  return getDisplayable(imageData.size(),alpha);
+
16  return getDisplayable(imageData.size(),alpha);
17 }
18 
-
20  IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height());
-
21  shaped->setPolygon(this->polygonData);
-
22  shaped->imageData.fill(Qt::transparent);
-
23  return shaped;
+
20  IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height());
+
21  shaped->setPolygon(this->polygonData);
+
22  shaped->imageData.fill(Qt::transparent);
+
23  return shaped;
24 }
25 
26 void IntelliShapedImage::calculateVisiblity(){
-
27  if(polygonData.size()<=2){
-
28  QColor clr;
-
29  for(int y=0; y<imageData.height(); y++){
-
30  for(int x=0; x<imageData.width(); x++){
-
31  clr = imageData.pixel(x,y);
-
32  clr.setAlpha(255);
-
33  imageData.setPixelColor(x,y,clr);
-
34  }
-
35  }
-
36  return;
-
37  }
-
38  QColor clr;
-
39  for(int y=0; y<imageData.height(); y++){
-
40  for(int x=0; x<imageData.width(); x++){
-
41  QPoint ptr(x,y);
-
42  clr = imageData.pixelColor(x,y);
-
43  bool isInPolygon = IntelliHelper::isInPolygon(triangles, ptr);
-
44  if(isInPolygon){
-
45  clr.setAlpha(std::min(255, clr.alpha()));
-
46  }else{
-
47  clr.setAlpha(0);
-
48  }
-
49  imageData.setPixelColor(x,y,clr);
-
50  }
-
51  }
+
27  if(polygonData.size()<=2) {
+
28  QColor clr;
+
29  for(int y=0; y<imageData.height(); y++) {
+
30  for(int x=0; x<imageData.width(); x++) {
+
31  clr = imageData.pixel(x,y);
+
32  clr.setAlpha(255);
+
33  imageData.setPixelColor(x,y,clr);
+
34  }
+
35  }
+
36  return;
+
37  }
+
38  QColor clr;
+
39  for(int y=0; y<imageData.height(); y++) {
+
40  for(int x=0; x<imageData.width(); x++) {
+
41  QPoint ptr(x,y);
+
42  clr = imageData.pixelColor(x,y);
+
43  bool isInPolygon = IntelliHelper::isInPolygon(triangles, ptr);
+
44  if(isInPolygon) {
+
45  clr.setAlpha(std::min(255, clr.alpha()));
+
46  }else{
+
47  clr.setAlpha(0);
+
48  }
+
49  imageData.setPixelColor(x,y,clr);
+
50  }
+
51  }
52 }
53 
54 QImage IntelliShapedImage::getDisplayable(const QSize& displaySize, int alpha){
-
55  QImage copy = imageData;
-
56  for(int y = 0; y<copy.height(); y++){
-
57  for(int x = 0; x<copy.width(); x++){
-
58  QColor clr = copy.pixelColor(x,y);
-
59  clr.setAlpha(std::min(alpha,clr.alpha()));
-
60  copy.setPixelColor(x,y, clr);
-
61  }
-
62  }
-
63  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
+
55  QImage copy = imageData;
+
56  for(int y = 0; y<copy.height(); y++) {
+
57  for(int x = 0; x<copy.width(); x++) {
+
58  QColor clr = copy.pixelColor(x,y);
+
59  clr.setAlpha(std::min(alpha,clr.alpha()));
+
60  copy.setPixelColor(x,y, clr);
+
61  }
+
62  }
+
63  return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
64 }
65 
66 void IntelliShapedImage::setPolygon(const std::vector<QPoint>& polygonData){
-
67  if(polygonData.size()<3){
-
68  this->polygonData.clear();
-
69  }else{
-
70  this->polygonData.clear();
-
71  for(auto element:polygonData){
-
72  this->polygonData.push_back(QPoint(element.x(), element.y()));
-
73  }
- -
75  }
-
76  calculateVisiblity();
-
77  return;
+
67  if(polygonData.size()<3) {
+
68  this->polygonData.clear();
+
69  }else{
+
70  this->polygonData.clear();
+
71  for(auto element:polygonData) {
+
72  this->polygonData.push_back(QPoint(element.x(), element.y()));
+
73  }
+ +
75  }
+
76  calculateVisiblity();
+
77  return;
78 }
@@ -175,7 +175,7 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
IntelliHelper.h
IntelliShapedImage
The IntelliShapedImage manages a Shapedimage.
Definition: IntelliShapedImage.h:11
IntelliShapedImage::getDeepCopy
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
Definition: IntelliShapedImage.cpp:19
-
IntelliHelper::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliHelper.cpp:115
+
IntelliHelper::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliHelper.cpp:116
IntelliHelper::calculateTriangles
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 ...
Definition: IntelliHelper.cpp:7
IntelliImage::imageData
QImage imageData
The underlying image data.
Definition: IntelliImage.h:32
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:24
diff --git a/docs/html/_intelli_shaped_image_8h.html b/docs/html/_intelli_shaped_image_8h.html index a96f338..c0f00a7 100644 --- a/docs/html/_intelli_shaped_image_8h.html +++ b/docs/html/_intelli_shaped_image_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_shaped_image_8h_source.html b/docs/html/_intelli_shaped_image_8h_source.html index 7197324..6712513 100644 --- a/docs/html/_intelli_shaped_image_8h_source.html +++ b/docs/html/_intelli_shaped_image_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,36 +93,38 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8h_source.html', Go to the documentation of this file.
1 #ifndef INTELLISHAPE_H
2 #define INTELLISHAPE_H
3 
-
4 #include"Image/IntelliRasterImage.h"
-
5 #include<vector>
-
6 #include"IntelliHelper/IntelliHelper.h"
+
4 #include "Image/IntelliRasterImage.h"
+
5 #include <vector>
+
6 #include "IntelliHelper/IntelliHelper.h"
7 
-
11 class IntelliShapedImage : public IntelliRasterImage{
-
12  friend IntelliTool;
+
11 class IntelliShapedImage : public IntelliRasterImage {
+
12 friend IntelliTool;
13 private:
-
17  std::vector<Triangle> triangles;
+
17 std::vector<Triangle> triangles;
18 
-
22  virtual void calculateVisiblity() override;
+
22 virtual void calculateVisiblity() override;
23 protected:
24 
-
28  std::vector<QPoint> polygonData;
+
28 std::vector<QPoint> polygonData;
29 public:
-
35  IntelliShapedImage(int weight, int height);
+
35 IntelliShapedImage(int weight, int height);
36 
-
40  virtual ~IntelliShapedImage() override;
+
40 virtual ~IntelliShapedImage() override;
41 
-
48  virtual QImage getDisplayable(const QSize& displaySize, int alpha=255) override;
+
48 virtual QImage getDisplayable(const QSize& displaySize, int alpha=255) override;
49 
-
55  virtual QImage getDisplayable(int alpha=255) override;
+
55 virtual QImage getDisplayable(int alpha=255) override;
56 
-
61  virtual IntelliImage* getDeepCopy() override;
+
61 virtual IntelliImage* getDeepCopy() override;
62 
-
67  virtual std::vector<QPoint> getPolygonData() override{return polygonData;}
-
68 
-
73  virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
-
74 };
-
75 
-
76 #endif
+
67 virtual std::vector<QPoint> getPolygonData() override {
+
68  return polygonData;
+
69 }
+
70 
+
75 virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
+
76 };
+
77 
+
78 #endif
IntelliShapedImage::getDisplayable
virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
A function returning the displayable ImageData in a requested transparence and size.
Definition: IntelliShapedImage.cpp:54
diff --git a/docs/html/_intelli_tool_8cpp.html b/docs/html/_intelli_tool_8cpp.html index 2d2240c..129fdfc 100644 --- a/docs/html/_intelli_tool_8cpp.html +++ b/docs/html/_intelli_tool_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_8cpp_source.html b/docs/html/_intelli_tool_8cpp_source.html index 281b201..f0a418f 100644 --- a/docs/html/_intelli_tool_8cpp_source.html +++ b/docs/html/_intelli_tool_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -90,12 +90,12 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html','');})
IntelliTool.cpp
-Go to the documentation of this file.
1 #include"IntelliTool.h"
-
2 #include"Layer/PaintingArea.h"
+Go to the documentation of this file.
1 #include "IntelliTool.h"
+
2 #include "Layer/PaintingArea.h"
3 
-
5  this->Area=Area;
-
6  this->colorPicker=colorPicker;
+
5  this->Area=Area;
+
6  this->colorPicker=colorPicker;
7 }
8 
9 
@@ -104,74 +104,73 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html','');})
12 }
13 
-
15  if(drawing){
-
16  drawing=false;
-
17  this->deleteToolLayer();
-
18  }
+
15  if(drawing) {
+
16  drawing=false;
+
17  this->deleteToolLayer();
+
18  }
19 }
20 
-
22  //optional for tool
+
22  //optional for tool
23 }
24 
-
26  this->drawing=true;
-
27  //create drawing layer
-
28  this->createToolLayer();
- +
26  this->drawing=true;
+
27  //create drawing layer
+
28  this->createToolLayer();
+
30 }
31 
-
33  if(drawing){
-
34  drawing=false;
-
35  this->mergeToolLayer();
-
36  this->deleteToolLayer();
- -
38  }
+
33  if(drawing) {
+
34  drawing=false;
+
35  this->mergeToolLayer();
+
36  this->deleteToolLayer();
+ +
38  }
39 }
40 
41 void IntelliTool::onMouseMoved(int x, int y){
-
42  if(drawing)
- +
42  if(drawing)
+
44 }
45 
-
47  //if needed for future general tasks implement in here
+
47  //if needed for future general tasks implement in here
48 }
49 
50 void IntelliTool::createToolLayer(){
-
51  Area->createTempLayerAfter(Area->activeLayer);
-
52  this->Active=&Area->layerBundle[Area->activeLayer];
-
53  this->Canvas=&Area->layerBundle[Area->activeLayer+1];
+
51  Area->createTempLayerAfter(Area->activeLayer);
+
52  this->Active=&Area->layerBundle[Area->activeLayer];
+
53  this->Canvas=&Area->layerBundle[Area->activeLayer+1];
54 }
55 
56 void IntelliTool::mergeToolLayer(){
-
57  QColor clr_0;
-
58  QColor clr_1;
-
59  for(int y=0; y<Active->hight; y++){
-
60  for(int x=0; x<Active->width; x++){
-
61  clr_0=Active->image->imageData.pixelColor(x,y);
-
62  clr_1=Canvas->image->imageData.pixelColor(x,y);
-
63  float t = static_cast<float>(clr_1.alpha())/255.f;
-
64  int r =static_cast<int>(static_cast<float>(clr_1.red())*(t)+static_cast<float>(clr_0.red())*(1.f-t)+0.5f);
-
65  int g =static_cast<int>(static_cast<float>(clr_1.green())*(t)+static_cast<float>(clr_0.green())*(1.f-t)+0.5f);
-
66  int b =static_cast<int>(static_cast<float>(clr_1.blue())*(t)+static_cast<float>(clr_0.blue()*(1.f-t))+0.5f);
-
67  int a =std::min(clr_0.alpha()+clr_1.alpha(), 255);
-
68  clr_0.setRed(r);
-
69  clr_0.setGreen(g);
-
70  clr_0.setBlue(b);
-
71  clr_0.setAlpha(a);
+
57  QColor clr_0;
+
58  QColor clr_1;
+
59  for(int y=0; y<Active->height; y++) {
+
60  for(int x=0; x<Active->width; x++) {
+
61  clr_0=Active->image->imageData.pixelColor(x,y);
+
62  clr_1=Canvas->image->imageData.pixelColor(x,y);
+
63  float t = static_cast<float>(clr_1.alpha())/255.f;
+
64  int r =static_cast<int>(static_cast<float>(clr_1.red())*(t)+static_cast<float>(clr_0.red())*(1.f-t)+0.5f);
+
65  int g =static_cast<int>(static_cast<float>(clr_1.green())*(t)+static_cast<float>(clr_0.green())*(1.f-t)+0.5f);
+
66  int b =static_cast<int>(static_cast<float>(clr_1.blue())*(t)+static_cast<float>(clr_0.blue()*(1.f-t))+0.5f);
+
67  int a =std::min(clr_0.alpha()+clr_1.alpha(), 255);
+
68  clr_0.setRed(r);
+
69  clr_0.setGreen(g);
+
70  clr_0.setBlue(b);
+
71  clr_0.setAlpha(a);
72 
-
73  Active->image->imageData.setPixelColor(x, y, clr_0);
-
74  }
-
75  }
+
73  Active->image->imageData.setPixelColor(x, y, clr_0);
+
74  }
+
75  }
76 }
77 
78 void IntelliTool::deleteToolLayer(){
-
79  Area->deleteLayer(Area->activeLayer+1);
-
80  this->Canvas=nullptr;
+
79  Area->deleteLayer(Area->activeLayer+1);
+
80  this->Canvas=nullptr;
81 }
-
82 
IntelliTool::onMouseRightPressed
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:14
@@ -181,17 +180,17 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html','');})
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliTool::IntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:4
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
-
PaintingArea
Definition: PaintingArea.h:25
-
PaintingArea::deleteLayer
void deleteLayer(int index)
Definition: PaintingArea.cpp:75
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
+
PaintingArea::deleteLayer
void deleteLayer(int index)
The deleteLayer method removes a layer at a given index.
Definition: PaintingArea.cpp:73
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
-
LayerObject::width
int width
Definition: PaintingArea.h:18
+
LayerObject::width
int width
Definition: PaintingArea.h:26
IntelliTool::drawing
bool drawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:53
PaintingArea.h
-
LayerObject::hight
int hight
Definition: PaintingArea.h:19
+
LayerObject::height
int height
Definition: PaintingArea.h:27
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
IntelliImage::imageData
QImage imageData
The underlying image data.
Definition: IntelliImage.h:32
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
IntelliTool::Active
LayerObject * Active
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:43
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
diff --git a/docs/html/_intelli_tool_8h.html b/docs/html/_intelli_tool_8h.html index e42c792..91ddb2b 100644 --- a/docs/html/_intelli_tool_8h.html +++ b/docs/html/_intelli_tool_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_8h_source.html b/docs/html/_intelli_tool_8h_source.html index 976661a..541cb15 100644 --- a/docs/html/_intelli_tool_8h_source.html +++ b/docs/html/_intelli_tool_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -99,40 +99,40 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html','');});
7 class LayerObject;
8 class PaintingArea;
9 
-
13 class IntelliTool{
+
13 class IntelliTool {
14 private:
-
18  void createToolLayer();
+
18 void createToolLayer();
19 
-
23  void mergeToolLayer();
+
23 void mergeToolLayer();
24 
-
28  void deleteToolLayer();
+
28 void deleteToolLayer();
29 protected:
-
33  PaintingArea* Area;
+
33 PaintingArea* Area;
34 
-
38  IntelliColorPicker* colorPicker;
+
38 IntelliColorPicker* colorPicker;
39 
-
43  LayerObject* Active;
+
43 LayerObject* Active;
44 
-
48  LayerObject* Canvas;
+
48 LayerObject* Canvas;
49 
-
53  bool drawing = false;
+
53 bool drawing = false;
54 
55 public:
-
61  IntelliTool(PaintingArea* Area, IntelliColorPicker* colorPicker);
+
61 IntelliTool(PaintingArea* Area, IntelliColorPicker* colorPicker);
62 
-
66  virtual ~IntelliTool() = 0;
+
66 virtual ~IntelliTool() = 0;
67 
-
73  virtual void onMouseRightPressed(int x, int y);
+
73 virtual void onMouseRightPressed(int x, int y);
74 
-
80  virtual void onMouseRightReleased(int x, int y);
+
80 virtual void onMouseRightReleased(int x, int y);
81 
-
87  virtual void onMouseLeftPressed(int x, int y);
+
87 virtual void onMouseLeftPressed(int x, int y);
88 
-
94  virtual void onMouseLeftReleased(int x, int y);
+
94 virtual void onMouseLeftReleased(int x, int y);
95 
-
100  virtual void onWheelScrolled(int value);
+
100 virtual void onWheelScrolled(int value);
101 
-
107  virtual void onMouseMoved(int x, int y);
+
107 virtual void onMouseMoved(int x, int y);
108 
109 
110 };
@@ -145,8 +145,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html','');});
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliTool::IntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:4
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
-
PaintingArea
Definition: PaintingArea.h:25
-
LayerObject
Definition: PaintingArea.h:16
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
+
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:24
IntelliTool::onMouseRightReleased
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:21
IntelliColorPicker.h
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
diff --git a/docs/html/_intelli_tool_circle_8cpp.html b/docs/html/_intelli_tool_circle_8cpp.html index 205c93d..f059236 100644 --- a/docs/html/_intelli_tool_circle_8cpp.html +++ b/docs/html/_intelli_tool_circle_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_circle_8cpp_source.html b/docs/html/_intelli_tool_circle_8cpp_source.html index 4603593..3406c64 100644 --- a/docs/html/_intelli_tool_circle_8cpp_source.html +++ b/docs/html/_intelli_tool_circle_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -96,9 +96,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
4 #include <cmath>
5 
6 IntelliToolCircle::IntelliToolCircle(PaintingArea* Area, IntelliColorPicker* colorPicker)
-
7  :IntelliTool(Area, colorPicker){
-
8  this->alphaInner = QInputDialog::getInt(nullptr,"Inner Alpha Value", "Value:", 0,0,255,1);
-
9  this->edgeWidth = QInputDialog::getInt(nullptr,"Outer edge width", "Value:", 0,1,255,1);
+
7  : IntelliTool(Area, colorPicker){
+
8  this->alphaInner = QInputDialog::getInt(nullptr,"Inner Alpha Value", "Value:", 0,0,255,1);
+
9  this->edgeWidth = QInputDialog::getInt(nullptr,"Outer edge width", "Value:", 0,1,255,1);
10 }
11 
12 IntelliToolCircle::~IntelliToolCircle(){
@@ -106,76 +106,76 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
14 }
15 
16 void IntelliToolCircle::drawCyrcle(int radius){
-
17  int outer = radius+20;
-
18  QColor inner = this->colorPicker->getSecondColor();
-
19  inner.setAlpha(alphaInner);
-
20  int yMin, yMax, xMin, xMax;
-
21  yMin = Middle.y()-radius;
-
22  yMax = Middle.y()+radius;
-
23  // x = x0+-sqrt(r2-(y-y0)2)
-
24  for(int i=yMin; i<=yMax; i++){
-
25  xMin = Middle.x()-sqrt(pow(radius,2)-pow(i-Middle.y(),2));
-
26  xMax = Middle.x()+sqrt(pow(radius,2)-pow(i-Middle.y(),2));
-
27  this->Canvas->image->drawLine(QPoint(xMin,i), QPoint(xMax,i),inner,1);
-
28  }
+
17  int outer = radius+20;
+
18  QColor inner = this->colorPicker->getSecondColor();
+
19  inner.setAlpha(alphaInner);
+
20  int yMin, yMax, xMin, xMax;
+
21  yMin = Middle.y()-radius;
+
22  yMax = Middle.y()+radius;
+
23  // x = x0+-sqrt(r2-(y-y0)2)
+
24  for(int i=yMin; i<=yMax; i++) {
+
25  xMin = Middle.x()-sqrt(pow(radius,2)-pow(i-Middle.y(),2));
+
26  xMax = Middle.x()+sqrt(pow(radius,2)-pow(i-Middle.y(),2));
+
27  this->Canvas->image->drawLine(QPoint(xMin,i), QPoint(xMax,i),inner,1);
+
28  }
29 
-
30  //TODO implement circle drawing algorithm bresenham
-
31  radius = radius +(this->edgeWidth/2.)-1.;
-
32  yMin = (Middle.y()-radius);
-
33  yMax = (Middle.y()+radius);
-
34  for(int i=yMin; i<=yMax; i++){
-
35  xMin = Middle.x()-sqrt(pow(radius,2)-pow(i-Middle.y(),2));
-
36  xMax = Middle.x()+sqrt(pow(radius,2)-pow(i-Middle.y(),2));
-
37  this->Canvas->image->drawPoint(QPoint(xMin,i), colorPicker->getFirstColor(),edgeWidth);
-
38  this->Canvas->image->drawPoint(QPoint(xMax,i), colorPicker->getFirstColor(),edgeWidth);
-
39  }
+
30  //TODO implement circle drawing algorithm bresenham
+
31  radius = radius +(this->edgeWidth/2.)-1.;
+
32  yMin = (Middle.y()-radius);
+
33  yMax = (Middle.y()+radius);
+
34  for(int i=yMin; i<=yMax; i++) {
+
35  xMin = Middle.x()-sqrt(pow(radius,2)-pow(i-Middle.y(),2));
+
36  xMax = Middle.x()+sqrt(pow(radius,2)-pow(i-Middle.y(),2));
+
37  this->Canvas->image->drawPoint(QPoint(xMin,i), colorPicker->getFirstColor(),edgeWidth);
+
38  this->Canvas->image->drawPoint(QPoint(xMax,i), colorPicker->getFirstColor(),edgeWidth);
+
39  }
40 
-
41  xMin = (Middle.x()-radius);
-
42  xMax = (Middle.x()+radius);
-
43  for(int i=xMin; i<=xMax; i++){
-
44  int yMin = Middle.y()-sqrt(pow(radius,2)-pow(i-Middle.x(),2));
-
45  int yMax = Middle.y()+sqrt(pow(radius,2)-pow(i-Middle.x(),2));
-
46  this->Canvas->image->drawPoint(QPoint(i, yMin), colorPicker->getFirstColor(),edgeWidth);
-
47  this->Canvas->image->drawPoint(QPoint(i, yMax), colorPicker->getFirstColor(),edgeWidth);
-
48  }
+
41  xMin = (Middle.x()-radius);
+
42  xMax = (Middle.x()+radius);
+
43  for(int i=xMin; i<=xMax; i++) {
+
44  int yMin = Middle.y()-sqrt(pow(radius,2)-pow(i-Middle.x(),2));
+
45  int yMax = Middle.y()+sqrt(pow(radius,2)-pow(i-Middle.x(),2));
+
46  this->Canvas->image->drawPoint(QPoint(i, yMin), colorPicker->getFirstColor(),edgeWidth);
+
47  this->Canvas->image->drawPoint(QPoint(i, yMax), colorPicker->getFirstColor(),edgeWidth);
+
48  }
49 }
50 
51 void IntelliToolCircle::onMouseRightPressed(int x, int y){
-
52  IntelliTool::onMouseRightPressed(x,y);
+
52  IntelliTool::onMouseRightPressed(x,y);
53 }
54 
55 void IntelliToolCircle::onMouseRightReleased(int x, int y){
-
56  IntelliTool::onMouseRightReleased(x,y);
+
56  IntelliTool::onMouseRightReleased(x,y);
57 }
58 
59 void IntelliToolCircle::onMouseLeftPressed(int x, int y){
-
60  IntelliTool::onMouseLeftPressed(x,y);
-
61  this->Middle=QPoint(x,y);
-
62  int radius = 1;
-
63  drawCyrcle(radius);
-
64  Canvas->image->calculateVisiblity();
+
60  IntelliTool::onMouseLeftPressed(x,y);
+
61  this->Middle=QPoint(x,y);
+
62  int radius = 1;
+
63  drawCyrcle(radius);
+
64  Canvas->image->calculateVisiblity();
65 }
66 
67 void IntelliToolCircle::onMouseLeftReleased(int x, int y){
-
68  IntelliTool::onMouseLeftReleased(x,y);
+
68  IntelliTool::onMouseLeftReleased(x,y);
69 }
70 
71 void IntelliToolCircle::onWheelScrolled(int value){
-
72  IntelliTool::onWheelScrolled(value);
-
73  this->edgeWidth+=value;
-
74  if(this->edgeWidth<=0){
-
75  this->edgeWidth=1;
-
76  }
+
72  IntelliTool::onWheelScrolled(value);
+
73  this->edgeWidth+=value;
+
74  if(this->edgeWidth<=0) {
+
75  this->edgeWidth=1;
+
76  }
77 }
78 
79 void IntelliToolCircle::onMouseMoved(int x, int y){
-
80  if(this->drawing){
-
81  this->Canvas->image->drawPlain(Qt::transparent);
-
82  QPoint next(x,y);
-
83  int radius = static_cast<int>(sqrt(pow((Middle.x()-x),2)+pow((Middle.y()-y),2)));
-
84  drawCyrcle(radius);
-
85  }
-
86  IntelliTool::onMouseMoved(x,y);
+
80  if(this->drawing) {
+
81  this->Canvas->image->drawPlain(Qt::transparent);
+
82  QPoint next(x,y);
+
83  int radius = static_cast<int>(sqrt(pow((Middle.x()-x),2)+pow((Middle.y()-y),2)));
+
84  drawCyrcle(radius);
+
85  }
+
86  IntelliTool::onMouseMoved(x,y);
87 }
@@ -188,7 +188,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
IntelliToolCircle::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
Definition: IntelliToolCircle.cpp:71
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliImage::drawPoint
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
Definition: IntelliImage.cpp:55
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
@@ -200,7 +200,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
IntelliToolCircle::onMouseMoved
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: IntelliToolCircle.cpp:79
IntelliToolCircle::IntelliToolCircle
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
Definition: IntelliToolCircle.cpp:6
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
IntelliToolCircle::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolCircle.cpp:67
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
diff --git a/docs/html/_intelli_tool_circle_8h.html b/docs/html/_intelli_tool_circle_8h.html index 67de9a2..30a6019 100644 --- a/docs/html/_intelli_tool_circle_8h.html +++ b/docs/html/_intelli_tool_circle_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_circle_8h_source.html b/docs/html/_intelli_tool_circle_8h_source.html index e6ea705..2860189 100644 --- a/docs/html/_intelli_tool_circle_8h_source.html +++ b/docs/html/_intelli_tool_circle_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -96,30 +96,30 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
4 
5 #include "QColor"
6 #include "QPoint"
-
10 class IntelliToolCircle : public IntelliTool{
-
15  void drawCyrcle(int radius);
+
10 class IntelliToolCircle : public IntelliTool {
+
15 void drawCyrcle(int radius);
16 
-
20  QPoint Middle;
+
20 QPoint Middle;
21 
-
25  int alphaInner;
+
25 int alphaInner;
26 
-
30  int edgeWidth;
+
30 int edgeWidth;
31 public:
-
37  IntelliToolCircle(PaintingArea* Area, IntelliColorPicker* colorPicker);
+
37 IntelliToolCircle(PaintingArea* Area, IntelliColorPicker* colorPicker);
38 
-
42  virtual ~IntelliToolCircle() override;
+
42 virtual ~IntelliToolCircle() override;
43 
-
49  virtual void onMouseRightPressed(int x, int y) override;
+
49 virtual void onMouseRightPressed(int x, int y) override;
50 
-
56  virtual void onMouseRightReleased(int x, int y) override;
+
56 virtual void onMouseRightReleased(int x, int y) override;
57 
-
63  virtual void onMouseLeftPressed(int x, int y) override;
+
63 virtual void onMouseLeftPressed(int x, int y) override;
64 
-
70  virtual void onMouseLeftReleased(int x, int y) override;
+
70 virtual void onMouseLeftReleased(int x, int y) override;
71 
-
76  virtual void onWheelScrolled(int value) override;
+
76 virtual void onWheelScrolled(int value) override;
77 
-
83  virtual void onMouseMoved(int x, int y) override;
+
83 virtual void onMouseMoved(int x, int y) override;
84 };
85 
86 #endif // INTELLITOOLCIRCLE_H
@@ -131,7 +131,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
IntelliTool.h
IntelliToolCircle::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
Definition: IntelliToolCircle.cpp:71
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolCircle::~IntelliToolCircle
virtual ~IntelliToolCircle() override
A Destructor.
Definition: IntelliToolCircle.cpp:12
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
diff --git a/docs/html/_intelli_tool_flood_fill_8cpp.html b/docs/html/_intelli_tool_flood_fill_8cpp.html index 01eb49f..082f627 100644 --- a/docs/html/_intelli_tool_flood_fill_8cpp.html +++ b/docs/html/_intelli_tool_flood_fill_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_flood_fill_8cpp_source.html b/docs/html/_intelli_tool_flood_fill_8cpp_source.html index 945444a..461a7a7 100644 --- a/docs/html/_intelli_tool_flood_fill_8cpp_source.html +++ b/docs/html/_intelli_tool_flood_fill_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -98,102 +98,104 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8cpp_source.h
6 #include <queue>
7 
8 IntelliToolFloodFill::IntelliToolFloodFill(PaintingArea* Area, IntelliColorPicker* colorPicker)
-
9  :IntelliTool(Area, colorPicker){
+
9  : IntelliTool(Area, colorPicker){
10 }
11 
12 IntelliToolFloodFill::~IntelliToolFloodFill(){
13 
14 }
15 
-
16 
-
17 void IntelliToolFloodFill::onMouseRightPressed(int x, int y){
-
18  IntelliTool::onMouseRightPressed(x,y);
-
19 }
-
20 
-
21 void IntelliToolFloodFill::onMouseRightReleased(int x, int y){
-
22  IntelliTool::onMouseRightReleased(x,y);
-
23 }
-
24 
-
25 void IntelliToolFloodFill::onMouseLeftPressed(int x, int y){
-
26  IntelliTool::onMouseLeftPressed(x,y);
-
27 
-
28  QPoint start(x,y);
-
29  std::queue<QPoint> Q;
-
30  Q.push(start);
-
31 
-
32  QColor oldColor = this->Active->image->getPixelColor(start);
-
33  QColor newColor = this->colorPicker->getFirstColor();
-
34  Canvas->image->drawPixel(start,newColor);
-
35 
-
36  QPoint left, right, top, down;
-
37  while(!Q.empty()){
-
38  QPoint Current = Q.front();
-
39  Q.pop();
-
40 
-
41  left = QPoint(Current.x()-1,Current.y() );
-
42  right = QPoint(Current.x()+1,Current.y() );
-
43  top = QPoint(Current.x() ,Current.y()-1);
-
44  down = QPoint(Current.x() ,Current.y()+1);
-
45  if((right.x() < Canvas->width) && (Canvas->image->getPixelColor(right) != newColor) && (Active->image->getPixelColor(right) == oldColor)){
-
46  Canvas->image->drawPixel(right,newColor);
-
47  Q.push(right);
-
48  }
-
49  if((left.x() >= 0) && (Canvas->image->getPixelColor(left) != newColor) && (Active->image->getPixelColor(left) == oldColor)){
-
50  Canvas->image->drawPixel(left,newColor);
-
51  Q.push(left);
-
52  }
-
53  if((top.y() < Canvas->hight) && (Canvas->image->getPixelColor(top) != newColor) && (Active->image->getPixelColor(top) == oldColor)){
-
54  Canvas->image->drawPixel(top,newColor);
-
55  Q.push(top);
-
56  }
-
57  if((down.y() >= 0) && (Canvas->image->getPixelColor(down) != newColor) && (Active->image->getPixelColor(down) == oldColor)){
-
58  Canvas->image->drawPixel(down,newColor);
-
59  Q.push(down);
-
60  }
-
61  }
-
62 
-
63  Canvas->image->calculateVisiblity();
-
64 }
-
65 
-
66 void IntelliToolFloodFill::onMouseLeftReleased(int x, int y){
-
67  IntelliTool::onMouseLeftReleased(x,y);
-
68 }
-
69 
-
70 void IntelliToolFloodFill::onWheelScrolled(int value){
-
71  IntelliTool::onWheelScrolled(value);
-
72 
-
73 }
+
16 void IntelliToolFloodFill::onMouseRightPressed(int x, int y){
+
17  IntelliTool::onMouseRightPressed(x,y);
+
18 }
+
19 
+
20 void IntelliToolFloodFill::onMouseRightReleased(int x, int y){
+
21  IntelliTool::onMouseRightReleased(x,y);
+
22 }
+
23 
+
24 void IntelliToolFloodFill::onMouseLeftPressed(int x, int y){
+
25  if(!(x>=0 && x<Area->getWidthOfActive() && y>=0 && y<Area->getHeightOfActive())) {
+
26  return;
+
27  }
+
28  IntelliTool::onMouseLeftPressed(x,y);
+
29 
+
30  QPoint start(x,y);
+
31  std::queue<QPoint> Q;
+
32  Q.push(start);
+
33 
+
34  QColor oldColor = this->Active->image->getPixelColor(start);
+
35  QColor newColor = this->colorPicker->getFirstColor();
+
36  Canvas->image->drawPixel(start,newColor);
+
37 
+
38  QPoint left, right, top, down;
+
39  while(!Q.empty()) {
+
40  QPoint Current = Q.front();
+
41  Q.pop();
+
42 
+
43  left = QPoint(Current.x()-1,Current.y() );
+
44  right = QPoint(Current.x()+1,Current.y() );
+
45  top = QPoint(Current.x(),Current.y()-1);
+
46  down = QPoint(Current.x(),Current.y()+1);
+
47  if((right.x() < Canvas->width) && (Canvas->image->getPixelColor(right) != newColor) && (Active->image->getPixelColor(right) == oldColor)) {
+
48  Canvas->image->drawPixel(right,newColor);
+
49  Q.push(right);
+
50  }
+
51  if((left.x() >= 0) && (Canvas->image->getPixelColor(left) != newColor) && (Active->image->getPixelColor(left) == oldColor)) {
+
52  Canvas->image->drawPixel(left,newColor);
+
53  Q.push(left);
+
54  }
+
55  if((top.y() >= 0) && (Canvas->image->getPixelColor(top) != newColor) && (Active->image->getPixelColor(top) == oldColor)) {
+
56  Canvas->image->drawPixel(top,newColor);
+
57  Q.push(top);
+
58  }
+
59  if((down.y() < Canvas->height) && (Canvas->image->getPixelColor(down) != newColor) && (Active->image->getPixelColor(down) == oldColor)) {
+
60  Canvas->image->drawPixel(down,newColor);
+
61  Q.push(down);
+
62  }
+
63  }
+
64 
+
65  Canvas->image->calculateVisiblity();
+
66 }
+
67 
+
68 void IntelliToolFloodFill::onMouseLeftReleased(int x, int y){
+
69  IntelliTool::onMouseLeftReleased(x,y);
+
70 }
+
71 
+
72 void IntelliToolFloodFill::onWheelScrolled(int value){
+
73  IntelliTool::onWheelScrolled(value);
74 
-
75 void IntelliToolFloodFill::onMouseMoved(int x, int y){
-
76  IntelliTool::onMouseMoved(x,y);
-
77 }
+
75 }
+
76 
+
77 void IntelliToolFloodFill::onMouseMoved(int x, int y){
+
78  IntelliTool::onMouseMoved(x,y);
+
79 }
IntelliTool::onMouseRightPressed
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:14
IntelliTool::onMouseLeftReleased
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:32
IntelliTool::colorPicker
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:38
-
IntelliToolFloodFill::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolFloodFill.cpp:21
+
IntelliToolFloodFill::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolFloodFill.cpp:20
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliImage::drawPixel
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
Definition: IntelliImage.cpp:44
-
IntelliToolFloodFill::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolFloodFill.cpp:66
-
IntelliToolFloodFill::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolFloodFill.cpp:70
+
IntelliToolFloodFill::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolFloodFill.cpp:68
+
IntelliToolFloodFill::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolFloodFill.cpp:72
IntelliToolFloodFill.h
-
IntelliToolFloodFill::onMouseLeftPressed
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...
Definition: IntelliToolFloodFill.cpp:25
-
PaintingArea
Definition: PaintingArea.h:25
+
IntelliToolFloodFill::onMouseLeftPressed
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...
Definition: IntelliToolFloodFill.cpp:24
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolFloodFill::~IntelliToolFloodFill
virtual ~IntelliToolFloodFill() override
A Destructor.
Definition: IntelliToolFloodFill.cpp:12
IntelliToolFloodFill::IntelliToolFloodFill
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker.
Definition: IntelliToolFloodFill.cpp:8
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
-
LayerObject::width
int width
Definition: PaintingArea.h:18
-
IntelliToolFloodFill::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolFloodFill.cpp:75
+
LayerObject::width
int width
Definition: PaintingArea.h:26
+
IntelliToolFloodFill::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolFloodFill.cpp:77
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
PaintingArea.h
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
IntelliImage::getPixelColor
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
Definition: IntelliImage.cpp:80
-
LayerObject::hight
int hight
Definition: PaintingArea.h:19
+
LayerObject::height
int height
Definition: PaintingArea.h:27
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliToolFloodFill::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolFloodFill.cpp:17
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
+
IntelliToolFloodFill::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolFloodFill.cpp:16
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
IntelliTool::Active
LayerObject * Active
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:43
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
diff --git a/docs/html/_intelli_tool_flood_fill_8h.html b/docs/html/_intelli_tool_flood_fill_8h.html index 8027a39..652953c 100644 --- a/docs/html/_intelli_tool_flood_fill_8h.html +++ b/docs/html/_intelli_tool_flood_fill_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_flood_fill_8h_source.html b/docs/html/_intelli_tool_flood_fill_8h_source.html index eda6a57..67e8e60 100644 --- a/docs/html/_intelli_tool_flood_fill_8h_source.html +++ b/docs/html/_intelli_tool_flood_fill_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -96,43 +96,43 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8h_source.htm
4 
5 #include "QColor"
6 
-
10 class IntelliToolFloodFill : public IntelliTool{
+
10 class IntelliToolFloodFill : public IntelliTool {
11 public:
-
17  IntelliToolFloodFill(PaintingArea* Area, IntelliColorPicker* colorPicker);
+
17 IntelliToolFloodFill(PaintingArea* Area, IntelliColorPicker* colorPicker);
18 
-
22  virtual ~IntelliToolFloodFill() override;
+
22 virtual ~IntelliToolFloodFill() override;
23 
24 
-
30  virtual void onMouseRightPressed(int x, int y) override;
+
30 virtual void onMouseRightPressed(int x, int y) override;
31 
-
37  virtual void onMouseRightReleased(int x, int y) override;
+
37 virtual void onMouseRightReleased(int x, int y) override;
38 
-
44  virtual void onMouseLeftPressed(int x, int y) override;
+
44 virtual void onMouseLeftPressed(int x, int y) override;
45 
-
51  virtual void onMouseLeftReleased(int x, int y) override;
+
51 virtual void onMouseLeftReleased(int x, int y) override;
52 
-
57  virtual void onWheelScrolled(int value) override;
+
57 virtual void onWheelScrolled(int value) override;
58 
-
64  virtual void onMouseMoved(int x, int y) override;
+
64 virtual void onMouseMoved(int x, int y) override;
65 };
66 
67 #endif // INTELLITOOLFLOODFILL_H
IntelliTool::colorPicker
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:38
-
IntelliToolFloodFill::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolFloodFill.cpp:21
+
IntelliToolFloodFill::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolFloodFill.cpp:20
IntelliTool.h
-
IntelliToolFloodFill::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolFloodFill.cpp:66
-
IntelliToolFloodFill::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolFloodFill.cpp:70
+
IntelliToolFloodFill::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolFloodFill.cpp:68
+
IntelliToolFloodFill::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolFloodFill.cpp:72
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
-
IntelliToolFloodFill::onMouseLeftPressed
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...
Definition: IntelliToolFloodFill.cpp:25
-
PaintingArea
Definition: PaintingArea.h:25
+
IntelliToolFloodFill::onMouseLeftPressed
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...
Definition: IntelliToolFloodFill.cpp:24
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolFloodFill::~IntelliToolFloodFill
virtual ~IntelliToolFloodFill() override
A Destructor.
Definition: IntelliToolFloodFill.cpp:12
IntelliToolFloodFill::IntelliToolFloodFill
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker.
Definition: IntelliToolFloodFill.cpp:8
-
IntelliToolFloodFill::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolFloodFill.cpp:75
+
IntelliToolFloodFill::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolFloodFill.cpp:77
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliToolFloodFill::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolFloodFill.cpp:17
+
IntelliToolFloodFill::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolFloodFill.cpp:16
IntelliToolFloodFill
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
Definition: IntelliToolFloodFill.h:10
IntelliTool::onMouseRightPressed
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:14
@@ -161,17 +160,17 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
IntelliImage::drawLine
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.
Definition: IntelliImage.cpp:65
LineStyle::SOLID_LINE
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
-
IntelliToolLine::onMouseMoved
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...
Definition: IntelliToolLine.cpp:45
-
IntelliToolLine::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
Definition: IntelliToolLine.cpp:37
-
IntelliToolLine::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolLine.cpp:22
+
IntelliToolLine::onMouseMoved
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...
Definition: IntelliToolLine.cpp:44
+
IntelliToolLine::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
Definition: IntelliToolLine.cpp:36
+
IntelliToolLine::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolLine.cpp:21
IntelliToolLine::IntelliToolLine
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker. And reading in the lineWidth and line...
Definition: IntelliToolLine.cpp:6
LineStyle::DOTTED_LINE
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolLine.h
IntelliToolLine::~IntelliToolLine
virtual ~IntelliToolLine() override
An abstract Destructor.
Definition: IntelliToolLine.cpp:13
IntelliImage::drawPoint
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
Definition: IntelliImage.cpp:55
-
IntelliToolLine::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolLine.cpp:33
-
IntelliToolLine::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolLine.cpp:18
+
IntelliToolLine::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolLine.cpp:32
+
IntelliToolLine::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolLine.cpp:17
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
IntelliTool::drawing
bool drawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:53
@@ -179,8 +178,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
PaintingArea.h
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
-
IntelliToolLine::onMouseLeftPressed
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.
Definition: IntelliToolLine.cpp:26
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
+
IntelliToolLine::onMouseLeftPressed
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.
Definition: IntelliToolLine.cpp:25
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
IntelliTool::onWheelScrolled
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:46
diff --git a/docs/html/_intelli_tool_line_8h.html b/docs/html/_intelli_tool_line_8h.html index 60987b6..12c615c 100644 --- a/docs/html/_intelli_tool_line_8h.html +++ b/docs/html/_intelli_tool_line_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_line_8h_source.html b/docs/html/_intelli_tool_line_8h_source.html index 4f94bd7..4a95c19 100644 --- a/docs/html/_intelli_tool_line_8h_source.html +++ b/docs/html/_intelli_tool_line_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -96,34 +96,34 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
4 
5 #include "QPoint"
6 
-
10 enum class LineStyle{
-
11  SOLID_LINE,
-
12  DOTTED_LINE
+
10 enum class LineStyle {
+
11  SOLID_LINE,
+
12  DOTTED_LINE
13 };
14 
-
18 class IntelliToolLine : public IntelliTool{
-
22  QPoint start;
+
18 class IntelliToolLine : public IntelliTool {
+
22 QPoint start;
23 
-
27  int lineWidth;
+
27 int lineWidth;
28 
-
32  LineStyle lineStyle;
+
32 LineStyle lineStyle;
33 public:
34 
-
40  IntelliToolLine(PaintingArea* Area, IntelliColorPicker* colorPicker);
+
40 IntelliToolLine(PaintingArea* Area, IntelliColorPicker* colorPicker);
41 
-
45  virtual ~IntelliToolLine() override;
+
45 virtual ~IntelliToolLine() override;
46 
-
52  virtual void onMouseRightPressed(int x, int y) override;
+
52 virtual void onMouseRightPressed(int x, int y) override;
53 
-
59  virtual void onMouseRightReleased(int x, int y) override;
+
59 virtual void onMouseRightReleased(int x, int y) override;
60 
-
66  virtual void onMouseLeftPressed(int x, int y) override;
+
66 virtual void onMouseLeftPressed(int x, int y) override;
67 
-
73  virtual void onMouseLeftReleased(int x, int y) override;
+
73 virtual void onMouseLeftReleased(int x, int y) override;
74 
-
79  virtual void onWheelScrolled(int value) override;
+
79 virtual void onWheelScrolled(int value) override;
80 
-
86  virtual void onMouseMoved(int x, int y) override;
+
86 virtual void onMouseMoved(int x, int y) override;
87 };
88 
89 #endif // INTELLITOOLLINE_H
@@ -133,19 +133,19 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
LineStyle::SOLID_LINE
IntelliTool.h
LineStyle
LineStyle
The LineStyle enum classifing all ways of drawing a line.
Definition: IntelliToolLine.h:10
-
IntelliToolLine::onMouseMoved
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...
Definition: IntelliToolLine.cpp:45
-
IntelliToolLine::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
Definition: IntelliToolLine.cpp:37
-
IntelliToolLine::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolLine.cpp:22
+
IntelliToolLine::onMouseMoved
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...
Definition: IntelliToolLine.cpp:44
+
IntelliToolLine::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
Definition: IntelliToolLine.cpp:36
+
IntelliToolLine::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolLine.cpp:21
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
IntelliToolLine::IntelliToolLine
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker. And reading in the lineWidth and line...
Definition: IntelliToolLine.cpp:6
LineStyle::DOTTED_LINE
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolLine::~IntelliToolLine
virtual ~IntelliToolLine() override
An abstract Destructor.
Definition: IntelliToolLine.cpp:13
-
IntelliToolLine::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolLine.cpp:33
-
IntelliToolLine::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolLine.cpp:18
+
IntelliToolLine::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
Definition: IntelliToolLine.cpp:32
+
IntelliToolLine::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
Definition: IntelliToolLine.cpp:17
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliToolLine::onMouseLeftPressed
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.
Definition: IntelliToolLine.cpp:26
+
IntelliToolLine::onMouseLeftPressed
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.
Definition: IntelliToolLine.cpp:25
IntelliToolLine
The IntelliToolFloodFill class represents a tool to draw a line.
Definition: IntelliToolLine.h:18
@@ -150,9 +150,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8cpp_source.html',''
IntelliToolPen::~IntelliToolPen
virtual ~IntelliToolPen() override
A Destructor.
Definition: IntelliToolPen.cpp:12
IntelliImage::drawPixel
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
Definition: IntelliImage.cpp:44
IntelliToolPen::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. To draw the line.
Definition: IntelliToolPen.cpp:35
-
IntelliToolPen::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
Definition: IntelliToolPen.cpp:16
+
IntelliToolPen::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current draw.
Definition: IntelliToolPen.cpp:16
IntelliToolPen::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolPen.cpp:20
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
IntelliToolPen::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing penWidth relativ to value.
Definition: IntelliToolPen.cpp:44
@@ -162,7 +162,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8cpp_source.html',''
PaintingArea.h
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
IntelliToolPen.h
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliToolPen::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Starting the drawing procedure.
Definition: IntelliToolPen.cpp:24
diff --git a/docs/html/_intelli_tool_pen_8h.html b/docs/html/_intelli_tool_pen_8h.html index 6bb690b..8b05351 100644 --- a/docs/html/_intelli_tool_pen_8h.html +++ b/docs/html/_intelli_tool_pen_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_pen_8h_source.html b/docs/html/_intelli_tool_pen_8h_source.html index 158ddfe..3687463 100644 --- a/docs/html/_intelli_tool_pen_8h_source.html +++ b/docs/html/_intelli_tool_pen_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -93,27 +93,27 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8h_source.html',''); Go to the documentation of this file.
1 #ifndef INTELLITOOLPEN_H
2 #define INTELLITOOLPEN_H
3 
-
4 #include"IntelliTool.h"
-
5 #include"QColor"
-
6 #include"QPoint"
-
10 class IntelliToolPen : public IntelliTool{
-
14  int penWidth;
-
18  QPoint point;
+
4 #include "IntelliTool.h"
+
5 #include "QColor"
+
6 #include "QPoint"
+
10 class IntelliToolPen : public IntelliTool {
+
14 int penWidth;
+
18 QPoint point;
19 public:
-
25  IntelliToolPen(PaintingArea* Area, IntelliColorPicker* colorPicker);
-
29  virtual ~IntelliToolPen() override;
+
25 IntelliToolPen(PaintingArea* Area, IntelliColorPicker* colorPicker);
+
29 virtual ~IntelliToolPen() override;
30 
-
36  virtual void onMouseRightPressed(int x, int y) override;
+
36 virtual void onMouseRightPressed(int x, int y) override;
37 
-
43  virtual void onMouseRightReleased(int x, int y) override;
+
43 virtual void onMouseRightReleased(int x, int y) override;
44 
-
50  virtual void onMouseLeftPressed(int x, int y) override;
+
50 virtual void onMouseLeftPressed(int x, int y) override;
51 
-
57  virtual void onMouseLeftReleased(int x, int y) override;
+
57 virtual void onMouseLeftReleased(int x, int y) override;
58 
-
63  virtual void onWheelScrolled(int value) override;
+
63 virtual void onWheelScrolled(int value) override;
64 
-
70  virtual void onMouseMoved(int x, int y) override;
+
70 virtual void onMouseMoved(int x, int y) override;
71 };
72 
73 #endif // INTELLITOOLPEN_H
@@ -124,9 +124,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8h_source.html','');
virtual ~IntelliToolPen() override
A Destructor.
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
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 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.
-
Definition: PaintingArea.h:25
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
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:13
diff --git a/docs/html/_intelli_tool_plain_8cpp.html b/docs/html/_intelli_tool_plain_8cpp.html index 0fc0639..ac169df 100644 --- a/docs/html/_intelli_tool_plain_8cpp.html +++ b/docs/html/_intelli_tool_plain_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_plain_8cpp_source.html b/docs/html/_intelli_tool_plain_8cpp_source.html index 46b3c37..ec61d45 100644 --- a/docs/html/_intelli_tool_plain_8cpp_source.html +++ b/docs/html/_intelli_tool_plain_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -95,7 +95,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8cpp_source.html',
3 #include "QColorDialog"
4 
5 IntelliToolPlainTool::IntelliToolPlainTool(PaintingArea* Area, IntelliColorPicker* colorPicker)
-
6  :IntelliTool(Area, colorPicker){
+
6  : IntelliTool(Area, colorPicker){
7 }
8 
9 IntelliToolPlainTool::~IntelliToolPlainTool(){
@@ -103,31 +103,30 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8cpp_source.html',
11 }
12 
13 void IntelliToolPlainTool::onMouseLeftPressed(int x, int y){
-
14  IntelliTool::onMouseLeftPressed(x,y);
-
15  this->Canvas->image->drawPlain(colorPicker->getFirstColor());
-
16  Canvas->image->calculateVisiblity();
+
14  IntelliTool::onMouseLeftPressed(x,y);
+
15  this->Canvas->image->drawPlain(colorPicker->getFirstColor());
+
16  Canvas->image->calculateVisiblity();
17 }
18 
19 void IntelliToolPlainTool::onMouseLeftReleased(int x, int y){
-
20  IntelliTool::onMouseLeftReleased(x,y);
+
20  IntelliTool::onMouseLeftReleased(x,y);
21 }
22 
23 void IntelliToolPlainTool::onMouseRightPressed(int x, int y){
-
24  IntelliTool::onMouseRightPressed(x,y);
+
24  IntelliTool::onMouseRightPressed(x,y);
25 }
26 
27 void IntelliToolPlainTool::onMouseRightReleased(int x, int y){
-
28  IntelliTool::onMouseRightReleased(x,y);
+
28  IntelliTool::onMouseRightReleased(x,y);
29 }
30 
-
31 
-
32 void IntelliToolPlainTool::onMouseMoved(int x, int y){
-
33  IntelliTool::onMouseMoved(x,y);
-
34 }
-
35 
-
36 void IntelliToolPlainTool::onWheelScrolled(int value){
-
37  IntelliTool::onWheelScrolled(value);
-
38 }
+
31 void IntelliToolPlainTool::onMouseMoved(int x, int y){
+
32  IntelliTool::onMouseMoved(x,y);
+
33 }
+
34 
+
35 void IntelliToolPlainTool::onWheelScrolled(int value){
+
36  IntelliTool::onWheelScrolled(value);
+
37 }
IntelliTool::onMouseRightPressed
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:14
@@ -135,9 +134,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8cpp_source.html',
IntelliTool::colorPicker
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:38
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliToolPlainTool::onMouseLeftReleased
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.
Definition: IntelliToolPlain.cpp:19
-
IntelliToolPlainTool::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolPlain.cpp:36
+
IntelliToolPlainTool::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolPlain.cpp:35
IntelliToolPlainTool::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolPlain.cpp:27
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolPlain.h
IntelliToolPlainTool::IntelliToolPlainTool
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker.
Definition: IntelliToolPlain.cpp:5
IntelliTool::onMouseRightReleased
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:21
@@ -147,9 +146,9 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8cpp_source.html',
PaintingArea.h
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliToolPlainTool::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current fill.
Definition: IntelliToolPlain.cpp:23
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
-
IntelliToolPlainTool::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolPlain.cpp:32
+
IntelliToolPlainTool::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
Definition: IntelliToolPlain.cpp:23
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
+
IntelliToolPlainTool::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolPlain.cpp:31
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
IntelliToolPlainTool::~IntelliToolPlainTool
virtual ~IntelliToolPlainTool() override
A Destructor.
Definition: IntelliToolPlain.cpp:9
diff --git a/docs/html/_intelli_tool_plain_8h.html b/docs/html/_intelli_tool_plain_8h.html index d018f83..c74044a 100644 --- a/docs/html/_intelli_tool_plain_8h.html +++ b/docs/html/_intelli_tool_plain_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_plain_8h_source.html b/docs/html/_intelli_tool_plain_8h_source.html index 4afbc6f..7043743 100644 --- a/docs/html/_intelli_tool_plain_8h_source.html +++ b/docs/html/_intelli_tool_plain_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -95,22 +95,22 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8h_source.html',''
3 
4 #include "IntelliTool.h"
5 #include "QColor"
-
9 class IntelliToolPlainTool : public IntelliTool{
+
9 class IntelliToolPlainTool : public IntelliTool {
10 public:
-
16  IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker* colorPicker);
-
20  virtual ~IntelliToolPlainTool() override;
+
16 IntelliToolPlainTool(PaintingArea*Area, IntelliColorPicker* colorPicker);
+
20 virtual ~IntelliToolPlainTool() override;
21 
-
27  virtual void onMouseRightPressed(int x, int y) override;
+
27 virtual void onMouseRightPressed(int x, int y) override;
28 
-
34  virtual void onMouseRightReleased(int x, int y) override;
+
34 virtual void onMouseRightReleased(int x, int y) override;
35 
-
41  virtual void onMouseLeftPressed(int x, int y) override;
+
41 virtual void onMouseLeftPressed(int x, int y) override;
42 
-
48  virtual void onMouseLeftReleased(int x, int y) override;
+
48 virtual void onMouseLeftReleased(int x, int y) override;
49 
-
54  virtual void onWheelScrolled(int value) override;
+
54 virtual void onWheelScrolled(int value) override;
55 
-
61  virtual void onMouseMoved(int x, int y) override;
+
61 virtual void onMouseMoved(int x, int y) override;
62 
63 };
64 
@@ -122,15 +122,15 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8h_source.html',''
IntelliToolPlainTool::onMouseLeftReleased
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.
Definition: IntelliToolPlain.cpp:19
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
IntelliToolPlainTool
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
Definition: IntelliToolPlain.h:9
-
IntelliToolPlainTool::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolPlain.cpp:36
+
IntelliToolPlainTool::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
Definition: IntelliToolPlain.cpp:35
IntelliToolPlainTool::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolPlain.cpp:27
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolPlainTool::IntelliToolPlainTool
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker.
Definition: IntelliToolPlain.cpp:5
IntelliToolPlainTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
Definition: IntelliToolPlain.cpp:13
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliToolPlainTool::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current fill.
Definition: IntelliToolPlain.cpp:23
-
IntelliToolPlainTool::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolPlain.cpp:32
+
IntelliToolPlainTool::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
Definition: IntelliToolPlain.cpp:23
+
IntelliToolPlainTool::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolPlain.cpp:31
IntelliToolPlainTool::~IntelliToolPlainTool
virtual ~IntelliToolPlainTool() override
A Destructor.
Definition: IntelliToolPlain.cpp:9
Include dependency graph for IntelliToolPolygon.cpp:
diff --git a/docs/html/_intelli_tool_polygon_8cpp__incl.dot b/docs/html/_intelli_tool_polygon_8cpp__incl.dot index e3f2d1c..a34e276 100644 --- a/docs/html/_intelli_tool_polygon_8cpp__incl.dot +++ b/docs/html/_intelli_tool_polygon_8cpp__incl.dot @@ -57,4 +57,6 @@ digraph "intelliphoto/src/Tool/IntelliToolPolygon.cpp" Node18 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node1 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node19 [label="QCursor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; + Node1 -> Node20 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="QInputDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; } diff --git a/docs/html/_intelli_tool_polygon_8cpp_source.html b/docs/html/_intelli_tool_polygon_8cpp_source.html index e077e1b..7879dc7 100644 --- a/docs/html/_intelli_tool_polygon_8cpp_source.html +++ b/docs/html/_intelli_tool_polygon_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -94,139 +94,146 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp_source.html
2 #include "Layer/PaintingArea.h"
3 #include <QDebug>
4 #include <QCursor>
-
5 
- -
7  :IntelliTool(Area, colorPicker){
-
8  lineWidth = 5;
-
9  isDrawing = false;
-
10  PointIsNearStart = false;
-
11  drawingPoint.setX(0);
-
12  drawingPoint.setY(0);
-
13  Point.setX(0);
-
14  Point.setY(0);
-
15 }
+
5 #include <QInputDialog>
+
6 
+ +
8  : IntelliTool(Area, colorPicker){
+
9  this->alphaInner = QInputDialog::getInt(nullptr,"Inner Alpha Value", "Value:", 0,0,255,1);
+
10  lineWidth = QInputDialog::getInt(nullptr,"Line Width Input", "Width",1,1,50,1);;
+
11  PointIsNearStart = false;
+
12  isDrawing = false;
+
13 }
+
14 
+
16 
- -
18  if(!isDrawing){
-
19  width = Area->getWidthActiveLayer();
-
20  height = Area->getHeightActiveLayer();
-
21  }
-
22  if(!isDrawing && x > 0 && y > 0 && x < width && y < height){
-
23  isDrawing = true;
-
24  drawingPoint.setX(x);
-
25  drawingPoint.setY(y);
-
26  QPointList.push_back(drawingPoint);
- -
28  this->Canvas->image->drawPlain(Qt::transparent);
-
29  this->Canvas->image->drawPoint(QPointList.back(), colorPicker->getFirstColor(), lineWidth);
- -
31  }
-
32  else if(isDrawing && isNearStart(x,y,QPointList.front())){
-
33  PointIsNearStart = isNearStart(x,y,QPointList.front());
-
34  this->Canvas->image->drawLine(QPointList.back(), QPointList.front(), colorPicker->getFirstColor(), lineWidth);
- -
36  }
-
37  else if(isDrawing){
-
38  drawingPoint.setX(x);
-
39  drawingPoint.setY(y);
-
40  QPointList.push_back(drawingPoint);
-
41  this->Canvas->image->drawLine(QPointList.operator[](QPointList.size() - 2), QPointList.back(), colorPicker->getFirstColor(), lineWidth);
- -
43  }
-
44 }
-
45 
- -
47  isDrawing = false;
-
48  PointIsNearStart = false;
-
49  QPointList.clear();
- -
51 }
-
52 
- -
54  if(PointIsNearStart && QPointList.size() > 1){
- -
56  PointIsNearStart = false;
-
57  isDrawing = false;
-
58  Triangles = IntelliHelper::calculateTriangles(QPointList);
-
59  for(int i = 0; i < width; i++){
-
60  for(int j = 0; j < height; j++){
-
61  Point.setX(i);
-
62  Point.setY(j);
-
63  if(IntelliHelper::isInPolygon(Triangles,Point)){
-
64  this->Canvas->image->drawPixel(QPoint(i,j), colorPicker->getFirstColor());
+
17 }
+
18 
+ +
20  if(!isDrawing && x > 0 && y > 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()) {
+ +
22  QPoint drawingPoint = QPoint(x,y);
+
23 
+
24  isDrawing = true;
+
25  QPointList.push_back(drawingPoint);
+
26 
+
27  this->Canvas->image->drawPoint(QPointList.back(), colorPicker->getFirstColor(), lineWidth);
+ +
29  }
+
30  else if(isDrawing && isNearStart(x,y,QPointList.front())) {
+
31  PointIsNearStart = true;
+
32  this->Canvas->image->drawLine(QPointList.back(), QPointList.front(), colorPicker->getFirstColor(), lineWidth);
+ +
34  }
+
35  else if(isDrawing) {
+
36  QPoint drawingPoint(x,y);
+
37  QPointList.push_back(drawingPoint);
+
38  this->Canvas->image->drawLine(QPointList[QPointList.size() - 2], QPointList[QPointList.size() - 1], colorPicker->getFirstColor(), lineWidth);
+ +
40  }
+
41 }
+
42 
+ +
44  isDrawing = false;
+
45  PointIsNearStart = false;
+
46  QPointList.clear();
+ +
48 }
+
49 
+ +
51  if(PointIsNearStart && QPointList.size() > 1) {
+
52  PointIsNearStart = false;
+
53  isDrawing = false;
+
54  std::vector<Triangle> Triangles = IntelliHelper::calculateTriangles(QPointList);
+
55  QPoint Point;
+
56  QColor colorTwo(colorPicker->getSecondColor());
+
57  colorTwo.setAlpha(alphaInner);
+
58  for(int i = 0; i < Active->width; i++) {
+
59  for(int j = 0; j < Active->height; j++) {
+
60  Point = QPoint(i,j);
+
61  if(IntelliHelper::isInPolygon(Triangles,Point)) {
+
62  this->Canvas->image->drawPixel(Point, colorTwo);
+
63  }
+
64  }
65  }
-
66  }
-
67  }
-
68  QPointList.clear();
- -
70  }
-
71 }
-
72 
- +
66  for(int i=0; i<QPointList.size(); i++) {
+
67  int next = (i+1)%QPointList.size();
+
68  this->Canvas->image->drawLine(QPointList[i], QPointList[next], colorPicker->getFirstColor(), lineWidth);
+
69  }
+
70  QPointList.clear();
+ +
72  }
+
73 }
74 
-
75 }
-
76 
- -
78  if(!isDrawing){
-
79  if(lineWidth + value < 10){
-
80  lineWidth += value;
-
81  }
-
82  if(lineWidth < 1){
-
83  lineWidth = 1;
-
84  }
-
85  }
-
86 }
-
87 
- -
89 
-
90 }
-
91 
-
92 bool IntelliToolPolygon::isNearStart(int x, int y, QPoint Startpoint){
-
93  bool isNear = false;
-
94  int StartX = Startpoint.x();
-
95  int StartY = Startpoint.y();
-
96  int valueToNear = 10;
-
97 
-
98  for(int i = StartX - valueToNear; i < StartX + valueToNear; i++){
-
99  for(int j = StartY - valueToNear; j < StartY + valueToNear; j++){
-
100  if((i == x) && (j == y)){
-
101  isNear = true;
-
102  }
-
103  }
-
104  }
-
105  return isNear;
-
106 }
+ + +
77 }
+
78 
+ + +
81  if(!isDrawing) {
+
82  if(lineWidth + value < 10) {
+
83  lineWidth += value;
+
84  }
+
85  if(lineWidth < 1) {
+
86  lineWidth = 1;
+
87  }
+
88  }
+
89 }
+
90 
+ + +
93 }
+
94 
+
95 bool IntelliToolPolygon::isNearStart(int x, int y, QPoint Startpoint){
+
96  bool isNear = false;
+
97  int StartX = Startpoint.x();
+
98  int StartY = Startpoint.y();
+
99  int valueToNear = 10;
+
100 
+
101  for(int i = StartX - valueToNear; i < StartX + valueToNear; i++) {
+
102  for(int j = StartY - valueToNear; j < StartY + valueToNear; j++) {
+
103  if((i == x) && (j == y)) {
+
104  isNear = true;
+
105  }
+
106  }
+
107  }
+
108  return isNear;
+
109 }
IntelliTool::onMouseRightPressed
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:14
IntelliTool::onMouseLeftReleased
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:32
-
PaintingArea::getWidthActiveLayer
int getWidthActiveLayer()
Definition: PaintingArea.cpp:197
IntelliTool::colorPicker
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:38
IntelliImage::drawLine
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.
Definition: IntelliImage.cpp:65
IntelliToolPolygon.h
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliImage::drawPixel
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
Definition: IntelliImage.cpp:44
-
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
-
PaintingArea::getHeightActiveLayer
int getHeightActiveLayer()
Definition: PaintingArea.cpp:201
-
IntelliToolPolygon::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliToolPolygon.cpp:88
-
PaintingArea
Definition: PaintingArea.h:25
+
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
+
IntelliToolPolygon::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolPolygon.cpp:91
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliImage::drawPoint
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
Definition: IntelliImage.cpp:55
+
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
+
LayerObject::width
int width
Definition: PaintingArea.h:26
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
-
IntelliHelper::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliHelper.cpp:115
-
IntelliToolPolygon::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliToolPolygon.cpp:46
+
IntelliHelper::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliHelper.cpp:116
+
IntelliToolPolygon::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
Definition: IntelliToolPolygon.cpp:43
PaintingArea.h
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
+
LayerObject::height
int height
Definition: PaintingArea.h:27
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
IntelliHelper::calculateTriangles
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 ...
Definition: IntelliHelper.cpp:7
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
-
IntelliToolPolygon::IntelliToolPolygon
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker)
IntelliToolPolygon Constructor Define the Tool-intern Parameters.
Definition: IntelliToolPolygon.cpp:6
-
IntelliToolPolygon::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliToolPolygon.cpp:17
-
IntelliToolPolygon::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliToolPolygon.cpp:73
-
IntelliToolPolygon::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliToolPolygon.cpp:53
+
IntelliToolPolygon::~IntelliToolPolygon
~IntelliToolPolygon() override
A Destructor.
Definition: IntelliToolPolygon.cpp:15
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
+
IntelliTool::Active
LayerObject * Active
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:43
+
IntelliToolPolygon::IntelliToolPolygon
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker.
Definition: IntelliToolPolygon.cpp:7
+
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
+
IntelliToolPolygon::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
Definition: IntelliToolPolygon.cpp:19
+
IntelliToolPolygon::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolPolygon.cpp:75
+
IntelliToolPolygon::onMouseLeftReleased
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.
Definition: IntelliToolPolygon.cpp:50
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
-
IntelliToolPolygon::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliToolPolygon.cpp:77
-
IntelliImage::drawPlain
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
Definition: IntelliImage.cpp:76
+
IntelliTool::onWheelScrolled
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:46
+
IntelliToolPolygon::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
Definition: IntelliToolPolygon.cpp:79
IntelliTool::colorPicker
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:38
IntelliTool.h
IntelliHelper.h
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
-
IntelliToolPolygon::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliToolPolygon.cpp:88
-
PaintingArea
Definition: PaintingArea.h:25
+
IntelliToolPolygon::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
Definition: IntelliToolPolygon.cpp:91
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
-
IntelliToolPolygon::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliToolPolygon.cpp:46
+
IntelliToolPolygon::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
Definition: IntelliToolPolygon.cpp:43
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliToolPolygon::IntelliToolPolygon
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker)
IntelliToolPolygon Constructor Define the Tool-intern Parameters.
Definition: IntelliToolPolygon.cpp:6
-
IntelliToolPolygon::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliToolPolygon.cpp:17
-
IntelliToolPolygon::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliToolPolygon.cpp:73
+
IntelliToolPolygon::~IntelliToolPolygon
~IntelliToolPolygon() override
A Destructor.
Definition: IntelliToolPolygon.cpp:15
+
IntelliToolPolygon::IntelliToolPolygon
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker.
Definition: IntelliToolPolygon.cpp:7
+
IntelliToolPolygon::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
Definition: IntelliToolPolygon.cpp:19
+
IntelliToolPolygon::onMouseRightReleased
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
Definition: IntelliToolPolygon.cpp:75
IntelliToolPolygon
The IntelliToolPolygon managed the Drawing of Polygonforms.
Definition: IntelliToolPolygon.h:11
-
IntelliToolPolygon::onMouseLeftReleased
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliToolPolygon.cpp:53
-
IntelliToolPolygon::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliToolPolygon.cpp:77
+
IntelliToolPolygon::onMouseLeftReleased
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.
Definition: IntelliToolPolygon.cpp:50
+
IntelliToolPolygon::onWheelScrolled
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
Definition: IntelliToolPolygon.cpp:79
-Go to the documentation of this file.
+Go to the documentation of this file.
1 #include "IntelliToolRectangle.h"
2 #include "Layer/PaintingArea.h"
3 #include "QInputDialog"
4 
-
6  :IntelliTool(Area, colorPicker){
-
7  this->alphaInner = QInputDialog::getInt(nullptr,"Inner Alpha Value", "Value:", 0,0,255,1);
-
8  this->edgeWidth = QInputDialog::getInt(nullptr,"Outer edge width", "Value:", 0,1,255,1);
+
6  : IntelliTool(Area, colorPicker){
+
7  this->alphaInner = QInputDialog::getInt(nullptr,"Inner Alpha Value", "Value:", 0,0,255,1);
+
8  this->edgeWidth = QInputDialog::getInt(nullptr,"Outer edge width", "Value:", 0,1,255,1);
9 }
10 
@@ -105,57 +105,57 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
13 }
14 
15 void IntelliToolRectangle::drawRectangle(QPoint otherCornor){
-
16  int xMin = std::min(originCornor.x(), otherCornor.x());
-
17  int xMax = std::max(originCornor.x(), otherCornor.x());
+
16  int xMin = std::min(originCornor.x(), otherCornor.x());
+
17  int xMax = std::max(originCornor.x(), otherCornor.x());
18 
-
19  int yMin = std::min(originCornor.y(), otherCornor.y());
-
20  int yMax = std::max(originCornor.y(), otherCornor.y());
+
19  int yMin = std::min(originCornor.y(), otherCornor.y());
+
20  int yMax = std::max(originCornor.y(), otherCornor.y());
21 
-
22  QColor clr = colorPicker->getSecondColor();
-
23  clr.setAlpha(alphaInner);
-
24  for(int y=yMin; y<=yMax; y++){
-
25  this->Canvas->image->drawLine(QPoint(xMin,y), QPoint(xMax, y), clr, 1);
-
26  }
-
27  this->Canvas->image->drawLine(QPoint(xMin, yMin),QPoint(xMin, yMax), this->colorPicker->getFirstColor(), edgeWidth);
-
28  this->Canvas->image->drawLine(QPoint(xMin, yMin),QPoint(xMax, yMin), this->colorPicker->getFirstColor(), edgeWidth);
-
29  this->Canvas->image->drawLine(QPoint(xMax, yMax),QPoint(xMin, yMax), this->colorPicker->getFirstColor(), edgeWidth);
-
30  this->Canvas->image->drawLine(QPoint(xMax, yMax),QPoint(xMax, yMin), this->colorPicker->getFirstColor(), edgeWidth);
+
22  QColor clr = colorPicker->getSecondColor();
+
23  clr.setAlpha(alphaInner);
+
24  for(int y=yMin; y<=yMax; y++) {
+
25  this->Canvas->image->drawLine(QPoint(xMin,y), QPoint(xMax, y), clr, 1);
+
26  }
+
27  this->Canvas->image->drawLine(QPoint(xMin, yMin),QPoint(xMin, yMax), this->colorPicker->getFirstColor(), edgeWidth);
+
28  this->Canvas->image->drawLine(QPoint(xMin, yMin),QPoint(xMax, yMin), this->colorPicker->getFirstColor(), edgeWidth);
+
29  this->Canvas->image->drawLine(QPoint(xMax, yMax),QPoint(xMin, yMax), this->colorPicker->getFirstColor(), edgeWidth);
+
30  this->Canvas->image->drawLine(QPoint(xMax, yMax),QPoint(xMax, yMin), this->colorPicker->getFirstColor(), edgeWidth);
31 }
32 
- +
35 }
36 
- +
39 }
40 
- -
43  this->originCornor=QPoint(x,y);
-
44  drawRectangle(originCornor);
- + +
43  this->originCornor=QPoint(x,y);
+
44  drawRectangle(originCornor);
+
46 }
47 
- +
50 }
51 
-
53  if(this->drawing){
-
54  this->Canvas->image->drawPlain(Qt::transparent);
-
55  QPoint next(x,y);
-
56  drawRectangle(next);
-
57  }
- +
53  if(this->drawing) {
+
54  this->Canvas->image->drawPlain(Qt::transparent);
+
55  QPoint next(x,y);
+
56  drawRectangle(next);
+
57  }
+
59 }
60 
- -
63  this->edgeWidth+=value;
-
64  if(this->edgeWidth<=0){
-
65  this->edgeWidth=1;
-
66  }
+ +
63  this->edgeWidth+=value;
+
64  if(this->edgeWidth<=0) {
+
65  this->edgeWidth=1;
+
66  }
67 }
@@ -170,7 +170,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
IntelliToolRectangle::onMouseLeftPressed
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...
Definition: IntelliToolRectangle.cpp:41
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
IntelliToolRectangle::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
Definition: IntelliToolRectangle.cpp:33
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliTool::onMouseRightReleased
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:21
IntelliTool::Canvas
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:48
IntelliToolRectangle.h
@@ -180,7 +180,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
IntelliToolRectangle::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
Definition: IntelliToolRectangle.cpp:52
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
IntelliToolRectangle::IntelliToolRectangle
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
Definition: IntelliToolRectangle.cpp:5
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
diff --git a/docs/html/_intelli_tool_rectangle_8h.html b/docs/html/_intelli_tool_rectangle_8h.html index 7fe2d37..628c17a 100644 --- a/docs/html/_intelli_tool_rectangle_8h.html +++ b/docs/html/_intelli_tool_rectangle_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_intelli_tool_rectangle_8h_source.html b/docs/html/_intelli_tool_rectangle_8h_source.html index 89e35c2..9b1c7f3 100644 --- a/docs/html/_intelli_tool_rectangle_8h_source.html +++ b/docs/html/_intelli_tool_rectangle_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -97,27 +97,27 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8h_source.html
5 
6 #include "QColor"
7 #include "QPoint"
-
11 class IntelliToolRectangle : public IntelliTool{
-
16  void drawRectangle(QPoint otherCornor);
+
11 class IntelliToolRectangle : public IntelliTool {
+
16 void drawRectangle(QPoint otherCornor);
17 
-
21  QPoint originCornor;
-
25  int alphaInner;
-
29  int edgeWidth;
+
21 QPoint originCornor;
+
25 int alphaInner;
+
29 int edgeWidth;
30 public:
-
36  IntelliToolRectangle(PaintingArea* Area, IntelliColorPicker* colorPicker);
-
40  virtual ~IntelliToolRectangle() override;
+
36 IntelliToolRectangle(PaintingArea* Area, IntelliColorPicker* colorPicker);
+
40 virtual ~IntelliToolRectangle() override;
41 
-
47  virtual void onMouseRightPressed(int x, int y) override;
+
47 virtual void onMouseRightPressed(int x, int y) override;
48 
-
54  virtual void onMouseRightReleased(int x, int y) override;
+
54 virtual void onMouseRightReleased(int x, int y) override;
55 
-
61  virtual void onMouseLeftPressed(int x, int y) override;
+
61 virtual void onMouseLeftPressed(int x, int y) override;
62 
-
68  virtual void onMouseLeftReleased(int x, int y) override;
+
68 virtual void onMouseLeftReleased(int x, int y) override;
69 
-
74  virtual void onWheelScrolled(int value) override;
+
74 virtual void onWheelScrolled(int value) override;
75 
-
81  virtual void onMouseMoved(int x, int y) override;
+
81 virtual void onMouseMoved(int x, int y) override;
82 };
83 
84 #endif // INTELLIRECTANGLETOOL_H
@@ -131,7 +131,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8h_source.html
IntelliToolRectangle::onMouseLeftPressed
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...
Definition: IntelliToolRectangle.cpp:41
IntelliTool::Area
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:33
IntelliToolRectangle::onMouseRightPressed
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
Definition: IntelliToolRectangle.cpp:33
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliToolRectangle
The IntelliToolRectangle class represents a tool to draw a rectangle.
Definition: IntelliToolRectangle.h:11
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliToolRectangle::onMouseMoved
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
Definition: IntelliToolRectangle.cpp:52
diff --git a/docs/html/_painting_area_8cpp.html b/docs/html/_painting_area_8cpp.html index f8102ea..416bf72 100644 --- a/docs/html/_painting_area_8cpp.html +++ b/docs/html/_painting_area_8cpp.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/_painting_area_8cpp_source.html b/docs/html/_painting_area_8cpp_source.html index bcb9b0e..780fcb6 100644 --- a/docs/html/_painting_area_8cpp_source.html +++ b/docs/html/_painting_area_8cpp_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -110,389 +110,413 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');}
18 #include "Tool/IntelliToolFloodFill.h"
19 #include "Tool/IntelliToolPolygon.h"
20 
-
21 PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
-
22  :QWidget(parent){
-
23  // Testing Area
-
24  // test yout tool here and reset after accomplished test
-
25  this->Tool = new IntelliToolFloodFill(this, &colorPicker);
-
26  this->setUp(maxWidth, maxHeight);
-
27  this->addLayer(200,200,0,0,ImageType::Shaped_Image);
-
28  layerBundle[0].image->drawPlain(QColor(0,0,255,255));
-
29  std::vector<QPoint> polygon;
-
30  polygon.push_back(QPoint(100,000));
-
31  polygon.push_back(QPoint(200,100));
-
32  polygon.push_back(QPoint(100,200));
-
33  polygon.push_back(QPoint(000,100));
-
34  layerBundle[0].image->setPolygon(polygon);
-
35 
-
36  this->addLayer(200,200,150,150);
-
37  layerBundle[1].image->drawPlain(QColor(0,255,0,255));
-
38  layerBundle[1].alpha=200;
-
39 
-
40  activeLayer=0;
-
41 }
-
42 
-
43 PaintingArea::~PaintingArea(){
-
44  delete Tool;
-
45 }
-
46 
-
47 void PaintingArea::setUp(int maxWidth, int maxHeight){
-
48  //set standart parameter
-
49  this->maxWidth = maxWidth;
-
50  this->maxHeight = maxHeight;
-
51  Canvas = new QImage(maxWidth,maxHeight, QImage::Format_ARGB32);
-
52 
-
53  // Roots the widget to the top left even if resized
-
54  setAttribute(Qt::WA_StaticContents);
+
21 PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget*parent)
+
22  : QWidget(parent){
+
23  this->Tool = nullptr;
+
24  this->setUp(maxWidth, maxHeight);
+
25  this->addLayer(200,200,0,0,ImageType::Shaped_Image);
+
26  layerBundle[0].image->drawPlain(QColor(0,0,255,255));
+
27  std::vector<QPoint> polygon;
+
28  polygon.push_back(QPoint(100,000));
+
29  polygon.push_back(QPoint(200,100));
+
30  polygon.push_back(QPoint(100,200));
+
31  polygon.push_back(QPoint(000,100));
+
32  layerBundle[0].image->setPolygon(polygon);
+
33 
+
34  this->addLayer(200,200,150,150);
+
35  layerBundle[1].image->drawPlain(QColor(0,255,0,255));
+
36  layerBundle[1].alpha=200;
+
37 
+
38  activeLayer=0;
+
39 }
+
40 
+
41 PaintingArea::~PaintingArea(){
+
42  delete Tool;
+
43 }
+
44 
+
45 void PaintingArea::setUp(int maxWidth, int maxHeight){
+
46  //set standart parameter
+
47  this->maxWidth = maxWidth;
+
48  this->maxHeight = maxHeight;
+
49  Canvas = new QImage(maxWidth,maxHeight, QImage::Format_ARGB32);
+
50 
+
51  // Roots the widget to the top left even if resized
+
52  setAttribute(Qt::WA_StaticContents);
+
53 
+
54 }
55 
-
56 }
-
57 
-
58 int PaintingArea::addLayer(int width, int height, int widthOffset, int heightOffset, ImageType type){
-
59  LayerObject newLayer;
-
60  newLayer.width = width;
-
61  newLayer.hight = height;
-
62  newLayer.widthOffset = widthOffset;
-
63  newLayer.hightOffset = heightOffset;
-
64  if(type==ImageType::Raster_Image){
-
65  newLayer.image = new IntelliRasterImage(width,height);
-
66  }else if(type==ImageType::Shaped_Image){
-
67  newLayer.image = new IntelliShapedImage(width, height);
-
68  }
-
69  newLayer.alpha = 255;
-
70  this->layerBundle.push_back(newLayer);
-
71  return static_cast<int>(layerBundle.size())-1;
-
72 }
-
73 
-
74 
-
75 void PaintingArea::deleteLayer(int index){
-
76  if(index<static_cast<int>(layerBundle.size())){
-
77  this->layerBundle.erase(layerBundle.begin()+index);
-
78  if(activeLayer>=index){
-
79  activeLayer--;
-
80  }
-
81  }
-
82 }
-
83 
-
84 void PaintingArea::slotDeleteActiveLayer(){
-
85  if(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())){
-
86  this->layerBundle.erase(layerBundle.begin()+activeLayer);
-
87  activeLayer--;
-
88  }
-
89 }
-
90 
-
91 void PaintingArea::setLayerToActive(int index){
-
92  if(index>=0&&index<static_cast<int>(layerBundle.size())){
-
93  this->activeLayer=index;
-
94  }
-
95 }
-
96 
-
97 void PaintingArea::setAlphaOfLayer(int index, int alpha){
-
98  if(index>=0&&index<static_cast<int>(layerBundle.size())){
-
99  layerBundle[static_cast<size_t>(index)].alpha=alpha;
-
100  }
-
101 }
-
102 
-
103 // Used to load the image and place it in the widget
-
104 bool PaintingArea::open(const QString &fileName){
-
105  if(this->activeLayer==-1){
-
106  return false;
-
107  }
-
108  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
-
109  bool open = active->loadImage(fileName);
-
110  active->calculateVisiblity();
-
111  update();
-
112  return open;
-
113 }
-
114 
-
115 // Save the current image
-
116 bool PaintingArea::save(const QString &fileName, const char *fileFormat){
-
117  if(layerBundle.size()==0){
-
118  return false;
-
119  }
-
120  this->assembleLayers(true);
-
121 
-
122  if(!strcmp(fileFormat,"PNG")){
-
123  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
-
124  fileFormat = "png";
-
125  if (visibleImage.save(fileName, fileFormat)) {
-
126  return true;
-
127  } else {
-
128  return false;
-
129  }
-
130  }
-
131 
-
132  if (Canvas->save(fileName, fileFormat)) {
-
133  return true;
-
134  } else {
-
135  return false;
-
136  }
-
137 }
-
138 
-
139 // Color the image area with white
-
140 void PaintingArea::floodFill(int r, int g, int b, int a){
-
141  if(this->activeLayer==-1){
-
142  return;
-
143  }
-
144  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
-
145  active->drawPlain(QColor(r, g, b, a));
-
146  update();
-
147 }
-
148 
-
149 void PaintingArea::movePositionActive(int x, int y){
-
150  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;
-
151  layerBundle[static_cast<size_t>(activeLayer)].hightOffset += y;
-
152 }
-
153 
-
154 void PaintingArea::moveActiveLayer(int idx){
-
155  if(idx==1){
-
156  this->activateUpperLayer();
-
157  }else if(idx==-1){
-
158  this->activateLowerLayer();
-
159  }
-
160 }
-
161 
-
162 void PaintingArea::slotActivateLayer(int a){
-
163  if(a>=0 && a < static_cast<int>(layerBundle.size())){
-
164  this->setLayerToActive(a);
-
165  }
-
166 }
-
167 
-
168 void PaintingArea::colorPickerSetFirstColor(){
-
169  QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color", QColorDialog::DontUseNativeDialog);
-
170  this->colorPicker.setFirstColor(clr);
-
171 }
-
172 
-
173 void PaintingArea::colorPickerSetSecondColor(){
-
174  QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color", QColorDialog::DontUseNativeDialog);
-
175  this->colorPicker.setSecondColor(clr);
-
176 }
-
177 
-
178 void PaintingArea::colorPickerSwitchColor(){
-
179  this->colorPicker.switchColors();
-
180 }
-
181 
-
182 void PaintingArea::createPenTool(){
-
183  delete this->Tool;
-
184  Tool = new IntelliToolPen(this, &colorPicker);
-
185 }
-
186 
-
187 void PaintingArea::createPlainTool(){
-
188  delete this->Tool;
-
189  Tool = new IntelliToolPlainTool(this, &colorPicker);
-
190 }
-
191 
-
192 void PaintingArea::createLineTool(){
-
193  delete this->Tool;
-
194  Tool = new IntelliToolLine(this, &colorPicker);
-
195 }
-
196 
-
197 int PaintingArea::getWidthActiveLayer(){
-
198  return layerBundle.operator[](activeLayer).width;
-
199 }
-
200 
-
201 int PaintingArea::getHeightActiveLayer(){
-
202  return layerBundle.operator[](activeLayer).hight;
+
56 int PaintingArea::addLayer(int width, int height, int widthOffset, int heightOffset, ImageType type){
+
57  LayerObject newLayer;
+
58  newLayer.width = width;
+
59  newLayer.height = height;
+
60  newLayer.widthOffset = widthOffset;
+
61  newLayer.heightOffset = heightOffset;
+
62  if(type==ImageType::Raster_Image) {
+
63  newLayer.image = new IntelliRasterImage(width,height);
+
64  }else if(type==ImageType::Shaped_Image) {
+
65  newLayer.image = new IntelliShapedImage(width, height);
+
66  }
+
67  newLayer.alpha = 255;
+
68  this->layerBundle.push_back(newLayer);
+
69  return static_cast<int>(layerBundle.size())-1;
+
70 }
+
71 
+
72 
+
73 void PaintingArea::deleteLayer(int index){
+
74  if(index<static_cast<int>(layerBundle.size())) {
+
75  this->layerBundle.erase(layerBundle.begin()+index);
+
76  if(activeLayer>=index) {
+
77  activeLayer--;
+
78  }
+
79  }
+
80 }
+
81 
+
82 void PaintingArea::slotDeleteActiveLayer(){
+
83  if(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())) {
+
84  this->layerBundle.erase(layerBundle.begin()+activeLayer);
+
85  activeLayer--;
+
86  }
+
87 }
+
88 
+
89 void PaintingArea::setLayerToActive(int index){
+
90  if(index>=0&&index<static_cast<int>(layerBundle.size())) {
+
91  this->activeLayer=index;
+
92  }
+
93 }
+
94 
+
95 void PaintingArea::setAlphaOfLayer(int index, int alpha){
+
96  if(index>=0&&index<static_cast<int>(layerBundle.size())) {
+
97  layerBundle[static_cast<size_t>(index)].alpha=alpha;
+
98  }
+
99 }
+
100 
+
101 // Used to load the image and place it in the widget
+
102 bool PaintingArea::open(const QString &fileName){
+
103  if(this->activeLayer==-1) {
+
104  return false;
+
105  }
+
106  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
+
107  bool open = active->loadImage(fileName);
+
108  active->calculateVisiblity();
+
109  update();
+
110  return open;
+
111 }
+
112 
+
113 // Save the current image
+
114 bool PaintingArea::save(const QString &fileName, const char*fileFormat){
+
115  if(layerBundle.size()==0) {
+
116  return false;
+
117  }
+
118  this->assembleLayers(true);
+
119 
+
120  if(!strcmp(fileFormat,"PNG")) {
+
121  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
+
122  fileFormat = "png";
+
123  if (visibleImage.save(fileName, fileFormat)) {
+
124  return true;
+
125  } else {
+
126  return false;
+
127  }
+
128  }
+
129 
+
130  if (Canvas->save(fileName, fileFormat)) {
+
131  return true;
+
132  } else {
+
133  return false;
+
134  }
+
135 }
+
136 
+
137 // Color the image area with white
+
138 void PaintingArea::floodFill(int r, int g, int b, int a){
+
139  if(this->activeLayer==-1) {
+
140  return;
+
141  }
+
142  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
+
143  active->drawPlain(QColor(r, g, b, a));
+
144  update();
+
145 }
+
146 
+
147 void PaintingArea::movePositionActive(int x, int y){
+
148  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;
+
149  layerBundle[static_cast<size_t>(activeLayer)].heightOffset += y;
+
150 }
+
151 
+
152 void PaintingArea::moveActiveLayer(int idx){
+
153  if(idx==1) {
+
154  this->activateUpperLayer();
+
155  }else if(idx==-1) {
+
156  this->activateLowerLayer();
+
157  }
+
158 }
+
159 
+
160 void PaintingArea::slotActivateLayer(int a){
+
161  if(a>=0 && a < static_cast<int>(layerBundle.size())) {
+
162  this->setLayerToActive(a);
+
163  }
+
164 }
+
165 
+
166 void PaintingArea::colorPickerSetFirstColor(){
+
167  QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color", QColorDialog::DontUseNativeDialog);
+
168  this->colorPicker.setFirstColor(clr);
+
169 }
+
170 
+
171 void PaintingArea::colorPickerSetSecondColor(){
+
172  QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color", QColorDialog::DontUseNativeDialog);
+
173  this->colorPicker.setSecondColor(clr);
+
174 }
+
175 
+
176 void PaintingArea::colorPickerSwitchColor(){
+
177  this->colorPicker.switchColors();
+
178 }
+
179 
+
180 void PaintingArea::createPenTool(){
+
181  delete this->Tool;
+
182  Tool = new IntelliToolPen(this, &colorPicker);
+
183 }
+
184 
+
185 void PaintingArea::createPlainTool(){
+
186  delete this->Tool;
+
187  Tool = new IntelliToolPlainTool(this, &colorPicker);
+
188 }
+
189 
+
190 void PaintingArea::createLineTool(){
+
191  delete this->Tool;
+
192  Tool = new IntelliToolLine(this, &colorPicker);
+
193 }
+
194 
+
195 void PaintingArea::createRectangleTool(){
+
196  delete this->Tool;
+
197  Tool = new IntelliToolRectangle(this, &colorPicker);
+
198 }
+
199 
+
200 void PaintingArea::createCircleTool(){
+
201  delete this->Tool;
+
202  Tool = new IntelliToolCircle(this, &colorPicker);
203 }
-
204 
-
205 // If a mouse button is pressed check if it was the
-
206 // left button and if so store the current position
-
207 // Set that we are currently drawing
-
208 void PaintingArea::mousePressEvent(QMouseEvent *event){
-
209  if(Tool == nullptr)
-
210  return;
-
211  int x = event->x()-layerBundle[activeLayer].widthOffset;
-
212  int y = event->y()-layerBundle[activeLayer].hightOffset;
-
213  if(event->button() == Qt::LeftButton){
-
214  Tool->onMouseLeftPressed(x, y);
-
215  }else if(event->button() == Qt::RightButton){
-
216  Tool->onMouseRightPressed(x, y);
-
217  }
-
218  update();
-
219 }
-
220 
-
221 // When the mouse moves if the left button is clicked
-
222 // we call the drawline function which draws a line
-
223 // from the last position to the current
-
224 void PaintingArea::mouseMoveEvent(QMouseEvent *event){
-
225  if(Tool == nullptr)
-
226  return;
-
227  int x = event->x()-layerBundle[activeLayer].widthOffset;
-
228  int y = event->y()-layerBundle[activeLayer].hightOffset;
-
229  Tool->onMouseMoved(x, y);
-
230  update();
-
231 }
-
232 
-
233 // If the button is released we set variables to stop drawing
-
234 void PaintingArea::mouseReleaseEvent(QMouseEvent *event){
-
235  if(Tool == nullptr)
-
236  return;
-
237  int x = event->x()-layerBundle[activeLayer].widthOffset;
-
238  int y = event->y()-layerBundle[activeLayer].hightOffset;
-
239  if(event->button() == Qt::LeftButton){
-
240  Tool->onMouseLeftReleased(x, y);
-
241  }else if(event->button() == Qt::RightButton){
-
242  Tool->onMouseRightReleased(x, y);
-
243  }
-
244  update();
-
245 }
-
246 
-
247 void PaintingArea::wheelEvent(QWheelEvent *event){
-
248  QPoint numDegrees = event->angleDelta() / 8;
-
249  if(!numDegrees.isNull()){
-
250  QPoint numSteps = numDegrees / 15;
-
251  Tool->onWheelScrolled(numSteps.y()*-1);
-
252  }
-
253 }
-
254 
-
255 // QPainter provides functions to draw on the widget
-
256 // The QPaintEvent is sent to widgets that need to
-
257 // update themselves
-
258 void PaintingArea::paintEvent(QPaintEvent *event){
-
259  this->assembleLayers();
-
260 
-
261  QPainter painter(this);
-
262  QRect dirtyRec = event->rect();
-
263  painter.drawImage(dirtyRec, *Canvas, dirtyRec);
-
264  update();
-
265 }
-
266 
-
267 // Resize the image to slightly larger then the main window
-
268 // to cut down on the need to resize the image
-
269 void PaintingArea::resizeEvent(QResizeEvent *event){
-
270  //TODO wait till tool works
-
271  update();
-
272 }
-
273 
-
274 void PaintingArea::resizeImage(QImage *image_res, const QSize &newSize){
-
275  //TODO implement
-
276 }
+
204 void PaintingArea::createPolygonTool(){
+
205  delete this->Tool;
+
206  Tool = new IntelliToolPolygon(this, &colorPicker);
+
207 }
+
208 
+
209 void PaintingArea::createFloodFillTool(){
+
210  delete this->Tool;
+
211  Tool = new IntelliToolFloodFill(this, &colorPicker);
+
212 }
+
213 
+
214 int PaintingArea::getWidthOfActive(){
+
215  return this->layerBundle[activeLayer].width;
+
216 }
+
217 
+
218 int PaintingArea::getHeightOfActive(){
+
219  return this->layerBundle[activeLayer].height;
+
220 }
+
221 
+
222 // If a mouse button is pressed check if it was the
+
223 // left button and if so store the current position
+
224 // Set that we are currently drawing
+
225 void PaintingArea::mousePressEvent(QMouseEvent*event){
+
226  if(Tool == nullptr)
+
227  return;
+
228  int x = event->x()-layerBundle[activeLayer].widthOffset;
+
229  int y = event->y()-layerBundle[activeLayer].heightOffset;
+
230  if(event->button() == Qt::LeftButton) {
+
231  Tool->onMouseLeftPressed(x, y);
+
232  }else if(event->button() == Qt::RightButton) {
+
233  Tool->onMouseRightPressed(x, y);
+
234  }
+
235  update();
+
236 }
+
237 
+
238 // When the mouse moves if the left button is clicked
+
239 // we call the drawline function which draws a line
+
240 // from the last position to the current
+
241 void PaintingArea::mouseMoveEvent(QMouseEvent*event){
+
242  if(Tool == nullptr)
+
243  return;
+
244  int x = event->x()-layerBundle[activeLayer].widthOffset;
+
245  int y = event->y()-layerBundle[activeLayer].heightOffset;
+
246  Tool->onMouseMoved(x, y);
+
247  update();
+
248 }
+
249 
+
250 // If the button is released we set variables to stop drawing
+
251 void PaintingArea::mouseReleaseEvent(QMouseEvent*event){
+
252  if(Tool == nullptr)
+
253  return;
+
254  int x = event->x()-layerBundle[activeLayer].widthOffset;
+
255  int y = event->y()-layerBundle[activeLayer].heightOffset;
+
256  if(event->button() == Qt::LeftButton) {
+
257  Tool->onMouseLeftReleased(x, y);
+
258  }else if(event->button() == Qt::RightButton) {
+
259  Tool->onMouseRightReleased(x, y);
+
260  }
+
261  update();
+
262 }
+
263 
+
264 void PaintingArea::wheelEvent(QWheelEvent*event){
+
265  QPoint numDegrees = event->angleDelta() / 8;
+
266  if(!numDegrees.isNull()) {
+
267  QPoint numSteps = numDegrees / 15;
+
268  Tool->onWheelScrolled(numSteps.y()* -1);
+
269  }
+
270 }
+
271 
+
272 // QPainter provides functions to draw on the widget
+
273 // The QPaintEvent is sent to widgets that need to
+
274 // update themselves
+
275 void PaintingArea::paintEvent(QPaintEvent*event){
+
276  this->assembleLayers();
277 
-
278 void PaintingArea::activateUpperLayer(){
-
279  if(activeLayer!=-1 && activeLayer<layerBundle.size()-1){
-
280  std::swap(layerBundle[activeLayer], layerBundle[activeLayer+1]);
-
281  activeLayer++;
-
282  }
-
283 }
-
284 
-
285 void PaintingArea::activateLowerLayer(){
-
286  if(activeLayer!=-1 && activeLayer>0){
-
287  std::swap(layerBundle[activeLayer], layerBundle[activeLayer-1]);
-
288  activeLayer--;
-
289  }
-
290 }
-
291 
-
292 void PaintingArea::assembleLayers(bool forSaving){
-
293  if(forSaving){
-
294  Canvas->fill(Qt::GlobalColor::transparent);
-
295  }else{
-
296  Canvas->fill(Qt::GlobalColor::black);
-
297  }
-
298  for(size_t i=0; i<layerBundle.size(); i++){
-
299  LayerObject layer = layerBundle[i];
-
300  QImage cpy = layer.image->getDisplayable(layer.alpha);
-
301  QColor clr_0;
-
302  QColor clr_1;
-
303  for(int y=0; y<layer.hight; y++){
-
304  if(layer.hightOffset+y<0) continue;
-
305  if(layer.hightOffset+y>=maxHeight) break;
-
306  for(int x=0; x<layer.width; x++){
-
307  if(layer.widthOffset+x<0) continue;
-
308  if(layer.widthOffset+x>=maxWidth) break;
-
309  clr_0=Canvas->pixelColor(layer.widthOffset+x, layer.hightOffset+y);
-
310  clr_1=cpy.pixelColor(x,y);
-
311  float t = static_cast<float>(clr_1.alpha())/255.f;
-
312  int r =static_cast<int>(static_cast<float>(clr_1.red())*(t)+static_cast<float>(clr_0.red())*(1.f-t)+0.5f);
-
313  int g =static_cast<int>(static_cast<float>(clr_1.green())*(t)+static_cast<float>(clr_0.green())*(1.f-t)+0.5f);
-
314  int b =static_cast<int>(static_cast<float>(clr_1.blue())*(t)+static_cast<float>(clr_0.blue()*(1.f-t))+0.5f);
-
315  int a =std::min(clr_0.alpha()+clr_1.alpha(), 255);
-
316  clr_0.setRed(r);
-
317  clr_0.setGreen(g);
-
318  clr_0.setBlue(b);
-
319  clr_0.setAlpha(a);
-
320 
-
321  Canvas->setPixelColor(layer.widthOffset+x, layer.hightOffset+y, clr_0);
-
322  }
-
323  }
-
324  }
-
325 }
-
326 
-
327 void PaintingArea::createTempLayerAfter(int idx){
-
328  if(idx>=0){
-
329  LayerObject newLayer;
-
330  newLayer.alpha = 255;
-
331  newLayer.hight = layerBundle[idx].hight;
-
332  newLayer.width = layerBundle[idx].width;
-
333  newLayer.hightOffset = layerBundle[idx].hightOffset;
-
334  newLayer.widthOffset = layerBundle[idx].widthOffset;
-
335  newLayer.image = layerBundle[idx].image->getDeepCopy();
-
336  layerBundle.insert(layerBundle.begin()+idx+1,newLayer);
-
337  }
-
338 }
+
278  QPainter painter(this);
+
279  QRect dirtyRec = event->rect();
+
280  painter.drawImage(dirtyRec, *Canvas, dirtyRec);
+
281  update();
+
282 }
+
283 
+
284 // Resize the image to slightly larger then the main window
+
285 // to cut down on the need to resize the image
+
286 void PaintingArea::resizeEvent(QResizeEvent*event){
+
287  //TODO wait till tool works
+
288  update();
+
289 }
+
290 
+
291 void PaintingArea::resizeImage(QImage*image_res, const QSize &newSize){
+
292  //TODO implement
+
293 }
+
294 
+
295 void PaintingArea::activateUpperLayer(){
+
296  if(activeLayer!=-1 && activeLayer<layerBundle.size()-1) {
+
297  std::swap(layerBundle[activeLayer], layerBundle[activeLayer+1]);
+
298  activeLayer++;
+
299  }
+
300 }
+
301 
+
302 void PaintingArea::activateLowerLayer(){
+
303  if(activeLayer!=-1 && activeLayer>0) {
+
304  std::swap(layerBundle[activeLayer], layerBundle[activeLayer-1]);
+
305  activeLayer--;
+
306  }
+
307 }
+
308 
+
309 void PaintingArea::assembleLayers(bool forSaving){
+
310  if(forSaving) {
+
311  Canvas->fill(Qt::GlobalColor::transparent);
+
312  }else{
+
313  Canvas->fill(Qt::GlobalColor::black);
+
314  }
+
315  for(size_t i=0; i<layerBundle.size(); i++) {
+
316  LayerObject layer = layerBundle[i];
+
317  QImage cpy = layer.image->getDisplayable(layer.alpha);
+
318  QColor clr_0;
+
319  QColor clr_1;
+
320  for(int y=0; y<layer.height; y++) {
+
321  if(layer.heightOffset+y<0) continue;
+
322  if(layer.heightOffset+y>=maxHeight) break;
+
323  for(int x=0; x<layer.width; x++) {
+
324  if(layer.widthOffset+x<0) continue;
+
325  if(layer.widthOffset+x>=maxWidth) break;
+
326  clr_0=Canvas->pixelColor(layer.widthOffset+x, layer.heightOffset+y);
+
327  clr_1=cpy.pixelColor(x,y);
+
328  float t = static_cast<float>(clr_1.alpha())/255.f;
+
329  int r =static_cast<int>(static_cast<float>(clr_1.red())*(t)+static_cast<float>(clr_0.red())*(1.f-t)+0.5f);
+
330  int g =static_cast<int>(static_cast<float>(clr_1.green())*(t)+static_cast<float>(clr_0.green())*(1.f-t)+0.5f);
+
331  int b =static_cast<int>(static_cast<float>(clr_1.blue())*(t)+static_cast<float>(clr_0.blue()*(1.f-t))+0.5f);
+
332  int a =std::min(clr_0.alpha()+clr_1.alpha(), 255);
+
333  clr_0.setRed(r);
+
334  clr_0.setGreen(g);
+
335  clr_0.setBlue(b);
+
336  clr_0.setAlpha(a);
+
337 
+
338  Canvas->setPixelColor(layer.widthOffset+x, layer.heightOffset+y, clr_0);
+
339  }
+
340  }
+
341  }
+
342 }
+
343 
+
344 void PaintingArea::createTempLayerAfter(int idx){
+
345  if(idx>=0) {
+
346  LayerObject newLayer;
+
347  newLayer.alpha = 255;
+
348  newLayer.height = layerBundle[idx].height;
+
349  newLayer.width = layerBundle[idx].width;
+
350  newLayer.heightOffset = layerBundle[idx].heightOffset;
+
351  newLayer.widthOffset = layerBundle[idx].widthOffset;
+
352  newLayer.image = layerBundle[idx].image->getDeepCopy();
+
353  layerBundle.insert(layerBundle.begin()+idx+1,newLayer);
+
354  }
+
355 }
+
PaintingArea::getWidthOfActive
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
Definition: PaintingArea.cpp:214
+
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:200
IntelliTool::onMouseRightPressed
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:14
IntelliTool::onMouseLeftReleased
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:32
ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:14
-
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
Definition: PaintingArea.cpp:58
-
PaintingArea::getWidthActiveLayer
int getWidthActiveLayer()
Definition: PaintingArea.cpp:197
-
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:234
+
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:56
+
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:251
+
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:195
IntelliToolPolygon.h
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:25
IntelliShapedImage.h
-
PaintingArea::open
bool open(const QString &fileName)
Definition: PaintingArea.cpp:104
-
LayerObject::widthOffset
int widthOffset
Definition: PaintingArea.h:20
+
PaintingArea::open
bool open(const QString &fileName)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:102
+
LayerObject::widthOffset
int widthOffset
Definition: PaintingArea.h:28
IntelliImage::loadImage
virtual bool loadImage(const QString &fileName)
A function that loads and sclaes an image to the fitting dimensions.
Definition: IntelliImage.cpp:14
-
PaintingArea::setLayerToActive
void setLayerToActive(int index)
Definition: PaintingArea.cpp:91
-
PaintingArea::getHeightActiveLayer
int getHeightActiveLayer()
Definition: PaintingArea.cpp:201
-
PaintingArea::floodFill
void floodFill(int r, int g, int b, int a)
Definition: PaintingArea.cpp:140
+
PaintingArea::setLayerToActive
void setLayerToActive(int index)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:89
+
PaintingArea::floodFill
void floodFill(int r, int g, int b, int a)
The floodFill method fills a the active layer with a given color.
Definition: PaintingArea.cpp:138
IntelliToolPlainTool
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
Definition: IntelliToolPlain.h:9
IntelliColorPicker::setSecondColor
void setSecondColor(QColor Color)
A function to set the secondary color.
Definition: IntelliColorPicker.cpp:28
IntelliShapedImage
The IntelliShapedImage manages a Shapedimage.
Definition: IntelliShapedImage.h:11
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
-
PaintingArea::save
bool save(const QString &fileName, const char *fileFormat)
Definition: PaintingArea.cpp:116
+
LayerObject::heightOffset
int heightOffset
Definition: PaintingArea.h:29
+
PaintingArea::save
bool save(const QString &fileName, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:114
+
PaintingArea::getHeightOfActive
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
Definition: PaintingArea.cpp:218
IntelliColorPicker::switchColors
void switchColors()
A function switching primary and secondary color.
Definition: IntelliColorPicker.cpp:12
IntelliToolFloodFill.h
IntelliImage::getDisplayable
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:187
-
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:247
-
LayerObject
Definition: PaintingArea.h:16
-
PaintingArea::deleteLayer
void deleteLayer(int index)
Definition: PaintingArea.cpp:75
-
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:182
+
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:185
+
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:264
+
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:24
+
PaintingArea::deleteLayer
void deleteLayer(int index)
The deleteLayer method removes a layer at a given index.
Definition: PaintingArea.cpp:73
+
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:180
IntelliToolPlain.h
-
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:208
+
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:225
ImageType::Raster_Image
IntelliRasterImage.h
-
LayerObject::alpha
int alpha
Definition: PaintingArea.h:22
-
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:192
+
LayerObject::alpha
int alpha
Definition: PaintingArea.h:30
+
IntelliToolRectangle
The IntelliToolRectangle class represents a tool to draw a rectangle.
Definition: IntelliToolRectangle.h:11
+
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:190
IntelliToolLine.h
IntelliToolPen
The IntelliToolPen class represents a tool to draw a line.
Definition: IntelliToolPen.h:10
-
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
Definition: PaintingArea.cpp:173
+
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:171
IntelliTool::onMouseRightReleased
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:21
-
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
Definition: PaintingArea.cpp:168
-
PaintingArea::colorPickerSwitchColor
void colorPickerSwitchColor()
Definition: PaintingArea.cpp:178
-
LayerObject::width
int width
Definition: PaintingArea.h:18
+
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:166
+
PaintingArea::colorPickerSwitchColor
void colorPickerSwitchColor()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:176
+
LayerObject::width
int width
Definition: PaintingArea.h:26
IntelliToolRectangle.h
-
PaintingArea::~PaintingArea
~PaintingArea() override
Definition: PaintingArea.cpp:43
-
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:224
+
PaintingArea::~PaintingArea
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
Definition: PaintingArea.cpp:41
+
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:241
IntelliColorPicker::setFirstColor
void setFirstColor(QColor Color)
A function to set the primary color.
Definition: IntelliColorPicker.cpp:24
-
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
Definition: PaintingArea.cpp:84
+
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
Definition: PaintingArea.cpp:82
ImageType::Shaped_Image
-
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
Definition: PaintingArea.cpp:154
-
PaintingArea::PaintingArea
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
Definition: PaintingArea.cpp:21
+
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:204
+
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:152
+
PaintingArea::PaintingArea
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
Definition: PaintingArea.cpp:21
PaintingArea.h
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
-
LayerObject::hight
int hight
Definition: PaintingArea.h:19
-
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
Definition: PaintingArea.cpp:162
-
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:258
-
PaintingArea::setAlphaOfLayer
void setAlphaOfLayer(int index, int alpha)
Definition: PaintingArea.cpp:97
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
-
PaintingArea::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition: PaintingArea.cpp:269
+
LayerObject::height
int height
Definition: PaintingArea.h:27
+
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:209
+
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:160
+
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:275
+
PaintingArea::setAlphaOfLayer
void setAlphaOfLayer(int index, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:95
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
+
PaintingArea::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition: PaintingArea.cpp:286
IntelliToolFloodFill
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
Definition: IntelliToolFloodFill.h:10
IntelliToolPen.h
-
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
Definition: PaintingArea.cpp:149
+
IntelliToolCircle
The IntelliToolCircle class represents a tool to draw a circle.
Definition: IntelliToolCircle.h:10
+
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:147
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:24
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:41
-
LayerObject::hightOffset
int hightOffset
Definition: PaintingArea.h:21
+
IntelliToolPolygon
The IntelliToolPolygon managed the Drawing of Polygonforms.
Definition: IntelliToolPolygon.h:11
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
IntelliTool::onWheelScrolled
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:46
IntelliRasterImage
The IntelliRasterImage manages a Rasterimage.
Definition: IntelliRasterImage.h:9
diff --git a/docs/html/_painting_area_8h.html b/docs/html/_painting_area_8h.html index bb57f2f..258489a 100644 --- a/docs/html/_painting_area_8h.html +++ b/docs/html/_painting_area_8h.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -118,8 +118,10 @@ This graph shows which files directly or indirectly include this file:

Classes

struct  LayerObject + The LayerObject struct holds all the information needed to construct a layer. More...
  class  PaintingArea + The PaintingArea class manages the methods and stores information about the current painting area, which is the currently opened project. More...
  diff --git a/docs/html/_painting_area_8h_source.html b/docs/html/_painting_area_8h_source.html index e1874c1..21a5b94 100644 --- a/docs/html/_painting_area_8h_source.html +++ b/docs/html/_painting_area_8h_source.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -105,143 +105,152 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html','');});
13 #include "Tool/IntelliTool.h"
14 #include "IntelliHelper/IntelliColorPicker.h"
15 
-
16 struct LayerObject{
-
17  IntelliImage* image;
-
18  int width;
-
19  int hight;
-
20  int widthOffset;
-
21  int hightOffset;
-
22  int alpha=255;
-
23 };
-
24 
-
25 class PaintingArea : public QWidget
-
26 {
-
27  // Declares our class as a QObject which is the base class
-
28  // for all Qt objects
-
29  // QObjects handle events
-
30  Q_OBJECT
-
31  friend IntelliTool;
-
32 public:
-
33  PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent = nullptr);
-
34  ~PaintingArea() override;
-
35 
-
36  // Handles all events
-
37  bool open(const QString &fileName);
-
38  bool save(const QString &fileName, const char *fileFormat);
-
39 
-
40  int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type = ImageType::Raster_Image);
-
41  int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type = ImageType::Raster_Image);
-
42  void deleteLayer(int index);
-
43  void setLayerToActive(int index);
-
44  void setAlphaOfLayer(int index, int alpha);
-
45  void floodFill(int r, int g, int b, int a);
-
46  void movePositionActive(int x, int y);
-
47  void moveActiveLayer(int idx);
-
48 
-
49  //change properties of colorPicker
-
50  void colorPickerSetFirstColor();
-
51  void colorPickerSetSecondColor();
-
52  void colorPickerSwitchColor();
-
53 
-
54  //create tools
-
55  void createPenTool();
-
56  void createPlainTool();
-
57  void createLineTool();
+
24 struct LayerObject{
+
25  IntelliImage* image;
+
26  int width;
+
27  int height;
+
28  int widthOffset;
+
29  int heightOffset;
+
30  int alpha=255;
+
31 };
+
32 
+
36 class PaintingArea : public QWidget
+
37 {
+
38  // Declares our class as a QObject which is the base class
+
39  // for all Qt objects
+
40  // QObjects handle events
+
41  Q_OBJECT
+
42  friend IntelliTool;
+
43 public:
+
50  PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent = nullptr);
+
51 
+
55  ~PaintingArea() override;
+
56 
+
57  // Handles all events
58 
-
59  //get Width and Height of active Layer
-
60  int getWidthActiveLayer();
-
61  int getHeightActiveLayer();
-
62 
-
63 public slots:
-
64  // Events to handle
-
65  void slotActivateLayer(int a);
-
66  void slotDeleteActiveLayer();
-
67 
-
68 protected:
-
69  void mousePressEvent(QMouseEvent *event) override;
-
70  void mouseMoveEvent(QMouseEvent *event) override;
-
71  void mouseReleaseEvent(QMouseEvent *event) override;
+
64  bool open(const QString &fileName);
+
71  bool save(const QString &fileName, const char *fileFormat);
72 
-
73  void wheelEvent(QWheelEvent *event) override;
-
74  // Updates the painting area where we are painting
-
75  void paintEvent(QPaintEvent *event) override;
-
76 
-
77  // Makes sure the area we are drawing on remains
-
78  // as large as the widget
-
79  void resizeEvent(QResizeEvent *event) override;
-
80 
-
81 private:
-
82  void setUp(int maxWidth, int maxHeight);
-
83  void activateUpperLayer();
-
84  void activateLowerLayer();
-
85 
-
86  QImage* Canvas;
-
87  int maxWidth;
-
88  int maxHeight;
-
89 
-
90  IntelliTool* Tool;
-
91  IntelliColorPicker colorPicker;
-
92 
-
93  std::vector<LayerObject> layerBundle;
-
94  int activeLayer=-1;
-
95 
-
96  void assembleLayers(bool forSaving=false);
-
97 
-
98  void resizeImage(QImage *image_res, const QSize &newSize);
-
99 
-
100  //Helper for Tool
-
101  void createTempLayerAfter(int idx);
-
102 };
-
103 
-
104 #endif
+
82  int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type = ImageType::Raster_Image);
+
93  int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type = ImageType::Raster_Image);
+
98  void deleteLayer(int index);
+
103  void setLayerToActive(int index);
+
109  void setAlphaOfLayer(int index, int alpha);
+
117  void floodFill(int r, int g, int b, int a);
+
123  void movePositionActive(int x, int y);
+
128  void moveActiveLayer(int idx);
+
129 
+
130  //change properties of colorPicker
+
134  void colorPickerSetFirstColor();
+
138  void colorPickerSetSecondColor();
+
142  void colorPickerSwitchColor();
+
143 
+
144  // Create tools
+
145  void createPenTool();
+
146  void createPlainTool();
+
147  void createLineTool();
+
148  void createRectangleTool();
+
149  void createCircleTool();
+
150  void createPolygonTool();
+
151  void createFloodFillTool();
+
152 
+
157  int getWidthOfActive();
+
162  int getHeightOfActive();
+
163 
+
164 public slots:
+
165  // Events to handle
+
170  void slotActivateLayer(int a);
+
174  void slotDeleteActiveLayer();
+
175 
+
176 protected:
+
177  void mousePressEvent(QMouseEvent *event) override;
+
178  void mouseMoveEvent(QMouseEvent *event) override;
+
179  void mouseReleaseEvent(QMouseEvent *event) override;
+
180 
+
181  void wheelEvent(QWheelEvent *event) override;
+
182  // Updates the painting area where we are painting
+
183  void paintEvent(QPaintEvent *event) override;
+
184 
+
185  // Makes sure the area we are drawing on remains
+
186  // as large as the widget
+
187  void resizeEvent(QResizeEvent *event) override;
+
188 
+
189 private:
+
190  void setUp(int maxWidth, int maxHeight);
+
191  void activateUpperLayer();
+
192  void activateLowerLayer();
+
193 
+
194  QImage* Canvas;
+
195  int maxWidth;
+
196  int maxHeight;
+
197 
+
198  IntelliTool* Tool;
+
199  IntelliColorPicker colorPicker;
+
200 
+
201  std::vector<LayerObject> layerBundle;
+
202  int activeLayer=-1;
+
203 
+
204  void assembleLayers(bool forSaving=false);
+
205 
+
206  void resizeImage(QImage *image_res, const QSize &newSize);
+
207 
+
208  // Helper for Tool
+
209  void createTempLayerAfter(int idx);
+
210 };
+
211 
+
212 #endif
+
PaintingArea::getWidthOfActive
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
Definition: PaintingArea.cpp:214
+
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:200
ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:14
-
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
Definition: PaintingArea.cpp:58
-
PaintingArea::getWidthActiveLayer
int getWidthActiveLayer()
Definition: PaintingArea.cpp:197
-
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:234
+
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:56
+
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:251
+
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:195
IntelliTool.h
IntelliShapedImage.h
IntelliImage.h
-
PaintingArea::open
bool open(const QString &fileName)
Definition: PaintingArea.cpp:104
-
LayerObject::widthOffset
int widthOffset
Definition: PaintingArea.h:20
-
PaintingArea::setLayerToActive
void setLayerToActive(int index)
Definition: PaintingArea.cpp:91
-
PaintingArea::getHeightActiveLayer
int getHeightActiveLayer()
Definition: PaintingArea.cpp:201
-
PaintingArea::floodFill
void floodFill(int r, int g, int b, int a)
Definition: PaintingArea.cpp:140
-
PaintingArea::save
bool save(const QString &fileName, const char *fileFormat)
Definition: PaintingArea.cpp:116
-
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:187
-
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:247
-
PaintingArea
Definition: PaintingArea.h:25
-
LayerObject
Definition: PaintingArea.h:16
-
PaintingArea::deleteLayer
void deleteLayer(int index)
Definition: PaintingArea.cpp:75
-
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:182
-
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:208
+
PaintingArea::open
bool open(const QString &fileName)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:102
+
LayerObject::widthOffset
int widthOffset
Definition: PaintingArea.h:28
+
PaintingArea::setLayerToActive
void setLayerToActive(int index)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:89
+
PaintingArea::floodFill
void floodFill(int r, int g, int b, int a)
The floodFill method fills a the active layer with a given color.
Definition: PaintingArea.cpp:138
+
LayerObject::heightOffset
int heightOffset
Definition: PaintingArea.h:29
+
PaintingArea::save
bool save(const QString &fileName, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:114
+
PaintingArea::getHeightOfActive
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
Definition: PaintingArea.cpp:218
+
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:185
+
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:264
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
+
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:24
+
PaintingArea::deleteLayer
void deleteLayer(int index)
The deleteLayer method removes a layer at a given index.
Definition: PaintingArea.cpp:73
+
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:180
+
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:225
ImageType::Raster_Image
IntelliRasterImage.h
-
LayerObject::alpha
int alpha
Definition: PaintingArea.h:22
-
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:192
-
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
Definition: PaintingArea.cpp:173
-
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
Definition: PaintingArea.cpp:168
-
PaintingArea::colorPickerSwitchColor
void colorPickerSwitchColor()
Definition: PaintingArea.cpp:178
+
LayerObject::alpha
int alpha
Definition: PaintingArea.h:30
+
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:190
+
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:171
+
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:166
+
PaintingArea::colorPickerSwitchColor
void colorPickerSwitchColor()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:176
IntelliColorPicker.h
-
LayerObject::width
int width
Definition: PaintingArea.h:18
-
PaintingArea::~PaintingArea
~PaintingArea() override
Definition: PaintingArea.cpp:43
-
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:224
+
LayerObject::width
int width
Definition: PaintingArea.h:26
+
PaintingArea::~PaintingArea
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
Definition: PaintingArea.cpp:41
+
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:241
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
-
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
Definition: PaintingArea.cpp:84
-
PaintingArea::addLayerAt
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
-
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
Definition: PaintingArea.cpp:154
-
PaintingArea::PaintingArea
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
Definition: PaintingArea.cpp:21
-
LayerObject::hight
int hight
Definition: PaintingArea.h:19
-
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
Definition: PaintingArea.cpp:162
+
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
Definition: PaintingArea.cpp:82
+
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:204
+
PaintingArea::addLayerAt
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer...
+
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:152
+
PaintingArea::PaintingArea
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
Definition: PaintingArea.cpp:21
+
LayerObject::height
int height
Definition: PaintingArea.h:27
+
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:209
+
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:160
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:258
-
PaintingArea::setAlphaOfLayer
void setAlphaOfLayer(int index, int alpha)
Definition: PaintingArea.cpp:97
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:17
-
PaintingArea::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition: PaintingArea.cpp:269
-
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
Definition: PaintingArea.cpp:149
+
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:275
+
PaintingArea::setAlphaOfLayer
void setAlphaOfLayer(int index, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:95
+
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:25
+
PaintingArea::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition: PaintingArea.cpp:286
+
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:147
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:24
-
LayerObject::hightOffset
int hightOffset
Definition: PaintingArea.h:21
IntelliColorPicker::~IntelliColorPicker
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
Definition: IntelliColorPicker.cpp:8
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
-
PaintingArea
Definition: PaintingArea.h:25
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:36
IntelliColorPicker.h
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 655f234..817bc92 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('annotated.html','');}); - + @@ -105,8 +105,8 @@ $(document).ready(function(){initNavTree('annotated.html','');}); - - + +
 CIntelliColorPickerThe IntelliColorPicker manages the selected colors for one whole project
 CIntelliImageAn abstract class which manages the basic IntelliImage operations
 CIntelliPhotoGui
 CIntelliPhotoGuiHandles the graphical user interface for the intelliPhoto program
 CIntelliRasterImageThe IntelliRasterImage manages a Rasterimage
 CIntelliShapedImageThe IntelliShapedImage manages a Shapedimage
 CIntelliToolAn abstract class that manages the basic events, like mouse clicks or scrolls events
 CIntelliToolPlainToolTool to fill the whole canvas with one color
 CIntelliToolPolygonThe IntelliToolPolygon managed the Drawing of Polygonforms
 CIntelliToolRectangleTool to draw a rectangle
 CLayerObject
 CPaintingArea
 CLayerObjectThe LayerObject struct holds all the information needed to construct a layer
 CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project
 CTriangleThe Triangle struct holds the 3 vertices of a triangle
diff --git a/docs/html/class_intelli_color_picker-members.html b/docs/html/class_intelli_color_picker-members.html index 45f31dc..3548ba9 100644 --- a/docs/html/class_intelli_color_picker-members.html +++ b/docs/html/class_intelli_color_picker-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_color_picker.html b/docs/html/class_intelli_color_picker.html index e004316..087b636 100644 --- a/docs/html/class_intelli_color_picker.html +++ b/docs/html/class_intelli_color_picker.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot b/docs/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot index 6b738d0..3370f98 100644 --- a/docs/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot +++ b/docs/html/class_intelli_color_picker_a437a6f20bf2fc0a4cbaf4c030c2a26d9_icgraph.dot @@ -6,5 +6,5 @@ digraph "IntelliColorPicker::switchColors" rankdir="RL"; Node1 [label="IntelliColorPicker\l::switchColors",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function switching primary and secondary color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::colorPicker\lSwitchColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb",tooltip=" "]; + Node2 [label="PaintingArea::colorPicker\lSwitchColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb",tooltip="The colorPickerSwitchColor swaps the primary color with the secondary drawing color."]; } diff --git a/docs/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot b/docs/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot index b8eaa57..7857846 100644 --- a/docs/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot +++ b/docs/html/class_intelli_color_picker_a55568fbf5dc783f06284b7031ffe9415_icgraph.dot @@ -6,5 +6,7 @@ digraph "IntelliColorPicker::getSecondColor" rankdir="RL"; Node1 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to read the secondary selected color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae261acaaa346610dfed489dbac17e789",tooltip=" "]; + Node2 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae261acaaa346610dfed489dbac17e789",tooltip="The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; } diff --git a/docs/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot b/docs/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot index 92e64b9..cc08d61 100644 --- a/docs/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot +++ b/docs/html/class_intelli_color_picker_a7e2ddbbbfbed383f06b24e5bf6b27ae8_icgraph.dot @@ -6,5 +6,5 @@ digraph "IntelliColorPicker::setFirstColor" rankdir="RL"; Node1 [label="IntelliColorPicker\l::setFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to set the primary color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip=" "]; + Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip="The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color."]; } diff --git a/docs/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot b/docs/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot index 0f85c43..a271fd7 100644 --- a/docs/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot +++ b/docs/html/class_intelli_color_picker_a86bf4a940e4a0e465e30cbdf28748931_icgraph.dot @@ -6,5 +6,5 @@ digraph "IntelliColorPicker::setSecondColor" rankdir="RL"; Node1 [label="IntelliColorPicker\l::setSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to set the secondary color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae261acaaa346610dfed489dbac17e789",tooltip=" "]; + Node2 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#ae261acaaa346610dfed489dbac17e789",tooltip="The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color."]; } diff --git a/docs/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot b/docs/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot index 518b1da..26e1cc5 100644 --- a/docs/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot +++ b/docs/html/class_intelli_color_picker_aae2eb27b928fe9388b9398b0556303b7_icgraph.dot @@ -6,19 +6,19 @@ digraph "IntelliColorPicker::getFirstColor" rankdir="RL"; Node1 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to read the primary selected color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip=" "]; + Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip="The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color."]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node6 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node7 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node8 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; diff --git a/docs/html/class_intelli_image-members.html b/docs/html/class_intelli_image-members.html index c3adfde..1381841 100644 --- a/docs/html/class_intelli_image-members.html +++ b/docs/html/class_intelli_image-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_image.html b/docs/html/class_intelli_image.html index c3d302a..db8463b 100644 --- a/docs/html/class_intelli_image.html +++ b/docs/html/class_intelli_image.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot b/docs/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot index ebea63b..40e51a4 100644 --- a/docs/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot +++ b/docs/html/class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.dot @@ -6,7 +6,7 @@ digraph "IntelliImage::drawPoint" rankdir="RL"; Node1 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node3 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; } diff --git a/docs/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot b/docs/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot index d5716af..ac57cc0 100644 --- a/docs/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot +++ b/docs/html/class_intelli_image_a6be622810dc2bc756054bb5769becb06_icgraph.dot @@ -6,15 +6,13 @@ digraph "IntelliImage::drawPlain" rankdir="RL"; Node1 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that clears the whole image in a given Color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774",tooltip=" "]; + Node2 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774",tooltip="The floodFill method fills a the active layer with a given color."]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node4 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."]; Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."]; + Node5 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; - Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node7 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node6 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; } diff --git a/docs/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot b/docs/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot index a28d0a3..8765154 100644 --- a/docs/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot +++ b/docs/html/class_intelli_image_aebbced93f4744fad81b7f141b21f4ab2_icgraph.dot @@ -6,15 +6,15 @@ digraph "IntelliImage::calculateVisiblity" rankdir="RL"; Node1 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node2 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node3 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node4 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node5 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; + Node6 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node7 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; @@ -27,27 +27,26 @@ digraph "IntelliImage::calculateVisiblity" Node9 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node9 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node11 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; - Node1 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node12 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; - Node12 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node13 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "]; - Node12 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node12 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node14 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; - Node12 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node15 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."]; - Node12 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node16 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; - Node12 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node17 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; - Node12 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node18 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."]; - Node12 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node11 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "]; + Node11 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node11 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."]; + Node11 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; + Node11 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; + Node11 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."]; + Node11 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node11 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node19 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click released of a mouse."]; Node1 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node20 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; @@ -65,6 +64,8 @@ digraph "IntelliImage::calculateVisiblity" Node26 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; Node20 -> Node27 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node27 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; - Node1 -> Node28 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node28 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip=" "]; + Node20 -> Node28 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="IntelliToolPolygon\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922",tooltip="A function managing the mouse moved event."]; + Node1 -> Node29 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip="The open method is used for loading a picture into the current layer."]; } diff --git a/docs/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot b/docs/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot index d4c90ac..4e1d41c 100644 --- a/docs/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot +++ b/docs/html/class_intelli_image_aec0e9c8184d89dee33fd9adefbd2f8aa_icgraph.dot @@ -6,5 +6,5 @@ digraph "IntelliImage::loadImage" rankdir="RL"; Node1 [label="IntelliImage::loadImage",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that loads and sclaes an image to the fitting dimensions."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip=" "]; + Node2 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip="The open method is used for loading a picture into the current layer."]; } diff --git a/docs/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot b/docs/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot index d91134d..09a88c6 100644 --- a/docs/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot +++ b/docs/html/class_intelli_image_af3c859f5c409e37051edfd9e9fbca056_icgraph.dot @@ -10,5 +10,5 @@ digraph "IntelliImage::drawPixel" Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node3 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; } diff --git a/docs/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot b/docs/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot index 660dc65..1ba597e 100644 --- a/docs/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot +++ b/docs/html/class_intelli_image_af8eddbd9aa54c8d37590d1d4bf8dce31_icgraph.dot @@ -6,9 +6,11 @@ digraph "IntelliImage::drawLine" rankdir="RL"; Node1 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that draws A Line between two given Points in a given color."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node4 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."]; + Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; } diff --git a/docs/html/class_intelli_photo_gui-members.html b/docs/html/class_intelli_photo_gui-members.html index 7034aba..bbb5fa7 100644 --- a/docs/html/class_intelli_photo_gui-members.html +++ b/docs/html/class_intelli_photo_gui-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_photo_gui.html b/docs/html/class_intelli_photo_gui.html index 152a525..1ea221b 100644 --- a/docs/html/class_intelli_photo_gui.html +++ b/docs/html/class_intelli_photo_gui.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -95,6 +95,9 @@ $(document).ready(function(){initNavTree('class_intelli_photo_gui.html','');});
+

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

+

#include <IntelliPhotoGui.h>

Inheritance diagram for IntelliPhotoGui:
@@ -110,6 +113,7 @@ Collaboration diagram for IntelliPhotoGui:

Public Member Functions

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

@@ -118,8 +122,9 @@ Protected Member Functions

 

Detailed Description

-
-

Definition at line 19 of file IntelliPhotoGui.h.

+

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

+ +

Definition at line 22 of file IntelliPhotoGui.h.

Constructor & Destructor Documentation

◆ IntelliPhotoGui()

@@ -136,6 +141,8 @@ Protected Member Functions
+

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

+

Definition at line 10 of file IntelliPhotoGui.cpp.

diff --git a/docs/html/class_intelli_photo_gui__coll__graph.dot b/docs/html/class_intelli_photo_gui__coll__graph.dot index 524d737..3aec454 100644 --- a/docs/html/class_intelli_photo_gui__coll__graph.dot +++ b/docs/html/class_intelli_photo_gui__coll__graph.dot @@ -3,7 +3,7 @@ digraph "IntelliPhotoGui" // LATEX_PDF_SIZE edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program."]; Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; } diff --git a/docs/html/class_intelli_photo_gui__inherit__graph.dot b/docs/html/class_intelli_photo_gui__inherit__graph.dot index 524d737..3aec454 100644 --- a/docs/html/class_intelli_photo_gui__inherit__graph.dot +++ b/docs/html/class_intelli_photo_gui__inherit__graph.dot @@ -3,7 +3,7 @@ digraph "IntelliPhotoGui" // LATEX_PDF_SIZE edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program."]; Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; } diff --git a/docs/html/class_intelli_raster_image-members.html b/docs/html/class_intelli_raster_image-members.html index 0b7cec4..b029ead 100644 --- a/docs/html/class_intelli_raster_image-members.html +++ b/docs/html/class_intelli_raster_image-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_raster_image.html b/docs/html/class_intelli_raster_image.html index b3bd2a1..010eecb 100644 --- a/docs/html/class_intelli_raster_image.html +++ b/docs/html/class_intelli_raster_image.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_shaped_image-members.html b/docs/html/class_intelli_shaped_image-members.html index 4098b26..b2a018f 100644 --- a/docs/html/class_intelli_shaped_image-members.html +++ b/docs/html/class_intelli_shaped_image-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_shaped_image.html b/docs/html/class_intelli_shaped_image.html index 4a2806e..6fed452 100644 --- a/docs/html/class_intelli_shaped_image.html +++ b/docs/html/class_intelli_shaped_image.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_tool-members.html b/docs/html/class_intelli_tool-members.html index 989d5e1..8072345 100644 --- a/docs/html/class_intelli_tool-members.html +++ b/docs/html/class_intelli_tool-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_tool.html b/docs/html/class_intelli_tool.html index a58a7b2..a5f8194 100644 --- a/docs/html/class_intelli_tool.html +++ b/docs/html/class_intelli_tool.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -140,10 +140,10 @@ Public Member Functions

Protected Attributes

PaintingAreaArea - A pointer to the general PaintingArea to interact with. More...
+ A pointer to the general PaintingArea to interact with. More...
  IntelliColorPickercolorPicker - A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
+ A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
  LayerObjectActive  A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
@@ -189,7 +189,7 @@ Protected Attributes

A constructor setting the general Painting Area and colorPicker.

Parameters
- +
Area- The general PaintingArea used by the project.
Area- The general PaintingArea used by the project.
colorPicker- The general colorPicker used by the project.
@@ -272,7 +272,7 @@ Protected Attributes
-

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

+

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

Definition at line 25 of file IntelliTool.cpp.

@@ -331,7 +331,7 @@ Here is the caller graph for this function:
-

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

+

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

Definition at line 32 of file IntelliTool.cpp.

@@ -390,7 +390,7 @@ Here is the caller graph for this function:
-

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

+

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

Definition at line 41 of file IntelliTool.cpp.

@@ -449,7 +449,7 @@ Here is the caller graph for this function:
-

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

+

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

Definition at line 14 of file IntelliTool.cpp.

@@ -503,7 +503,7 @@ Here is the caller graph for this function:
-

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

+

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

Definition at line 21 of file IntelliTool.cpp.

@@ -546,7 +546,7 @@ Here is the caller graph for this function:
-

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

+

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

Definition at line 46 of file IntelliTool.cpp.

@@ -604,7 +604,7 @@ Here is the caller graph for this function:
-

A pointer to the general PaintingArea to interact with.

+

A pointer to the general PaintingArea to interact with.

Definition at line 33 of file IntelliTool.h.

@@ -656,7 +656,7 @@ Here is the caller graph for this function:
-

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

+

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

Definition at line 38 of file IntelliTool.h.

diff --git a/docs/html/class_intelli_tool__coll__graph.dot b/docs/html/class_intelli_tool__coll__graph.dot index f5165d5..39aefd0 100644 --- a/docs/html/class_intelli_tool__coll__graph.dot +++ b/docs/html/class_intelli_tool__coll__graph.dot @@ -5,13 +5,13 @@ digraph "IntelliTool" node [fontname="Helvetica",fontsize="10",shape=record]; Node1 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node2 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node2 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node2 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node3 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node4 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node4 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node5 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node5 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node5 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node6 -> Node5 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node6 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot b/docs/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot index 0e124e9..f5999ab 100644 --- a/docs/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot +++ b/docs/html/class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.dot @@ -19,4 +19,6 @@ digraph "IntelliTool::onMouseRightReleased" Node7 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c",tooltip="A function managing the right click released of a mouse."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node8 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPolygon\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b",tooltip="A function managing the right click released of a mouse."]; } diff --git a/docs/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot b/docs/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot index d220b5b..d2bf790 100644 --- a/docs/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot +++ b/docs/html/class_intelli_tool_a1e6aa68ac5f3c2ca02319e5ef3f0c966_icgraph.dot @@ -8,17 +8,17 @@ digraph "IntelliTool::onMouseRightPressed" Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; + Node3 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1",tooltip="A function managing the right click pressed of a mouse.Resetting the current fill."]; + Node4 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; + Node5 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce",tooltip="A function managing the right click pressed of a mouse. Resetting the current draw."]; Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."]; + Node6 [label="IntelliToolRectangle\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."]; Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node7 [label="IntelliToolRectangle\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."]; + Node7 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas layer."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas layer."]; + Node8 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node9 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."]; + Node9 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; } diff --git a/docs/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot b/docs/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot index 4b3c709..2c9eec4 100644 --- a/docs/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot +++ b/docs/html/class_intelli_tool_a34b7ef1dde96b94a0ce450a25ae1778c_icgraph.dot @@ -8,17 +8,17 @@ digraph "IntelliTool::onMouseLeftPressed" Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."]; + Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."]; + Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."]; + Node6 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node7 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."]; + Node7 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."]; + Node8 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."]; } diff --git a/docs/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot b/docs/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot index ca36644..5120fd4 100644 --- a/docs/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot +++ b/docs/html/class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.dot @@ -18,5 +18,7 @@ digraph "IntelliTool::onWheelScrolled" Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node7 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="PaintingArea::wheelEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4",tooltip=" "]; + Node8 [label="IntelliToolPolygon\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17",tooltip="A function managing the scroll event. CHanging the lineWidth relative to value."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="PaintingArea::wheelEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4",tooltip=" "]; } diff --git a/docs/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot b/docs/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot index 3c23d31..a8fd3c5 100644 --- a/docs/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot +++ b/docs/html/class_intelli_tool_a906a2575c16c8a33cb2a5197f8d8cc5b_icgraph.dot @@ -8,17 +8,17 @@ digraph "IntelliTool::onMouseLeftReleased" Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node3 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; + Node4 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."]; Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."]; + Node5 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."]; + Node6 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node7 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."]; + Node7 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."]; + Node8 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node9 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click released of a mouse."]; } diff --git a/docs/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot b/docs/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot index ec2757d..965ae9b 100644 --- a/docs/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot +++ b/docs/html/class_intelli_tool_ac10e20414cd8855a2f9b103fb6408639_icgraph.dot @@ -19,4 +19,6 @@ digraph "IntelliTool::onMouseMoved" Node7 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."]; Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node8 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."]; + Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliToolPolygon\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922",tooltip="A function managing the mouse moved event."]; } diff --git a/docs/html/class_intelli_tool_circle-members.html b/docs/html/class_intelli_tool_circle-members.html index e74c856..b783ca6 100644 --- a/docs/html/class_intelli_tool_circle-members.html +++ b/docs/html/class_intelli_tool_circle-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_tool_circle.html b/docs/html/class_intelli_tool_circle.html index 7636d1d..9462b65 100644 --- a/docs/html/class_intelli_tool_circle.html +++ b/docs/html/class_intelli_tool_circle.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -147,10 +147,10 @@ Public Member Functions Additional Inherited Members - Protected Attributes inherited from IntelliTool PaintingAreaArea - A pointer to the general PaintingArea to interact with. More...
+ A pointer to the general PaintingArea to interact with. More...
  IntelliColorPickercolorPicker - A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
+ A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
  LayerObjectActive  A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
diff --git a/docs/html/class_intelli_tool_circle__coll__graph.dot b/docs/html/class_intelli_tool_circle__coll__graph.dot index b9c16ac..bc26aef 100644 --- a/docs/html/class_intelli_tool_circle__coll__graph.dot +++ b/docs/html/class_intelli_tool_circle__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolCircle" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_flood_fill-members.html b/docs/html/class_intelli_tool_flood_fill-members.html index 3004cf0..a3929a0 100644 --- a/docs/html/class_intelli_tool_flood_fill-members.html +++ b/docs/html/class_intelli_tool_flood_fill-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_tool_flood_fill.html b/docs/html/class_intelli_tool_flood_fill.html index ae79756..b2f7ad6 100644 --- a/docs/html/class_intelli_tool_flood_fill.html +++ b/docs/html/class_intelli_tool_flood_fill.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -147,10 +147,10 @@ Public Member Functions Additional Inherited Members - Protected Attributes inherited from IntelliTool PaintingAreaArea - A pointer to the general PaintingArea to interact with. More...
+ A pointer to the general PaintingArea to interact with. More...
  IntelliColorPickercolorPicker - A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
+ A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
  LayerObjectActive  A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
@@ -281,7 +281,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 25 of file IntelliToolFloodFill.cpp.

+

Definition at line 24 of file IntelliToolFloodFill.cpp.

Here is the call graph for this function:
@@ -335,7 +335,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 66 of file IntelliToolFloodFill.cpp.

+

Definition at line 68 of file IntelliToolFloodFill.cpp.

Here is the call graph for this function:
@@ -389,7 +389,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 75 of file IntelliToolFloodFill.cpp.

+

Definition at line 77 of file IntelliToolFloodFill.cpp.

Here is the call graph for this function:
@@ -443,7 +443,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 17 of file IntelliToolFloodFill.cpp.

+

Definition at line 16 of file IntelliToolFloodFill.cpp.

Here is the call graph for this function:
@@ -497,7 +497,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 21 of file IntelliToolFloodFill.cpp.

+

Definition at line 20 of file IntelliToolFloodFill.cpp.

Here is the call graph for this function:
@@ -540,7 +540,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 70 of file IntelliToolFloodFill.cpp.

+

Definition at line 72 of file IntelliToolFloodFill.cpp.

Here is the call graph for this function:
diff --git a/docs/html/class_intelli_tool_flood_fill__coll__graph.dot b/docs/html/class_intelli_tool_flood_fill__coll__graph.dot index 92a429d..93a8abc 100644 --- a/docs/html/class_intelli_tool_flood_fill__coll__graph.dot +++ b/docs/html/class_intelli_tool_flood_fill__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolFloodFill" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_line-members.html b/docs/html/class_intelli_tool_line-members.html index b7d7265..af26209 100644 --- a/docs/html/class_intelli_tool_line-members.html +++ b/docs/html/class_intelli_tool_line-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_tool_line.html b/docs/html/class_intelli_tool_line.html index 72bf0b9..6f85211 100644 --- a/docs/html/class_intelli_tool_line.html +++ b/docs/html/class_intelli_tool_line.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -147,10 +147,10 @@ Public Member Functions Additional Inherited Members - Protected Attributes inherited from IntelliTool PaintingAreaArea - A pointer to the general PaintingArea to interact with. More...
+ A pointer to the general PaintingArea to interact with. More...
  IntelliColorPickercolorPicker - A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
+ A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
  LayerObjectActive  A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
@@ -281,7 +281,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 26 of file IntelliToolLine.cpp.

+

Definition at line 25 of file IntelliToolLine.cpp.

Here is the call graph for this function:
@@ -335,7 +335,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 33 of file IntelliToolLine.cpp.

+

Definition at line 32 of file IntelliToolLine.cpp.

Here is the call graph for this function:
@@ -389,7 +389,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 45 of file IntelliToolLine.cpp.

+

Definition at line 44 of file IntelliToolLine.cpp.

Here is the call graph for this function:
@@ -443,7 +443,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 18 of file IntelliToolLine.cpp.

+

Definition at line 17 of file IntelliToolLine.cpp.

Here is the call graph for this function:
@@ -497,7 +497,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 22 of file IntelliToolLine.cpp.

+

Definition at line 21 of file IntelliToolLine.cpp.

Here is the call graph for this function:
@@ -540,7 +540,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 37 of file IntelliToolLine.cpp.

+

Definition at line 36 of file IntelliToolLine.cpp.

Here is the call graph for this function:
diff --git a/docs/html/class_intelli_tool_line__coll__graph.dot b/docs/html/class_intelli_tool_line__coll__graph.dot index e7f5dbc..be334ec 100644 --- a/docs/html/class_intelli_tool_line__coll__graph.dot +++ b/docs/html/class_intelli_tool_line__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolLine" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_pen-members.html b/docs/html/class_intelli_tool_pen-members.html index bb9b3eb..1f749b0 100644 --- a/docs/html/class_intelli_tool_pen-members.html +++ b/docs/html/class_intelli_tool_pen-members.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/class_intelli_tool_pen.html b/docs/html/class_intelli_tool_pen.html index 86dba05..70b6112 100644 --- a/docs/html/class_intelli_tool_pen.html +++ b/docs/html/class_intelli_tool_pen.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -118,7 +118,7 @@ Public Member Functions  A Destructor. More...
  virtual void onMouseRightPressed (int x, int y) override - A function managing the right click pressed of a mouse.Resetting the current draw. More...
+ A function managing the right click pressed of a mouse. Resetting the current draw. More...
  virtual void onMouseRightReleased (int x, int y) override  A function managing the right click released of a mouse. More...
@@ -147,10 +147,10 @@ Public Member Functions Additional Inherited Members - Protected Attributes inherited from IntelliTool PaintingAreaArea - A pointer to the general PaintingArea to interact with. More...
+ A pointer to the general PaintingArea to interact with. More...
  IntelliColorPickercolorPicker - A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
+ A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
  LayerObjectActive  A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
@@ -196,7 +196,7 @@ Additional Inherited Members

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

Parameters
- +
Area- The general PaintingArea used by the project.
Area- The general PaintingArea used by the project.
colorPicker- The general colorPicker used by the project.
@@ -432,7 +432,7 @@ Here is the call graph for this function:
-

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

+

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

Parameters
diff --git a/docs/html/class_intelli_tool_pen__coll__graph.dot b/docs/html/class_intelli_tool_pen__coll__graph.dot index 63a3f0c..c70e465 100644 --- a/docs/html/class_intelli_tool_pen__coll__graph.dot +++ b/docs/html/class_intelli_tool_pen__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolPen" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot b/docs/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot index 944c897..693f9a8 100644 --- a/docs/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot +++ b/docs/html/class_intelli_tool_pen_a1751e3864a0d36ef42ca55021cae73ce_cgraph.dot @@ -4,7 +4,7 @@ digraph "IntelliToolPen::onMouseRightPressed" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."]; + Node1 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Resetting the current draw."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; } diff --git a/docs/html/class_intelli_tool_plain_tool-members.html b/docs/html/class_intelli_tool_plain_tool-members.html index c4c5088..7ef7717 100644 --- a/docs/html/class_intelli_tool_plain_tool-members.html +++ b/docs/html/class_intelli_tool_plain_tool-members.html @@ -30,7 +30,7 @@ diff --git a/docs/html/class_intelli_tool_plain_tool.html b/docs/html/class_intelli_tool_plain_tool.html index 41b2f4f..4de1bac 100644 --- a/docs/html/class_intelli_tool_plain_tool.html +++ b/docs/html/class_intelli_tool_plain_tool.html @@ -30,7 +30,7 @@ @@ -118,7 +118,7 @@ Public Member Functions - + @@ -147,10 +147,10 @@ Public Member Functions Additional Inherited Members - + - + @@ -389,7 +389,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 32 of file IntelliToolPlain.cpp.

+

Definition at line 31 of file IntelliToolPlain.cpp.

Here is the call graph for this function:
@@ -432,7 +432,7 @@ Here is the call graph for this function:
x- The x coordinate relative to the active/canvas layer.
IntelliPhoto -  0.4 +  0.5
IntelliPhoto -  0.4 +  0.5
 A Destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click pressed of a mouse.Resetting the current fill. More...
 A function managing the right click pressed of a mouse. Resetting the current fill. More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click released of a mouse. More...
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 A pointer to the general PaintingArea to interact with. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
LayerObjectActive
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
-

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

+

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

Parameters
@@ -540,7 +540,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 36 of file IntelliToolPlain.cpp.

+

Definition at line 35 of file IntelliToolPlain.cpp.

Here is the call graph for this function:
diff --git a/docs/html/class_intelli_tool_plain_tool__coll__graph.dot b/docs/html/class_intelli_tool_plain_tool__coll__graph.dot index 182c33c..414c45b 100644 --- a/docs/html/class_intelli_tool_plain_tool__coll__graph.dot +++ b/docs/html/class_intelli_tool_plain_tool__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolPlainTool" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot b/docs/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot index 2740da5..92d51ca 100644 --- a/docs/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot +++ b/docs/html/class_intelli_tool_plain_tool_acb0c46e16d2c09370a2244a936de38b1_cgraph.dot @@ -4,7 +4,7 @@ digraph "IntelliToolPlainTool::onMouseRightPressed" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse.Resetting the current fill."]; + Node1 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; } diff --git a/docs/html/class_intelli_tool_polygon-members.html b/docs/html/class_intelli_tool_polygon-members.html index 0cffcbb..975fc52 100644 --- a/docs/html/class_intelli_tool_polygon-members.html +++ b/docs/html/class_intelli_tool_polygon-members.html @@ -30,7 +30,7 @@
@@ -107,6 +107,7 @@ $(document).ready(function(){initNavTree('class_intelli_tool_polygon.html','');} +
x- The x coordinate relative to the active/canvas layer.
IntelliPhoto -  0.4 +  0.5
onMouseRightReleased(int x, int y) overrideIntelliToolPolygonvirtual
onWheelScrolled(int value) overrideIntelliToolPolygonvirtual
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolPolygon() overrideIntelliToolPolygon
diff --git a/docs/html/class_intelli_tool_polygon.html b/docs/html/class_intelli_tool_polygon.html index eba785f..f9de686 100644 --- a/docs/html/class_intelli_tool_polygon.html +++ b/docs/html/class_intelli_tool_polygon.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -112,25 +112,28 @@ Collaboration diagram for IntelliToolPolygon:

Public Member Functions

 IntelliToolPolygon (PaintingArea *Area, IntelliColorPicker *colorPicker) - IntelliToolPolygon Constructor Define the Tool-intern Parameters. More...
+ A constructor setting the general paintingArea and colorPicker. More...
  + ~IntelliToolPolygon () override + A Destructor. More...
+  virtual void onMouseLeftPressed (int x, int y) override - A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! More...
+ A function managing the left click pressed of a mouse. Setting polygon points. More...
  virtual void onMouseLeftReleased (int x, int y) override - A function managing the left click Released of a Mouse. Call this in child classes! More...
+ A function managing the left click released of a mouse. Merging the fill to the active layer. More...
  virtual void onMouseRightPressed (int x, int y) override - A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! More...
+ A function managing the right click pressed of a mouse. Resetting the current fill. More...
  virtual void onMouseRightReleased (int x, int y) override - A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! More...
+ A function managing the right click released of a mouse. More...
  virtual void onWheelScrolled (int value) override - A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! More...
+ A function managing the scroll event. CHanging the lineWidth relative to value. More...
  virtual void onMouseMoved (int x, int y) override - A function managing the mouse moved event. Call this in child classes! More...
+ A function managing the mouse moved event. More...
  - Public Member Functions inherited from IntelliTool  IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker) @@ -144,10 +147,10 @@ Public Member Functions Additional Inherited Members - Protected Attributes inherited from IntelliTool PaintingAreaArea - A pointer to the general PaintingArea to interact with. More...
+ A pointer to the general PaintingArea to interact with. More...
  IntelliColorPickercolorPicker - A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
+ A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
  LayerObjectActive  A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
@@ -190,16 +193,45 @@ Additional Inherited Members
-

IntelliToolPolygon Constructor Define the Tool-intern Parameters.

+

A constructor setting the general paintingArea and colorPicker.

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

Definition at line 6 of file IntelliToolPolygon.cpp.

+

Definition at line 7 of file IntelliToolPolygon.cpp.

+ +
+ + +

◆ ~IntelliToolPolygon()

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

A Destructor.

+ +

Definition at line 15 of file IntelliToolPolygon.cpp.

@@ -238,7 +270,7 @@ Additional Inherited Members
-

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

+

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

Parameters
@@ -249,7 +281,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 17 of file IntelliToolPolygon.cpp.

+

Definition at line 19 of file IntelliToolPolygon.cpp.

Here is the call graph for this function:
@@ -292,7 +324,7 @@ Here is the call graph for this function:
x- The x coordinate relative to the active/canvas layer.
-

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

+

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

Parameters
@@ -303,7 +335,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 53 of file IntelliToolPolygon.cpp.

+

Definition at line 50 of file IntelliToolPolygon.cpp.

Here is the call graph for this function:
@@ -346,7 +378,7 @@ Here is the call graph for this function:
x- The x coordinate relative to the active/canvas layer.
-

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

+

A function managing the mouse moved event.

Parameters
@@ -357,7 +389,12 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 88 of file IntelliToolPolygon.cpp.

+

Definition at line 91 of file IntelliToolPolygon.cpp.

+
+Here is the call graph for this function:
+
+
+
@@ -395,7 +432,7 @@ Here is the call graph for this function:
x- The x coordinate of the new mouse position.
-

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

+

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

Parameters
@@ -406,7 +443,7 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 46 of file IntelliToolPolygon.cpp.

+

Definition at line 43 of file IntelliToolPolygon.cpp.

Here is the call graph for this function:
@@ -449,7 +486,7 @@ Here is the call graph for this function:
x- The x coordinate relative to the active/canvas layer.
-

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

+

A function managing the right click released of a mouse.

Parameters
@@ -460,7 +497,12 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 73 of file IntelliToolPolygon.cpp.

+

Definition at line 75 of file IntelliToolPolygon.cpp.

+
+Here is the call graph for this function:
+
+
+
@@ -488,7 +530,7 @@ Here is the call graph for this function:
x- The x coordinate relative to the active/canvas layer.
-

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

+

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

Parameters
@@ -498,7 +540,12 @@ Here is the call graph for this function:

Reimplemented from IntelliTool.

-

Definition at line 77 of file IntelliToolPolygon.cpp.

+

Definition at line 79 of file IntelliToolPolygon.cpp.

+
+Here is the call graph for this function:
+
+
+
diff --git a/docs/html/class_intelli_tool_polygon.js b/docs/html/class_intelli_tool_polygon.js index 39b5450..b8a0c43 100644 --- a/docs/html/class_intelli_tool_polygon.js +++ b/docs/html/class_intelli_tool_polygon.js @@ -1,6 +1,7 @@ var class_intelli_tool_polygon = [ [ "IntelliToolPolygon", "class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d", null ], + [ "~IntelliToolPolygon", "class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499", null ], [ "onMouseLeftPressed", "class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d", null ], [ "onMouseLeftReleased", "class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21", null ], [ "onMouseMoved", "class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922", null ], diff --git a/docs/html/class_intelli_tool_polygon__coll__graph.dot b/docs/html/class_intelli_tool_polygon__coll__graph.dot index 09cd694..6faf754 100644 --- a/docs/html/class_intelli_tool_polygon__coll__graph.dot +++ b/docs/html/class_intelli_tool_polygon__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolPolygon" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_intelli_tool_polygon_a0e3a1135f04c73c159137ae219a38922_cgraph.dot b/docs/html/class_intelli_tool_polygon_a0e3a1135f04c73c159137ae219a38922_cgraph.dot new file mode 100644 index 0000000..123d693 --- /dev/null +++ b/docs/html/class_intelli_tool_polygon_a0e3a1135f04c73c159137ae219a38922_cgraph.dot @@ -0,0 +1,12 @@ +digraph "IntelliToolPolygon::onMouseMoved" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; +} diff --git a/docs/html/class_intelli_tool_polygon_a47cad87cd02b128b02dc929713bd1d1b_cgraph.dot b/docs/html/class_intelli_tool_polygon_a47cad87cd02b128b02dc929713bd1d1b_cgraph.dot new file mode 100644 index 0000000..f55be23 --- /dev/null +++ b/docs/html/class_intelli_tool_polygon_a47cad87cd02b128b02dc929713bd1d1b_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPolygon::onMouseRightReleased" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."]; +} diff --git a/docs/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot b/docs/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot index bbac393..f8717dc 100644 --- a/docs/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot +++ b/docs/html/class_intelli_tool_polygon_a4e1473ff408ae2e11cf6a43f6f575f21_cgraph.dot @@ -4,22 +4,25 @@ digraph "IntelliToolPolygon::onMouseLeftReleased" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node1 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliHelper::calculate\lTriangles",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; + Node3 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."]; Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="IntelliImage::drawPixel",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056",tooltip="A funtcion used to draw a pixel on the Image with the given Color."]; Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node5 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; - Node6 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node7 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9",tooltip="A function to check if a given point is in a triangle."]; + Node6 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415",tooltip="A function to read the secondary selected color."]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; Node7 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149",tooltip="A function to get the 2*area of a traingle, using its determinat."]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node9 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; - Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="IntelliHelper::isInTriangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9",tooltip="A function to check if a given point is in a triangle."]; + Node8 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="IntelliHelper::sign",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149",tooltip="A function to get the 2*area of a traingle, using its determinat."]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; } diff --git a/docs/html/class_intelli_tool_polygon_a713103300c9f023d64d9eec5ac05dd17_cgraph.dot b/docs/html/class_intelli_tool_polygon_a713103300c9f023d64d9eec5ac05dd17_cgraph.dot new file mode 100644 index 0000000..ecdef01 --- /dev/null +++ b/docs/html/class_intelli_tool_polygon_a713103300c9f023d64d9eec5ac05dd17_cgraph.dot @@ -0,0 +1,10 @@ +digraph "IntelliToolPolygon::onWheelScrolled" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node1 [label="IntelliToolPolygon\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. CHanging the lineWidth relative to value."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."]; +} diff --git a/docs/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot b/docs/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot index 3077f0c..0639fba 100644 --- a/docs/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot +++ b/docs/html/class_intelli_tool_polygon_aa36b012b48311c36e7cd6771a5081427_cgraph.dot @@ -4,7 +4,7 @@ digraph "IntelliToolPolygon::onMouseRightPressed" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; + Node1 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Resetting the current fill."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."]; } diff --git a/docs/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot b/docs/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot index 7d2af7b..20f9501 100644 --- a/docs/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot +++ b/docs/html/class_intelli_tool_polygon_ad5d3b741be6d0647a9cdc9da2cb8bc3d_cgraph.dot @@ -4,22 +4,16 @@ digraph "IntelliToolPolygon::onMouseLeftPressed" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node1 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Setting polygon points."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node3 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."]; Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; + Node4 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1",tooltip="A."]; Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1",tooltip="A."]; + Node5 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node6 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node7 [label="PaintingArea::getHeightActive\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb",tooltip=" "]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node8 [label="PaintingArea::getWidthActive\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda",tooltip=" "]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node9 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; - Node9 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."]; + Node6 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; } diff --git a/docs/html/class_intelli_tool_rectangle-members.html b/docs/html/class_intelli_tool_rectangle-members.html index f442df9..b532908 100644 --- a/docs/html/class_intelli_tool_rectangle-members.html +++ b/docs/html/class_intelli_tool_rectangle-members.html @@ -30,7 +30,7 @@ diff --git a/docs/html/class_intelli_tool_rectangle.html b/docs/html/class_intelli_tool_rectangle.html index 3f8e633..1b57256 100644 --- a/docs/html/class_intelli_tool_rectangle.html +++ b/docs/html/class_intelli_tool_rectangle.html @@ -30,7 +30,7 @@ @@ -147,10 +147,10 @@ Public Member Functions Additional Inherited Members - + - + diff --git a/docs/html/class_intelli_tool_rectangle__coll__graph.dot b/docs/html/class_intelli_tool_rectangle__coll__graph.dot index 0334832..7695fd2 100644 --- a/docs/html/class_intelli_tool_rectangle__coll__graph.dot +++ b/docs/html/class_intelli_tool_rectangle__coll__graph.dot @@ -7,13 +7,13 @@ digraph "IntelliToolRectangle" Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."]; Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"]; - Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node3 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node4 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node4 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node5 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" colorPicker" ,fontname="Helvetica"]; Node5 [label="IntelliColorPicker",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html",tooltip="The IntelliColorPicker manages the selected colors for one whole project."]; Node6 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Canvas\nActive" ,fontname="Helvetica"]; - Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node6 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node7 -> Node6 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node7 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/class_painting_area-members.html b/docs/html/class_painting_area-members.html index 0727276..c5dd00b 100644 --- a/docs/html/class_painting_area-members.html +++ b/docs/html/class_painting_area-members.html @@ -30,7 +30,7 @@ @@ -98,13 +98,17 @@ $(document).ready(function(){initNavTree('class_painting_area.html','');}); + + + + - - + + diff --git a/docs/html/class_painting_area.html b/docs/html/class_painting_area.html index db0260d..312e51c 100644 --- a/docs/html/class_painting_area.html +++ b/docs/html/class_painting_area.html @@ -30,7 +30,7 @@ @@ -96,6 +96,9 @@ $(document).ready(function(){initNavTree('class_painting_area.html','');});
+

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

+

#include <PaintingArea.h>

Inheritance diagram for PaintingArea:
@@ -111,41 +114,58 @@ Collaboration diagram for PaintingArea:
+ +
value- The absolute the scroll has changed.
IntelliPhoto -  0.4 +  0.5
IntelliPhoto -  0.4 +  0.5
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 A pointer to the general PaintingArea to interact with. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
LayerObjectActive
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.4 +  0.5
colorPickerSetFirstColor()PaintingArea
colorPickerSetSecondColor()PaintingArea
colorPickerSwitchColor()PaintingArea
createCircleTool()PaintingArea
createFloodFillTool()PaintingArea
createLineTool()PaintingArea
createPenTool()PaintingArea
createPlainTool()PaintingArea
createPolygonTool()PaintingArea
createRectangleTool()PaintingArea
deleteLayer(int index)PaintingArea
floodFill(int r, int g, int b, int a)PaintingArea
getHeightActiveLayer()PaintingArea
getWidthActiveLayer()PaintingArea
getHeightOfActive()PaintingArea
getWidthOfActive()PaintingArea
mouseMoveEvent(QMouseEvent *event) overridePaintingAreaprotected
mousePressEvent(QMouseEvent *event) overridePaintingAreaprotected
mouseReleaseEvent(QMouseEvent *event) overridePaintingAreaprotected
IntelliPhoto -  0.4 +  0.5

Public Slots

void slotActivateLayer (int a)
 The slotActivateLayer method handles the event of selecting one layer as active. More...
 
void slotDeleteActiveLayer ()
 The slotDeleteActiveLayer method handles the deletion of the active layer. More...
 
+ + + + + + + + + + + + + + + @@ -153,10 +173,20 @@ Public Member Functions - - - - + + + + + + + + + + + + + +

Public Member Functions

 PaintingArea (int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
 PaintingArea is the constructor of the PaintingArea class, which initiates the working environment. More...
 
 ~PaintingArea () override
 This deconstructor is used to clear up the memory and remove the currently active window. More...
 
bool open (const QString &fileName)
 The open method is used for loading a picture into the current layer. More...
 
bool save (const QString &fileName, const char *fileFormat)
 The save method is used for exporting the current project as one picture. More...
 
int addLayer (int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
 The addLayer adds a layer to the current project/ painting area. More...
 
int addLayerAt (int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
 The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer stack. More...
 
void deleteLayer (int index)
 The deleteLayer method removes a layer at a given index. More...
 
void setLayerToActive (int index)
 The setLayerToActive method marks a specific layer as active. More...
 
void setAlphaOfLayer (int index, int alpha)
 The setAlphaOfLayer method sets the alpha value of a specific layer. More...
 
void floodFill (int r, int g, int b, int a)
 The floodFill method fills a the active layer with a given color. More...
 
void movePositionActive (int x, int y)
 The movePositionActive method moves the active layer to certain position. More...
 
void moveActiveLayer (int idx)
 The moveActiveLayer moves the active layer to a specific position in the layer stack. More...
 
void colorPickerSetFirstColor ()
 The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color. More...
 
void colorPickerSetSecondColor ()
 The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color. More...
 
void colorPickerSwitchColor ()
 The colorPickerSwitchColor swaps the primary color with the secondary drawing color. More...
 
void createPenTool ()
 
 
void createLineTool ()
 
int getWidthActiveLayer ()
 
int getHeightActiveLayer ()
 
void createRectangleTool ()
 
void createCircleTool ()
 
void createPolygonTool ()
 
void createFloodFillTool ()
 
int getWidthOfActive ()
 The getWidthOfActive gets the horizontal dimensions of the active layer. More...
 
int getHeightOfActive ()
 The getHeightOfActive gets the vertical dimensions of the active layer. More...
 
@@ -174,8 +204,9 @@ Protected Member Functions

Protected Member Functions

 

Detailed Description

-
-

Definition at line 25 of file PaintingArea.h.

+

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

+ +

Definition at line 36 of file PaintingArea.h.

Constructor & Destructor Documentation

◆ PaintingArea()

@@ -209,6 +240,16 @@ Protected Member Functions
+

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

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

Definition at line 21 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -241,7 +282,9 @@ Here is the call graph for this function:
-

Definition at line 43 of file PaintingArea.cpp.

+

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

+ +

Definition at line 41 of file PaintingArea.cpp.

@@ -290,7 +333,20 @@ Here is the call graph for this function:
-

Definition at line 58 of file PaintingArea.cpp.

+

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

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

Definition at line 56 of file PaintingArea.cpp.

Here is the caller graph for this function:
@@ -349,6 +405,20 @@ Here is the caller graph for this function:
+

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

+
Parameters
+ + + + + + + +
idx- ID of the position the new layer should be added
width- Width of the layer in pixles
height- Height of the layer in pixles
widthOffset- Offset of the layer measured to the left border of the painting area in pixles
heightOffset- Offset of the layer measured to the top border of the painting area in pixles
type- Defining the ImageType of the new layer
+
+
+
Returns
Returns the id of the layer position
+
@@ -366,7 +436,9 @@ Here is the caller graph for this function:
-

Definition at line 168 of file PaintingArea.cpp.

+

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

+ +

Definition at line 166 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -390,7 +462,9 @@ Here is the call graph for this function:
-

Definition at line 173 of file PaintingArea.cpp.

+

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

+ +

Definition at line 171 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -414,13 +488,53 @@ Here is the call graph for this function:
-

Definition at line 178 of file PaintingArea.cpp.

+

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

+ +

Definition at line 176 of file PaintingArea.cpp.

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

◆ createCircleTool()

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

Definition at line 200 of file PaintingArea.cpp.

+ +
+
+ +

◆ createFloodFillTool()

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

Definition at line 209 of file PaintingArea.cpp.

+
@@ -438,7 +552,7 @@ Here is the call graph for this function:
-

Definition at line 192 of file PaintingArea.cpp.

+

Definition at line 190 of file PaintingArea.cpp.

@@ -457,7 +571,7 @@ Here is the call graph for this function:
-

Definition at line 182 of file PaintingArea.cpp.

+

Definition at line 180 of file PaintingArea.cpp.

@@ -476,7 +590,45 @@ Here is the call graph for this function:
-

Definition at line 187 of file PaintingArea.cpp.

+

Definition at line 185 of file PaintingArea.cpp.

+ +
+ + +

◆ createPolygonTool()

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

Definition at line 204 of file PaintingArea.cpp.

+ +
+
+ +

◆ createRectangleTool()

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

Definition at line 195 of file PaintingArea.cpp.

@@ -496,7 +648,15 @@ Here is the call graph for this function:
-

Definition at line 75 of file PaintingArea.cpp.

+

The deleteLayer method removes a layer at a given index.

+
Parameters
+ + +
index- The index of the layer to be removed
+
+
+ +

Definition at line 73 of file PaintingArea.cpp.

@@ -538,7 +698,18 @@ Here is the call graph for this function:
-

Definition at line 140 of file PaintingArea.cpp.

+

The floodFill method fills a the active layer with a given color.

+
Parameters
+ + + + + +
r- Red value of the color the layer should be filled with
g- Green value of the color the layer should be filled with
b- Blue value of the color the layer should be filled with
a- Alpha value of the color the layer should be filled with
+
+
+ +

Definition at line 138 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -547,14 +718,14 @@ Here is the call graph for this function:
- -

◆ getHeightActiveLayer()

+ +

◆ getHeightOfActive()

- + @@ -562,23 +733,21 @@ Here is the call graph for this function:
int PaintingArea::getHeightActiveLayer int PaintingArea::getHeightOfActive ( )
-

Definition at line 201 of file PaintingArea.cpp.

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

The getHeightOfActive gets the vertical dimensions of the active layer.

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

Definition at line 218 of file PaintingArea.cpp.

- -

◆ getWidthActiveLayer()

+ +

◆ getWidthOfActive()

- + @@ -586,12 +755,10 @@ Here is the caller graph for this function:
int PaintingArea::getWidthActiveLayer int PaintingArea::getWidthOfActive ( )
-

Definition at line 197 of file PaintingArea.cpp.

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

The getWidthOfActive gets the horizontal dimensions of the active layer.

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

Definition at line 214 of file PaintingArea.cpp.

@@ -619,7 +786,7 @@ Here is the caller graph for this function:
-

Definition at line 224 of file PaintingArea.cpp.

+

Definition at line 241 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -652,7 +819,7 @@ Here is the call graph for this function:
-

Definition at line 208 of file PaintingArea.cpp.

+

Definition at line 225 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -685,7 +852,7 @@ Here is the call graph for this function:
-

Definition at line 234 of file PaintingArea.cpp.

+

Definition at line 251 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -710,7 +877,15 @@ Here is the call graph for this function:
-

Definition at line 154 of file PaintingArea.cpp.

+

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

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

Definition at line 152 of file PaintingArea.cpp.

@@ -740,7 +915,16 @@ Here is the call graph for this function:
-

Definition at line 149 of file PaintingArea.cpp.

+

The movePositionActive method moves the active layer to certain position.

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

Definition at line 147 of file PaintingArea.cpp.

@@ -760,7 +944,16 @@ Here is the call graph for this function:
-

Definition at line 104 of file PaintingArea.cpp.

+

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
+
+
+
Returns
Returns a boolean variable whether the file was successfully opened or not
+ +

Definition at line 102 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -793,7 +986,7 @@ Here is the call graph for this function:
-

Definition at line 258 of file PaintingArea.cpp.

+

Definition at line 275 of file PaintingArea.cpp.

@@ -821,7 +1014,7 @@ Here is the call graph for this function:
-

Definition at line 269 of file PaintingArea.cpp.

+

Definition at line 286 of file PaintingArea.cpp.

@@ -851,7 +1044,17 @@ Here is the call graph for this function:
-

Definition at line 116 of file PaintingArea.cpp.

+

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

+
Parameters
+ + + +
fileName
fileFormat
+
+
+
Returns
Returns a boolean variable, true if the file was saved successfully, false if not
+ +

Definition at line 114 of file PaintingArea.cpp.

@@ -881,7 +1084,16 @@ Here is the call graph for this function:
-

Definition at line 97 of file PaintingArea.cpp.

+

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

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

Definition at line 95 of file PaintingArea.cpp.

@@ -901,7 +1113,15 @@ Here is the call graph for this function:
-

Definition at line 91 of file PaintingArea.cpp.

+

The setLayerToActive method marks a specific layer as active.

+
Parameters
+ + +
index- Index of the layer to be active
+
+
+ +

Definition at line 89 of file PaintingArea.cpp.

Here is the caller graph for this function:
@@ -934,7 +1154,15 @@ Here is the caller graph for this function:
-

Definition at line 162 of file PaintingArea.cpp.

+

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

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

Definition at line 160 of file PaintingArea.cpp.

Here is the call graph for this function:
@@ -966,7 +1194,9 @@ Here is the call graph for this function:
-

Definition at line 84 of file PaintingArea.cpp.

+

The slotDeleteActiveLayer method handles the deletion of the active layer.

+ +

Definition at line 82 of file PaintingArea.cpp.

@@ -994,7 +1224,7 @@ Here is the call graph for this function:
-

Definition at line 247 of file PaintingArea.cpp.

+

Definition at line 264 of file PaintingArea.cpp.

Here is the call graph for this function:
diff --git a/docs/html/class_painting_area.js b/docs/html/class_painting_area.js index 3ea95c4..8a0e1aa 100644 --- a/docs/html/class_painting_area.js +++ b/docs/html/class_painting_area.js @@ -7,13 +7,17 @@ var class_painting_area = [ "colorPickerSetFirstColor", "class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df", null ], [ "colorPickerSetSecondColor", "class_painting_area.html#ae261acaaa346610dfed489dbac17e789", null ], [ "colorPickerSwitchColor", "class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb", null ], + [ "createCircleTool", "class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466", null ], + [ "createFloodFillTool", "class_painting_area.html#a0b22e18069b524f3e75857d203baf256", null ], [ "createLineTool", "class_painting_area.html#a240c33a7875addac86080cdfb0db036a", null ], [ "createPenTool", "class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353", null ], [ "createPlainTool", "class_painting_area.html#a3de83443d2d5cf460ff48d0602070938", null ], + [ "createPolygonTool", "class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b", null ], + [ "createRectangleTool", "class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd", null ], [ "deleteLayer", "class_painting_area.html#a6efad6f8ea060674b157b42b431cd173", null ], [ "floodFill", "class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774", null ], - [ "getHeightActiveLayer", "class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb", null ], - [ "getWidthActiveLayer", "class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda", null ], + [ "getHeightOfActive", "class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4", null ], + [ "getWidthOfActive", "class_painting_area.html#a675ee91b26b1c58be6d833f279d81597", null ], [ "mouseMoveEvent", "class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5", null ], [ "mousePressEvent", "class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15", null ], [ "mouseReleaseEvent", "class_painting_area.html#a35b5df914acb608cc29717659793359c", null ], diff --git a/docs/html/class_painting_area__coll__graph.dot b/docs/html/class_painting_area__coll__graph.dot index bbbc79f..17b1cda 100644 --- a/docs/html/class_painting_area__coll__graph.dot +++ b/docs/html/class_painting_area__coll__graph.dot @@ -3,7 +3,7 @@ digraph "PaintingArea" // LATEX_PDF_SIZE edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; } diff --git a/docs/html/class_painting_area__inherit__graph.dot b/docs/html/class_painting_area__inherit__graph.dot index bbbc79f..17b1cda 100644 --- a/docs/html/class_painting_area__inherit__graph.dot +++ b/docs/html/class_painting_area__inherit__graph.dot @@ -3,7 +3,7 @@ digraph "PaintingArea" // LATEX_PDF_SIZE edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; } diff --git a/docs/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot b/docs/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot index 4954290..3f0d948 100644 --- a/docs/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot +++ b/docs/html/class_painting_area_a1d6d86c25efdce9fe9031a9cd01c74c8_icgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::setLayerToActive" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="RL"; - Node1 [label="PaintingArea::setLayerTo\lActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::setLayerTo\lActive",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The setLayerToActive method marks a specific layer as active."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec",tooltip=" "]; + Node2 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec",tooltip="The slotActivateLayer method handles the event of selecting one layer as active."]; } diff --git a/docs/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot b/docs/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot index e2bd596..9be7a8f 100644 --- a/docs/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot +++ b/docs/html/class_painting_area_a1f597740b4d7b4bc2e24c51f8cb0b6eb_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::open" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The open method is used for loading a picture into the current layer."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."]; Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; diff --git a/docs/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot b/docs/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot index 1f5dc6b..5bc9f21 100644 --- a/docs/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot +++ b/docs/html/class_painting_area_a39ad76e1319659bfa38eee88ef33d395_icgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::addLayer" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="RL"; - Node1 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The addLayer adds a layer to the current project/ painting area."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460",tooltip=" "]; + Node2 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460",tooltip="PaintingArea is the constructor of the PaintingArea class, which initiates the working environment."]; } diff --git a/docs/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot b/docs/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot index 8b56d93..5f9be65 100644 --- a/docs/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot +++ b/docs/html/class_painting_area_a4735d4cf1dc58a9096d904e74c39c4df_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::colorPickerSetFirstColor" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."]; Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; diff --git a/docs/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot b/docs/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot index 565e40e..2e73c54 100644 --- a/docs/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot +++ b/docs/html/class_painting_area_a4fa0ec23e78cc59f28c823584c721460_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::PaintingArea" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::PaintingArea",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="PaintingArea is the constructor of the PaintingArea class, which initiates the working environment."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395",tooltip=" "]; + Node2 [label="PaintingArea::addLayer",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395",tooltip="The addLayer adds a layer to the current project/ painting area."]; } diff --git a/docs/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot b/docs/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot index f798aff..8d4eb30 100644 --- a/docs/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot +++ b/docs/html/class_painting_area_a66115307ff4a99cd7ca16423c5c8ecfb_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::colorPickerSwitchColor" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::colorPicker\lSwitchColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::colorPicker\lSwitchColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSwitchColor swaps the primary color with the secondary drawing color."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliColorPicker\l::switchColors",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9",tooltip="A function switching primary and secondary color."]; } diff --git a/docs/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot b/docs/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot index fe57809..ebfbcb4 100644 --- a/docs/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot +++ b/docs/html/class_painting_area_a71ac281e0de263208d4a3b9de74258ec_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::slotActivateLayer" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::slotActivate\lLayer",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The slotActivateLayer method handles the event of selecting one layer as active."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="PaintingArea::setLayerTo\lActive",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8",tooltip=" "]; + Node2 [label="PaintingArea::setLayerTo\lActive",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8",tooltip="The setLayerToActive method marks a specific layer as active."]; } diff --git a/docs/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot b/docs/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot index 41ee9e5..1325336 100644 --- a/docs/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot +++ b/docs/html/class_painting_area_ae261acaaa346610dfed489dbac17e789_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::colorPickerSetSecondColor" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::colorPicker\lSetSecondColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliColorPicker\l::getSecondColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415",tooltip="A function to read the secondary selected color."]; Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; diff --git a/docs/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot b/docs/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot index 47b25d5..862e21e 100644 --- a/docs/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot +++ b/docs/html/class_painting_area_aeb5eb394b979ea90f2be9849fdda1774_cgraph.dot @@ -4,7 +4,7 @@ digraph "PaintingArea::floodFill" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node1 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The floodFill method fills a the active layer with a given color."]; Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."]; } diff --git a/docs/html/classes.html b/docs/html/classes.html index 2cbe10b..6b48435 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000001_000002.html b/docs/html/dir_000001_000002.html index cb9561a..db127b7 100644 --- a/docs/html/dir_000001_000002.html +++ b/docs/html/dir_000001_000002.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000002_000006.html b/docs/html/dir_000002_000006.html index 374d590..1d9a22f 100644 --- a/docs/html/dir_000002_000006.html +++ b/docs/html/dir_000002_000006.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000003_000004.html b/docs/html/dir_000003_000004.html index fd0926b..e873f5c 100644 --- a/docs/html/dir_000003_000004.html +++ b/docs/html/dir_000003_000004.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000005_000004.html b/docs/html/dir_000005_000004.html index 0712604..5e6c776 100644 --- a/docs/html/dir_000005_000004.html +++ b/docs/html/dir_000005_000004.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000005_000006.html b/docs/html/dir_000005_000006.html index 9794adf..787fe4e 100644 --- a/docs/html/dir_000005_000006.html +++ b/docs/html/dir_000005_000006.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000006_000003.html b/docs/html/dir_000006_000003.html index 28c8d1c..3614e26 100644 --- a/docs/html/dir_000006_000003.html +++ b/docs/html/dir_000006_000003.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000006_000004.html b/docs/html/dir_000006_000004.html index 98789fb..ce51023 100644 --- a/docs/html/dir_000006_000004.html +++ b/docs/html/dir_000006_000004.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_000006_000005.html b/docs/html/dir_000006_000005.html index 9699e4c..ab452cc 100644 --- a/docs/html/dir_000006_000005.html +++ b/docs/html/dir_000006_000005.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_544f9dcb748f922e4bb3be2540380bf2.html b/docs/html/dir_544f9dcb748f922e4bb3be2540380bf2.html index 7f55492..131776e 100644 --- a/docs/html/dir_544f9dcb748f922e4bb3be2540380bf2.html +++ b/docs/html/dir_544f9dcb748f922e4bb3be2540380bf2.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_5dabb14988a75c922e285f444641a133.html b/docs/html/dir_5dabb14988a75c922e285f444641a133.html index efdf2cf..aef6509 100644 --- a/docs/html/dir_5dabb14988a75c922e285f444641a133.html +++ b/docs/html/dir_5dabb14988a75c922e285f444641a133.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_83a4347d11f2ba6343d546ab133722d2.html b/docs/html/dir_83a4347d11f2ba6343d546ab133722d2.html index d6e83ac..25ae04d 100644 --- a/docs/html/dir_83a4347d11f2ba6343d546ab133722d2.html +++ b/docs/html/dir_83a4347d11f2ba6343d546ab133722d2.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html b/docs/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html index 4abc834..d5a13c5 100644 --- a/docs/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html +++ b/docs/html/dir_8db5f55022e7670536cbc9a6a1d6f01c.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_941490de56ac122cf77df9922cbcc750.html b/docs/html/dir_941490de56ac122cf77df9922cbcc750.html index f6acff6..f8d19cd 100644 --- a/docs/html/dir_941490de56ac122cf77df9922cbcc750.html +++ b/docs/html/dir_941490de56ac122cf77df9922cbcc750.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_e6d96184223881d115efa44ca0dfa844.html b/docs/html/dir_e6d96184223881d115efa44ca0dfa844.html index a6c5309..8c9cebb 100644 --- a/docs/html/dir_e6d96184223881d115efa44ca0dfa844.html +++ b/docs/html/dir_e6d96184223881d115efa44ca0dfa844.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/dir_f50aa5156fe016a259583c412dbf440c.html b/docs/html/dir_f50aa5156fe016a259583c412dbf440c.html index 32b81c4..d052bde 100644 --- a/docs/html/dir_f50aa5156fe016a259583c412dbf440c.html +++ b/docs/html/dir_f50aa5156fe016a259583c412dbf440c.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/files.html b/docs/html/files.html index bb367d2..a909a2f 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
diff --git a/docs/html/functions.html b/docs/html/functions.html index fd10ff8..e4f084f 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -30,7 +30,7 @@
IntelliPhoto -  0.4 +  0.5
@@ -143,6 +143,12 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • colorPickerSwitchColor() : PaintingArea
  • +
  • createCircleTool() +: PaintingArea +
  • +
  • createFloodFillTool() +: PaintingArea +
  • createLineTool() : PaintingArea
  • @@ -152,6 +158,12 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • createPlainTool() : PaintingArea
  • +
  • createPolygonTool() +: PaintingArea +
  • +
  • createRectangleTool() +: PaintingArea +
  • @@ -198,8 +210,8 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • getFirstColor() : IntelliColorPicker
  • -
  • getHeightActiveLayer() -: PaintingArea +
  • getHeightOfActive() +: PaintingArea
  • getPixelColor() : IntelliImage @@ -211,18 +223,18 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • getSecondColor() : IntelliColorPicker
  • -
  • getWidthActiveLayer() -: PaintingArea +
  • getWidthOfActive() +: PaintingArea
  • - h -

    @@ -469,6 +481,9 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • ~IntelliToolPlainTool() : IntelliToolPlainTool
  • +
  • ~IntelliToolPolygon() +: IntelliToolPolygon +
  • ~IntelliToolRectangle() : IntelliToolRectangle
  • diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 74d29d3..2dc3470 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    @@ -115,6 +115,12 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
  • colorPickerSwitchColor() : PaintingArea
  • +
  • createCircleTool() +: PaintingArea +
  • +
  • createFloodFillTool() +: PaintingArea +
  • createLineTool() : PaintingArea
  • @@ -124,6 +130,12 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
  • createPlainTool() : PaintingArea
  • +
  • createPolygonTool() +: PaintingArea +
  • +
  • createRectangleTool() +: PaintingArea +
  • @@ -167,8 +179,8 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
  • getFirstColor() : IntelliColorPicker
  • -
  • getHeightActiveLayer() -: PaintingArea +
  • getHeightOfActive() +: PaintingArea
  • getPixelColor() : IntelliImage @@ -180,8 +192,8 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
  • getSecondColor() : IntelliColorPicker
  • -
  • getWidthActiveLayer() -: PaintingArea +
  • getWidthOfActive() +: PaintingArea
  • @@ -413,6 +425,9 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
  • ~IntelliToolPlainTool() : IntelliToolPlainTool
  • +
  • ~IntelliToolPolygon() +: IntelliToolPolygon +
  • ~IntelliToolRectangle() : IntelliToolRectangle
  • diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 1842639..f3acbbc 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    @@ -114,11 +114,11 @@ $(document).ready(function(){initNavTree('functions_vars.html','');});
  • drawing : IntelliTool
  • -
  • hight -: LayerObject +
  • height +: LayerObject
  • -
  • hightOffset -: LayerObject +
  • heightOffset +: LayerObject
  • image : LayerObject diff --git a/docs/html/globals.html b/docs/html/globals.html index 0b756c7..72b8b1c 100644 --- a/docs/html/globals.html +++ b/docs/html/globals.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/globals_enum.html b/docs/html/globals_enum.html index a5751ae..e6ce088 100644 --- a/docs/html/globals_enum.html +++ b/docs/html/globals_enum.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/globals_func.html b/docs/html/globals_func.html index 84487a8..fbf9e27 100644 --- a/docs/html/globals_func.html +++ b/docs/html/globals_func.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html index f131b74..c07e6b7 100644 --- a/docs/html/graph_legend.html +++ b/docs/html/graph_legend.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 0a72852..dc9a917 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    @@ -106,11 +106,11 @@ This inheritance list is sorted roughly, but not completely, alphabetically: CIntelliToolPlainToolTool to fill the whole canvas with one color  CIntelliToolPolygonThe IntelliToolPolygon managed the Drawing of Polygonforms  CIntelliToolRectangleTool to draw a rectangle - CLayerObject + CLayerObjectThe LayerObject struct holds all the information needed to construct a layer  CQMainWindow - CIntelliPhotoGui + CIntelliPhotoGuiHandles the graphical user interface for the intelliPhoto program  CQWidget - CPaintingArea + 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/index.html b/docs/html/index.html index 1bf53be..a5c415e 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/inherit_graph_2.dot b/docs/html/inherit_graph_2.dot index 3dc081c..5cd3f36 100644 --- a/docs/html/inherit_graph_2.dot +++ b/docs/html/inherit_graph_2.dot @@ -6,5 +6,5 @@ digraph "Graphical Class Hierarchy" rankdir="LR"; Node4 [label="QMainWindow",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node4 -> Node0 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node0 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html",tooltip=" "]; + Node0 [label="IntelliPhotoGui",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_photo_gui.html",tooltip="The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program."]; } diff --git a/docs/html/inherit_graph_4.dot b/docs/html/inherit_graph_4.dot index 6da9d0d..cb85543 100644 --- a/docs/html/inherit_graph_4.dot +++ b/docs/html/inherit_graph_4.dot @@ -4,5 +4,5 @@ digraph "Graphical Class Hierarchy" edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; - Node0 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip=" "]; + Node0 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$struct_layer_object.html",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; } diff --git a/docs/html/inherit_graph_5.dot b/docs/html/inherit_graph_5.dot index e4093fd..88ed036 100644 --- a/docs/html/inherit_graph_5.dot +++ b/docs/html/inherit_graph_5.dot @@ -6,5 +6,5 @@ digraph "Graphical Class Hierarchy" rankdir="LR"; Node2 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "]; Node2 -> Node0 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node0 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip=" "]; + Node0 [label="PaintingArea",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html",tooltip="The PaintingArea class manages the methods and stores information about the current painting area,..."]; } diff --git a/docs/html/inherits.html b/docs/html/inherits.html index ea2edc0..7e22006 100644 --- a/docs/html/inherits.html +++ b/docs/html/inherits.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/main_8cpp.html b/docs/html/main_8cpp.html index a44d423..0bddc79 100644 --- a/docs/html/main_8cpp.html +++ b/docs/html/main_8cpp.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/main_8cpp_source.html b/docs/html/main_8cpp_source.html index 923916c..0a1d9f3 100644 --- a/docs/html/main_8cpp_source.html +++ b/docs/html/main_8cpp_source.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    @@ -94,22 +94,21 @@ $(document).ready(function(){initNavTree('main_8cpp_source.html','');});
    2 #include <QApplication>
    3 #include <QDebug>
    4 #include "IntelliHelper/IntelliHelper.h"
    -
    5 #include<vector>
    +
    5 #include <vector>
    6 
    -
    7 int main(int argc, char *argv[]){
    -
    8  // The main application
    -
    9  QApplication app(argc, argv);
    +
    7 int main(int argc, char*argv[]){
    +
    8  // The main application
    +
    9  QApplication app(argc, argv);
    10 
    -
    11  //some nice ass looking comment
    -
    12  // Create and open the main window
    -
    13  IntelliPhotoGui window;
    -
    14  window.show();
    -
    15 
    -
    16  return app.exec();
    -
    17 }
    +
    11  // Create and open the main window
    +
    12  IntelliPhotoGui window;
    +
    13  window.show();
    +
    14 
    +
    15  return app.exec();
    +
    16 }
    -
    IntelliPhotoGui
    Definition: IntelliPhotoGui.h:19
    +
    IntelliPhotoGui
    The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program.
    Definition: IntelliPhotoGui.h:22
    IntelliHelper.h
    IntelliPhotoGui.h
    main
    int main(int argc, char *argv[])
    Definition: main.cpp:7
    diff --git a/docs/html/namespace_intelli_helper.html b/docs/html/namespace_intelli_helper.html index 8754cd8..fb35f79 100644 --- a/docs/html/namespace_intelli_helper.html +++ b/docs/html/namespace_intelli_helper.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    @@ -179,7 +179,7 @@ Here is the caller graph for this function:
    Returns
    Returns true if the point lies in the üpolygon, otherwise false.
    -

    Definition at line 115 of file IntelliHelper.cpp.

    +

    Definition at line 116 of file IntelliHelper.cpp.

    Here is the call graph for this function:
    diff --git a/docs/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot b/docs/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot index 2b66e54..b7b7796 100644 --- a/docs/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot +++ b/docs/html/namespace_intelli_helper_a214dc3624ba4562a03dc922e3dd7b617_icgraph.dot @@ -6,7 +6,7 @@ digraph "IntelliHelper::calculateTriangles" rankdir="RL"; Node1 [label="IntelliHelper::calculate\lTriangles",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ..."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node3 [label="IntelliShapedImage\l::setPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e",tooltip="A function that sets the data of the visible Polygon."]; Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; diff --git a/docs/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot b/docs/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot index 8e38406..90d49af 100644 --- a/docs/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot +++ b/docs/html/namespace_intelli_helper_a44d516b3e619e2a743e9c98dd75cf901_icgraph.dot @@ -6,5 +6,5 @@ digraph "IntelliHelper::isInPolygon" rankdir="RL"; Node1 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node2 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; } diff --git a/docs/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot b/docs/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot index 8bb3cf6..91522d0 100644 --- a/docs/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot +++ b/docs/html/namespace_intelli_helper_a9fcfe72f00e870be4a8ab9f2e17483c9_icgraph.dot @@ -8,5 +8,5 @@ digraph "IntelliHelper::isInTriangle" Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node2 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; } diff --git a/docs/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot b/docs/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot index 2e582d4..cee7661 100644 --- a/docs/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot +++ b/docs/html/namespace_intelli_helper_afdd9fe78cc5d21b59642910220768149_icgraph.dot @@ -10,5 +10,5 @@ digraph "IntelliHelper::sign" Node2 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; Node3 [label="IntelliHelper::isInPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901",tooltip="A function to check if a point lies in a polygon by checking its spanning triangles."]; Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"]; + Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."]; } diff --git a/docs/html/namespacemembers.html b/docs/html/namespacemembers.html index 7afc321..598a5ef 100644 --- a/docs/html/namespacemembers.html +++ b/docs/html/namespacemembers.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/namespacemembers_func.html b/docs/html/namespacemembers_func.html index a86ac32..6f55519 100644 --- a/docs/html/namespacemembers_func.html +++ b/docs/html/namespacemembers_func.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/namespaces.html b/docs/html/namespaces.html index b255d4d..442f96e 100644 --- a/docs/html/namespaces.html +++ b/docs/html/namespaces.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/navtreedata.js b/docs/html/navtreedata.js index fbfe306..e6aefa6 100644 --- a/docs/html/navtreedata.js +++ b/docs/html/navtreedata.js @@ -54,7 +54,7 @@ var NAVTREE = var NAVTREEINDEX = [ "_intelli_color_picker_8h.html", -"struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0" +"namespacemembers_func.html" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/docs/html/navtreeindex0.js b/docs/html/navtreeindex0.js index 8f12a09..2a1d8f4 100644 --- a/docs/html/navtreeindex0.js +++ b/docs/html/navtreeindex0.js @@ -178,12 +178,13 @@ var NAVTREEINDEX0 = "class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c":[1,0,10,4], "class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d":[1,0,10,7], "class_intelli_tool_polygon.html":[1,0,11], -"class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922":[1,0,11,3], -"class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b":[1,0,11,5], -"class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21":[1,0,11,2], -"class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17":[1,0,11,6], -"class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427":[1,0,11,4], -"class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d":[1,0,11,1], +"class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499":[1,0,11,1], +"class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922":[1,0,11,4], +"class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b":[1,0,11,6], +"class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21":[1,0,11,3], +"class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17":[1,0,11,7], +"class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427":[1,0,11,5], +"class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d":[1,0,11,2], "class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d":[1,0,11,0], "class_intelli_tool_rectangle.html":[1,0,12], "class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c":[1,0,12,7], @@ -195,34 +196,38 @@ var NAVTREEINDEX0 = "class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f":[1,0,12,6], "class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d":[1,0,12,2], "class_painting_area.html":[1,0,14], -"class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb":[1,0,14,12], -"class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8":[1,0,14,24], -"class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb":[1,0,14,19], -"class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e":[1,0,14,26], -"class_painting_area.html#a240c33a7875addac86080cdfb0db036a":[1,0,14,7], -"class_painting_area.html#a35b5df914acb608cc29717659793359c":[1,0,14,16], +"class_painting_area.html#a0b22e18069b524f3e75857d203baf256":[1,0,14,8], +"class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b":[1,0,14,12], +"class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8":[1,0,14,28], +"class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb":[1,0,14,23], +"class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e":[1,0,14,30], +"class_painting_area.html#a240c33a7875addac86080cdfb0db036a":[1,0,14,9], +"class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466":[1,0,14,7], +"class_painting_area.html#a35b5df914acb608cc29717659793359c":[1,0,14,20], "class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395":[1,0,14,2], -"class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,14,9], -"class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda":[1,0,14,13], +"class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,14,11], "class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df":[1,0,14,4], -"class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,14,20], +"class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,14,24], "class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460":[1,0,14,0], -"class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564":[1,0,14,22], -"class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4":[1,0,14,27], +"class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd":[1,0,14,13], +"class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564":[1,0,14,26], +"class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4":[1,0,14,31], "class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb":[1,0,14,6], -"class_painting_area.html#a6efad6f8ea060674b157b42b431cd173":[1,0,14,10], -"class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec":[1,0,14,25], -"class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353":[1,0,14,8], -"class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5":[1,0,14,14], +"class_painting_area.html#a675ee91b26b1c58be6d833f279d81597":[1,0,14,17], +"class_painting_area.html#a6efad6f8ea060674b157b42b431cd173":[1,0,14,14], +"class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec":[1,0,14,29], +"class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353":[1,0,14,10], +"class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5":[1,0,14,18], "class_painting_area.html#aa32adc113f77031945f73e33051931e8":[1,0,14,1], -"class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335":[1,0,14,21], -"class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15":[1,0,14,15], -"class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7":[1,0,14,18], -"class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a":[1,0,14,17], +"class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335":[1,0,14,25], +"class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15":[1,0,14,19], +"class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4":[1,0,14,16], +"class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7":[1,0,14,22], +"class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a":[1,0,14,21], "class_painting_area.html#ae261acaaa346610dfed489dbac17e789":[1,0,14,5], "class_painting_area.html#ae756003b49aead863b49616ea7a44cc0":[1,0,14,3], -"class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774":[1,0,14,11], -"class_painting_area.html#aec59be20f1c27135700754882dd6383d":[1,0,14,23], +"class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774":[1,0,14,15], +"class_painting_area.html#aec59be20f1c27135700754882dd6383d":[1,0,14,27], "classes.html":[1,1], "dir_544f9dcb748f922e4bb3be2540380bf2.html":[2,0,0,0,1], "dir_5dabb14988a75c922e285f444641a133.html":[2,0,0,0,0], @@ -244,10 +249,5 @@ var NAVTREEINDEX0 = "main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97":[2,0,0,0,5,0], "main_8cpp_source.html":[2,0,0,0,5], "namespace_intelli_helper.html":[0,0,0], -"namespacemembers.html":[0,1,0], -"namespacemembers_func.html":[0,1,1], -"namespaces.html":[0,0], -"pages.html":[], -"struct_layer_object.html":[1,0,13], -"struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56":[1,0,13,0] +"namespacemembers.html":[0,1,0] }; diff --git a/docs/html/navtreeindex1.js b/docs/html/navtreeindex1.js index 8002805..12c8363 100644 --- a/docs/html/navtreeindex1.js +++ b/docs/html/navtreeindex1.js @@ -1,8 +1,13 @@ var NAVTREEINDEX1 = { -"struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0":[1,0,13,1], -"struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743":[1,0,13,2], +"namespacemembers_func.html":[0,1,1], +"namespaces.html":[0,0], +"pages.html":[], +"struct_layer_object.html":[1,0,13], +"struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc":[1,0,13,2], +"struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56":[1,0,13,0], "struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96":[1,0,13,5], +"struct_layer_object.html#ae0003fb815e50ed587a9897988befc90":[1,0,13,1], "struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83":[1,0,13,3], "struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897":[1,0,13,4], "struct_triangle.html":[1,0,15], diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index fc37c6f..deecf15 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -1,15 +1,16 @@ var searchData= [ - ['_7eintellicolorpicker_125',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_126',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_127',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_128',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_129',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_130',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_131',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolline_132',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_133',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_134',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolrectangle_135',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7epaintingarea_136',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]] + ['_7eintellicolorpicker_129',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_130',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_131',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_132',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_133',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_134',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_135',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolline_136',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_137',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_138',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_139',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_140',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7epaintingarea_141',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js index a4e8070..2624e5b 100644 --- a/docs/html/search/all_2.js +++ b/docs/html/search/all_2.js @@ -9,7 +9,11 @@ var searchData= ['colorpickersetfirstcolor_13',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], ['colorpickersetsecondcolor_14',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], ['colorpickerswitchcolor_15',['colorPickerSwitchColor',['../class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb',1,'PaintingArea']]], - ['createlinetool_16',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_17',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_18',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]] + ['createcircletool_16',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_17',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['createlinetool_18',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_19',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_20',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_21',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_22',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js index 9a63d54..70617b0 100644 --- a/docs/html/search/all_3.js +++ b/docs/html/search/all_3.js @@ -1,10 +1,10 @@ var searchData= [ - ['deletelayer_19',['deleteLayer',['../class_painting_area.html#a6efad6f8ea060674b157b42b431cd173',1,'PaintingArea']]], - ['dotted_5fline_20',['DOTTED_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e',1,'IntelliToolLine.h']]], - ['drawing_21',['drawing',['../class_intelli_tool.html#af256de16e9825922d20a23d11617b51b',1,'IntelliTool']]], - ['drawline_22',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_23',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawplain_24',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_25',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletelayer_23',['deleteLayer',['../class_painting_area.html#a6efad6f8ea060674b157b42b431cd173',1,'PaintingArea']]], + ['dotted_5fline_24',['DOTTED_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e',1,'IntelliToolLine.h']]], + ['drawing_25',['drawing',['../class_intelli_tool.html#af256de16e9825922d20a23d11617b51b',1,'IntelliTool']]], + ['drawline_26',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_27',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawplain_28',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_29',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js index d454894..85100ac 100644 --- a/docs/html/search/all_4.js +++ b/docs/html/search/all_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['floodfill_26',['floodFill',['../class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774',1,'PaintingArea']]] + ['floodfill_30',['floodFill',['../class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js index 5608f57..e7a6602 100644 --- a/docs/html/search/all_5.js +++ b/docs/html/search/all_5.js @@ -1,11 +1,11 @@ var searchData= [ - ['getdeepcopy_27',['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_28',['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_29',['getFirstColor',['../class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7',1,'IntelliColorPicker']]], - ['getheightactivelayer_30',['getHeightActiveLayer',['../class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb',1,'PaintingArea']]], - ['getpixelcolor_31',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygondata_32',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getsecondcolor_33',['getSecondColor',['../class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415',1,'IntelliColorPicker']]], - ['getwidthactivelayer_34',['getWidthActiveLayer',['../class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda',1,'PaintingArea']]] + ['getdeepcopy_31',['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_32',['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_33',['getFirstColor',['../class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7',1,'IntelliColorPicker']]], + ['getheightofactive_34',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getpixelcolor_35',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygondata_36',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getsecondcolor_37',['getSecondColor',['../class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415',1,'IntelliColorPicker']]], + ['getwidthofactive_38',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js index 0da1a9f..be53981 100644 --- a/docs/html/search/all_6.js +++ b/docs/html/search/all_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['hight_35',['hight',['../struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0',1,'LayerObject']]], - ['hightoffset_36',['hightOffset',['../struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743',1,'LayerObject']]] + ['height_39',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_40',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] ]; diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index a4df120..69b12fc 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -1,50 +1,50 @@ var searchData= [ - ['image_37',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_38',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], - ['imagetype_39',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], - ['intellicolorpicker_40',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], - ['intellicolorpicker_2ecpp_41',['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_42',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intellihelper_43',['IntelliHelper',['../namespace_intelli_helper.html',1,'']]], - ['intellihelper_2ecpp_44',['IntelliHelper.cpp',['../_intelli_helper_8cpp.html',1,'']]], - ['intellihelper_2eh_45',['IntelliHelper.h',['../_intelli_helper_8h.html',1,'']]], - ['intelliimage_46',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a47084f1cb668ea0242ab95162cf9e902',1,'IntelliImage::IntelliImage()']]], - ['intelliimage_2ecpp_47',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_48',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliphotogui_49',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], - ['intelliphotogui_2ecpp_50',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_51',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_52',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#aad9b561fe499a4da3c6ef98971aa3468',1,'IntelliRasterImage::IntelliRasterImage()']]], - ['intellirasterimage_2ecpp_53',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_54',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellishapedimage_55',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#a0f834c3f255baeb50c98ef335a6d0ea9',1,'IntelliShapedImage::IntelliShapedImage()']]], - ['intellishapedimage_2ecpp_56',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_57',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_58',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91',1,'IntelliTool::IntelliTool()']]], - ['intellitool_2ecpp_59',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_60',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_61',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a',1,'IntelliToolCircle::IntelliToolCircle()']]], - ['intellitoolcircle_2ecpp_62',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_63',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_64',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], - ['intellitoolfloodfill_2ecpp_65',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_66',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolline_67',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2',1,'IntelliToolLine::IntelliToolLine()']]], - ['intellitoolline_2ecpp_68',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_69',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_70',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47',1,'IntelliToolPen::IntelliToolPen()']]], - ['intellitoolpen_2ecpp_71',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_72',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_73',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_74',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolplaintool_75',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], - ['intellitoolpolygon_76',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d',1,'IntelliToolPolygon::IntelliToolPolygon()']]], - ['intellitoolpolygon_2ecpp_77',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_78',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_79',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11',1,'IntelliToolRectangle::IntelliToolRectangle()']]], - ['intellitoolrectangle_2ecpp_80',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_81',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], - ['isinpolygon_82',['isInPolygon',['../namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901',1,'IntelliHelper']]], - ['isintriangle_83',['isInTriangle',['../namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9',1,'IntelliHelper']]] + ['image_41',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_42',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['imagetype_43',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], + ['intellicolorpicker_44',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], + ['intellicolorpicker_2ecpp_45',['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_46',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellihelper_47',['IntelliHelper',['../namespace_intelli_helper.html',1,'']]], + ['intellihelper_2ecpp_48',['IntelliHelper.cpp',['../_intelli_helper_8cpp.html',1,'']]], + ['intellihelper_2eh_49',['IntelliHelper.h',['../_intelli_helper_8h.html',1,'']]], + ['intelliimage_50',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a47084f1cb668ea0242ab95162cf9e902',1,'IntelliImage::IntelliImage()']]], + ['intelliimage_2ecpp_51',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_52',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliphotogui_53',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], + ['intelliphotogui_2ecpp_54',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_55',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_56',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#aad9b561fe499a4da3c6ef98971aa3468',1,'IntelliRasterImage::IntelliRasterImage()']]], + ['intellirasterimage_2ecpp_57',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_58',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellishapedimage_59',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#a0f834c3f255baeb50c98ef335a6d0ea9',1,'IntelliShapedImage::IntelliShapedImage()']]], + ['intellishapedimage_2ecpp_60',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_61',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_62',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91',1,'IntelliTool::IntelliTool()']]], + ['intellitool_2ecpp_63',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_64',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_65',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a',1,'IntelliToolCircle::IntelliToolCircle()']]], + ['intellitoolcircle_2ecpp_66',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_67',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_68',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], + ['intellitoolfloodfill_2ecpp_69',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_70',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolline_71',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2',1,'IntelliToolLine::IntelliToolLine()']]], + ['intellitoolline_2ecpp_72',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_73',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_74',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47',1,'IntelliToolPen::IntelliToolPen()']]], + ['intellitoolpen_2ecpp_75',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_76',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_77',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_78',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolplaintool_79',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], + ['intellitoolpolygon_80',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d',1,'IntelliToolPolygon::IntelliToolPolygon()']]], + ['intellitoolpolygon_2ecpp_81',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_82',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_83',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11',1,'IntelliToolRectangle::IntelliToolRectangle()']]], + ['intellitoolrectangle_2ecpp_84',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_85',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['isinpolygon_86',['isInPolygon',['../namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901',1,'IntelliHelper']]], + ['isintriangle_87',['isInTriangle',['../namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9',1,'IntelliHelper']]] ]; diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js index ae5832f..50c4cae 100644 --- a/docs/html/search/all_8.js +++ b/docs/html/search/all_8.js @@ -1,6 +1,6 @@ var searchData= [ - ['layerobject_84',['LayerObject',['../struct_layer_object.html',1,'']]], - ['linestyle_85',['LineStyle',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7',1,'IntelliToolLine.h']]], - ['loadimage_86',['loadImage',['../class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa',1,'IntelliImage']]] + ['layerobject_88',['LayerObject',['../struct_layer_object.html',1,'']]], + ['linestyle_89',['LineStyle',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7',1,'IntelliToolLine.h']]], + ['loadimage_90',['loadImage',['../class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index e39dbfa..c3bdfaf 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -1,10 +1,10 @@ var searchData= [ - ['main_87',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['main_2ecpp_88',['main.cpp',['../main_8cpp.html',1,'']]], - ['mousemoveevent_89',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_90',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_91',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_92',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_93',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_91',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['main_2ecpp_92',['main.cpp',['../main_8cpp.html',1,'']]], + ['mousemoveevent_93',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_94',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_95',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_96',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_97',['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 ca4ea4c..8e50acd 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_94',['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_95',['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_96',['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_97',['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_98',['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_99',['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_100',['open',['../class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb',1,'PaintingArea']]] + ['onmouseleftpressed_98',['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_99',['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_100',['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_101',['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_102',['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_103',['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_104',['open',['../class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 804aa23..a356257 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,8 +1,8 @@ var searchData= [ - ['paintevent_101',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_102',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], - ['paintingarea_2ecpp_103',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_104',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], - ['polygondata_105',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['paintevent_105',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_106',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], + ['paintingarea_2ecpp_107',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_108',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], + ['polygondata_109',['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 ff66b9d..a895f69 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,6 +1,6 @@ var searchData= [ - ['raster_5fimage_106',['Raster_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3',1,'IntelliImage.h']]], - ['resizeevent_107',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], - ['resizeimage_108',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['raster_5fimage_110',['Raster_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3',1,'IntelliImage.h']]], + ['resizeevent_111',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], + ['resizeimage_112',['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 a8bdd2d..123a72f 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,15 +1,15 @@ var searchData= [ - ['save_109',['save',['../class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564',1,'PaintingArea']]], - ['setalphaoflayer_110',['setAlphaOfLayer',['../class_painting_area.html#aec59be20f1c27135700754882dd6383d',1,'PaintingArea']]], - ['setfirstcolor_111',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setlayertoactive_112',['setLayerToActive',['../class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8',1,'PaintingArea']]], - ['setpolygon_113',['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()']]], - ['setsecondcolor_114',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['shaped_5fimage_115',['Shaped_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d',1,'IntelliImage.h']]], - ['sign_116',['sign',['../namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149',1,'IntelliHelper']]], - ['slotactivatelayer_117',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotdeleteactivelayer_118',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['solid_5fline_119',['SOLID_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199',1,'IntelliToolLine.h']]], - ['switchcolors_120',['switchColors',['../class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9',1,'IntelliColorPicker']]] + ['save_113',['save',['../class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564',1,'PaintingArea']]], + ['setalphaoflayer_114',['setAlphaOfLayer',['../class_painting_area.html#aec59be20f1c27135700754882dd6383d',1,'PaintingArea']]], + ['setfirstcolor_115',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setlayertoactive_116',['setLayerToActive',['../class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8',1,'PaintingArea']]], + ['setpolygon_117',['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()']]], + ['setsecondcolor_118',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['shaped_5fimage_119',['Shaped_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d',1,'IntelliImage.h']]], + ['sign_120',['sign',['../namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149',1,'IntelliHelper']]], + ['slotactivatelayer_121',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotdeleteactivelayer_122',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['solid_5fline_123',['SOLID_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199',1,'IntelliToolLine.h']]], + ['switchcolors_124',['switchColors',['../class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index 5e7fdd5..dfed3ce 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,4 +1,4 @@ var searchData= [ - ['triangle_121',['Triangle',['../struct_triangle.html',1,'']]] + ['triangle_125',['Triangle',['../struct_triangle.html',1,'']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index b851b8b..5720a84 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,6 +1,6 @@ var searchData= [ - ['wheelevent_122',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], - ['width_123',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_124',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['wheelevent_126',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], + ['width_127',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_128',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js index cd9dba3..2b71e5b 100644 --- a/docs/html/search/classes_0.js +++ b/docs/html/search/classes_0.js @@ -1,16 +1,16 @@ var searchData= [ - ['intellicolorpicker_137',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], - ['intelliimage_138',['IntelliImage',['../class_intelli_image.html',1,'']]], - ['intelliphotogui_139',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], - ['intellirasterimage_140',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], - ['intellishapedimage_141',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], - ['intellitool_142',['IntelliTool',['../class_intelli_tool.html',1,'']]], - ['intellitoolcircle_143',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], - ['intellitoolfloodfill_144',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], - ['intellitoolline_145',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], - ['intellitoolpen_146',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], - ['intellitoolplaintool_147',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], - ['intellitoolpolygon_148',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], - ['intellitoolrectangle_149',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]] + ['intellicolorpicker_142',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], + ['intelliimage_143',['IntelliImage',['../class_intelli_image.html',1,'']]], + ['intelliphotogui_144',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], + ['intellirasterimage_145',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], + ['intellishapedimage_146',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], + ['intellitool_147',['IntelliTool',['../class_intelli_tool.html',1,'']]], + ['intellitoolcircle_148',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], + ['intellitoolfloodfill_149',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], + ['intellitoolline_150',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], + ['intellitoolpen_151',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], + ['intellitoolplaintool_152',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], + ['intellitoolpolygon_153',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], + ['intellitoolrectangle_154',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]] ]; diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js index 367b478..454443a 100644 --- a/docs/html/search/classes_1.js +++ b/docs/html/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['layerobject_150',['LayerObject',['../struct_layer_object.html',1,'']]] + ['layerobject_155',['LayerObject',['../struct_layer_object.html',1,'']]] ]; diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js index cae10b6..bcb4b7a 100644 --- a/docs/html/search/classes_2.js +++ b/docs/html/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['paintingarea_151',['PaintingArea',['../class_painting_area.html',1,'']]] + ['paintingarea_156',['PaintingArea',['../class_painting_area.html',1,'']]] ]; diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js index 771af75..96c6367 100644 --- a/docs/html/search/classes_3.js +++ b/docs/html/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['triangle_152',['Triangle',['../struct_triangle.html',1,'']]] + ['triangle_157',['Triangle',['../struct_triangle.html',1,'']]] ]; diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js index 6e1453a..5a92e19 100644 --- a/docs/html/search/enums_0.js +++ b/docs/html/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['imagetype_282',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] + ['imagetype_292',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] ]; diff --git a/docs/html/search/enums_1.js b/docs/html/search/enums_1.js index 41e758e..c187cbf 100644 --- a/docs/html/search/enums_1.js +++ b/docs/html/search/enums_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['linestyle_283',['LineStyle',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7',1,'IntelliToolLine.h']]] + ['linestyle_293',['LineStyle',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7',1,'IntelliToolLine.h']]] ]; diff --git a/docs/html/search/enumvalues_0.js b/docs/html/search/enumvalues_0.js index 7f894a9..fb8b634 100644 --- a/docs/html/search/enumvalues_0.js +++ b/docs/html/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['dotted_5fline_284',['DOTTED_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e',1,'IntelliToolLine.h']]] + ['dotted_5fline_294',['DOTTED_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e',1,'IntelliToolLine.h']]] ]; diff --git a/docs/html/search/enumvalues_1.js b/docs/html/search/enumvalues_1.js index 0696843..e029230 100644 --- a/docs/html/search/enumvalues_1.js +++ b/docs/html/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['raster_5fimage_285',['Raster_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3',1,'IntelliImage.h']]] + ['raster_5fimage_295',['Raster_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3',1,'IntelliImage.h']]] ]; diff --git a/docs/html/search/enumvalues_2.js b/docs/html/search/enumvalues_2.js index 5ef04a4..0120145 100644 --- a/docs/html/search/enumvalues_2.js +++ b/docs/html/search/enumvalues_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['shaped_5fimage_286',['Shaped_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d',1,'IntelliImage.h']]], - ['solid_5fline_287',['SOLID_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199',1,'IntelliToolLine.h']]] + ['shaped_5fimage_296',['Shaped_Image',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d',1,'IntelliImage.h']]], + ['solid_5fline_297',['SOLID_LINE',['../_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199',1,'IntelliToolLine.h']]] ]; diff --git a/docs/html/search/files_0.js b/docs/html/search/files_0.js index 7ecb811..8f60b7b 100644 --- a/docs/html/search/files_0.js +++ b/docs/html/search/files_0.js @@ -1,31 +1,31 @@ var searchData= [ - ['intellicolorpicker_2ecpp_154',['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_155',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intellihelper_2ecpp_156',['IntelliHelper.cpp',['../_intelli_helper_8cpp.html',1,'']]], - ['intellihelper_2eh_157',['IntelliHelper.h',['../_intelli_helper_8h.html',1,'']]], - ['intelliimage_2ecpp_158',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_159',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliphotogui_2ecpp_160',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_161',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_2ecpp_162',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_163',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellishapedimage_2ecpp_164',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_165',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_2ecpp_166',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_167',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_2ecpp_168',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_169',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_2ecpp_170',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_171',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolline_2ecpp_172',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_173',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_2ecpp_174',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_175',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_176',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_177',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolpolygon_2ecpp_178',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_179',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_2ecpp_180',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_181',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]] + ['intellicolorpicker_2ecpp_159',['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_160',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellihelper_2ecpp_161',['IntelliHelper.cpp',['../_intelli_helper_8cpp.html',1,'']]], + ['intellihelper_2eh_162',['IntelliHelper.h',['../_intelli_helper_8h.html',1,'']]], + ['intelliimage_2ecpp_163',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_164',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliphotogui_2ecpp_165',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_166',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_2ecpp_167',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_168',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellishapedimage_2ecpp_169',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_170',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_2ecpp_171',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_172',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_2ecpp_173',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_174',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_2ecpp_175',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_176',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolline_2ecpp_177',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_178',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_2ecpp_179',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_180',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_181',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_182',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolpolygon_2ecpp_183',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_184',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_2ecpp_185',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_186',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_1.js b/docs/html/search/files_1.js index 3feae41..0861fdb 100644 --- a/docs/html/search/files_1.js +++ b/docs/html/search/files_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['main_2ecpp_182',['main.cpp',['../main_8cpp.html',1,'']]] + ['main_2ecpp_187',['main.cpp',['../main_8cpp.html',1,'']]] ]; diff --git a/docs/html/search/files_2.js b/docs/html/search/files_2.js index c7a376d..deeaab4 100644 --- a/docs/html/search/files_2.js +++ b/docs/html/search/files_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintingarea_2ecpp_183',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_184',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] + ['paintingarea_2ecpp_188',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_189',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] ]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index e6cd7b2..9302cbc 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['addlayer_185',['addLayer',['../class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395',1,'PaintingArea']]], - ['addlayerat_186',['addLayerAt',['../class_painting_area.html#ae756003b49aead863b49616ea7a44cc0',1,'PaintingArea']]] + ['addlayer_190',['addLayer',['../class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395',1,'PaintingArea']]], + ['addlayerat_191',['addLayerAt',['../class_painting_area.html#ae756003b49aead863b49616ea7a44cc0',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js index 35ef9ba..a0f86a7 100644 --- a/docs/html/search/functions_1.js +++ b/docs/html/search/functions_1.js @@ -1,12 +1,16 @@ var searchData= [ - ['calculatetriangles_187',['calculateTriangles',['../namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617',1,'IntelliHelper']]], - ['calculatevisiblity_188',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], - ['closeevent_189',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], - ['colorpickersetfirstcolor_190',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], - ['colorpickersetsecondcolor_191',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], - ['colorpickerswitchcolor_192',['colorPickerSwitchColor',['../class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb',1,'PaintingArea']]], - ['createlinetool_193',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_194',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_195',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]] + ['calculatetriangles_192',['calculateTriangles',['../namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617',1,'IntelliHelper']]], + ['calculatevisiblity_193',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], + ['closeevent_194',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], + ['colorpickersetfirstcolor_195',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], + ['colorpickersetsecondcolor_196',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], + ['colorpickerswitchcolor_197',['colorPickerSwitchColor',['../class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb',1,'PaintingArea']]], + ['createcircletool_198',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_199',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['createlinetool_200',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_201',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_202',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_203',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_204',['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 7a4517e..3aea88a 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -1,8 +1,8 @@ var searchData= [ - ['deletelayer_196',['deleteLayer',['../class_painting_area.html#a6efad6f8ea060674b157b42b431cd173',1,'PaintingArea']]], - ['drawline_197',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_198',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawplain_199',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_200',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletelayer_205',['deleteLayer',['../class_painting_area.html#a6efad6f8ea060674b157b42b431cd173',1,'PaintingArea']]], + ['drawline_206',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_207',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawplain_208',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_209',['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 94e0cf9..06156fd 100644 --- a/docs/html/search/functions_3.js +++ b/docs/html/search/functions_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['floodfill_201',['floodFill',['../class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774',1,'PaintingArea']]] + ['floodfill_210',['floodFill',['../class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js index 153ae70..ac5af75 100644 --- a/docs/html/search/functions_4.js +++ b/docs/html/search/functions_4.js @@ -1,11 +1,11 @@ var searchData= [ - ['getdeepcopy_202',['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_203',['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_204',['getFirstColor',['../class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7',1,'IntelliColorPicker']]], - ['getheightactivelayer_205',['getHeightActiveLayer',['../class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb',1,'PaintingArea']]], - ['getpixelcolor_206',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygondata_207',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getsecondcolor_208',['getSecondColor',['../class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415',1,'IntelliColorPicker']]], - ['getwidthactivelayer_209',['getWidthActiveLayer',['../class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda',1,'PaintingArea']]] + ['getdeepcopy_211',['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_212',['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_213',['getFirstColor',['../class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7',1,'IntelliColorPicker']]], + ['getheightofactive_214',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getpixelcolor_215',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygondata_216',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getsecondcolor_217',['getSecondColor',['../class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415',1,'IntelliColorPicker']]], + ['getwidthofactive_218',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js index 3234f3f..cd12695 100644 --- a/docs/html/search/functions_5.js +++ b/docs/html/search/functions_5.js @@ -1,18 +1,18 @@ var searchData= [ - ['intellicolorpicker_210',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], - ['intelliimage_211',['IntelliImage',['../class_intelli_image.html#a47084f1cb668ea0242ab95162cf9e902',1,'IntelliImage']]], - ['intelliphotogui_212',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], - ['intellirasterimage_213',['IntelliRasterImage',['../class_intelli_raster_image.html#aad9b561fe499a4da3c6ef98971aa3468',1,'IntelliRasterImage']]], - ['intellishapedimage_214',['IntelliShapedImage',['../class_intelli_shaped_image.html#a0f834c3f255baeb50c98ef335a6d0ea9',1,'IntelliShapedImage']]], - ['intellitool_215',['IntelliTool',['../class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91',1,'IntelliTool']]], - ['intellitoolcircle_216',['IntelliToolCircle',['../class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a',1,'IntelliToolCircle']]], - ['intellitoolfloodfill_217',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a',1,'IntelliToolFloodFill']]], - ['intellitoolline_218',['IntelliToolLine',['../class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2',1,'IntelliToolLine']]], - ['intellitoolpen_219',['IntelliToolPen',['../class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47',1,'IntelliToolPen']]], - ['intellitoolplaintool_220',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859',1,'IntelliToolPlainTool']]], - ['intellitoolpolygon_221',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d',1,'IntelliToolPolygon']]], - ['intellitoolrectangle_222',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11',1,'IntelliToolRectangle']]], - ['isinpolygon_223',['isInPolygon',['../namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901',1,'IntelliHelper']]], - ['isintriangle_224',['isInTriangle',['../namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9',1,'IntelliHelper']]] + ['intellicolorpicker_219',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], + ['intelliimage_220',['IntelliImage',['../class_intelli_image.html#a47084f1cb668ea0242ab95162cf9e902',1,'IntelliImage']]], + ['intelliphotogui_221',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], + ['intellirasterimage_222',['IntelliRasterImage',['../class_intelli_raster_image.html#aad9b561fe499a4da3c6ef98971aa3468',1,'IntelliRasterImage']]], + ['intellishapedimage_223',['IntelliShapedImage',['../class_intelli_shaped_image.html#a0f834c3f255baeb50c98ef335a6d0ea9',1,'IntelliShapedImage']]], + ['intellitool_224',['IntelliTool',['../class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91',1,'IntelliTool']]], + ['intellitoolcircle_225',['IntelliToolCircle',['../class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a',1,'IntelliToolCircle']]], + ['intellitoolfloodfill_226',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a',1,'IntelliToolFloodFill']]], + ['intellitoolline_227',['IntelliToolLine',['../class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2',1,'IntelliToolLine']]], + ['intellitoolpen_228',['IntelliToolPen',['../class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47',1,'IntelliToolPen']]], + ['intellitoolplaintool_229',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859',1,'IntelliToolPlainTool']]], + ['intellitoolpolygon_230',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d',1,'IntelliToolPolygon']]], + ['intellitoolrectangle_231',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11',1,'IntelliToolRectangle']]], + ['isinpolygon_232',['isInPolygon',['../namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901',1,'IntelliHelper']]], + ['isintriangle_233',['isInTriangle',['../namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9',1,'IntelliHelper']]] ]; diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index eaaa202..4d04877 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['loadimage_225',['loadImage',['../class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa',1,'IntelliImage']]] + ['loadimage_234',['loadImage',['../class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js index c28c131..28eff31 100644 --- a/docs/html/search/functions_7.js +++ b/docs/html/search/functions_7.js @@ -1,9 +1,9 @@ var searchData= [ - ['main_226',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['mousemoveevent_227',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_228',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_229',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_230',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_231',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_235',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['mousemoveevent_236',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_237',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_238',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_239',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_240',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js index 8b9eacd..a9815e5 100644 --- a/docs/html/search/functions_8.js +++ b/docs/html/search/functions_8.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_232',['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_233',['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_234',['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_235',['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_236',['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_237',['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_238',['open',['../class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb',1,'PaintingArea']]] + ['onmouseleftpressed_241',['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_242',['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_243',['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_244',['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_245',['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_246',['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_247',['open',['../class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index 1c5fa95..d4d4e61 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintevent_239',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_240',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] + ['paintevent_248',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_249',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js index 796a1ae..2e4e571 100644 --- a/docs/html/search/functions_a.js +++ b/docs/html/search/functions_a.js @@ -1,5 +1,5 @@ var searchData= [ - ['resizeevent_241',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], - ['resizeimage_242',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['resizeevent_250',['resizeEvent',['../class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335',1,'PaintingArea']]], + ['resizeimage_251',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index 35a9bcf..c0906ad 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -1,13 +1,13 @@ var searchData= [ - ['save_243',['save',['../class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564',1,'PaintingArea']]], - ['setalphaoflayer_244',['setAlphaOfLayer',['../class_painting_area.html#aec59be20f1c27135700754882dd6383d',1,'PaintingArea']]], - ['setfirstcolor_245',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setlayertoactive_246',['setLayerToActive',['../class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8',1,'PaintingArea']]], - ['setpolygon_247',['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()']]], - ['setsecondcolor_248',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['sign_249',['sign',['../namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149',1,'IntelliHelper']]], - ['slotactivatelayer_250',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotdeleteactivelayer_251',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['switchcolors_252',['switchColors',['../class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9',1,'IntelliColorPicker']]] + ['save_252',['save',['../class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564',1,'PaintingArea']]], + ['setalphaoflayer_253',['setAlphaOfLayer',['../class_painting_area.html#aec59be20f1c27135700754882dd6383d',1,'PaintingArea']]], + ['setfirstcolor_254',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setlayertoactive_255',['setLayerToActive',['../class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8',1,'PaintingArea']]], + ['setpolygon_256',['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()']]], + ['setsecondcolor_257',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['sign_258',['sign',['../namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149',1,'IntelliHelper']]], + ['slotactivatelayer_259',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotdeleteactivelayer_260',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['switchcolors_261',['switchColors',['../class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js index ae5f05e..1d5446d 100644 --- a/docs/html/search/functions_c.js +++ b/docs/html/search/functions_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['wheelevent_253',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] + ['wheelevent_262',['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 bd24f64..fcd9747 100644 --- a/docs/html/search/functions_d.js +++ b/docs/html/search/functions_d.js @@ -1,15 +1,16 @@ var searchData= [ - ['_7eintellicolorpicker_254',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_255',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_256',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_257',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_258',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_259',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_260',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolline_261',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_262',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_263',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolrectangle_264',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7epaintingarea_265',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]] + ['_7eintellicolorpicker_263',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_264',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_265',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_266',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_267',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_268',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_269',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolline_270',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_271',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_272',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_273',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_274',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7epaintingarea_275',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]] ]; diff --git a/docs/html/search/namespaces_0.js b/docs/html/search/namespaces_0.js index 387dc83..b04b785 100644 --- a/docs/html/search/namespaces_0.js +++ b/docs/html/search/namespaces_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['intellihelper_153',['IntelliHelper',['../namespace_intelli_helper.html',1,'']]] + ['intellihelper_158',['IntelliHelper',['../namespace_intelli_helper.html',1,'']]] ]; diff --git a/docs/html/search/variables_0.js b/docs/html/search/variables_0.js index 4655c35..5b52b7e 100644 --- a/docs/html/search/variables_0.js +++ b/docs/html/search/variables_0.js @@ -1,7 +1,7 @@ var searchData= [ - ['a_266',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], - ['active_267',['Active',['../class_intelli_tool.html#a13512e95d21a9934ecb36d73b118c25f',1,'IntelliTool']]], - ['alpha_268',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], - ['area_269',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] + ['a_276',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], + ['active_277',['Active',['../class_intelli_tool.html#a13512e95d21a9934ecb36d73b118c25f',1,'IntelliTool']]], + ['alpha_278',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], + ['area_279',['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 7f7d970..a2b29fc 100644 --- a/docs/html/search/variables_1.js +++ b/docs/html/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['b_270',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] + ['b_280',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] ]; diff --git a/docs/html/search/variables_2.js b/docs/html/search/variables_2.js index 344d2a5..9c0a3cc 100644 --- a/docs/html/search/variables_2.js +++ b/docs/html/search/variables_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['c_271',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], - ['canvas_272',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], - ['colorpicker_273',['colorPicker',['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool']]] + ['c_281',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], + ['canvas_282',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], + ['colorpicker_283',['colorPicker',['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_3.js b/docs/html/search/variables_3.js index 9cb803f..11f31da 100644 --- a/docs/html/search/variables_3.js +++ b/docs/html/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['drawing_274',['drawing',['../class_intelli_tool.html#af256de16e9825922d20a23d11617b51b',1,'IntelliTool']]] + ['drawing_284',['drawing',['../class_intelli_tool.html#af256de16e9825922d20a23d11617b51b',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_4.js b/docs/html/search/variables_4.js index 06ea30e..0d0c5be 100644 --- a/docs/html/search/variables_4.js +++ b/docs/html/search/variables_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['hight_275',['hight',['../struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0',1,'LayerObject']]], - ['hightoffset_276',['hightOffset',['../struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743',1,'LayerObject']]] + ['height_285',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_286',['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 7b91b4a..1f735ac 100644 --- a/docs/html/search/variables_5.js +++ b/docs/html/search/variables_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['image_277',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_278',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]] + ['image_287',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_288',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_6.js b/docs/html/search/variables_6.js index 01b1461..fc61886 100644 --- a/docs/html/search/variables_6.js +++ b/docs/html/search/variables_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['polygondata_279',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['polygondata_289',['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 a957d63..4da23c3 100644 --- a/docs/html/search/variables_7.js +++ b/docs/html/search/variables_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['width_280',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_281',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['width_290',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_291',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/struct_layer_object-members.html b/docs/html/struct_layer_object-members.html index 8009fdb..702a111 100644 --- a/docs/html/struct_layer_object-members.html +++ b/docs/html/struct_layer_object-members.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    @@ -94,8 +94,8 @@ $(document).ready(function(){initNavTree('struct_layer_object.html','');});

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

    - - + + diff --git a/docs/html/struct_layer_object.html b/docs/html/struct_layer_object.html index d282e62..537455d 100644 --- a/docs/html/struct_layer_object.html +++ b/docs/html/struct_layer_object.html @@ -30,7 +30,7 @@ @@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('struct_layer_object.html','');});
    +

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

    +

    #include <PaintingArea.h>

    Collaboration diagram for LayerObject:
    @@ -107,18 +110,29 @@ Public Attributes
    - - + + - - + +
    alphaLayerObject
    hightLayerObject
    hightOffsetLayerObject
    heightLayerObject
    heightOffsetLayerObject
    imageLayerObject
    widthLayerObject
    widthOffsetLayerObject
    IntelliPhoto -  0.4 +  0.5
     
    int width
     
    int hight
     
    int height
     
    int widthOffset
     
    int hightOffset
     
    int heightOffset
     
    int alpha =255
     

    Detailed Description

    -
    -

    Definition at line 16 of file PaintingArea.h.

    +

    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 24 of file PaintingArea.h.

    Member Data Documentation

    ◆ alpha

    @@ -132,39 +146,39 @@ Public Attributes
    -

    Definition at line 22 of file PaintingArea.h.

    +

    Definition at line 30 of file PaintingArea.h.

    - -

    ◆ hight

    + +

    ◆ height

    - +
    int LayerObject::hightint LayerObject::height
    -

    Definition at line 19 of file PaintingArea.h.

    +

    Definition at line 27 of file PaintingArea.h.

    - -

    ◆ hightOffset

    + +

    ◆ heightOffset

    - +
    int LayerObject::hightOffsetint LayerObject::heightOffset
    -

    Definition at line 21 of file PaintingArea.h.

    +

    Definition at line 29 of file PaintingArea.h.

    @@ -180,7 +194,7 @@ Public Attributes
    -

    Definition at line 17 of file PaintingArea.h.

    +

    Definition at line 25 of file PaintingArea.h.

    @@ -196,7 +210,7 @@ Public Attributes
    -

    Definition at line 18 of file PaintingArea.h.

    +

    Definition at line 26 of file PaintingArea.h.

    @@ -212,7 +226,7 @@ Public Attributes
    -

    Definition at line 20 of file PaintingArea.h.

    +

    Definition at line 28 of file PaintingArea.h.

    diff --git a/docs/html/struct_layer_object.js b/docs/html/struct_layer_object.js index 34361c9..c686168 100644 --- a/docs/html/struct_layer_object.js +++ b/docs/html/struct_layer_object.js @@ -1,8 +1,8 @@ var struct_layer_object = [ [ "alpha", "struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56", null ], - [ "hight", "struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0", null ], - [ "hightOffset", "struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743", null ], + [ "height", "struct_layer_object.html#ae0003fb815e50ed587a9897988befc90", null ], + [ "heightOffset", "struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc", null ], [ "image", "struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83", null ], [ "width", "struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897", null ], [ "widthOffset", "struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96", null ] diff --git a/docs/html/struct_layer_object__coll__graph.dot b/docs/html/struct_layer_object__coll__graph.dot index 16b2ac5..780664f 100644 --- a/docs/html/struct_layer_object__coll__graph.dot +++ b/docs/html/struct_layer_object__coll__graph.dot @@ -3,7 +3,7 @@ digraph "LayerObject" // LATEX_PDF_SIZE edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "]; + Node1 [label="LayerObject",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The LayerObject struct holds all the information needed to construct a layer."]; Node2 -> Node1 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" image" ,fontname="Helvetica"]; Node2 [label="IntelliImage",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html",tooltip="An abstract class which manages the basic IntelliImage operations."]; } diff --git a/docs/html/struct_triangle-members.html b/docs/html/struct_triangle-members.html index 713afee..883f66a 100644 --- a/docs/html/struct_triangle-members.html +++ b/docs/html/struct_triangle-members.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5
    diff --git a/docs/html/struct_triangle.html b/docs/html/struct_triangle.html index 446a4b0..f0e832d 100644 --- a/docs/html/struct_triangle.html +++ b/docs/html/struct_triangle.html @@ -30,7 +30,7 @@
    IntelliPhoto -  0.4 +  0.5