Table of Contents

Interface ITransformGraph

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents a graph of transform nodes.
ID2D1TransformGraph

public interface ITransformGraph : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Remarks

To implement this, create a class that derives from RefTrackedObject and this interface.

Properties

InputCount

Returns the number of inputs to the transform graph.

Methods

AddNode(ITransformNode)

Adds the provided node to the transform graph.

Clear()

Clears the transform nodes and all connections from the transform graph.

ConnectNode(ITransformNode, ITransformNode, int)

Connects two nodes inside the transform graph.

ConnectToEffectInput(int, ITransformNode, int)

Connects a transform node inside the graph to the corresponding effect input of the encapsulating effect.

RemoveNode(ITransformNode)

Removes the provided node from the transform graph.

SetOutputNode(ITransformNode)

Sets the output node for the transform graph.

SetPassthroughGraph(int)

Uses the specified input as the effect output.

SetSingleTransformNode(ITransformNode)

Sets a single transform node as being equivalent to the whole graph.
This is equivalent to calling Clear(), adding a single node, connecting all of the node inputs to the effect inputs in order, and setting the transform node as the graph output.