Change Subpath to path where necessary

This commit is contained in:
BobLd
2020-04-02 16:39:48 +01:00
committed by Eliot Jones
parent 002d8dc06d
commit 43b40da5d5
15 changed files with 37 additions and 63 deletions

View File

@@ -42,7 +42,7 @@
public void Run(IOperationContext operationContext)
{
var endPoint = operationContext.CurrentTransformationMatrix.Transform(new PdfPoint(X, Y));
operationContext.CurrentPath.LineTo(endPoint.X, endPoint.Y);
operationContext.CurrentSubpath.LineTo(endPoint.X, endPoint.Y);
operationContext.CurrentPosition = endPoint;
}