Exemple #1
0
 public static LineBuilder ContinueDrawingLine(this LineBuilder builder, StreamGeometryContext ctx)
 {
     var end_point = builder.GetEndPoint();
     ctx.LineTo(end_point, true, false);
     builder.End = end_point;
     return builder;
 }
Exemple #2
0
 public static LineBuilder BuildLineSegment(this LineBuilder builder, StreamGeometryContext ctx)
 {
     var end_point = builder.GetEndPoint();
     ctx.BeginFigure(builder.Start, true, false);
     ctx.LineTo(end_point, true, false);
     return builder;
 }