1 instantiation of BufferedGraphics
System.Drawing.Common (1)
System\Drawing\BufferedGraphicsContext.cs (1)
133_buffer = new BufferedGraphics(surface, this, targetGraphics, targetDC, _targetLoc, _virtualSize);
23 references to BufferedGraphics
System.Drawing (1)
System.Drawing.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.BufferedGraphics))]
System.Drawing.Common (6)
System\Drawing\BufferedGraphicsContext.cs (6)
23private BufferedGraphics? _buffer; 73public BufferedGraphics Allocate(Graphics targetGraphics, Rectangle targetRectangle) 86public BufferedGraphics Allocate(IntPtr targetDC, Rectangle targetRectangle) 99private BufferedGraphics AllocBuffer(Graphics? targetGraphics, HDC targetDC, Rectangle targetRectangle) 148private static BufferedGraphics AllocBufferInTempManager(Graphics? targetGraphics, HDC targetDC, Rectangle targetRectangle) 151BufferedGraphics? tempBuffer = null;
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)
11861BufferedGraphics? bufferedGraphics = null; 11880using (BufferedGraphics bufferedGraphics2 = BufferContext.Allocate(dc, band))