167 lines
6.1 KiB
C#
167 lines
6.1 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Drawing.Imaging
|
|
{
|
|
/// <summary>Specifies the file format of the image. Not inheritable.</summary>
|
|
// Token: 0x02000043 RID: 67
|
|
[Token(Token = "0x2000043")]
|
|
[TypeConverter]
|
|
public sealed class ImageFormat
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Imaging.ImageFormat" /> class by using the specified <see cref="T:System.Guid" /> structure.</summary>
|
|
/// <param name="guid">The <see cref="T:System.Guid" /> structure that specifies a particular image format.</param>
|
|
// Token: 0x06000157 RID: 343 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000157")]
|
|
[Address(RVA = "0x680880", Offset = "0x67F680", VA = "0x180680880")]
|
|
public ImageFormat(Guid guid)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000158 RID: 344 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000158")]
|
|
[Address(RVA = "0x6873F0", Offset = "0x6861F0", VA = "0x1806873F0")]
|
|
private ImageFormat(string name, string guid)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns a value that indicates whether the specified object is an <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that is equivalent to this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</summary>
|
|
/// <param name="o">The object to test.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <paramref name="o" /> is an <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that is equivalent to this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000159 RID: 345 RVA: 0x00002760 File Offset: 0x00000960
|
|
[Token(Token = "0x6000159")]
|
|
[Address(RVA = "0x687290", Offset = "0x686090", VA = "0x180687290", Slot = "0")]
|
|
public override bool Equals(object o)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns a hash code value that represents this object.</summary>
|
|
/// <returns>A hash code that represents this object.</returns>
|
|
// Token: 0x0600015A RID: 346 RVA: 0x00002778 File Offset: 0x00000978
|
|
[Token(Token = "0x600015A")]
|
|
[Address(RVA = "0x687320", Offset = "0x686120", VA = "0x180687320", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Converts this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object to a human-readable string.</summary>
|
|
/// <returns>A string that represents this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</returns>
|
|
// Token: 0x0600015B RID: 347 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600015B")]
|
|
[Address(RVA = "0x687330", Offset = "0x686130", VA = "0x180687330", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets a <see cref="T:System.Guid" /> structure that represents this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</summary>
|
|
/// <returns>A <see cref="T:System.Guid" /> structure that represents this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</returns>
|
|
// Token: 0x17000030 RID: 48
|
|
// (get) Token: 0x0600015C RID: 348 RVA: 0x00002790 File Offset: 0x00000990
|
|
[Token(Token = "0x17000030")]
|
|
public Guid Guid
|
|
{
|
|
[Token(Token = "0x600015C")]
|
|
[Address(RVA = "0x6808B0", Offset = "0x67F6B0", VA = "0x1806808B0")]
|
|
get
|
|
{
|
|
return default(Guid);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the Windows icon image format.</summary>
|
|
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the Windows icon image format.</returns>
|
|
// Token: 0x17000031 RID: 49
|
|
// (get) Token: 0x0600015D RID: 349 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000031")]
|
|
public static ImageFormat Icon
|
|
{
|
|
[Token(Token = "0x600015D")]
|
|
[Address(RVA = "0x687450", Offset = "0x686250", VA = "0x180687450")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the Joint Photographic Experts Group (JPEG) image format.</summary>
|
|
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the JPEG image format.</returns>
|
|
// Token: 0x17000032 RID: 50
|
|
// (get) Token: 0x0600015E RID: 350 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000032")]
|
|
public static ImageFormat Jpeg
|
|
{
|
|
[Token(Token = "0x600015E")]
|
|
[Address(RVA = "0x687610", Offset = "0x686410", VA = "0x180687610")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the format of a bitmap in memory.</summary>
|
|
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the format of a bitmap in memory.</returns>
|
|
// Token: 0x17000033 RID: 51
|
|
// (get) Token: 0x0600015F RID: 351 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000033")]
|
|
public static ImageFormat MemoryBmp
|
|
{
|
|
[Token(Token = "0x600015F")]
|
|
[Address(RVA = "0x6877D0", Offset = "0x6865D0", VA = "0x1806877D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the W3C Portable Network Graphics (PNG) image format.</summary>
|
|
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the PNG image format.</returns>
|
|
// Token: 0x17000034 RID: 52
|
|
// (get) Token: 0x06000160 RID: 352 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000034")]
|
|
public static ImageFormat Png
|
|
{
|
|
[Token(Token = "0x6000160")]
|
|
[Address(RVA = "0x687990", Offset = "0x686790", VA = "0x180687990")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040001A9 RID: 425
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40001A9")]
|
|
private Guid guid;
|
|
|
|
// Token: 0x040001AA RID: 426
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40001AA")]
|
|
private string name;
|
|
|
|
// Token: 0x040001AB RID: 427
|
|
[Token(Token = "0x40001AB")]
|
|
private static object locker;
|
|
|
|
// Token: 0x040001AC RID: 428
|
|
[Token(Token = "0x40001AC")]
|
|
private static ImageFormat PngImageFormat;
|
|
|
|
// Token: 0x040001AD RID: 429
|
|
[Token(Token = "0x40001AD")]
|
|
private static ImageFormat MemoryBmpImageFormat;
|
|
|
|
// Token: 0x040001AE RID: 430
|
|
[Token(Token = "0x40001AE")]
|
|
private static ImageFormat IconImageFormat;
|
|
|
|
// Token: 0x040001AF RID: 431
|
|
[Token(Token = "0x40001AF")]
|
|
private static ImageFormat JpegImageFormat;
|
|
}
|
|
}
|