340 references to _rectangle
System.Drawing.Common.Tests (340)
System\Drawing\Imaging\ImageAttributesTests.cs (340)
71using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 78graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, clone); 95using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 100graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 103graphics.FillRectangle(brush, _rectangle); 104graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 148using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 153graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 158graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 172using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 180graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 183graphics.FillRectangle(brush, _rectangle); 184graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 187graphics.DrawRectangle(pen, _rectangle); 188graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 203using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 211graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 274using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 282graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 299using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 309graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 312graphics.FillRectangle(brush, _rectangle); 313graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 316graphics.DrawRectangle(pen, _rectangle); 317graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 343using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 349graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 366using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 372graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 393using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 399graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 422using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 428graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 483using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 488graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 496using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 501graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 509using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 514graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 538using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 544graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 552using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 558graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 582using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 587graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 595using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 600graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 608using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 613graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 639using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 646graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 670using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 677graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 685using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 693graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 718using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 727graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 735using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 744graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 752using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 761graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 786using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 793graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 801using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 808graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 816using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 822graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 849using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 856graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 864using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 871graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 905using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 911graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 931using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 937graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 961using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 967graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1010using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1017graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1025using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1032graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1057using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1063graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1123using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1131graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1139using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1147graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1172using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1177graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1185using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1190graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1198using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1203graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1249using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1255graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1263using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1269graphics.DrawImage(bitmap, _rectangle, _rectangle.X, _rectangle.Y, _rectangle.Width, _rectangle.Height, GraphicsUnit.Pixel, imageAttr); 1308using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height); 1323using Bitmap bitmap = new(_rectangle.Width, _rectangle.Height);