Polygon Update

This commit is contained in:
AshBastian
2019-12-17 17:45:42 +01:00
parent 21ade76563
commit 3525261e1e
7 changed files with 128 additions and 3 deletions

View File

@@ -15,11 +15,12 @@
#include "Tool/IntelliToolLine.h"
#include "Tool/IntelliToolCircle.h"
#include "Tool/IntelliToolRechteck.h"
#include "Tool/IntelliToolPolygon.h"
PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
:QWidget(parent){
//test yout tool here and reset after accomplished test
this->Tool = new IntelliToolRechteck(this, &colorPicker);
this->Tool = new IntelliToolPolygon(this, &colorPicker);
this->setUp(maxWidth, maxHeight);
//tetsing
this->addLayer(200,200,0,0,ImageType::Shaped_Image);