📄 graph_union.h
字号:
#pragma once
class Graph_Union: public CObject
{
protected:
DECLARE_SERIAL(Graph_Union)
//DECLARE_SERIAL(Graph_Union)
public:
int type; //the type of graphics:0 line; 1 circle; 2 ellipse; and so on;
int count; //the counter of points
CPoint * pp; //ptr of points
int wide; //the pen wide
int shape; //the shape of line
COLORREF color; //default:black;
COLORREF fill_color;//default:white;
Graph_Union(int t,int c,int w,int s,CPoint* ptr,COLORREF col,COLORREF f_col);//default function
Graph_Union();//NULL union
void operator =(Graph_Union & gu); //operator =
Graph_Union( const Graph_Union & gu); //copy function
~Graph_Union();
void Serialize(CArchive&ar);
int pycount;
COLORREF pylinecol;
COLORREF pyfilcol;
// CPoint pypt[30];
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -