Sujet : Re: How to center a circle?
De : ralfixx (at) *nospam* gmx.de (Ralf Fassel)
Groupes : comp.lang.tclDate : 17. Oct 2024, 09:55:00
Autres entêtes
Message-ID : <yga8qunxg63.fsf@akutech.de>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
* Helmut Giese <
hgiese@ratiosoft.com>
| The screen shots are now on
https://imgbb.com/| with the URLs:
| TkPath:
https://ibb.co/gg6XsRm| Tk:
https://ibb.co/LkGg9mv| Apart from the rugged edge in Tk they look pretty identical to me.
| And to me the left and top edges are significant smaller than their
| right and bottom counter parts - about less than half I would say.
Ok, this is the same what I see. I was not sure whether this small
difference already counts as 'big' :-p
As I said, they get 'more centered' if you adjust the coordinates by +1:
set x1 [expr {$width * 0.04 +1}]
...
set x2 [expr {$width - $width * 0.04 +1}]
I can only guess as what might be the reason, but my €0.01 would go to a
combination of coordinate origin, rounding effects, DPI of the display,
phase of the moon, and of course currently the comet.
R', just kidding for the last two... ;-)