Page 1 of 1
Ellipse in DXFExport
Posted: 19 Dec 2007, 00:08
by ANDREVANZYL
Whenever I use the Delphi Ellipse function to draw directly to a DXF canvas, I find that if the parameters are not simmetrical ie a perfect circle, the shape is not drawn. How do I draw an oval shape by using Delphi functions such as Ellipse?
Posted: 19 Dec 2007, 18:39
by support
Hello!
We have added the following line:
Code: Select all
Canvas.Ellipse(<font color="blue">400</font id="blue">,<font color="blue">300</font id="blue">,<font color="blue">500</font id="blue">,<font color="blue">320</font id="blue">);
to the:
Code: Select all
<b>procedure</b> TfmDXFExporter.FormPaint(Sender: TObject);
in the <b>DXF Exporter demo</b> from the <b>DXF Export VCL</b> package (available at:
http://www.cadsofttools.com/download/dxfexportvcl.zip), compiled the demo and got usual ellipse when pressing <b>Form.paintto DXF...</b> button on the demo.
What code do you use to draw ellipse on canvas?
Sergey.
Please post questions to the forum or write to
support@cadsofttools.com