This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+84
View File
@@ -0,0 +1,84 @@
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>Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. A <see cref="T:System.Drawing.Bitmap" /> is an object used to work with images defined by pixel data.</summary>
// Token: 0x02000008 RID: 8
[Token(Token = "0x2000008")]
[Editor]
[Editor("System.Drawing.Design.BitmapEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
[ComVisible(true)]
[Serializable]
public sealed class Bitmap : Image
{
// Token: 0x0600000C RID: 12 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600000C")]
[Address(RVA = "0x10EC150", Offset = "0x10EB150", VA = "0x1810EC150")]
private Bitmap()
{
}
// Token: 0x0600000D RID: 13 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600000D")]
[Address(RVA = "0x10EC2C0", Offset = "0x10EB2C0", VA = "0x1810EC2C0")]
internal Bitmap(IntPtr ptr)
{
}
// Token: 0x0600000E RID: 14 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600000E")]
[Address(RVA = "0x10EC310", Offset = "0x10EB310", VA = "0x1810EC310")]
internal Bitmap(IntPtr ptr, Stream stream)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class with the specified size.</summary>
/// <param name="width">The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />.</param>
/// <param name="height">The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />.</param>
/// <exception cref="T:System.Exception">The operation failed.</exception>
// Token: 0x0600000F RID: 15 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600000F")]
[Address(RVA = "0x10EC190", Offset = "0x10EB190", VA = "0x1810EC190")]
public Bitmap(int width, int height)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class with the specified size and format.</summary>
/// <param name="width">The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />.</param>
/// <param name="height">The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />.</param>
/// <param name="format">The pixel format for the new <see cref="T:System.Drawing.Bitmap" />. This must specify a value that begins with Format.</param>
/// <exception cref="T:System.ArgumentException">A <see cref="T:System.Drawing.Imaging.PixelFormat" /> value is specified whose name does not start with Format. For example, specifying <see cref="F:System.Drawing.Imaging.PixelFormat.Gdi" /> will cause an <see cref="T:System.ArgumentException" />, but <see cref="F:System.Drawing.Imaging.PixelFormat.Format48bppRgb" /> will not.</exception>
// Token: 0x06000010 RID: 16 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000010")]
[Address(RVA = "0x10EC010", Offset = "0x10EB010", VA = "0x1810EC010")]
public Bitmap(int width, int height, PixelFormat format)
{
}
// Token: 0x06000011 RID: 17 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000011")]
[Address(RVA = "0x10EC3C0", Offset = "0x10EB3C0", VA = "0x1810EC3C0")]
private Bitmap(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Sets the color of the specified pixel in this <see cref="T:System.Drawing.Bitmap" />.</summary>
/// <param name="x">The x-coordinate of the pixel to set.</param>
/// <param name="y">The y-coordinate of the pixel to set.</param>
/// <param name="color">A <see cref="T:System.Drawing.Color" /> structure that represents the color to assign to the specified pixel.</param>
/// <exception cref="T:System.Exception">The operation failed.</exception>
// Token: 0x06000012 RID: 18 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000012")]
[Address(RVA = "0x10EBE90", Offset = "0x10EAE90", VA = "0x1810EBE90")]
public void SetPixel(int x, int y, Color color)
{
}
}
}