⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gapistructs.cs.svn-base

📁 这是一个windows mobile程序能够实现窗体运货效果非常不错
💻 SVN-BASE
字号:
// Generated by PInvoke Wizard (v 1.0) from The Paul Yao Company http://www.paulyao.com 

using System;
using System.Drawing;

namespace Aspecto.GapiDrawNet
{
	public struct GDRect
	{
		public GDRect(int left, int top, int right, int bottom)
		{
			Left = left;
			Top = top;
			Right = right;
			Bottom = bottom;
		}
		public int Left;
		public int Top;
		public int Right;
		public int Bottom;
		public int Height
		{
			get{ return Bottom - Top; }
		}
		public int Width
		{
			get{ return Right - Left; }
		}

		public bool Contains(Point p)
		{
			return (p.X >= Left) && (p.X <= Right) && (p.Y >= Top) && (p.Y <= Bottom);
		}
		public bool Contains(int x, int y)
		{
			return (x >= Left) && (x <= Right) && (y >= Top) && (y <= Bottom);
		}

		public void Inflate(int inflateBy)
		{
			Left-= inflateBy;
			Top -= inflateBy;
			Right += inflateBy;
			Bottom += inflateBy;
		}
	}
}

⌨️ 快捷键说明

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