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.
34 lines
778 B
C++
34 lines
778 B
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//文件: CItem类扩展
|
|
//主要功能:
|
|
// 实现图件的内切
|
|
//
|
|
//程序编写: 2006-12-07
|
|
// 2009-7-15修改
|
|
//
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#pragma once
|
|
#include "itemcutout.h"
|
|
|
|
namespace NItem
|
|
{
|
|
|
|
class CItemCutIn : public CItemCutOut
|
|
{
|
|
public:
|
|
CItemCutIn(CSigmaDoc * ppDoc);
|
|
virtual ~CItemCutIn(void);
|
|
void OnLButtonDown(CDC *pDC, UINT nFlags, CPoint point, int vk) override;
|
|
virtual void DoLButtonUp(void);
|
|
int CutInRectangle(CRect8 rect);
|
|
protected:
|
|
int CutInPickup(void);
|
|
int CutInAccurately(void);
|
|
|
|
virtual int CutAccurately(CCurveEx* pCurveRange);
|
|
int CutIn(CCurveEx* pCurveRange, CCurveEx* pSourceCurveRange=NULL);
|
|
};
|
|
|
|
};
|