Method ConvertColors
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Framework.dll
ConvertColors(IDeviceContext, ReadOnlySpan<ColorRgba128Float>, IDeviceColorContext?, Span<ColorRgba128Float>, IDeviceColorContext?)
public static void ConvertColors(this IDeviceContext deviceContext, ReadOnlySpan<ColorRgba128Float> sourceColors, IDeviceColorContext? sourceColorContext, Span<ColorRgba128Float> destinationColors, IDeviceColorContext? destinationColorContext)
Parameters
deviceContext
IDeviceContextsourceColors
ReadOnlySpan<ColorRgba128Float>sourceColorContext
IDeviceColorContextdestinationColors
Span<ColorRgba128Float>destinationColorContext
IDeviceColorContext
ConvertColors(IDeviceContext, IReadOnlyList<ColorRgba128Float>, IDeviceColorContext?, IDeviceColorContext?)
public static IReadOnlyList<ColorRgba128Float> ConvertColors(this IDeviceContext deviceContext, IReadOnlyList<ColorRgba128Float> sourceColors, IDeviceColorContext? sourceColorContext, IDeviceColorContext? destinationColorContext)
Parameters
deviceContext
IDeviceContextsourceColors
IReadOnlyList<ColorRgba128Float>sourceColorContext
IDeviceColorContextdestinationColorContext
IDeviceColorContext