Normal 0 false false false MicrosoftInternetExplorer4
I am working with CorelDraw to create curves programmatically. I am working on a project where I create two intersecting lines, make them curves, and delete the point at the intersection. When I do this the delete node function is causing my code to be slower than I would like it. I would like to predict the control points that would result from a deleted point. I am looking for equations that CorelDraw uses to determine resulting control points when a point is deleted. Does any one know where I could find this information?
http://www.oberonplace.com
There follow the forums link.
Hi.
You probably already know this but just incase. You can turn on optimization to increase speed dramatically. Also disable events, if any.
If your just trying to get the calculations then apply them, you might look into virtual shapes. This will dramatically increase speed as well.
Also look into the preserveSelection property of the document class. This may be of use to you to squeeze out even more speed.
Here's a link that may help you Creating curves using coordinates.
Hope this helps.
-John