ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Bug: Elliptical arc in a complex path is drawn wrongly when the layer is rotated
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

MrDeveloper

Switzerland
22 Posts

Posted - Sep 06 2026 :  10:20:57  Show Profile  Reply
Hello Nigel

In my opinion another small bug, right?

A TIEPolylineLayer with EnableComplexPath = True whose path contains an
iepaArcTo segment draws that arc correctly while the layer's Rotate is a multiple of 90 degrees, and draws a different curve as soon as the layer is freely rotated. The end points stay correct, the curvature between them does not.

The cause is in the free-rotation branch of IEDrawPolylineEx: the arc's radii are scaled by the anisotropic factors that fit the rotated point cloud back into the layer rectangle. Scaling the two radii of an ellipse by different factors is not a valid transformation of that ellipse (it also changes the ellipse's rotation angle, which is left untouched) and when the shrunken radii can no longer span the chord, the SVG arc algorithm inflates them and the arc collapses into a half-ellipse.


Best regards
MrDeveloper

xequte

39533 Posts

Posted - Sep 06 2026 :  21:44:22  Show Profile  Reply
Hi

Unfortunately that is due to a limitation (not a bug, because it was a design choice) in our arc support. If you post sample layers file, I'll try it here and see if there is something we can do.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

MrDeveloper

Switzerland
22 Posts

Posted - Sep 07 2026 :  06:15:48  Show Profile  Reply
Hi Nigel

Please check the examples/explanation attached. Hope that helps to better understand my needs.

Best regards

attach/MrDeveloper/2026976152_imageen-arc-report.zip
462.63 KB
Go to Top of Page

MrDeveloper

Switzerland
22 Posts

Posted - Sep 13 2026 :  07:25:48  Show Profile  Reply
Hello Nigel

Any news about this topic?
Go to Top of Page

xequte

39533 Posts

Posted - Sep 17 2026 :  01:03:21  Show Profile  Reply
Hi

Can you email me to test the fix in the latest beta?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: