Computer Science Canada

Help with Turing commands to draw a banner

Author:  Keeelooo [ Thu Jan 26, 2017 1:27 pm ]
Post subject:  Help with Turing commands to draw a banner

Write the Turing commands to draw a banner likethe example below. Pick a famous Canadian and display the name witha large font and the colour of your choice. In a smaller font display a phrase that says why the person is famous. Draw a border around the banner and a shadow below. Remember to initialize graphics mode and declare all variables. Hint: use variables instead of literal number[/img]

Author:  Insectoid [ Thu Jan 26, 2017 8:59 pm ]
Post subject:  RE:Help with Turing commands to draw a banner

What part are you having a problem with?

Author:  Keeelooo [ Thu Jan 26, 2017 9:45 pm ]
Post subject:  Re: RE:Help with Turing commands to draw a banner

Insectoid @ Thu Jan 26, 2017 8:59 pm wrote:
What part are you having a problem with?


View.Set ("graphics:600;400")
var exampleFont := Font.New ("times new roman:18:bold")
Draw.FillBox (0, 0, maxx, maxy,40)
Draw.FillBox (0, 0, maxx, maxy div 2, 10)
Draw.FillOval (300, 200, 100, 50, black)

Font.Draw ("Justin troudeu", 235, 200, exampleFont, white)
Font.Draw ("Prime Minister of Canada", 235, 180, examplefont, white)

This is what i have so far

Author:  Insectoid [ Thu Jan 26, 2017 10:12 pm ]
Post subject:  RE:Help with Turing commands to draw a banner

What part are you having trouble with?


: