mily.py 文件源码

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

项目:Proto_et_Projets 作者: LeBiome 项目源码 文件源码
def __init__(self,n):

    sur = cairo.ImageSurface(cairo.FORMAT_ARGB32,n,n)
    ctx = cairo.Context(sur)
    ctx.scale(n,n)
    ctx.set_source_rgb(BACK,BACK,BACK)
    ctx.rectangle(0,0,1,1)
    ctx.fill()

    self.sur = sur
    self.ctx = ctx

    self.colors = ((0,0,0))
    self.ncolors = 1
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号