[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.GammaTransfer

Class GammaTransfer

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

Builtin GammaTransfer effect.

public class GammaTransfer : Effect, IDisposable, IUnknown
Inheritance
object
GammaTransfer
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

GammaTransfer(IntPtr)

Initializes a new instance of the GammaTransfer class.

public GammaTransfer(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

AlphaAmplitude

The amplitude of the gamma transfer function for the Alpha channel.

public float AlphaAmplitude { get; set; }

Property Value

float

AlphaDisable

If you set this to TRUE it does not apply the transfer function to the Alpha channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Alpha channel.

public bool AlphaDisable { get; set; }

Property Value

bool

AlphaExponent

The exponent of the gamma transfer function for the Alpha channel.

public float AlphaExponent { get; set; }

Property Value

float

AlphaOffset

The offset of the gamma transfer function for the Alpha channel.

public float AlphaOffset { get; set; }

Property Value

float

BlueAmplitude

The amplitude of the gamma transfer function for the Blue channel.

public float BlueAmplitude { get; set; }

Property Value

float

BlueDisable

If you set this to TRUE it does not apply the transfer function to the Blue channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Blue channel.

public bool BlueDisable { get; set; }

Property Value

bool

BlueExponent

The exponent of the gamma transfer function for the Blue channel.

public float BlueExponent { get; set; }

Property Value

float

BlueOffset

The offset of the gamma transfer function for the Blue channel.

public float BlueOffset { 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

GreenAmplitude

The amplitude of the gamma transfer function for the Green channel.

public float GreenAmplitude { get; set; }

Property Value

float

GreenDisable

If you set this to TRUE it does not apply the transfer function to the Green channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Green channel.

public bool GreenDisable { get; set; }

Property Value

bool

GreenExponent

The exponent of the gamma transfer function for the Green channel.

public float GreenExponent { get; set; }

Property Value

float

GreenOffset

The offset of the gamma transfer function for the Green channel.

public float GreenOffset { get; set; }

Property Value

float

RedAmplitude

The amplitude of the gamma transfer function for the Red channel.

public float RedAmplitude { get; set; }

Property Value

float

RedDisable

If you set this to TRUE it does not apply the transfer function to the Red channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Red channel.

public bool RedDisable { get; set; }

Property Value

bool

RedExponent

The exponent of the gamma transfer function for the Red channel.

public float RedExponent { get; set; }

Property Value

float

RedOffset

The offset of the gamma transfer function for the Red channel.

public float RedOffset { get; set; }

Property Value

float

Methods

Create(DeviceContext)

Initializes a new instance of GammaTransfer effect.

public static GammaTransfer Create(DeviceContext context)

Parameters

context DeviceContext

Returns

GammaTransfer