mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 04:40:37 +02:00
Some image change
This commit is contained in:
20
IntelliPhoto/Painting/Image/IntelliShapedImage.h
Normal file
20
IntelliPhoto/Painting/Image/IntelliShapedImage.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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) override;
|
||||
|
||||
//sets the data for the visible image
|
||||
virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user