Sujet : Re: improve a spline
De : emiliano (at) *nospam* example.invalid (Emiliano)
Groupes : comp.lang.tclDate : 13. Jun 2025, 00:08:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250612200845.11f07fb082877f7af0527126@example.invalid>
References : 1
User-Agent : Sylpheed 3.5.1 (GTK+ 2.24.32; i686-pc-linux-gnu)
On Thu, 12 Jun 2025 12:51:58 -0400
saito <
saitology9@gmail.com> wrote:
When you run the following code, a canvas comes up and you can
click-hold your mouse and drag it around to create bezier curves.
The line is jagged and it has a double curve. I wonder if it is possible
to make it smooth and reduce it to a plain s shape. Any ideas?
If by "smooth" you mean antialias, then no, Tk canvas doesn't do antialias.
As I undertand it, the tkpath package does, but I can't confirm since never
used it.
Regards
-- Emiliano