#################################################
# hw5.py
#
# Your name:
# Your andrew id:
#################################################

import math
import basic_graphics
#################################################
# Functions (for you to write)
#################################################


#### drawFlagOfTheEU ####

def drawFlagOfTheEU(canvas, x0, y0, x1, y1):
    pass

#### drawBarChart ####

def drawBarChart(canvas, w, h, L):
    pass

#### drawChessBoard ####

def drawChessBoard(canvas, width, height, board, color, margin):
    pass

#################################################
# Test Functions
#################################################
def draw(canvas, width, height):
    # uncomment one of them at a time
    drawFlagOfTheEU(canvas, 50, 50, 650, 450)
    #drawBarChart(canvas, 400, 400, ['bananas', 'oranges', 'oranges', 'bananas', 'apples', 'oranges', 'apples', 'pineapple', 'apples', 'apples' ])
    #drawChessBoard(canvas, width, height, "RHBQKBHRPPPPPPPP                                pppppppprhbqkbhr", (0, 0, 255), 30)

def testAll():
    print("Testing graphics...")
    print("You should try different window sizes, and test manual resize")
    basic_graphics.run(width=800, height=800)

def main():
    testAll()

if __name__ == '__main__':
    main()
