Task One
#pragma once
#include "atltypes.h"
#include "afxwin.h"
enum ShapType
{
knone = 0,
kLine,
kCircle,
kEllip,
kRect
};
class CSharp
{
public:
int m_nLineWidth;
int m_nLineType;
COLORREF m_color;
virtual void Draw(CDC* du) = 0;
virtual ShapType type() { return knone; }
};
class Cline : public CSharp
{
public:
Cline()
{
}
Cline(CPoint& pts, CPoint& pte, int& LinWidth, int& LineType, COLORREF colo
Task One最先出现在Python成神之路。
共有 0 条评论