MoveShape.h
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // MoveShape.h: interface for the CMoveShape class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MOVESHAPE_H__F209781A_8225_4392_8F68_411F01D84153__INCLUDED_)
- #define AFX_MOVESHAPE_H__F209781A_8225_4392_8F68_411F01D84153__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Shape.h"
- const int PenStyle = PS_SOLID; // pen style
- const int PenWidth = 1; // pen width
- const COLORREF PenColor = RGB(255,128,255); // pen color
- class CMoveShape
- {
- public:
- CShape * pShape;
- public:
- virtual void Move(HDC hdc ,int xOffset,int yOffset);
- CMoveShape();
- virtual ~CMoveShape();
- };
- #endif // !defined(AFX_MOVESHAPE_H__F209781A_8225_4392_8F68_411F01D84153__INCLUDED_)