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

Username:   Password: 
 RegisterRegister   
 Help with Turing Background
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SwagKingzMon




PostPosted: Sat May 05, 2012 9:36 pm   Post subject: Help with Turing Background

I need to know how to use any image as a background and also re-size that image so it fits on the screen.


I tried to explore more on this topic but it wasn't related to this.


*******************************************
*I tried by using this code: *
*var mypic2 :int := Pic.FileNew ("red-heart.jpg") * <-This picture is to big when I run it. I need to make it smaller but how?
*Pic.Draw (mypic2, maxx div 14, maxy div 12, 0) *
*******************************************

var mypic2 :int := Pic.FileNew ("red-heart.jpg")
Pic.Draw (mypic2, maxx div 14, maxy div 12, 0)


I am using 4.1.1 Confused
Sponsor
Sponsor
Sponsor
sponsor
Amarylis




PostPosted: Sat May 05, 2012 10:16 pm   Post subject: Re: Help with Turing Background

Pic.Scale[/url]
turinggirl




PostPosted: Mon May 21, 2012 10:37 pm   Post subject: Re: Help with Turing Background

You can always edit the picture in paint and then import it into your program
Raknarg




PostPosted: Tue May 22, 2012 9:01 am   Post subject: RE:Help with Turing Background

You can adjust the picture with Pic.Scale. You make a new picture, then adjust it with that function

For instance:

var pic : int := Pic.FileNew ("filename.bmp")
pic := Pic.Scale (pic, 10, 15)

This will take pic, and change the dimensions to 10x15
QuantumPhysics




PostPosted: Tue May 22, 2012 3:42 pm   Post subject: RE:Help with Turing Background

Does turing support dbs landscaping?
Raknarg




PostPosted: Tue May 22, 2012 4:39 pm   Post subject: RE:Help with Turing Background

You might want to give a better explanation.

If you want to try to have external programs interact with Turing, you're gonna have a bad time
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  [ 6 Posts ]
Jump to:   


Style:  
Search: