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
{
/// An abstract base class that provides functionality for the and descended classes.
// 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 = "0x67D310", Offset = "0x67C110", VA = "0x18067D310")]
internal Image()
{
}
// Token: 0x060000B4 RID: 180 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000B4")]
[Address(RVA = "0x67D580", Offset = "0x67C380", VA = "0x18067D580")]
internal Image(SerializationInfo info, StreamingContext context)
{
}
/// Populates a with the data needed to serialize the target object.
/// The object to populate with data.
/// The destination (see ) for this serialization.
// Token: 0x060000B5 RID: 181 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000B5")]
[Address(RVA = "0x688CC0", Offset = "0x687AC0", VA = "0x180688CC0", Slot = "8")]
void ISerializable.GetObjectData(SerializationInfo si, StreamingContext context)
{
}
// Token: 0x060000B6 RID: 182 RVA: 0x000023D0 File Offset: 0x000005D0
[Token(Token = "0x60000B6")]
[Address(RVA = "0x688180", Offset = "0x686F80", VA = "0x180688180")]
internal static IntPtr InitFromStream(Stream stream)
{
return 0;
}
// Token: 0x060000B7 RID: 183 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000B7")]
[Address(RVA = "0x688E80", Offset = "0x687C80", VA = "0x180688E80")]
internal ImageCodecInfo findEncoderForFormat(ImageFormat format)
{
return null;
}
/// Saves this image to the specified stream in the specified format.
/// The where the image will be saved.
/// An that specifies the format of the saved image.
///
/// or is .
/// The image was saved with the wrong image format
// Token: 0x060000B8 RID: 184 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000B8")]
[Address(RVA = "0x688A70", Offset = "0x687870", VA = "0x180688A70")]
public void Save(Stream stream, ImageFormat format)
{
}
/// Saves this image to the specified stream, with the specified encoder and image encoder parameters.
/// The where the image will be saved.
/// The for this .
/// An that specifies parameters used by the image encoder.
///
/// is .
/// The image was saved with the wrong image format.
// Token: 0x060000B9 RID: 185 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000B9")]
[Address(RVA = "0x688620", Offset = "0x687420", VA = "0x180688620")]
public void Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
{
}
/// Gets the height, in pixels, of this .
/// The height, in pixels, of this .
// 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 = "0x689000", Offset = "0x687E00", VA = "0x180689000")]
get
{
return 0;
}
}
/// Gets the pixel format for this .
/// A that represents the pixel format for this .
// 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 = "0x6890D0", Offset = "0x687ED0", VA = "0x1806890D0")]
get
{
return PixelFormat.Undefined;
}
}
/// Gets the file format of this .
/// The that represents the file format of this .
// 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 = "0x6891A0", Offset = "0x687FA0", VA = "0x1806891A0")]
get
{
return null;
}
}
/// Gets the width, in pixels, of this .
/// The width, in pixels, of this .
// 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 = "0x6892A0", Offset = "0x6880A0", VA = "0x1806892A0")]
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 = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return 0;
}
}
/// Releases all resources used by this .
// Token: 0x060000BF RID: 191 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000BF")]
[Address(RVA = "0x688090", Offset = "0x686E90", VA = "0x180688090", Slot = "6")]
public void Dispose()
{
}
/// Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
// Token: 0x060000C0 RID: 192 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000C0")]
[Address(RVA = "0x688100", Offset = "0x686F00", VA = "0x180688100", Slot = "1")]
protected override void Finalize()
{
}
/// Releases the unmanaged resources used by the and optionally releases the managed resources.
///
/// to release both managed and unmanaged resources; to release only unmanaged resources.
// Token: 0x060000C1 RID: 193 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000C1")]
[Address(RVA = "0x687F30", Offset = "0x686D30", VA = "0x180687F30", Slot = "9")]
protected virtual void Dispose(bool disposing)
{
}
/// Creates an exact copy of this .
/// The this method creates, cast as an object.
// Token: 0x060000C2 RID: 194 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000C2")]
[Address(RVA = "0x687DB0", Offset = "0x686BB0", VA = "0x180687DB0", Slot = "7")]
public object Clone()
{
return null;
}
// Token: 0x060000C3 RID: 195 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000C3")]
[Address(RVA = "0x687B50", Offset = "0x686950", VA = "0x180687B50")]
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;
}
}