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)
228
public System.Drawing.
BufferedGraphics
Allocate(System.Drawing.Graphics targetGraphics, System.Drawing.Rectangle targetRectangle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
229
public 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)
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)
11719
BufferedGraphics
? bufferedGraphics = null;
11738
using (
BufferedGraphics
bufferedGraphics2 = BufferContext.Allocate(dc, band))