5 references to DrawStretched
System.Windows.Forms.Design (1)
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
72cursor.DrawStretched(e.Graphics, new Rectangle(e.Bounds.X + 2, e.Bounds.Y + 2, 32, e.Bounds.Height - 4));
System.Windows.Forms.Tests (4)
System\Windows\Forms\CursorTests.cs (4)
418cursor.DrawStretched(graphics, rectangle); 428cursor.DrawStretched(graphics, rectangle); 435Assert.Throws<ArgumentNullException>("graphics", () => cursor.DrawStretched(null, new Rectangle(Point.Empty, cursor.Size))); 445Assert.Throws<ArgumentException>(() => cursor.DrawStretched(graphics, new Rectangle(Point.Empty, cursor.Size)));