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

Username:   Password: 
 RegisterRegister   
 Changing Font and Font size for entire program
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
matt_mcn




PostPosted: Thu Nov 18, 2004 11:43 am   Post subject: Changing Font and Font size for entire program

I was wondering what the command is to set a Font, Font style and Font size for all the text in my turing program from beginning to end. thansk
Sponsor
Sponsor
Sponsor
sponsor
cool dude




PostPosted: Thu Nov 18, 2004 1:34 pm   Post subject: (No subject)

this is how to do it.

code:

% Declare variables
var fontsize : int  % declares the name of the font

% Declare font
fontsize := Font.New ("Calisto MT:30") % change the size by changing the 30 to whatever size u want
Font.Draw ("changing the size of the font", 50, 270, fontsize, 10)
View.Update % updates the screen
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  [ 2 Posts ]
Jump to:   


Style:  
Search: