[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.ArithmeticComposite

Class ArithmeticComposite

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

Builtin ArithmeticComposite effect.

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

ArithmeticComposite(IntPtr)

Initializes a new instance of the ArithmeticComposite class.

public ArithmeticComposite(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

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

Coefficients

The coefficients for the equation used to composite the two input images. The coefficients are unitless and unbounded.

public Vector4 Coefficients { get; set; }

Property Value

Vector4

Methods

Create(DeviceContext)

Initializes a new instance of ArithmeticComposite effect.

public static ArithmeticComposite Create(DeviceContext context)

Parameters

context DeviceContext

Returns

ArithmeticComposite