コード例 #1
0
ファイル: Graphics.cs プロジェクト: carrie901/mono
		public void DrawIconUnstretched (Icon icon, Rectangle targetRect)
		{
			if (icon == null)
				throw new ArgumentNullException ("icon");

			DrawImageUnscaled (icon.GetInternalBitmap (), targetRect);
		}
コード例 #2
0
ファイル: Graphics.cs プロジェクト: carrie901/mono
		public void DrawIcon (Icon icon, int x, int y)
		{
			if (icon == null)
				throw new ArgumentNullException ("icon");

			DrawImage (icon.GetInternalBitmap (), x, y);
		}