mgpen.cpp

来自「monqueror一个很具有参考价值的源玛」· C++ 代码 · 共 37 行

CPP
37
字号
#include <ctype.h>#include <stdlib.h>#include <assert.h>#include <string.h>#include "render_interface.h"#include "mgcolor.h"#include "mgpen.h"MGPen::MGPen(){	init( MG::black, 0, MG::SolidLine );}MGPen::MGPen( const MGPen& pen ){	cl = pen.cl;	width = pen.width;	style = pen.style;}MGPen::MGPen( const MGColor& c, unsigned w, int t ){	init( c, w, t );}MGPen::~MGPen(){}void MGPen::init( const MGColor& c, unsigned w, int t ){	cl = c;	width = w;	style = t;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?