m
This commit is contained in:
@@ -0,0 +1,224 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing.Design;
|
||||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Drawing
|
||||
{
|
||||
/// <summary>An abstract base class that provides functionality for the <see cref="T:System.Drawing.Bitmap" /> and <see cref="T:System.Drawing.Imaging.Metafile" /> descended classes.</summary>
|
||||
// Token: 0x02000022 RID: 34
|
||||
[Token(Token = "0x2000022")]
|
||||
[Editor]
|
||||
[TypeConverter]
|
||||
[ComVisible(true)]
|
||||
[Editor("System.Drawing.Design.ImageEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
|
||||
[ImmutableObject(true)]
|
||||
[TypeConverter(typeof(ImageConverter))]
|
||||
[Serializable]
|
||||
public abstract class Image : MarshalByRefObject, IDisposable, ICloneable, ISerializable
|
||||
{
|
||||
// Token: 0x060000B3 RID: 179 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000B3")]
|
||||
[Address(RVA = "0x10EC150", Offset = "0x10EB150", VA = "0x1810EC150")]
|
||||
internal Image()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060000B4 RID: 180 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000B4")]
|
||||
[Address(RVA = "0x10EC3C0", Offset = "0x10EB3C0", VA = "0x1810EC3C0")]
|
||||
internal Image(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.</summary>
|
||||
/// <param name="si">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object to populate with data.</param>
|
||||
/// <param name="context">The destination (see <see cref="T:System.Runtime.Serialization.StreamingContext" />) for this serialization.</param>
|
||||
// Token: 0x060000B5 RID: 181 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000B5")]
|
||||
[Address(RVA = "0x10F7510", Offset = "0x10F6510", VA = "0x1810F7510", Slot = "8")]
|
||||
void ISerializable.GetObjectData(SerializationInfo si, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060000B6 RID: 182 RVA: 0x000023D0 File Offset: 0x000005D0
|
||||
[Token(Token = "0x60000B6")]
|
||||
[Address(RVA = "0x10F69D0", Offset = "0x10F59D0", VA = "0x1810F69D0")]
|
||||
internal static IntPtr InitFromStream(Stream stream)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060000B7 RID: 183 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60000B7")]
|
||||
[Address(RVA = "0x10F76D0", Offset = "0x10F66D0", VA = "0x1810F76D0")]
|
||||
internal ImageCodecInfo findEncoderForFormat(ImageFormat format)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Saves this image to the specified stream in the specified format.</summary>
|
||||
/// <param name="stream">The <see cref="T:System.IO.Stream" /> where the image will be saved.</param>
|
||||
/// <param name="format">An <see cref="T:System.Drawing.Imaging.ImageFormat" /> that specifies the format of the saved image.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> or <paramref name="format" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Runtime.InteropServices.ExternalException">The image was saved with the wrong image format</exception>
|
||||
// Token: 0x060000B8 RID: 184 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000B8")]
|
||||
[Address(RVA = "0x10F72C0", Offset = "0x10F62C0", VA = "0x1810F72C0")]
|
||||
public void Save(Stream stream, ImageFormat format)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Saves this image to the specified stream, with the specified encoder and image encoder parameters.</summary>
|
||||
/// <param name="stream">The <see cref="T:System.IO.Stream" /> where the image will be saved.</param>
|
||||
/// <param name="encoder">The <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> for this <see cref="T:System.Drawing.Image" />.</param>
|
||||
/// <param name="encoderParams">An <see cref="T:System.Drawing.Imaging.EncoderParameters" /> that specifies parameters used by the image encoder.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Runtime.InteropServices.ExternalException">The image was saved with the wrong image format.</exception>
|
||||
// Token: 0x060000B9 RID: 185 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000B9")]
|
||||
[Address(RVA = "0x10F6E70", Offset = "0x10F5E70", VA = "0x1810F6E70")]
|
||||
public void Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the height, in pixels, of this <see cref="T:System.Drawing.Image" />.</summary>
|
||||
/// <returns>The height, in pixels, of this <see cref="T:System.Drawing.Image" />.</returns>
|
||||
// Token: 0x1700000E RID: 14
|
||||
// (get) Token: 0x060000BA RID: 186 RVA: 0x000023E8 File Offset: 0x000005E8
|
||||
[Token(Token = "0x1700000E")]
|
||||
[DefaultValue(false)]
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
[Browsable(false)]
|
||||
public int Height
|
||||
{
|
||||
[Token(Token = "0x60000BA")]
|
||||
[Address(RVA = "0x10F7850", Offset = "0x10F6850", VA = "0x1810F7850")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the pixel format for this <see cref="T:System.Drawing.Image" />.</summary>
|
||||
/// <returns>A <see cref="T:System.Drawing.Imaging.PixelFormat" /> that represents the pixel format for this <see cref="T:System.Drawing.Image" />.</returns>
|
||||
// Token: 0x1700000F RID: 15
|
||||
// (get) Token: 0x060000BB RID: 187 RVA: 0x00002400 File Offset: 0x00000600
|
||||
[Token(Token = "0x1700000F")]
|
||||
public PixelFormat PixelFormat
|
||||
{
|
||||
[Token(Token = "0x60000BB")]
|
||||
[Address(RVA = "0x10F7920", Offset = "0x10F6920", VA = "0x1810F7920")]
|
||||
get
|
||||
{
|
||||
return PixelFormat.Undefined;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the file format of this <see cref="T:System.Drawing.Image" />.</summary>
|
||||
/// <returns>The <see cref="T:System.Drawing.Imaging.ImageFormat" /> that represents the file format of this <see cref="T:System.Drawing.Image" />.</returns>
|
||||
// Token: 0x17000010 RID: 16
|
||||
// (get) Token: 0x060000BC RID: 188 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000010")]
|
||||
public ImageFormat RawFormat
|
||||
{
|
||||
[Token(Token = "0x60000BC")]
|
||||
[Address(RVA = "0x10F79F0", Offset = "0x10F69F0", VA = "0x1810F79F0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the width, in pixels, of this <see cref="T:System.Drawing.Image" />.</summary>
|
||||
/// <returns>The width, in pixels, of this <see cref="T:System.Drawing.Image" />.</returns>
|
||||
// Token: 0x17000011 RID: 17
|
||||
// (get) Token: 0x060000BD RID: 189 RVA: 0x00002418 File Offset: 0x00000618
|
||||
[Token(Token = "0x17000011")]
|
||||
[Browsable(false)]
|
||||
[DefaultValue(false)]
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public int Width
|
||||
{
|
||||
[Token(Token = "0x60000BD")]
|
||||
[Address(RVA = "0x10F7AF0", Offset = "0x10F6AF0", VA = "0x1810F7AF0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000012 RID: 18
|
||||
// (get) Token: 0x060000BE RID: 190 RVA: 0x00002430 File Offset: 0x00000630
|
||||
[Token(Token = "0x17000012")]
|
||||
internal IntPtr NativeObject
|
||||
{
|
||||
[Token(Token = "0x60000BE")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by this <see cref="T:System.Drawing.Image" />.</summary>
|
||||
// Token: 0x060000BF RID: 191 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000BF")]
|
||||
[Address(RVA = "0x10F68E0", Offset = "0x10F58E0", VA = "0x1810F68E0", Slot = "6")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</summary>
|
||||
// Token: 0x060000C0 RID: 192 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000C0")]
|
||||
[Address(RVA = "0x10F6950", Offset = "0x10F5950", VA = "0x1810F6950", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Drawing.Image" /> and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
||||
// Token: 0x060000C1 RID: 193 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60000C1")]
|
||||
[Address(RVA = "0x10F6780", Offset = "0x10F5780", VA = "0x1810F6780", Slot = "9")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an exact copy of this <see cref="T:System.Drawing.Image" />.</summary>
|
||||
/// <returns>The <see cref="T:System.Drawing.Image" /> this method creates, cast as an object.</returns>
|
||||
// Token: 0x060000C2 RID: 194 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60000C2")]
|
||||
[Address(RVA = "0x10F6600", Offset = "0x10F5600", VA = "0x1810F6600", Slot = "7")]
|
||||
public object Clone()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060000C3 RID: 195 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60000C3")]
|
||||
[Address(RVA = "0x10F63A0", Offset = "0x10F53A0", VA = "0x1810F63A0")]
|
||||
private object CloneFromStream()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400003F RID: 63
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400003F")]
|
||||
internal IntPtr nativeObject;
|
||||
|
||||
// Token: 0x04000040 RID: 64
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000040")]
|
||||
internal Stream stream;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user