moellipse.h
资源名称:MoLecture.rar [点击查看]
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- #if !defined(AFX_MOELLIPSE_H__0C30775B_FB20_4B67_BBF0_0736A1E7D3BE__INCLUDED_)
- #define AFX_MOELLIPSE_H__0C30775B_FB20_4B67_BBF0_0736A1E7D3BE__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- // Dispatch interfaces referenced by this interface
- class CMoRectangle;
- class CMoPoint;
- /////////////////////////////////////////////////////////////////////////////
- // CMoEllipse wrapper class
- class CMoEllipse : public COleDispatchDriver
- {
- public:
- CMoEllipse() {} // Calls COleDispatchDriver default constructor
- CMoEllipse(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- CMoEllipse(const CMoEllipse& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
- // Attributes
- public:
- CMoRectangle GetExtent();
- void SetExtent(LPDISPATCH);
- double GetLeft();
- void SetLeft(double);
- double GetRight();
- void SetRight(double);
- double GetTop();
- void SetTop(double);
- double GetBottom();
- void SetBottom(double);
- CMoPoint GetCenter();
- void SetCenter(LPDISPATCH);
- double GetWidth();
- void SetWidth(double);
- double GetHeight();
- void SetHeight(double);
- long GetShapeType();
- void SetShapeType(long);
- // Operations
- public:
- BOOL IsPointIn(LPDISPATCH Point);
- void Offset(double deltaX, double deltaY);
- void Inset(double deltaX, double deltaY);
- LPDISPATCH Union(LPDISPATCH anotherShape, const VARIANT& Extent);
- LPDISPATCH Xor(LPDISPATCH anotherShape, const VARIANT& Extent);
- LPDISPATCH Difference(LPDISPATCH anotherShape, const VARIANT& Extent);
- LPDISPATCH Intersect(LPDISPATCH anotherShape, const VARIANT& Extent);
- LPDISPATCH Buffer(double distance, const VARIANT& Extent);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MOELLIPSE_H__0C30775B_FB20_4B67_BBF0_0736A1E7D3BE__INCLUDED_)