Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Can u Zoom in and out of photos on turing. IF any way, how so?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Strawberry




PostPosted: Thu Dec 31, 2009 9:34 pm   Post subject: Can u Zoom in and out of photos on turing. IF any way, how so?

I HAVE TO MAKE A SCREENSAVER FOR MY ISP


What is it you are trying to achieve?
Does anyone know how to zoom in and out of photos in turing?


Describe what you have tried to solve this problem

I have tried for structures and replacing the height and width in pic scale but its not working.

Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
procedure cars
cls
cars1 := Pic.Scale (cars1, 1130, 800)
Pic.Draw (cars1, 0, 0, picMerge)
end cars

when u upload a picture like this , how do u make it zoom in?


Please specify what version of Turing you are using
Turing 4.1.1
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Dec 31, 2009 9:47 pm   Post subject: RE:Can u Zoom in and out of photos on turing. IF any way, how so?

I think there's a Pic.Resize() function, might be a different word. Check the help file.
Tony




PostPosted: Fri Jan 01, 2010 2:39 am   Post subject: Re: RE:Can u Zoom in and out of photos on turing. IF any way, how so?

That different word could, in fact, be Pic.Scale
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
TheGuardian001




PostPosted: Fri Jan 01, 2010 8:07 am   Post subject: Re: Can u Zoom in and out of photos on turing. IF any way, how so?

Pic.Scale won't technically zoom in on a picture though, it will simply display it as the new size.

If you want to zoom, you'll have to repeatedly scale the image and draw each successively larger picture one after another.
Strawberry




PostPosted: Fri Jan 01, 2010 1:14 pm   Post subject: RE:Can u Zoom in and out of photos on turing. IF any way, how so?

Thank You! Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: