📄 mgpen.cpp
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -