/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); var lowerLeftTransform = operationContext.CurrentTransformationMatrix.Transform(LowerLeft); operationContext.CurrentPath.Rectangle(lowerLeftTransform.X, lowerLeftTransform.Y, Width, Height); }
/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); var point = operationContext.CurrentTransformationMatrix.Transform(new PdfPoint(X, Y)); operationContext.CurrentPosition = point; operationContext.CurrentSubpath.MoveTo(point.X, point.Y); }
/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); var pointTransform = operationContext.CurrentTransformationMatrix.Transform(Point); operationContext.CurrentPosition = pointTransform; operationContext.CurrentPath.MoveTo(pointTransform.X, pointTransform.Y); }
/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); var lowerLeft = operationContext.CurrentTransformationMatrix.Transform(new PdfPoint(LowerLeftX, LowerLeftY)); var upperRight = operationContext.CurrentTransformationMatrix.Transform(new PdfPoint(LowerLeftX + Width, LowerLeftY + Height)); operationContext.CurrentSubpath.Rectangle(lowerLeft.X, lowerLeft.Y, upperRight.X - lowerLeft.X, upperRight.Y - lowerLeft.Y); operationContext.AddCurrentSubpath(); }
/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); operationContext.CurrentPath.Rectangle(LowerLeft.X, LowerLeft.Y, Width, Height); }
/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); operationContext.CurrentPosition = Point; }
/// <inheritdoc /> public void Run(IOperationContext operationContext) { operationContext.BeginSubpath(); operationContext.CurrentPosition = Point; operationContext.CurrentPath.LineTo(Point.X, Point.Y); }