Import Tk 8.6.10
This commit is contained in:
@@ -95,13 +95,13 @@ $c create line 12c 6c 13.5c 4.5c 16.5c 7.5c 18c 6c \
|
||||
$c create text 25c .2c -text Polygons -anchor n
|
||||
$c create polygon 21c 1.0c 22.5c 1.75c 24c 1.0c 23.25c 2.5c \
|
||||
24c 4.0c 22.5c 3.25c 21c 4.0c 21.75c 2.5c -fill $green \
|
||||
-outline black -width 4 -tags item
|
||||
-outline {} -width 4 -tags item
|
||||
$c create polygon 25c 4c 25c 4c 25c 1c 26c 1c 27c 4c 28c 1c \
|
||||
29c 1c 29c 4c 29c 4c -fill $red -smooth on -tags item
|
||||
29c 1c 29c 4c 29c 4c -fill $red -outline {} -smooth on -tags item
|
||||
$c create polygon 22c 4.5c 25c 4.5c 25c 6.75c 28c 6.75c \
|
||||
28c 5.25c 24c 5.25c 24c 6.0c 26c 6c 26c 7.5c 22c 7.5c \
|
||||
-stipple @[file join $tk_demoDirectory images gray25.xbm] \
|
||||
-outline black -tags item
|
||||
-fill $blue -outline {} -tags item
|
||||
|
||||
$c create text 5c 8.2c -text Rectangles -anchor n
|
||||
$c create rectangle 1c 9.5c 4c 12.5c -outline $red -width 3m -tags item
|
||||
@@ -126,8 +126,10 @@ $c create text 25.5c 11c -anchor w -font $font1 -fill $blue \
|
||||
-text "Several lines,\n each centered\nindividually,\nand all anchored\nat the left edge." \
|
||||
-justify center -tags item
|
||||
$c create rectangle 24.9c 13.9c 25.1c 14.1c
|
||||
catch {
|
||||
$c create text 25c 14c -font $font2 -anchor c -fill $red -angle 15 \
|
||||
-text "Angled characters" -tags item
|
||||
}
|
||||
|
||||
$c create text 5c 16.2c -text Arcs -anchor n
|
||||
$c create arc 0.5c 17c 7c 20c -fill $green -outline black \
|
||||
@@ -140,13 +142,15 @@ $c create arc 0.5c 20c 9.5c 24c -width 4m -style pieslice \
|
||||
$c create arc 5.5c 20.5c 9.5c 23.5c -width 4m -style chord \
|
||||
-fill $blue -outline {} -start 45 -extent 270 -tags item
|
||||
|
||||
$c create text 15c 16.2c -text "Bitmaps and Images" -anchor n
|
||||
catch {
|
||||
image create photo items.ousterhout \
|
||||
-file [file join $tk_demoDirectory images ouster.png]
|
||||
image create photo items.ousterhout.active -format "png -alpha 0.5" \
|
||||
-file [file join $tk_demoDirectory images ouster.png]
|
||||
$c create text 15c 16.2c -text "Bitmaps and Images" -anchor n
|
||||
$c create image 13c 20c -tags item -image items.ousterhout \
|
||||
-activeimage items.ousterhout.active
|
||||
}
|
||||
$c create bitmap 17c 18.5c -tags item \
|
||||
-bitmap @[file join $tk_demoDirectory images noletter.xbm]
|
||||
$c create bitmap 17c 21.5c -tags item \
|
||||
|
||||
Reference in New Issue
Block a user