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; }
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; }