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)
23
private
BufferedGraphics
? _buffer;
73
public
BufferedGraphics
Allocate(Graphics targetGraphics, Rectangle targetRectangle)
86
public
BufferedGraphics
Allocate(IntPtr targetDC, Rectangle targetRectangle)
99
private
BufferedGraphics
AllocBuffer(Graphics? targetGraphics, HDC targetDC, Rectangle targetRectangle)
148
private static
BufferedGraphics
AllocBufferInTempManager(Graphics? targetGraphics, HDC targetDC, Rectangle targetRectangle)
151
BufferedGraphics
? tempBuffer = null;
System.Drawing.Common.Tests (14)
System\Drawing\BufferedGraphicsContextTests.cs (7)
23
using
BufferedGraphics
bufferedGraphics = context.Allocate(graphics, Rectangle.Empty);
35
using
BufferedGraphics
bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, context.MaximumBuffer.Width - 1, context.MaximumBuffer.Height - 1));
47
using
BufferedGraphics
bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, context.MaximumBuffer.Width + 1, context.MaximumBuffer.Height + 1));
62
using (
BufferedGraphics
bufferedGraphics = context.Allocate(hdc, Rectangle.Empty))
84
using (
BufferedGraphics
bufferedGraphics = context.Allocate(hdc, new Rectangle(0, 0, context.MaximumBuffer.Width - 1, context.MaximumBuffer.Height - 1)))
106
using (
BufferedGraphics
bufferedGraphics = context.Allocate(hdc, new Rectangle(0, 0, context.MaximumBuffer.Width + 1, context.MaximumBuffer.Height + 1)))
130
using
BufferedGraphics
graphics = context.Allocate(null, Rectangle.Empty);
System\Drawing\BufferedGraphicsTests.cs (7)
14
BufferedGraphics
graphics = context.Allocate(targetGraphics, new Rectangle(0, 0, 1, 1));
29
BufferedGraphics
graphics = context.Allocate(targetGraphics, new Rectangle(0, 0, context.MaximumBuffer.Width + 1, context.MaximumBuffer.Height + 1));
49
using
BufferedGraphics
bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, 3, 3));
72
using
BufferedGraphics
bufferedGraphics = context.Allocate(hdc, new Rectangle(0, 0, 3, 3));
94
using
BufferedGraphics
graphics = context.Allocate(originalGraphics, new Rectangle(0, 0, 3, 3));
111
using
BufferedGraphics
bufferedGraphics = context.Allocate(graphics, new Rectangle(0, 0, 1, 1));
119
using
BufferedGraphics
graphics = context.Allocate(null, Rectangle.Empty);
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
11861
BufferedGraphics
? bufferedGraphics = null;
11880
using (
BufferedGraphics
bufferedGraphics2 = BufferContext.Allocate(dc, band))