亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? items.tcl

?? 在Linux下做的QuadTree的程序
?? TCL
字號:
# items.tcl --## This demonstration script creates a canvas that displays the# canvas item types.## RCS: @(#) $Id: items.tcl,v 1.2 1998/09/14 18:23:29 stanton Exp $if {![info exists widgetDemo]} {    error "This script should be run from the \"widget\" demo."}set w .itemscatch {destroy $w}toplevel $wwm title $w "Canvas Item Demonstration"wm iconname $w "Items"positionWindow $wset c $w.frame.clabel $w.msg -font $font -wraplength 5i -justify left -text "This window contains a canvas widget with examples of the various kinds of items supported by canvases.  The following operations are supported:\n  Button-1 drag:\tmoves item under pointer.\n  Button-2 drag:\trepositions view.\n  Button-3 drag:\tstrokes out area.\n  Ctrl+f:\t\tprints items under area."pack $w.msg -side topframe $w.buttonspack $w.buttons -side bottom -fill x -pady 2mbutton $w.buttons.dismiss -text Dismiss -command "destroy $w"button $w.buttons.code -text "See Code" -command "showCode $w"pack $w.buttons.dismiss $w.buttons.code -side left -expand 1frame $w.framepack $w.frame -side top -fill both -expand yescanvas $c -scrollregion {0c 0c 30c 24c} -width 15c -height 10c \	-relief sunken -borderwidth 2 \	-xscrollcommand "$w.frame.hscroll set" \	-yscrollcommand "$w.frame.vscroll set"scrollbar $w.frame.vscroll -command "$c yview"scrollbar $w.frame.hscroll -orient horiz -command "$c xview"grid $c -in $w.frame \    -row 0 -column 0 -rowspan 1 -columnspan 1 -sticky newsgrid $w.frame.vscroll \    -row 0 -column 1 -rowspan 1 -columnspan 1 -sticky newsgrid $w.frame.hscroll \    -row 1 -column 0 -rowspan 1 -columnspan 1 -sticky newsgrid rowconfig    $w.frame 0 -weight 1 -minsize 0grid columnconfig $w.frame 0 -weight 1 -minsize 0# Display a 3x3 rectangular grid.$c create rect 0c 0c 30c 24c -width 2$c create line 0c 8c 30c 8c -width 2$c create line 0c 16c 30c 16c -width 2$c create line 10c 0c 10c 24c -width 2$c create line 20c 0c 20c 24c -width 2set font1 {Helvetica 12}set font2 {Helvetica 24 bold}if {[winfo depth $c] > 1} {    set blue DeepSkyBlue3    set red red    set bisque bisque3    set green SeaGreen3} else {    set blue black    set red black    set bisque black    set green black}# Set up demos within each of the areas of the grid.$c create text 5c .2c -text Lines -anchor n$c create line 1c 1c 3c 1c 1c 4c 3c 4c -width 2m -fill $blue \	-cap butt -join miter -tags item$c create line 4.67c 1c 4.67c 4c -arrow last -tags item$c create line 6.33c 1c 6.33c 4c -arrow both -tags item$c create line 5c 6c 9c 6c 9c 1c 8c 1c 8c 4.8c 8.8c 4.8c 8.8c 1.2c \	8.2c 1.2c 8.2c 4.6c 8.6c 4.6c 8.6c 1.4c 8.4c 1.4c 8.4c 4.4c \	-width 3 -fill $red -tags item$c create line 1c 5c 7c 5c 7c 7c 9c 7c -width .5c \	-stipple @[file join $tk_library demos images gray25.bmp] \	-arrow both -arrowshape {15 15 7} -tags item$c create line 1c 7c 1.75c 5.8c 2.5c 7c 3.25c 5.8c 4c 7c -width .5c \	-cap round -join round -tags item$c create text 15c .2c -text "Curves (smoothed lines)" -anchor n$c create line 11c 4c 11.5c 1c 13.5c 1c 14c 4c -smooth on \	-fill $blue -tags item$c create line 15.5c 1c 19.5c 1.5c 15.5c 4.5c 19.5c 4c -smooth on \	-arrow both -width 3 -tags item$c create line 12c 6c 13.5c 4.5c 16.5c 7.5c 18c 6c \	16.5c 4.5c 13.5c 7.5c 12c 6c -smooth on -width 3m -cap round \	-stipple @[file join $tk_library demos images gray25.bmp] \	-fill $red -tags item$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$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$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_library demos images gray25.bmp] \	-outline black -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$c create rectangle 0.5c 13.5c 4.5c 15.5c -fill $green -tags item$c create rectangle 6c 10c 9c 15c -outline {} \	-stipple @[file join $tk_library demos images gray25.bmp] \	-fill $blue -tags item$c create text 15c 8.2c -text Ovals -anchor n$c create oval 11c 9.5c 14c 12.5c -outline $red -width 3m -tags item$c create oval 10.5c 13.5c 14.5c 15.5c -fill $green -tags item$c create oval 16c 10c 19c 15c -outline {} \	-stipple @[file join $tk_library demos images gray25.bmp] \	-fill $blue -tags item$c create text 25c 8.2c -text Text -anchor n$c create rectangle 22.4c 8.9c 22.6c 9.1c$c create text 22.5c 9c -anchor n -font $font1 -width 4c \	-text "A short string of text, word-wrapped, justified left, and anchored north (at the top).  The rectangles show the anchor points for each piece of text." -tags item$c create rectangle 25.4c 10.9c 25.6c 11.1c$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$c create text 25c 14c -font $font2 -anchor c -fill $red -stipple gray50 \	-text "Stippled 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 \	-start 45 -extent 270 -style pieslice -tags item$c create arc 6.5c 17c 9.5c 20c -width 4m -style arc \	-outline $blue -start -135 -extent 270 -tags item \	-outlinestipple @[file join $tk_library demos images gray25.bmp]$c create arc 0.5c 20c 9.5c 24c -width 4m -style pieslice \	-fill {} -outline $red -start 225 -extent -90 -tags item$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 -anchor n$c create bitmap 13c 20c -tags item \	-bitmap @[file join $tk_library demos images face.bmp]$c create bitmap 17c 18.5c -tags item \	-bitmap @[file join $tk_library demos images noletter.bmp]$c create bitmap 17c 21.5c -tags item \	-bitmap @[file join $tk_library demos images letters.bmp]$c create text 25c 16.2c -text Windows -anchor nbutton $c.button -text "Press Me" -command "butPress $c $red"$c create window 21c 18c -window $c.button -anchor nw -tags itementry $c.entry -width 20 -relief sunken$c.entry insert end "Edit this text"$c create window 21c 21c -window $c.entry -anchor nw -tags itemscale $c.scale -from 0 -to 100 -length 6c -sliderlength .4c \	-width .5c -tickinterval 0$c create window 28.5c 17.5c -window $c.scale -anchor n -tags item$c create text 21c 17.9c -text Button: -anchor sw$c create text 21c 20.9c -text Entry: -anchor sw$c create text 28.5c 17.4c -text Scale: -anchor s# Set up event bindings for canvas:$c bind item <Any-Enter> "itemEnter $c"$c bind item <Any-Leave> "itemLeave $c"bind $c <2> "$c scan mark %x %y"bind $c <B2-Motion> "$c scan dragto %x %y"bind $c <3> "itemMark $c %x %y"bind $c <B3-Motion> "itemStroke $c %x %y"bind $c <Control-f> "itemsUnderArea $c"bind $c <1> "itemStartDrag $c %x %y"bind $c <B1-Motion> "itemDrag $c %x %y"# Utility procedures for highlighting the item under the pointer:proc itemEnter {c} {    global restoreCmd    if {[winfo depth $c] == 1} {	set restoreCmd {}	return    }    set type [$c type current]    if {$type == "window"} {	set restoreCmd {}	return    }    if {$type == "bitmap"} {	set bg [lindex [$c itemconf current -background] 4]	set restoreCmd [list $c itemconfig current -background $bg]	$c itemconfig current -background SteelBlue2	return    }    set fill [lindex [$c itemconfig current -fill] 4]    if {(($type == "rectangle") || ($type == "oval") || ($type == "arc"))	    && ($fill == "")} {	set outline [lindex [$c itemconfig current -outline] 4]	set restoreCmd "$c itemconfig current -outline $outline"	$c itemconfig current -outline SteelBlue2    } else {	set restoreCmd "$c itemconfig current -fill $fill"	$c itemconfig current -fill SteelBlue2    }}proc itemLeave {c} {    global restoreCmd    eval $restoreCmd}# Utility procedures for stroking out a rectangle and printing what's# underneath the rectangle's area.proc itemMark {c x y} {    global areaX1 areaY1    set areaX1 [$c canvasx $x]    set areaY1 [$c canvasy $y]    $c delete area}proc itemStroke {c x y} {    global areaX1 areaY1 areaX2 areaY2    set x [$c canvasx $x]    set y [$c canvasy $y]    if {($areaX1 != $x) && ($areaY1 != $y)} {	$c delete area	$c addtag area withtag [$c create rect $areaX1 $areaY1 $x $y \		-outline black]	set areaX2 $x	set areaY2 $y    }}proc itemsUnderArea {c} {    global areaX1 areaY1 areaX2 areaY2    set area [$c find withtag area]    set items ""    foreach i [$c find enclosed $areaX1 $areaY1 $areaX2 $areaY2] {	if {[lsearch [$c gettags $i] item] != -1} {	    lappend items $i	}    }    puts stdout "Items enclosed by area: $items"    set items ""    foreach i [$c find overlapping $areaX1 $areaY1 $areaX2 $areaY2] {	if {[lsearch [$c gettags $i] item] != -1} {	    lappend items $i	}    }    puts stdout "Items overlapping area: $items"}set areaX1 0set areaY1 0set areaX2 0set areaY2 0# Utility procedures to support dragging of items.proc itemStartDrag {c x y} {    global lastX lastY    set lastX [$c canvasx $x]    set lastY [$c canvasy $y]}proc itemDrag {c x y} {    global lastX lastY    set x [$c canvasx $x]    set y [$c canvasy $y]    $c move current [expr $x-$lastX] [expr $y-$lastY]    set lastX $x    set lastY $y}# Procedure that's invoked when the button embedded in the canvas# is invoked.proc butPress {w color} {    set i [$w create text 25c 18.1c -text "Ouch!!" -fill $color -anchor n]    after 500 "$w delete $i"}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码久久久久久蜜臀 | 国产女人18毛片水真多成人如厕| 国产精品色噜噜| 爽爽淫人综合网网站| 粉嫩高潮美女一区二区三区| 69成人精品免费视频| 国产精品黄色在线观看| 狠狠网亚洲精品| 91福利在线播放| 中文字幕第一区综合| 免费高清成人在线| 在线观看区一区二| 国产精品色哟哟| 久久99蜜桃精品| 欧美一级久久久久久久大片| 中文字幕亚洲成人| 国产福利91精品一区| 欧美日韩亚洲综合| 亚洲天堂网中文字| 成人精品免费看| 日韩欧美高清dvd碟片| 亚洲一二三区视频在线观看| 国产99久久久精品| 国产精品丝袜一区| 国产成人精品一区二| 日韩精品一区二区三区蜜臀| 亚洲成a人片在线不卡一二三区| 91亚洲精品久久久蜜桃| 国产精品理论在线观看| hitomi一区二区三区精品| 久久蜜桃一区二区| 国产aⅴ精品一区二区三区色成熟| www国产亚洲精品久久麻豆| 久久成人18免费观看| 日韩视频免费观看高清完整版在线观看 | 国产成人午夜视频| 久久亚洲精品小早川怜子| 天堂精品中文字幕在线| 免费人成精品欧美精品| 在线视频你懂得一区| 欧美国产日韩一二三区| 成人免费观看男女羞羞视频| 精品国产一区二区亚洲人成毛片| 欧美一区日韩一区| 精品一区二区三区免费毛片爱| 色狠狠综合天天综合综合| 亚洲午夜在线观看视频在线| 国产成人亚洲综合a∨婷婷图片| 国产·精品毛片| 精品av久久707| 午夜伦欧美伦电影理论片| 欧美一级二级在线观看| 丝袜脚交一区二区| 久久―日本道色综合久久| 日本亚洲欧美天堂免费| 欧美一区二区精美| 蜜桃视频在线观看一区| 91精品国产日韩91久久久久久| 亚洲一二三专区| 在线精品视频小说1| 亚洲欧美另类久久久精品| 99综合影院在线| 日韩av中文字幕一区二区 | 欧美私人免费视频| 欧美tk丨vk视频| 成人av高清在线| 国产精品美女一区二区三区| 欧美在线你懂的| 午夜视频一区在线观看| 日本一区二区综合亚洲| 99麻豆久久久国产精品免费优播| 精品国产乱码久久久久久浪潮| 精品影视av免费| 日韩免费在线观看| 色综合中文字幕| 亚洲成人三级小说| 在线观看视频91| 国产91富婆露脸刺激对白| 成人免费一区二区三区视频| 日韩精品一区二区三区三区免费 | 一区二区三区在线视频免费| 日韩欧美美女一区二区三区| 国产成人精品三级| 国产精品亲子伦对白| 日韩视频免费直播| 成人毛片老司机大片| 久久99国产精品免费网站| 国产丝袜欧美中文另类| 国产不卡在线一区| 久久99久久精品| 中文字幕亚洲精品在线观看| 久久精品视频在线免费观看| 成人a区在线观看| 国产盗摄一区二区三区| 一区二区三区精品视频| 欧美在线观看视频一区二区三区| 不卡在线视频中文字幕| 无码av中文一区二区三区桃花岛| 亚洲一区在线看| 欧美一区二区久久久| 2023国产精品视频| 日韩精品在线一区二区| 99久久99久久免费精品蜜臀| 福利一区福利二区| 亚洲成人一区二区在线观看| 久久一留热品黄| 久久综合丝袜日本网| 日本乱人伦一区| 日韩一区精品视频| 国产拍欧美日韩视频二区| 欧美视频一区二区| 欧美日本在线一区| 丰满岳乱妇一区二区三区| 亚洲伦理在线精品| 一区二区三区免费看视频| 久久久久久麻豆| 国产视频一区二区在线| 欧美性受xxxx| 日韩中文字幕av电影| 亚洲v日本v欧美v久久精品| 国产精品你懂的在线欣赏| 亚洲欧洲av色图| 国产欧美日韩综合精品一区二区 | 夜夜嗨av一区二区三区四季av| 亚洲精品在线三区| 不卡电影免费在线播放一区| 色哟哟一区二区| 成人福利电影精品一区二区在线观看| eeuss鲁一区二区三区| 国产高清在线精品| 99久久99久久精品免费看蜜桃| 国产精品资源在线| 男女性色大片免费观看一区二区| 国精产品一区一区三区mba桃花| 天天影视涩香欲综合网| 国产呦萝稀缺另类资源| 狠狠狠色丁香婷婷综合激情| 丁香一区二区三区| 波多野结衣欧美| 久久国产精品免费| 国产久卡久卡久卡久卡视频精品| 亚洲一区二区三区视频在线| 久久99精品久久久久婷婷| 免费日韩伦理电影| 99视频有精品| 91视频xxxx| 日韩精品一区二区三区视频播放| 中文字幕在线一区| 日韩理论片一区二区| 日韩精品乱码av一区二区| 午夜精品久久久久久久久久 | 91精品国产91综合久久蜜臀| 久久免费视频色| 欧美激情综合网| 国产欧美一区二区精品性色| 国产精品女主播在线观看| 欧美国产精品v| 日韩电影在线一区二区三区| 蜜桃av一区二区| 天天综合网 天天综合色| 麻豆一区二区在线| 国产精品一区二区黑丝| 欧美日韩亚洲另类| 日韩女优av电影在线观看| 亚洲色欲色欲www| 日日噜噜夜夜狠狠视频欧美人| 中文字幕在线播放不卡一区| 看电影不卡的网站| 成人网页在线观看| 久久亚洲私人国产精品va媚药| 欧美激情在线一区二区| 欧美日韩免费不卡视频一区二区三区| 精品电影一区二区| 国产精品不卡在线观看| 国产尤物一区二区| 91久久线看在观草草青青| 国产性色一区二区| 亚洲国产综合91精品麻豆| 日韩黄色片在线观看| 欧美色中文字幕| 久久你懂得1024| 精品一区二区三区在线播放视频 | 国产成人午夜片在线观看高清观看| 国产成人免费在线观看| 日韩亚洲电影在线| 亚洲欧美一区二区三区极速播放| 国产激情偷乱视频一区二区三区| 一本色道久久综合狠狠躁的推荐| 国产精品无人区| 久久精品久久99精品久久| 欧美日韩一区二区在线观看 | 成人免费高清在线| 欧美一级高清片| 免费欧美日韩国产三级电影| 91色在线porny| 一区二区三区波多野结衣在线观看| 老司机精品视频导航| 51精品久久久久久久蜜臀| 亚洲人xxxx| 欧美亚一区二区|