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
 How to create an arc between two lines?

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
klinikaxp Posted - Jan 25 2020 : 16:41:47
The user draws to lines, which are crossed. When he point the end of second section/line, I have to draw an arc, and to sho the angle between them.

Now I draw an angle with lines, which overlap the user lines, but it does not look well and is difficult to modify, when user moves section ends.

I would like just to draw arc, but I do not know, how to add an arc (without lines) as a layer.
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 27 2020 : 13:53:47
Hi

Yes, you could do it that way. Please see the custom draw demo:

Demos\LayerEditing\Layers_CustomDraw\LayersDraw.dpr

You can draw an arc using a TIECanvas with:

procedure TIECanvas.Arc(X1, Y1, X2, Y2, X3, Y3, X4, Y4: Integer);

Nigel
Xequte Software
www.imageen.com
klinikaxp Posted - Jan 27 2020 : 04:46:48
Thank you for response. Is there any way to draw it manually? For example I add empty Layer and then I DrawArc in OnDrawLayer event or something like this?
xequte Posted - Jan 26 2020 : 21:52:27
Hi

Unfortunately arc's are not yet supported, but they are on the to-do list.

Nigel
Xequte Software
www.imageen.com