[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.DiscreteTransfer

Class DiscreteTransfer

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Builtin DiscreteTransfer effect.

public class DiscreteTransfer : Effect, IDisposable, IUnknown
Inheritance
object
DiscreteTransfer
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DiscreteTransfer(IntPtr)

Initializes a new instance of the DiscreteTransfer class.

public DiscreteTransfer(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

AlphaDisable

If you set this to TRUE the effect does not apply the transfer function to the Alpha channel. If you set this to FALSE the effect applies the AlphaDiscreteTransfer function to the Alpha channel.

public bool AlphaDisable { get; set; }

Property Value

bool

AlphaTable

The list of values that define the transfer function for the Alpha channel.

public float[] AlphaTable { get; set; }

Property Value

float[]

BlueDisable

If you set this to TRUE the effect does not apply the transfer function to the Blue channel. If you set this to FALSE the effect applies the BlueDiscreteTransfer function to the Blue channel.

public bool BlueDisable { get; set; }

Property Value

bool

BlueTable

The list of values that define the transfer function for the Blue channel.

public float[] BlueTable { get; set; }

Property Value

float[]

ClampOutput

Whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph. The effect clamps the values before it premultiplies the alpha . if you set this to TRUE the effect will clamp the values. If you set this to FALSE, the effect will not clamp the color values, but other effects and the output surface may clamp the values if they are not of high enough precision.

public bool ClampOutput { get; set; }

Property Value

bool

GreenDisable

If you set this to TRUE the effect does not apply the transfer function to the Green channel. If you set this to FALSE the effect applies the GreenDiscreteTransfer function to the Green channel.

public bool GreenDisable { get; set; }

Property Value

bool

GreenTable

The list of values that define the transfer function for the Green channel.

public float[] GreenTable { get; set; }

Property Value

float[]

RedDisable

If you set this to TRUE the effect does not apply the transfer function to the Red channel. If you set this to FALSE the effect applies the RedDiscreteTransfer function to the Red channel.

public bool RedDisable { get; set; }

Property Value

bool

RedTable

The list of values used to define the transfer function for the Red channel.

public float[] RedTable { get; set; }

Property Value

float[]

Methods

Create(DeviceContext)

Initializes a new instance of DiscreteTransfer effect.

public static DiscreteTransfer Create(DeviceContext context)

Parameters

context DeviceContext

Returns

DiscreteTransfer