Computer Science Canada

how do i import pictures

Author:  GUI.GetScrollBarWidth : i [ Fri Feb 13, 2004 11:58 am ]
Post subject:  how do i import pictures

can some 1 tell me how to import pictures in to turing

ps:i like turing

Author:  Paul [ Fri Feb 13, 2004 12:01 pm ]
Post subject: 

use pic.draw
like
code:

var gorilla := Pic.FileNew ("gorilla.bmp")
Pic.Draw (gorilla, 150, 70, picMerge)

Author:  jonos [ Fri Feb 13, 2004 12:02 pm ]
Post subject: 

i think there is a tutorial on that, but im not sure. its something like:

var myPic : int := Pic.FileNew ("picture.bmp/jpg")

Pic.Draw(myPic, x, y, picCopy)

i think thats it, ive never used it, but you can check the turing reference in turing to check it over if it doesn't work.

Author:  Dan [ Fri Feb 13, 2004 3:43 pm ]
Post subject: 

there was even a post on this like 1-2 days ago.

Quote:

i do rigth thess things for a point:

http://www.compsci.ca/v2/viewtopic.php?t=191


: