Computer Science Canada

Background Picture

Author:  Hyugun [ Thu May 08, 2008 11:16 pm ]
Post subject:  Background Picture

I'm trying to put a background image inside my program, how do I do that? Basically like a background image in html which you can write text on the window.

Author:  lordroba [ Fri May 09, 2008 12:23 am ]
Post subject:  Re: Background Picture

if you mean just basically having a picture set in the back then just go like this...

Turing:


var picID : int
var x, y : int
picID := Pic.FileNew ("background.jpg")
x := 0
y := 0
Pic.Draw (picID, x, y, picCopy)


replace background.jpg with whatever name and extension your picture is.

Author:  Tony [ Fri May 09, 2008 12:31 am ]
Post subject:  RE:Background Picture

if you then want to write text on a transparent background (so to see the image behind the text), you'd need to use Font.Draw()


: