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