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
 increase or decrease a selection

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
klausdoege Posted - Oct 11 2012 : 10:36:39
Hello,
how can I increase or decrease a selection about 1 or 2 pixels ?

Klaus
www.klausdoege.de
3   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Oct 12 2012 : 10:14:33
I am sorry but currently ImageEn does not support selection expansion or shrinking that I am aware of. You can do it yourself in code for rectangles, rounded rectangles and ellipses but it will require some coding to determine the selection type then to expand or shrink the selection baised on the type of the selection. Doing this for other types of selections may not be possible, at least easily.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
klausdoege Posted - Oct 12 2012 : 08:01:44
Hello William,
yes with the rectangle is simple it.
But I want to change it by selection with an ellipse, lasso or P2P.

Klaus
www.klausdoege.de
w2m Posted - Oct 11 2012 : 13:16:55
I did not test this but you could try:

procedure Select(x1, y1, x2, y2: integer; Op:TIESelOp = iespReplace); virtual;

ImageEnView1.Select(ImageEnView1.SelX1 + 1, ImageEnView1.SelY1 + 1, ImageEnView1.SelX2 + 1, ImageEnView1.SelY2 + 1, iespReplace);

ImageEnView1.Select(ImageEnView1.SelX1 - 1, ImageEnView1.SelY1 - 1, ImageEnView1.SelX2 - 1, ImageEnView1.SelY2 - 1, iespReplace);


William Miller