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
 Size of when selection takes place

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
BionicWave Posted - Mar 09 2012 : 12:20:44
I have asked that question some 2-3 years ago. Unfortunately the old posts are gone :-(

I have an image which is very small. To select single pixel lines i need a fine grayned selection-mouse. There was a parameter with which you could set the width of the selection.
Could you tell me which parameter that was?

I did some research. It was a TImageEnVect at the time and this has MaxSelectionDistance. But now i use a TImageEnView. Is there a big difference between the two in terms of memory-/speed footprint? I dont need vectorial-objects. I use only bitmaps (png).
Or is there a hidden parameter i can use for the ImageEnVect?
4   L A T E S T    R E P L I E S    (Newest First)
BionicWave Posted - Mar 10 2012 : 13:03:21
I´m realy sorry, Fabrizio.

After your last response i dig into my selection routines and
found the problem. I did a false proof on the mouseposition.
So you had to be 1 pixel inside the actual saved selection.

On the other hand i would never have found it without your answers.

Thanks for helping
fab Posted - Mar 10 2012 : 00:59:31
Yes but MaxSelectionDistance applies only to how vectorial objects are selected. It doesn't apply to selected image areas (it does not have sense in image selection context).
IMO the unique way to make fine selecting an area is to increase the zoom.
BionicWave Posted - Mar 09 2012 : 16:03:17
It was "MaxSelectionDistance" what i ment.
fab Posted - Mar 09 2012 : 12:41:08
quote:
I have an image which is very small. To select single pixel lines i need a fine grayned selection-mouse. There was a parameter with which you could set the width of the selection.
Could you tell me which parameter that was?


What do you mean for "width of the selection"?
It is possible to set the "depth" of selection, in terms of bits used to specify whether a pixel is selected or not. Default is 1 bit (selected/unselected, but it is possible to set 8 bits (0=unselected...255 maximum selection). The property is SelectionMaskDepth.

quote:
I did some research. It was a TImageEnVect at the time and this has MaxSelectionDistance. But now i use a TImageEnView. Is there a big difference between the two in terms of memory-/speed footprint? I dont need vectorial-objects. I use only bitmaps (png).


TImageEnVect, without vectorial objects, allocates only few objects and one or two GDI objects.

quote:
Or is there a hidden parameter i can use for the ImageEnVect?


to do what?