Re: How to center a circle?

Liste des GroupesRevenir à cl tcl 
Sujet : Re: How to center a circle?
De : ralfixx (at) *nospam* gmx.de (Ralf Fassel)
Groupes : comp.lang.tcl
Date : 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... ;-)

Date Sujet#  Auteur
16 Oct 24 * How to center a circle?12Helmut Giese
16 Oct 24 +* Re: How to center a circle?7Ralf Fassel
16 Oct 24 i`* Re: How to center a circle?6Helmut Giese
16 Oct 24 i +* Re: How to center a circle?4Ralf Fassel
16 Oct 24 i i`* Re: How to center a circle?3Helmut Giese
17 Oct 24 i i +- Re: How to center a circle?1et99
17 Oct 24 i i `- Re: How to center a circle?1Ralf Fassel
16 Oct 24 i `- Re: How to center a circle?1Rich
17 Oct 24 `* Re: How to center a circle?4Helmut Giese
17 Oct 24  +- Re: How to center a circle?1saito
18 Oct 24  `* Re: How to center a circle?2Shaun Deacon
18 Oct 24   `- Re: How to center a circle?1Helmut Giese

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal