Ellipse in DXFExport
Moderators: SDS, support, admin
-
- Posts: 2
- Joined: 15 Nov 2007, 09:23
- Location: South Africa
Ellipse in DXFExport
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?
Hello!
We have added the following line:
to the:
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
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