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
 Questions about angle layer

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
PeterPanino Posted - Oct 24 2022 : 04:36:25
I create an Angle Layer with this code:

procedure TformMain.mLayerInsertAngleClick(Sender: TObject);
begin
  ImageEnViewPixelEditor.LayersNewLayerDialog(ielkAngle, True);
end;


1. Is it possible to have different colors for the start angle line and for the end angle line? Example:
Start angle line: Green. End angle line: Red. (No political insinuations are intended)
That could be helpful for the end-user.

2. How can I move each angle line with the mouse?

3. How can I rotate the whole angle layer with the mouse? When I click the rotation grip, the angle layer gets deselected.

UPDATE: Question #3 is solved: That was a self-inflicted side-effect from my OnMouseDown routine. Sorry.
Also, question #2 is partly solved: Moving the rotation grip with the mouse now works: It moves the END-ANGLE line. But wouldn't the following be more helpful?:
a) The Rotation Grip rotates the whole Layer
b) The START-ANGLE has its own grip and can be moved with that grip. The grip has the form of a right-pointing hand.
c) The END-ANGLE has its own grip and can be moved with that grip. The grip has the form of a left-pointing hand.
That would allow the user to easily measure the angle of any visual detail in the image, e.g., architectonic or anatomic details.

1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 24 2022 : 23:03:44
Hi Peter

At this time separate colors cannot be specified, but we'll consider this for a future version.

You should use the mlEditLayerPoints interaction to edit layer points:

  ImageEnView1.MouseInteractLayers := [mlEditLayerPoints];


Nigel
Xequte Software
www.imageen.com