System\Drawing\BufferedGraphicsTests.cs (6)
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));
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);