mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-12 19:40:28 +02:00
23 lines
559 B
C++
23 lines
559 B
C++
#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;
|
|
virtual QImage getDisplayable() override;
|
|
|
|
//sets the data for the visible image
|
|
virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
|
|
};
|
|
|
|
#endif
|