size.h

来自「MONA是为数不多的C++语言编写的一个很小的操作系统」· C头文件 代码 · 共 21 行

H
21
字号
// This file is in the public domain.
// There are no restrictions on any sort of usage of this file.

#ifndef __SYSTEM_DRAWING_SIZE_H__
#define __SYSTEM_DRAWING_SIZE_H__

namespace System { namespace Drawing
{
	struct Size
	{
		int Width, Height;
		
		Size() : Width(0), Height(0) {}
		Size(int width, int height) : Width(width), Height(height) {}
		
		static Size get_Empty() { return Size(); }
	};
}}

#endif  // __SYSTEM_DRAWING_SIZE_H__

⌨️ 快捷键说明

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