You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
539 B
C++
35 lines
539 B
C++
#pragma once
|
|
|
|
#include "Defines.h"
|
|
#include "ZxObjToolBase.h"
|
|
|
|
/// 多边形区域工具缩放
|
|
class I_PLOTCURVE_T_EXPORT ZxObjPolygonTool : public ZxObjToolBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ZxObjPolygonTool();
|
|
//ZxObjPolygonTool(const ZxObjPolygonTool& c);
|
|
|
|
public:
|
|
|
|
virtual void onPaint(QPainter* painter, const ZxPaintParam& param);
|
|
|
|
protected:
|
|
|
|
virtual Qt::CursorShape getCursorBy(const int& nOption,
|
|
const int& nSubIndex);
|
|
|
|
|
|
protected:
|
|
|
|
QVector<QPointF> m_vecPoints;
|
|
|
|
};
|
|
|
|
|
|
|
|
|