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.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "itemfocusrect.h"
|
|
|
|
|
|
namespace NItem
|
|
|
|
|
|
{
|
|
|
|
|
|
#define POINT_NULL_EMBELLISH 1 //<2F><><EFBFBD>ո<EFBFBD><D5B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define POINT_SET_EMBELLISH 2 //<2F><><EFBFBD>ø<EFBFBD><C3B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define POINT_SET_ANGLE 3 //<2F><><EFBFBD>ýǶ<C3BD>
|
|
|
|
|
|
#define POINT_POLYGON_REL 4 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>ÿ<EFBFBD><C3BF>Ŷ<EFBFBD>
|
|
|
|
|
|
#define POINT_RECT_REL 5 //<2F><><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>ÿ<EFBFBD><C3BF>Ŷ<EFBFBD>
|
|
|
|
|
|
class CItemPointProcess :
|
|
|
|
|
|
public CItemFocusRect
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CItemPointProcess(CSigmaDoc* ppDoc);
|
|
|
|
|
|
virtual ~CItemPointProcess(void);
|
|
|
|
|
|
|
|
|
|
|
|
int m_idea; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
|
|
|
|
|
|
int m_processCount;
|
|
|
|
|
|
|
|
|
|
|
|
void OnLButtonDown(CDC *pDC, UINT nFlags, CPoint point, int vk) override;
|
|
|
|
|
|
//virtual BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
|
|
|
|
|
|
void DoLButtonUp(CDC *pDC) override;
|
|
|
|
|
|
|
|
|
|
|
|
void SetProcessIdea(int nIdea);
|
|
|
|
|
|
void SetPointStyle(CHowToViewPoint& ptStyle);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
int SetNullEmbellish(void);
|
|
|
|
|
|
int SetEmbellish(void);
|
|
|
|
|
|
int SetAngle(void);
|
|
|
|
|
|
double angle;
|
|
|
|
|
|
int ReliabilityPolygon(void);
|
|
|
|
|
|
int ReliabilityRect(void);
|
|
|
|
|
|
POSITION SelectOneCurve(UINT nFlags, CPoint point);
|
|
|
|
|
|
|
|
|
|
|
|
CHowToViewPoint ptStyle;
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|