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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 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

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
MrDeveloper Posted - Sep 06 2026 : 10:20:57
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

4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 17 2026 : 01:03:21
Hi

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

Nigel
Xequte Software
www.imageen.com
MrDeveloper Posted - Sep 13 2026 : 07:25:48
Hello Nigel

Any news about this topic?
MrDeveloper Posted - Sep 07 2026 : 06:15:48
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
xequte Posted - Sep 06 2026 : 21:44:22
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