zcr14ellipse.h
来自「一个画笔的程序,可以进行直线,圆和方形等图形进行画图,并可以撤消上一步的动作」· C头文件 代码 · 共 33 行
H
33 行
// ZCR14Ellipse.h: interface for the CZCR14Ellipse class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ZCR14ELLIPSE_H__B40347E6_1529_4086_BC67_0EE336D021E9__INCLUDED_)
#define AFX_ZCR14ELLIPSE_H__B40347E6_1529_4086_BC67_0EE336D021E9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ZCR14Shape.h"
class CZCR14Ellipse : public CZCR14Shape
{
public:
void SetPoint(CPoint pStart, CPoint pEnd);
void SetPenWidthColor(int nPenWidth, COLORREF clrPaint);
int m_nType;
void SetTypeCanvas(int nType, COLORREF nCanvas);
COLORREF m_clrPaint;
int m_nPenWidth;
void Draw(CDC *pDC);
CZCR14Ellipse();
virtual ~CZCR14Ellipse();
private:
CPoint m_ptStart;
CPoint m_ptEnd;
};
#endif // !defined(AFX_ZCR14ELLIPSE_H__B40347E6_1529_4086_BC67_0EE336D021E9__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?