33 references to Graphics
System.Windows.Forms (33)
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (8)
95 e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - 1)); 139 Graphics g = e.Graphics; 175 e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, 0, 0, e.Item.Width - 1, e.Item.Height - 1); 183 Graphics g = e.Graphics; 312 Graphics g = e.Graphics; 357 Graphics g = e.Graphics; 392Graphics g = e.Graphics; 419 Graphics g = e.Graphics;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (14)
148Graphics g = e.Graphics; 218RenderPressedGradient(e.Graphics, bounds); 232RenderSeparatorInternal(e.Graphics, e.Item, new Rectangle(Point.Empty, e.Item.Size), e.Vertical); 243Graphics g = e.Graphics; 270RenderPressedGradient(e.Graphics, bounds); 291ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0,0,item.Width, item.Height), item.BorderStyle, (Border3DSide)item.BorderSides); 313Graphics g = e.Graphics; 491Graphics g = e.Graphics; 673e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel); 676e.Graphics.DrawImage(image, imageRect); 911Graphics g = e.Graphics; 956Graphics g = e.Graphics; 1054Graphics g = e.Graphics; 1369Graphics g = e.Graphics;
winforms\Managed\System\WinForms\ToolStripRenderer.cs (4)
878e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty,imageRect.Size), GraphicsUnit.Pixel); 882e.Graphics.DrawImage(image, imageRect); 907e.Graphics.DrawImage(image, imageRect, 0, 0, imageRect.Width, 925Graphics g = e.Graphics;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (7)
334Graphics g = e.Graphics; 365Graphics g = e.Graphics; 437RenderSeparatorInternal(e.Graphics, e.Item, new Rectangle(Point.Empty, e.Item.Size), e.Vertical); 446ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0,0,item.Width-1, item.Height-1), item.BorderStyle, (Border3DSide)item.BorderSides); 456Graphics g = e.Graphics; 565Graphics g = e.Graphics; 700Graphics g = e.Graphics;