def drawHelper(currentDrawer, parameters=False):
global currentPage
# Draw a black filled box to clear the image.
draw.rectangle((0,0,width,height), outline=0, fill=0)
# Call the current drawer
if parameters is not False:
currentDrawer(parameters)
else:
currentDrawer()
# Display image.
disp.image(image)
disp.display()
currentPage += 1
评论列表
文章目录