예제 #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);
		}