BufferedGraphicsContext
Provides methods for creating graphics buffers that can be used for double buffering.
using System.Runtime.CompilerServices;
namespace System.Drawing
{
public sealed class BufferedGraphicsContext : IDisposable
{
public Size MaximumBuffer {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
set {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public BufferedGraphicsContext()
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
[System.Runtime.CompilerServices.NullableContext(1)]
public BufferedGraphics Allocate(Graphics targetGraphics, Rectangle targetRectangle)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
[System.Runtime.CompilerServices.NullableContext(1)]
public BufferedGraphics Allocate(IntPtr targetDC, Rectangle targetRectangle)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public void Dispose()
{
}
~BufferedGraphicsContext()
{
}
public void Invalidate()
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
}