19 references to BufferedGraphics
System.Drawing (1)
System.Drawing.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.BufferedGraphics))]
System.Drawing.Common (2)
Special\NotSupported.cs (2)
228public System.Drawing.BufferedGraphics Allocate(System.Drawing.Graphics targetGraphics, System.Drawing.Rectangle targetRectangle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 229public System.Drawing.BufferedGraphics Allocate(System.IntPtr targetDC, System.Drawing.Rectangle targetRectangle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (14)
System\Drawing\BufferedGraphicsContextTests.cs (7)
23using BufferedGraphics bufferedGraphics = context.Allocate(graphics, Rectangle.Empty); 35using BufferedGraphics bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, context.MaximumBuffer.Width - 1, context.MaximumBuffer.Height - 1)); 47using BufferedGraphics bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, context.MaximumBuffer.Width + 1, context.MaximumBuffer.Height + 1)); 62using (BufferedGraphics bufferedGraphics = context.Allocate(hdc, Rectangle.Empty)) 84using (BufferedGraphics bufferedGraphics = context.Allocate(hdc, new Rectangle(0, 0, context.MaximumBuffer.Width - 1, context.MaximumBuffer.Height - 1))) 106using (BufferedGraphics bufferedGraphics = context.Allocate(hdc, new Rectangle(0, 0, context.MaximumBuffer.Width + 1, context.MaximumBuffer.Height + 1))) 130using BufferedGraphics graphics = context.Allocate(null, Rectangle.Empty);
System\Drawing\BufferedGraphicsTests.cs (7)
14BufferedGraphics graphics = context.Allocate(targetGraphics, new Rectangle(0, 0, 1, 1)); 29BufferedGraphics graphics = context.Allocate(targetGraphics, new Rectangle(0, 0, context.MaximumBuffer.Width + 1, context.MaximumBuffer.Height + 1)); 49using BufferedGraphics bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, 3, 3)); 72using BufferedGraphics bufferedGraphics = context.Allocate(hdc, new Rectangle(0, 0, 3, 3)); 94using BufferedGraphics graphics = context.Allocate(originalGraphics, new Rectangle(0, 0, 3, 3)); 111using BufferedGraphics bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, 1, 1)); 119using BufferedGraphics graphics = context.Allocate(null, Rectangle.Empty);
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
11720BufferedGraphics? bufferedGraphics = null; 11739using (BufferedGraphics bufferedGraphics2 = BufferContext.Allocate(dc, band))