c64_painter.py 文件源码

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

项目:Pythonista-C64-Painter 作者: superrune 项目源码 文件源码
def preview_big_window(self, sender):
        if self.pixel_editor.has_image():
            v = ui.ImageView(frame=(100,100,320,200))

            # CRT Emulation
            ui_im = self.pixel_editor.get_image()
            # insert CRT emulation here, convert to ui_to_pil
            v.image = ui_im

            v.width, v.height = v.image.size
            v.present('popover', popover_location=(100, 100), hide_title_bar=True)
        else:
            self.show_error()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号