67 lines
3.2 KiB
C#
67 lines
3.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Drawing.Imaging
|
|
{
|
|
/// <summary>Used to pass a value, or an array of values, to an image encoder.</summary>
|
|
// Token: 0x0200003C RID: 60
|
|
[Token(Token = "0x200003C")]
|
|
[StructLayout(0)]
|
|
public sealed class EncoderParameter : IDisposable
|
|
{
|
|
/// <summary>Allows an <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object to attempt to free resources and perform other cleanup operations before the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object is reclaimed by garbage collection.</summary>
|
|
// Token: 0x0600013B RID: 315 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600013B")]
|
|
[Address(RVA = "0x10EE5A0", Offset = "0x10ED5A0", VA = "0x1810EE5A0", Slot = "1")]
|
|
protected override void Finalize()
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases all resources used by this <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object.</summary>
|
|
// Token: 0x0600013C RID: 316 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600013C")]
|
|
[Address(RVA = "0x10EE530", Offset = "0x10ED530", VA = "0x1810EE530", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600013D RID: 317 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600013D")]
|
|
[Address(RVA = "0x10EE4B0", Offset = "0x10ED4B0", VA = "0x1810EE4B0")]
|
|
private void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> class with the specified <see cref="T:System.Drawing.Imaging.Encoder" /> object and one 64-bit integer. Sets the <see cref="P:System.Drawing.Imaging.EncoderParameter.ValueType" /> property to <see cref="F:System.Drawing.Imaging.EncoderParameterValueType.ValueTypeLong" /> (32 bits), and sets the <see cref="P:System.Drawing.Imaging.EncoderParameter.NumberOfValues" /> property to 1.</summary>
|
|
/// <param name="encoder">An <see cref="T:System.Drawing.Imaging.Encoder" /> object that encapsulates the globally unique identifier of the parameter category.</param>
|
|
/// <param name="value">A 64-bit integer that specifies the value stored in the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object. Must be nonnegative. This parameter is converted to a 32-bit integer before it is stored in the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object.</param>
|
|
// Token: 0x0600013E RID: 318 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600013E")]
|
|
[Address(RVA = "0x10EE610", Offset = "0x10ED610", VA = "0x1810EE610")]
|
|
public EncoderParameter(Encoder encoder, long value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000161 RID: 353
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000161")]
|
|
private Guid _parameterGuid;
|
|
|
|
// Token: 0x04000162 RID: 354
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000162")]
|
|
private int _numberOfValues;
|
|
|
|
// Token: 0x04000163 RID: 355
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4000163")]
|
|
private EncoderParameterValueType _parameterValueType;
|
|
|
|
// Token: 0x04000164 RID: 356
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000164")]
|
|
private IntPtr _parameterValue;
|
|
}
|
|
}
|