using System;
using System.ComponentModel;
using System.Drawing.Drawing2D;
using Cpp2IlInjected;
namespace System.Drawing
{
/// Encapsulates a GDI+ drawing surface. This class cannot be inherited.
// Token: 0x02000021 RID: 33
[Token(Token = "0x2000021")]
public sealed class Graphics : MarshalByRefObject, IDisposable
{
// Token: 0x060000A2 RID: 162 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A2")]
[Address(RVA = "0x686580", Offset = "0x685380", VA = "0x180686580")]
internal Graphics(IntPtr nativeGraphics)
{
}
/// Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
// Token: 0x060000A3 RID: 163 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A3")]
[Address(RVA = "0x685D40", Offset = "0x684B40", VA = "0x180685D40", Slot = "1")]
protected override void Finalize()
{
}
// Token: 0x1700000C RID: 12
// (get) Token: 0x060000A4 RID: 164 RVA: 0x000023A0 File Offset: 0x000005A0
[Token(Token = "0x1700000C")]
internal IntPtr NativeObject
{
[Token(Token = "0x60000A4")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return 0;
}
}
/// Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the .
/// The x-coordinate of the point at the upper-left corner of the source rectangle.
/// The y-coordinate of the point at the upper-left corner of the source rectangle
/// The x-coordinate of the point at the upper-left corner of the destination rectangle.
/// The y-coordinate of the point at the upper-left corner of the destination rectangle.
/// The size of the area to be transferred.
/// One of the values.
///
/// is not a member of .
/// The operation failed.
// Token: 0x060000A5 RID: 165 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A5")]
[Address(RVA = "0x685590", Offset = "0x684390", VA = "0x180685590")]
[MonoLimitation("Works on Win32 and (for CopyPixelOperation.SourceCopy only) on X11 but not on Cocoa and Quartz")]
public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
{
}
// Token: 0x060000A6 RID: 166 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A6")]
[Address(RVA = "0x684720", Offset = "0x683520", VA = "0x180684720")]
private void CopyFromScreenWin32(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
{
}
// Token: 0x060000A7 RID: 167 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A7")]
[Address(RVA = "0x6846D0", Offset = "0x6834D0", VA = "0x1806846D0")]
private void CopyFromScreenMac(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
{
}
// Token: 0x060000A8 RID: 168 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A8")]
[Address(RVA = "0x684AD0", Offset = "0x6838D0", VA = "0x180684AD0")]
private void CopyFromScreenX11(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
{
}
/// Releases all resources used by this .
// Token: 0x060000A9 RID: 169 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A9")]
[Address(RVA = "0x685850", Offset = "0x684650", VA = "0x180685850", Slot = "6")]
public void Dispose()
{
}
/// Draws the specified image, using its original physical size, at the location specified by a coordinate pair.
///
/// to draw.
/// The x-coordinate of the upper-left corner of the drawn image.
/// The y-coordinate of the upper-left corner of the drawn image.
///
/// is .
// Token: 0x060000AA RID: 170 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000AA")]
[Address(RVA = "0x685C10", Offset = "0x684A10", VA = "0x180685C10")]
public void DrawImage(Image image, int x, int y)
{
}
/// Draws the specified at the specified location and with the specified size.
///
/// to draw.
/// The x-coordinate of the upper-left corner of the drawn image.
/// The y-coordinate of the upper-left corner of the drawn image.
/// Width of the drawn image.
/// Height of the drawn image.
///
/// is .
// Token: 0x060000AB RID: 171 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000AB")]
[Address(RVA = "0x685AC0", Offset = "0x6848C0", VA = "0x180685AC0")]
public void DrawImage(Image image, int x, int y, int width, int height)
{
}
/// Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.
// Token: 0x060000AC RID: 172 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000AC")]
[Address(RVA = "0x685EC0", Offset = "0x684CC0", VA = "0x180685EC0")]
public void Flush()
{
}
/// Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.
/// Member of the enumeration that specifies whether the method returns immediately or waits for any existing operations to finish.
// Token: 0x060000AD RID: 173 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000AD")]
[Address(RVA = "0x685DB0", Offset = "0x684BB0", VA = "0x180685DB0")]
public void Flush(FlushIntention intention)
{
}
/// Creates a new from the specified .
///
/// from which to create the new .
/// This method returns a new for the specified .
///
/// is .
///
/// has an indexed pixel format or its format is undefined.
// Token: 0x060000AE RID: 174 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000AE")]
[Address(RVA = "0x685FC0", Offset = "0x684DC0", VA = "0x180685FC0")]
public static Graphics FromImage(Image image)
{
return null;
}
/// Gets the handle to the device context associated with this .
/// Handle to the device context associated with this .
// Token: 0x060000AF RID: 175 RVA: 0x000023B8 File Offset: 0x000005B8
[Token(Token = "0x60000AF")]
[Address(RVA = "0x686380", Offset = "0x685180", VA = "0x180686380", Slot = "7")]
public IntPtr GetHdc()
{
return 0;
}
/// Releases a device context handle obtained by a previous call to the method of this .
/// Handle to a device context obtained by a previous call to the method of this .
// Token: 0x060000B0 RID: 176 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000B0")]
[Address(RVA = "0x686450", Offset = "0x685250", VA = "0x180686450")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void ReleaseHdc(IntPtr hdc)
{
}
/// Releases a handle to a device context.
/// Handle to a device context.
// Token: 0x060000B1 RID: 177 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000B1")]
[Address(RVA = "0x686450", Offset = "0x685250", VA = "0x180686450")]
[MonoLimitation("Can only be used when hdc was provided by Graphics.GetHdc() method")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void ReleaseHdcInternal(IntPtr hdc)
{
}
/// Gets or sets the interpolation mode associated with this .
/// One of the values.
// Token: 0x1700000D RID: 13
// (set) Token: 0x060000B2 RID: 178 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700000D")]
public InterpolationMode InterpolationMode
{
[Token(Token = "0x60000B2")]
[Address(RVA = "0x6865D0", Offset = "0x6853D0", VA = "0x1806865D0")]
set
{
}
}
// Token: 0x0400003B RID: 59
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400003B")]
internal IntPtr nativeObject;
// Token: 0x0400003C RID: 60
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400003C")]
internal IMacContext maccontext;
// Token: 0x0400003D RID: 61
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400003D")]
private bool disposed;
// Token: 0x0400003E RID: 62
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400003E")]
private IntPtr deviceContextHdc;
}
}