Why are the Tkinter canvas lines jagged?

前端 未结 3 980
我寻月下人不归
我寻月下人不归 2021-01-05 00:31

The lines drawn on a Tkinter.Canvas are not smooth. How can they be made smooth?

Here\'s what I tried:

 from Tkinter import *
 root = Tk         


        
3条回答
  •  花落未央
    2021-01-05 01:05

    1. draw an antialias image (using Image PIL ,numpy,opencv etc)
    2. show the image on the canvas.

提交回复
热议问题