screen.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:coffee-collector-messenger 作者: pixelfusion 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号