コード例 #1
0
ファイル: SplineToRel.cs プロジェクト: iamr8/IoTGateway
 /// <summary>
 /// Draws layout entities.
 /// </summary>
 /// <param name="State">Current drawing state.</param>
 /// <param name="PathState">Current path state.</param>
 /// <param name="Path">Path being generated.</param>
 public override void Draw(DrawingState State, PathState PathState, SKPath Path)
 {
     if (this.defined)
     {
         this.splineCurve = PathState.AddSplineVertex(this.xCoordinate, this.yCoordinate);
     }
 }
コード例 #2
0
ファイル: SplineToRel.cs プロジェクト: iamr8/IoTGateway
 /// <summary>
 /// Measures layout entities and defines unassigned properties.
 /// </summary>
 /// <param name="State">Current drawing state.</param>
 /// <param name="PathState">Current path state.</param>
 public override void Measure(DrawingState State, PathState PathState)
 {
     if (this.defined)
     {
         PathState.AddSplineVertex(this.xCoordinate, this.yCoordinate);
     }
 }