Muckes zeug

This commit is contained in:
Jan Schuffenhauer
2019-12-05 17:30:41 +01:00
parent 6dfc2c1b3b
commit ef65bcd983
23 changed files with 3753 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#ifndef INTELLISHAPE_H
#define INTELLISHAPE_H
#include"Image/IntelliImage.h"
class IntelliShapedImage : public IntelliImage{
protected:
std::vector<QPoint> polygonData;
public:
IntelliShapedImage(int weight, int height);
virtual ~IntelliShapedImage() override;
//returns the filtered output
virtual QImage getDisplayable(const QSize& displaySize, int alpha=255) override;
virtual QImage getDisplayable(int alpha=255) override;
//sets the data for the visible image
virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
};
#endif