📷 A modern, cross-platform, 2D Graphics library for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
947 B

// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// An interface for internal operations we don't want to expose on <see cref="IImageProcessingContext"/>.
/// </summary>
/// <typeparam name="TPixel">The pixel type.</typeparam>
internal interface IInternalImageProcessingContext<TPixel> : IImageProcessingContext
where TPixel : unmanaged, IPixel<TPixel>
{
/// <summary>
/// Returns the result image to return by <see cref="ProcessingExtensions.Clone(Image, Configuration, System.Action{IImageProcessingContext})"/>
/// (and other overloads).
/// </summary>
/// <returns>The current image or a new image depending on whether it is requested to mutate the source image.</returns>
Image<TPixel> GetResultImage();
}
}