Drag and drop nodes and manipulate transformer libraries.
Key | Value |
---|---|
System requirements | Windows10 Creators Update or upper |
Development tool | Visual Studio 2017 |
Programing language | C# |
Display language | English |
Search 'FanKit.Transformers
' in Nuget and download it.
Run the "TestApp".
xmlns:transformers="using:FanKit.Transformers"
xmlns:canvas="using:Microsoft.Graphics.Canvas.UI.Xaml"
<Page.Resources>
<transformers:CanvasOperator x:Name="CanvasOperator" DestinationControl="{x:Bind CanvasControl}" Single_Start="CanvasOperator_Single_Start" Single_Delta="CanvasOperator_Single_Delta" Single_Complete="CanvasOperator_Single_Complete"/>
</Page.Resources>
<canvas:CanvasControl x:Name="CanvasControl" Draw="CanvasControl_Draw" CreateResources="CanvasControl_CreateResources"/>
"
and
using FanKit.Transformers;
using Microsoft.Graphics.Canvas;
using System.Numerics;
...
//Controller
Transformer transformer = Transformer.Controller(this.TransformerMode, startingPoint, point, this.Layer.TransformerMatrix.OldDestination, isRatio, isCenter);
this.Layer.TransformerMatrix.Destination = transformer;
...
You can learn more from the demo application in windows 10 store:
FanKit
1.Click on item "Transformers" in the top bar.
Enjoy it..