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
+112
View File
@@ -0,0 +1,112 @@
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Drawing
{
/// <summary>Stores an ordered pair of integers, which specify a <see cref="P:System.Drawing.Size.Height" /> and <see cref="P:System.Drawing.Size.Width" />.</summary>
// Token: 0x0200002B RID: 43
[Token(Token = "0x200002B")]
[TypeConverter]
[TypeConverter(typeof(SizeConverter))]
[ComVisible(true)]
[Serializable]
public struct Size
{
/// <summary>Tests whether two <see cref="T:System.Drawing.Size" /> structures are equal.</summary>
/// <param name="sz1">The <see cref="T:System.Drawing.Size" /> structure on the left side of the equality operator.</param>
/// <param name="sz2">The <see cref="T:System.Drawing.Size" /> structure on the right of the equality operator.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="sz1" /> and <paramref name="sz2" /> have equal width and height; otherwise, <see langword="false" />.</returns>
// Token: 0x060000DA RID: 218 RVA: 0x000025B0 File Offset: 0x000007B0
[Token(Token = "0x60000DA")]
[Address(RVA = "0xFF3940", Offset = "0xFF2940", VA = "0x180FF3940")]
public static bool operator ==(Size sz1, Size sz2)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Size" /> structure from the specified dimensions.</summary>
/// <param name="width">The width component of the new <see cref="T:System.Drawing.Size" />.</param>
/// <param name="height">The height component of the new <see cref="T:System.Drawing.Size" />.</param>
// Token: 0x060000DB RID: 219 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000DB")]
[Address(RVA = "0x5AB1F0", Offset = "0x5AA1F0", VA = "0x1805AB1F0")]
public Size(int width, int height)
{
}
/// <summary>Gets or sets the horizontal component of this <see cref="T:System.Drawing.Size" /> structure.</summary>
/// <returns>The horizontal component of this <see cref="T:System.Drawing.Size" /> structure, typically measured in pixels.</returns>
// Token: 0x1700001B RID: 27
// (get) Token: 0x060000DC RID: 220 RVA: 0x000025C8 File Offset: 0x000007C8
[Token(Token = "0x1700001B")]
public int Width
{
[Token(Token = "0x60000DC")]
[Address(RVA = "0x5C1530", Offset = "0x5C0530", VA = "0x1805C1530")]
get
{
return 0;
}
}
/// <summary>Gets or sets the vertical component of this <see cref="T:System.Drawing.Size" /> structure.</summary>
/// <returns>The vertical component of this <see cref="T:System.Drawing.Size" /> structure, typically measured in pixels.</returns>
// Token: 0x1700001C RID: 28
// (get) Token: 0x060000DD RID: 221 RVA: 0x000025E0 File Offset: 0x000007E0
[Token(Token = "0x1700001C")]
public int Height
{
[Token(Token = "0x60000DD")]
[Address(RVA = "0x5AAE10", Offset = "0x5A9E10", VA = "0x1805AAE10")]
get
{
return 0;
}
}
/// <summary>Tests to see whether the specified object is a <see cref="T:System.Drawing.Size" /> structure with the same dimensions as this <see cref="T:System.Drawing.Size" /> structure.</summary>
/// <param name="obj">The <see cref="T:System.Object" /> to test.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Drawing.Size" /> and has the same width and height as this <see cref="T:System.Drawing.Size" />; otherwise, <see langword="false" />.</returns>
// Token: 0x060000DE RID: 222 RVA: 0x000025F8 File Offset: 0x000007F8
[Token(Token = "0x60000DE")]
[Address(RVA = "0x10FCFF0", Offset = "0x10FBFF0", VA = "0x1810FCFF0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a hash code for this <see cref="T:System.Drawing.Size" /> structure.</summary>
/// <returns>An integer value that specifies a hash value for this <see cref="T:System.Drawing.Size" /> structure.</returns>
// Token: 0x060000DF RID: 223 RVA: 0x00002610 File Offset: 0x00000810
[Token(Token = "0x60000DF")]
[Address(RVA = "0x10FC710", Offset = "0x10FB710", VA = "0x1810FC710", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Creates a human-readable string that represents this <see cref="T:System.Drawing.Size" /> structure.</summary>
/// <returns>A string that represents this <see cref="T:System.Drawing.Size" />.</returns>
// Token: 0x060000E0 RID: 224 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000E0")]
[Address(RVA = "0x10FD080", Offset = "0x10FC080", VA = "0x1810FD080", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x040000F7 RID: 247
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40000F7")]
private int width;
// Token: 0x040000F8 RID: 248
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4")]
[Token(Token = "0x40000F8")]
private int height;
}
}