Computer Science Canada

Help with drawfill

Author:  trend [ Sun Jun 14, 2009 9:44 am ]
Post subject:  Help with drawfill

What is the problem you are having?[/size
drawfill isnt exactly filling the object I want


[size=14]Describe what you have tried to solve this problem

tried different types of co-ordinates between the lines of the shape, but it just fills up the screen,

Turing:


%Background
            drawfill (100, 65, 55, 1)
            drawfillbox (0, 0, 640, 170, green)
            %House
            drawfillbox (220, 160, 430, 298, 64)
            drawfillbox (310, 160, 340, 230, brown)
            drawfillbox (260, 260, 280, 280, yellow)
            drawfillbox (370, 260, 390, 280, yellow)
            drawline (200, 300, 450, 300, black)
            drawline (300, 400, 350, 400, black)
            drawline (200, 300, 300, 400, black)
            drawline (450, 300, 350, 400, black)
            drawfill (250,320 , grey, 1)



Please specify what version of Turing you are using
4.1v


Thanks guys!!

Author:  Kharybdis [ Sun Jun 14, 2009 10:48 am ]
Post subject:  Re: Help with drawfill

Change the last line with this one:

Turing:
drawfill (250, 320, grey,black)

Author:  trend [ Sun Jun 14, 2009 11:38 am ]
Post subject:  Re: Help with drawfill

Thanks so much!![/i]


: