Computer Science Canada

Font

Author:  canada123 [ Fri Jun 02, 2006 9:01 pm ]
Post subject:  Font

Does anyone know how to change the size of font without Font.Draw or anything with Font in it? thnxs for the help

Author:  canada123 [ Fri Jun 02, 2006 9:14 pm ]
Post subject: 

Well to be more specific this is the problem.
I have a variable that is a int
i.e
var score : int

then i want the "score" to appear in a dif font and color...put when i do:
Font.Draw (score, 50, 30, font1, red)

it says, "argument is the wrong type." Help world appreciated.

Author:  Dan [ Fri Jun 02, 2006 9:37 pm ]
Post subject: 

i think you might have to convert the int into a string with intstr.

code:

Font.Draw (intstr(score), 50, 30, font1, red)


As for font size and color see Font.New and Font in your turing help thing.[/code]

Author:  canada123 [ Fri Jun 02, 2006 10:01 pm ]
Post subject: 

Hacker Dan wrote:
i think you might have to convert the int into a string with intstr.

code:

Font.Draw (intstr(score), 50, 30, font1, red)


As for font size and color see Font.New and Font in your turing help thing.[/code]


WOW THNXS MAN, I LOVE YOU!!


: