ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Smooth Zooming?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - Jan 25 2013 :  07:52:37  Show Profile  Reply
Hi

I've been using the wonderful
SetViewXYSmooth
method to pan around my image and just wondered if there was a similar method for zooming in and out smoothly?

Bruce.

w2m

USA
1990 Posts

Posted - Jan 25 2013 :  12:58:42  Show Profile  Reply
What do you mean by Smooth Zooming? Panning?
See the PanZoom Demo in the ..\samples\display\panzoomeffects demo...



William Miller
Go to Top of Page

bmesser

United Kingdom
234 Posts

Posted - Jan 26 2013 :  03:39:42  Show Profile  Reply
Bill

I am using the SetViewXYSmooth and its fine and not a problem. That's what I mean when I say smooth panning because that's the effect it gives you.

What I'm asking for is a method that gives you smooth zooming in and out over a period of a second or so. Say I am at 100% and I what to zoom into 50% it does the zoom in smooth increments. All I wondered was there a method to do this or would I have to implement some kind of timer and control the zoom?

The other obvious question would be to add functionality to the SetViewXYSmooth that allowed you to set a zoomto value, so as well as moving to a certain part of the image you zoomed in at the same time - just like in Google Earth.

Bruce.

Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 26 2013 :  06:31:22  Show Profile  Reply
Did you look at the PanZoom Demo in the ..\samples\display\panzoomeffects folder? I think it may do what you are looking for.



William Miller
Go to Top of Page

Patrick Quinn

United Kingdom
81 Posts

Posted - Jan 26 2013 :  15:44:44  Show Profile  Reply
Hi William

I tried to run the PanZoom demo but it won't compile.

I get errors on lines 145 to 154.

AnImageEnView.TransitionStartRect and AnImageEnView.TransitionEndRect are undeclared identifiers.

What do I need to do to update the demo to get it to work?

Thanks

Patrick


Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 26 2013 :  16:46:57  Show Profile  Reply
I believe the demo was updated to compile with the most recent version of ImageEn, so download the new version. If it still does not compile, send me an email and I will forward you my copy.

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

xequte

39070 Posts

Posted - Jan 28 2013 :  01:59:46  Show Profile  Reply
Sorry the PanZoom demo was not updated till after the release of v4.1.4. Please email us and we will send you the latest version of the demo (which Bill recently updated).


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

fab

1310 Posts

Posted - Feb 01 2013 :  01:02:35  Show Profile  Reply
Next version will have SetZoomSmooth, which is like SetViewXYSmooth, but for smooth zoom.
Go to Top of Page

bmesser

United Kingdom
234 Posts

Posted - Feb 01 2013 :  01:49:15  Show Profile  Reply
Thanks Fabrizio - that will be a nice feature!
Go to Top of Page

Patrick Quinn

United Kingdom
81 Posts

Posted - Feb 01 2013 :  10:46:52  Show Profile  Reply
Thanks, Nigel. Bill emailed me a copy of the updated PanZoom demo and it worked fine.

fabrizio: SetZoomSmooth will be an excellent feature.

Patrick
Go to Top of Page

Abigail

Netherlands
3 Posts

Posted - Aug 04 2013 :  23:31:38  Show Profile  Reply
As far as i can see,Next version will have Set Zoom image smooth, which is like SetViewXYSmooth, but for smooth zoom.

just believe yourself
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: