38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : DragPickSet 类
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: DragPickSet 声明
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _DRAGPICKENTSET_H_
|
|
#define _DRAGPICKENTSET_H_
|
|
|
|
#ifndef _PICKSET_H_
|
|
#include "PickSet.h"
|
|
#endif
|
|
|
|
#ifndef _XPOINT_H_
|
|
#include "XPoint.h"
|
|
#endif
|
|
|
|
class GEOAPI DragPickEntSet : public PickSet
|
|
{
|
|
public:
|
|
DragPickEntSet(const XPoint &loc, int tag = SS_FREE);
|
|
DragPickEntSet(const XPoint &loc, const PickSet &picks, int tag = SS_FREE);
|
|
~DragPickEntSet();
|
|
|
|
int Move(const XPoint &src, XPoint &res) const;
|
|
int Rotate(const XPoint &src, ads_real *res = NULL) const;
|
|
int Scale(const XPoint &src, ads_real *res = NULL) const;
|
|
|
|
protected:
|
|
ads_name tempEnt;
|
|
void _DragPickSet();
|
|
};
|
|
#endif
|