“8fa89fc6787fe71e6ce009d18457934a42e7981c”上不存在“python/paddle/git@gitcode.net:Crayonxin2000/Paddle.git”
提交 c634914a 编写于 作者: F feilong

add doodle+fix1

上级 f319cb1c
...@@ -49,8 +49,7 @@ class Painter: ...@@ -49,8 +49,7 @@ class Painter:
# TODO(You): 请正确实现画板事件响应,完成功能 # TODO(You): 请正确实现画板事件响应,完成功能
def clean(self): def clean(self):
cv.rectangle(self.img, (0, 0), cv.rectangle(self.img, (0, 0), (self.height, self.width), (0, 0, 0), -1)
(self.height, self.width), (0, 0, 0), -1)
def begin_draw_rectangle(self, pos1, pos2): def begin_draw_rectangle(self, pos1, pos2):
if self.color is None: if self.color is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册