📄 mgrect.cpp
字号:
#include "render_interface.h"#include "mgrect.h"MGRect::MGRect(){ x1 = 0; y1 = 0; x2 = 0; y2 = 0;}MGRect::~MGRect(){}MGRect::MGRect( int left, int top, int width, int height ){ x1 = left; y1 = top; x2 = x1+width-1; y2 = y1+height-1;}MGRect::MGRect( const MGRect& r ){ x1 = r.x1; y1 = r.y1; x2 = r.x2; y2 = r.y2;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -