// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Numerics;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components
{
///
/// Represents a component block
///
internal class PdfJsComponent : IDisposable
{
#pragma warning disable SA1401
///
/// Gets or sets the output
///
public IBuffer Output;
///
/// Gets or sets the scaling factors
///
public Vector2 Scale;
///
/// Gets or sets the number of blocks per line
///
public int BlocksPerLine;
///
/// Gets or sets the number of blocks per column
///
public int BlocksPerColumn;
///
public void Dispose()
{
this.Output?.Dispose();
this.Output = null;
}
}
}