4 references to Allocate
System.Drawing.Common.Tests (4)
System\Drawing\BufferedGraphicsContextTests.cs (3)
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)))
System\Drawing\BufferedGraphicsTests.cs (1)
72
using BufferedGraphics bufferedGraphics = context.
Allocate
(hdc, new Rectangle(0, 0, 3, 3));