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
 Gesture zoom percent too small

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
whisper1980 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
7   L A T E S T    R E P L I E S    (Newest First)
whisper1980 Posted - May 10 2025 : 17:05:13
Well, I disconnected my external 4K monitor from my Windows 11 dev notebook, and pinch zoom works perfectly now. So it has something to do with dual monitors, where my main monitor is a 4K monitor at 100% display scaling. My touchscreen notebook is usually at 150% display scaling but making it 100% made no difference. With the external monitor connected, pinch zoom is painful, but with it disconnected, it is perfect.

Maybe you can make something of that.

Eric
whisper1980 Posted - May 10 2025 : 16:52:39
Maybe you can forget it. I tried it on my older Windows 10 touch screen convertible notebook, and pinch zoom works perfectly. I'm not sure what the difference is other than my dev machine is Windows 11, dual monitor. If I figure out what the difference it, I'll pass it on.

I also don't see that animated circle stuff going on.

Eric
xequte Posted - May 08 2025 : 19:17:29
Hmm. We'll need to investigate.

Nigel
Xequte Software
www.imageen.com
whisper1980 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 Posted - May 08 2025 : 17:56:15
Hi Eric

I'll need to investigate the flashing issue. Regarding the zoom speed, have you changed the ImageEnView1.Gestures.Zoom options?

https://www.imageen.com/help/TIEGestureZoomOptions.html

Nigel
Xequte Software
www.imageen.com
whisper1980 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 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