Esempio n. 1
0
        /// <inheritdoc />
        public void Run(IOperationContext operationContext)
        {
            operationContext.BeginSubpath();
            var lowerLeftTransform = operationContext.CurrentTransformationMatrix.Transform(LowerLeft);

            operationContext.CurrentPath.Rectangle(lowerLeftTransform.X, lowerLeftTransform.Y, Width, Height);
        }
Esempio n. 2
0
        /// <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);
        }
Esempio n. 3
0
        /// <inheritdoc />
        public void Run(IOperationContext operationContext)
        {
            operationContext.BeginSubpath();
            var pointTransform = operationContext.CurrentTransformationMatrix.Transform(Point);

            operationContext.CurrentPosition = pointTransform;
            operationContext.CurrentPath.MoveTo(pointTransform.X, pointTransform.Y);
        }
Esempio n. 4
0
        /// <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();
        }
Esempio n. 5
0
 /// <inheritdoc />
 public void Run(IOperationContext operationContext)
 {
     operationContext.BeginSubpath();
     operationContext.CurrentPath.Rectangle(LowerLeft.X, LowerLeft.Y, Width, Height);
 }
Esempio n. 6
0
 /// <inheritdoc />
 public void Run(IOperationContext operationContext)
 {
     operationContext.BeginSubpath();
     operationContext.CurrentPosition = Point;
 }
Esempio n. 7
0
 /// <inheritdoc />
 public void Run(IOperationContext operationContext)
 {
     operationContext.BeginSubpath();
     operationContext.CurrentPosition = Point;
     operationContext.CurrentPath.LineTo(Point.X, Point.Y);
 }