Listing 6. Draw a filled circle, a rectangle, and a filled rectangle.
//Draw a green filled circle. circlefill(screen,100,200,50,makecol(0,255,0)); //Draw an empty blue rectangle. rect(screen,150,75,250,125,makecol(0,0,255)); //Draw a filled rectangle where the color is turquoise rectfill(screen,175,250,225,350,makecol(0,255,255)); |