VisionFlowPro/ShapeDrawer/ShapeItemRect2.h
2023-02-28 14:50:28 +08:00

22 lines
347 B
C++

#include "ShapeItemBase.h"
class ShapeItemRect2
:public ShapeItemBase
{
public:
ShapeItemRect2(ShapeMode shape_mode, QPointF pos = QPointF(0, 0));
~ShapeItemRect2();
private:
QTransform m_transform;
private:
void calculateShape() override;
void rotateShape(qreal delta) override;
void shapeInit() override;
void sizeChanged();
};