How? ArcTo

I can’t seem to make either form of ElementBuilder.ArcTo draw something meaningful. All I get is straight lines. PDFNet documentation refers you to go lookup how parameters are specified in SVG or XPS. I can’t seem to find those references. Can you provide an example? I could not find any in your samples.

If it matters, my project is converting PCL to PDF by interpreting PCL and HP-GL/2 commands. In one place HP-GL/2 is used to draw a rectangle with optional square or radius corners. I created the original PCL/HPGL, and am now trying to parse and render that on a PDF page.


Here is a link the provides a detailed description of each of the parameters that go into ArcTo() function:

  • Shakthi