Re: Tk canvas: why are some lines a pixel too short?
- From: Geoff Battye <geoff@xxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 12:23:34 +0100
Use the -capstyle option to control how the ends of lines are drawn.
E.g.
pack [canvas .c]
..c create line 10 10 20 30 -capstyle round
..c create line 10 30 20 10 -capstyle round
Geoff.
.
- Follow-Ups:
- Re: Tk canvas: why are some lines a pixel too short?
- From: Pat Wallace
- Re: Tk canvas: why are some lines a pixel too short?
- References:
- Tk canvas: why are some lines a pixel too short?
- From: Pat Wallace
- Re: Tk canvas: why are some lines a pixel too short?
- From: maurice . ulis
- Re: Tk canvas: why are some lines a pixel too short?
- From: suchenwi
- Re: Tk canvas: why are some lines a pixel too short?
- From: Pat Wallace
- Tk canvas: why are some lines a pixel too short?
- Prev by Date: Re: New list commands ... What do you think ? (LONG)
- Next by Date: Re: Tk canvas: why are some lines a pixel too short?
- Previous by thread: Re: Tk canvas: why are some lines a pixel too short?
- Next by thread: Re: Tk canvas: why are some lines a pixel too short?
- Index(es):
Relevant Pages
|