Enlarge drawing cursor

This commit is contained in:
2022-11-16 09:40:07 +02:00
parent 896838eac5
commit 1acb8a172b

View File

@@ -55,6 +55,12 @@ class DrawingApp(tk.Tk):
#self.img.putpixel((int(x), int(y)), (255, 0, 0)) #self.img.putpixel((int(x), int(y)), (255, 0, 0))
self.arr[x,y,1] = 0 self.arr[x,y,1] = 0
self.arr[x,y,2] = 0 self.arr[x,y,2] = 0
self.arr[x+1,y,1] = 0
self.arr[x+1,y,2] = 0
self.arr[x+1,y+1,1] = 0
self.arr[x+1,y+1,2] = 0
self.arr[x,y+1,1] = 0
self.arr[x,y+1,2] = 0
#print("Set x:{} y:{} to:{}".format(x,y,255)) #print("Set x:{} y:{} to:{}".format(x,y,255))
def draw_window(self): def draw_window(self):