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?
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?
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.
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.