Author |
Topic  |
|
whisper1980
 
USA
86 Posts |
Posted - May 07 2025 : 12:56:48
|
I'm not sure what I might be doing wrong, but touch Pan just seems to work without setting igPan or igoPanSIngleFinger; however, pinch zoom does not. It seems ImageEnView does not pinch zoom by default nor does it directly honor the Touch.InteractiveGestures for Zoom, and instead I have to do this: ImageEnView1.Gestures.Zoom.Enabled := igZoom in ImageEnView1.Touch.InteractiveGestures;
While pinch zoom then works, it barely zooms in/out. Is there a way to increase the percentage so it maps more closely to how quickly the mouse wheel zooms in/out?
Again, it might be me in how I have the properties set, but I've tried various options. Even your demo Gestures is too small of a zoom IMHO.
ImageEn 14.0.1 Delphi 12.3
Eric |
|
xequte
    
38978 Posts |
Posted - May 07 2025 : 23:05:24
|
Hi Eric
That would be my expectation. Pan effects just mimic scrolling (all controls), but Zooming requires specific coding by the control (control specific).
If you disable the VCL Touch properties, and use use ImageEn's Gestures property, does it work better:
https://www.imageen.com/help/TIEView.Gestures.html
Nigel Xequte Software www.imageen.com
|
 |
|
whisper1980
 
USA
86 Posts |
Posted - May 08 2025 : 15:23:27
|
I turned off all properties under the Touch property and then added this:
ImageEnView1.Gestures.Zoom.Enabled := true;
But pinch zoom is still a slow process and doesn't seem to matter if it is a 640x480 or a 2560x1712 image. 
Every time I pinch zoom (in or out), ImageEnView flashes animated zooming circles on screen (for lack of a better description). I might like to suppress that, but that's low priority at best.
Eric |
 |
|
xequte
    
38978 Posts |
|
whisper1980
 
USA
86 Posts |
Posted - May 08 2025 : 18:16:58
|
Yes, I thought Multiplier would be the best bet, but it totally wacked pinch zoom. I also tried Inertia with no luck. Min, Max did not seem to be related... just limits things, likewise with ZoomAtPinch (want that). SnapDelta defaults to 5.0, I tried 30.0 and made no difference.
Eric |
 |
|
xequte
    
38978 Posts |
Posted - May 08 2025 : 19:17:29
|
Hmm. We'll need to investigate.
Nigel Xequte Software www.imageen.com
|
 |
|
|
Topic  |
|