
-----------------------------------
prima_rory
Tue Feb 10, 2004 10:42 pm

how do i put an image in my program?
-----------------------------------
my class is doing a huge turing project and we're supposed make an educational program which includes a person's biography, exercises and a quiz. i was just wondering, how can u put an image (jpg) into my program? 

thx :)

-----------------------------------
AsianSensation
Tue Feb 10, 2004 10:44 pm


-----------------------------------
using Pic.FileNew and Pic.Draw

-----------------------------------
santabruzer
Tue Feb 10, 2004 10:46 pm


-----------------------------------
dude.. ever hear of the helpfiles?.... click F10, and type in Pic.. you'll get all of the info you want.. ... the reason i'm being a bastard.. is that seriously.. i mean comeon.... *sigh*


Pic.Draw Part of Pic module 

Syntax   Pic.Draw (picID, x, y, mode : int)
 
Description   Pic.Draw is used to draw a picture on the screen. The picture is drawn with the lower left corner at (x, y).
 
Display Modes with Pic.Draw
 
Example   The program draws a graphic on the screen and then repeats it 50 times in random positions.

        var picID:= Pic.New ("filename.jpg")
        var x, y : int
       Pic.Draw (picID, x, y, picCopy)


-----------------------------------
prima_rory
Tue Feb 10, 2004 10:51 pm


-----------------------------------
im only in grd 10...

-----------------------------------
Dan
Tue Feb 10, 2004 10:56 pm


-----------------------------------
i do rigth thess things for a point:

http://www.compsci.ca/v2/viewtopic.php?t=191

-----------------------------------
prima_rory
Tue Feb 10, 2004 10:58 pm


-----------------------------------
thank u
