oh dear
This commit is contained in:
@@ -0,0 +1,216 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing.Drawing2D;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Drawing
|
||||
{
|
||||
/// <summary>Encapsulates a GDI+ drawing surface. This class cannot be inherited.</summary>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</summary>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the <see cref="T:System.Drawing.Graphics" />.</summary>
|
||||
/// <param name="sourceX">The x-coordinate of the point at the upper-left corner of the source rectangle.</param>
|
||||
/// <param name="sourceY">The y-coordinate of the point at the upper-left corner of the source rectangle</param>
|
||||
/// <param name="destinationX">The x-coordinate of the point at the upper-left corner of the destination rectangle.</param>
|
||||
/// <param name="destinationY">The y-coordinate of the point at the upper-left corner of the destination rectangle.</param>
|
||||
/// <param name="blockRegionSize">The size of the area to be transferred.</param>
|
||||
/// <param name="copyPixelOperation">One of the <see cref="T:System.Drawing.CopyPixelOperation" /> values.</param>
|
||||
/// <exception cref="T:System.ComponentModel.InvalidEnumArgumentException">
|
||||
/// <paramref name="copyPixelOperation" /> is not a member of <see cref="T:System.Drawing.CopyPixelOperation" />.</exception>
|
||||
/// <exception cref="T:System.ComponentModel.Win32Exception">The operation failed.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by this <see cref="T:System.Drawing.Graphics" />.</summary>
|
||||
// Token: 0x060000A9 RID: 169 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000A9")]
|
||||
[Address(RVA = "0x685850", Offset = "0x684650", VA = "0x180685850", Slot = "6")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Draws the specified image, using its original physical size, at the location specified by a coordinate pair.</summary>
|
||||
/// <param name="image">
|
||||
/// <see cref="T:System.Drawing.Image" /> to draw.</param>
|
||||
/// <param name="x">The x-coordinate of the upper-left corner of the drawn image.</param>
|
||||
/// <param name="y">The y-coordinate of the upper-left corner of the drawn image.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="image" /> is <see langword="null" />.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Draws the specified <see cref="T:System.Drawing.Image" /> at the specified location and with the specified size.</summary>
|
||||
/// <param name="image">
|
||||
/// <see cref="T:System.Drawing.Image" /> to draw.</param>
|
||||
/// <param name="x">The x-coordinate of the upper-left corner of the drawn image.</param>
|
||||
/// <param name="y">The y-coordinate of the upper-left corner of the drawn image.</param>
|
||||
/// <param name="width">Width of the drawn image.</param>
|
||||
/// <param name="height">Height of the drawn image.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="image" /> is <see langword="null" />.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.</summary>
|
||||
// Token: 0x060000AC RID: 172 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000AC")]
|
||||
[Address(RVA = "0x685EC0", Offset = "0x684CC0", VA = "0x180685EC0")]
|
||||
public void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.</summary>
|
||||
/// <param name="intention">Member of the <see cref="T:System.Drawing.Drawing2D.FlushIntention" /> enumeration that specifies whether the method returns immediately or waits for any existing operations to finish.</param>
|
||||
// Token: 0x060000AD RID: 173 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000AD")]
|
||||
[Address(RVA = "0x685DB0", Offset = "0x684BB0", VA = "0x180685DB0")]
|
||||
public void Flush(FlushIntention intention)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a new <see cref="T:System.Drawing.Graphics" /> from the specified <see cref="T:System.Drawing.Image" />.</summary>
|
||||
/// <param name="image">
|
||||
/// <see cref="T:System.Drawing.Image" /> from which to create the new <see cref="T:System.Drawing.Graphics" />.</param>
|
||||
/// <returns>This method returns a new <see cref="T:System.Drawing.Graphics" /> for the specified <see cref="T:System.Drawing.Image" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="image" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Exception">
|
||||
/// <paramref name="image" /> has an indexed pixel format or its format is undefined.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Gets the handle to the device context associated with this <see cref="T:System.Drawing.Graphics" />.</summary>
|
||||
/// <returns>Handle to the device context associated with this <see cref="T:System.Drawing.Graphics" />.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Releases a device context handle obtained by a previous call to the <see cref="M:System.Drawing.Graphics.GetHdc" /> method of this <see cref="T:System.Drawing.Graphics" />.</summary>
|
||||
/// <param name="hdc">Handle to a device context obtained by a previous call to the <see cref="M:System.Drawing.Graphics.GetHdc" /> method of this <see cref="T:System.Drawing.Graphics" />.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases a handle to a device context.</summary>
|
||||
/// <param name="hdc">Handle to a device context.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the interpolation mode associated with this <see cref="T:System.Drawing.Graphics" />.</summary>
|
||||
/// <returns>One of the <see cref="T:System.Drawing.Drawing2D.InterpolationMode" /> values.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user