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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? features.tcl

?? 很不錯的tcl編程實例
?? TCL
字號:
# this is an auxiliary file from BLT demo directory; the
# only change is my BLT does not have invtransform, so locate is used
set bindings(dummy) {}

proc bltResetBindings { graph type } {
    global bindings

    set all [array names bindings] 
    set cmds {}
    foreach i $all {
	if [string match "$type,$graph,*" $i] {
	    lappend cmds $bindings($i)
	}
    }
    bind $graph $type [join $cmds \n]
}

proc bltActivateLegend { graph name } {
    global lastActive

    set last $lastActive($graph)
    if { $name != $last } {
	if { $last != "" } {
	    $graph legend deactivate $last
	    $graph element deactivate $last
	}
	if { $name != "" } {
	    $graph legend activate $name
	    $graph element activate $name 
	}
	set lastActive($graph) $name
    }
}

proc SetActiveLegend { graph } {
    global lastActive bindings

    set lastActive($graph) {}
    set bindings(<Motion>,$graph,activeLegend) {
	set info [%W legend get @%x,%y]
	bltActivateLegend %W $info
    }    
    bltResetBindings $graph <Motion>
}


proc SetCrosshairs { graph } {
    global bindings
    
    $graph crosshairs set on 
    set bindings(<Motion>,$graph,crosshairs) {
	%W crosshairs configure -position @%x,%y
    }
    bltResetBindings $graph <Motion>
}


proc bltFindElement { graph x y } {
    set info [$graph element closest $x $y ]
    if { $info == "" } {
	blt_bell
	return
    }
    set name [lindex $info 0]
    set points [lrange $info 2 3]
    set index [lindex $info 1]
    global tagId
    catch { $graph tag delete $tagId($graph,$name,$index) }
    set tagId($graph,$name,$index) \
	[$graph tag create text $points -text " $name \[$index\] " -anchor s \
	 -yoffset -10 -fg black -bg {}]
    bltFlashPoint $graph $name $index 10
}

proc bltFlashPoint { graph name index count } {
    if { $count & 1 } {
        $graph element deactivate $name
    } else {
        $graph element activate $name $index
    }
    incr count -1
    if { $count > 0 } {
	after 200 bltFlashPoint $graph $name $index $count
	update
    } else {
	global tagId
	catch { $graph tag delete $tagId($graph,$name,$index) }
    }
}

proc SetClosestPoint { graph } {
    global bindings

    global tagId
    set tagId(dummy) {}
    set bindings(<ButtonPress-3>,$graph,closestPoint) {
	bltFindElement %W  %x %y
    }
    bltResetBindings $graph <ButtonPress-3>
}


proc bltGetCoords { graph winX winY var index } {
    scan [$graph locate $winX $winY] "%s %s" x y 
    scan [$graph xaxis limits] "%s %s" xmin xmax
    scan [$graph yaxis limits] "%s %s" ymin ymax

    if { $x > $xmax } { 
	set x $xmax 
    } elseif { $x < $xmin } { 
	set x $xmin 
    }

    if { $y > $ymax } { 
	set y $ymax 
    } elseif { $y < $ymin } { 
	set y $ymin 
    }
    upvar $var arr
    set arr($index,x) $x
    set arr($index,y) $y
}


proc bltGetAnchor { graph x y } {
    global pos bindings

    set pos(B,x) {}
    set pos(B,y) {}
    bltGetCoords $graph $x $y pos A
    set bindings(<B1-Motion>,$graph,zoom) { 
	bltScan %W %x %y 
    }
    set bindings(<ButtonRelease-1>,$graph,zoom) { 
	bltZoom %W %x %y 
    }
    bltResetBindings $graph <ButtonRelease-1>
    bltResetBindings $graph <B1-Motion>
}


proc bltBox { graph x1 y1 x2 y2 } {
    global tagId 

    set text [format "%.4g,%.4g" $x1 $y1] 
    if { $tagId($graph,text1) == "" } then {
	set tagId($graph,text1) \
	    [$graph tag create text {$x1 $y1} -text $text ] 
    } else {
	$graph tag configure $tagId($graph,text1) -text $text 
	$graph tag coords $tagId($graph,text1) "$x1 $y1"
    }
    set text [format "%.4g,%.4g" $x2 $y2] 
    if { $tagId($graph,text2) == "" } then {
	set tagId($graph,text2) \
	    [$graph tag create text {$x2 $y2} -text $text ] 
    } else {
	$graph tag configure $tagId($graph,text2) -text $text 
	$graph tag coords $tagId($graph,text2) "$x2 $y2"
    }
    set coords {
	$x1 $y1 $x1 $y2 $x1 $y1 $x2 $y1 $x2 $y1 $x2 $y2 $x1 $y2 $x2 $y2 
    }
    if { $tagId($graph,outline) == "" } then {
	set tagId($graph,outline) [$graph tag create line $coords]
    } else {
	$graph tag coords $tagId($graph,outline) $coords
    }
}

set pos(last,x) 0
set pos(last,y) 0

proc bltScan { graph x y } {
    global pos

    set deltaX [expr abs($pos(last,x)-$x)]
    set deltaY [expr abs($pos(last,y)-$y)]
    if { ($deltaX < 5) && ($deltaY < 5) } {
	return
    }	
    set pos(last,x) $x
    set pos(last,y) $y

    bltGetCoords $graph $x $y pos B
    if { $pos(A,x) > $pos(B,x) } { 
	bltBox $graph $pos(B,x) $pos(B,y) $pos(A,x) $pos(A,y)
    } else {
	bltBox $graph $pos(A,x) $pos(A,y) $pos(B,x) $pos(B,y)
    }
}

proc bltZoom { graph x y } {
    global bindings pos tagId

    # Go back to original bindings
    set bindings(<ButtonPress-1>,$graph,zoom) { 
	bltGetAnchor %W %x %y 
    }
    set bindings(<B1-Motion>,$graph,zoom) {}

    catch {$graph tag delete $tagId($graph,text1) $tagId($graph,text2)}
    set tagId($graph,text1) {}
    set tagId($graph,text2) {}

    bltResetBindings $graph <B1-Motion>
    bltResetBindings $graph <ButtonPress-1>

    if { $pos(B,x) == "" } then {
	catch {$graph tag delete $tagId($graph,outline)}
	set tagId($graph,outline) {} 
	$graph xaxis configure -min {} -max {} 
	$graph yaxis configure -min {} -max {}
	return
    }
    if { $pos(A,x) > $pos(B,x) } { 
	$graph xaxis configure -min $pos(B,x) -max $pos(A,x) 
    } else { 
	if { $pos(A,x) < $pos(B,x) } {
	    $graph xaxis configure -min $pos(A,x) -max $pos(B,x) 
	}
    }
    if { $pos(A,y) > $pos(B,y) } { 
	$graph yaxis configure -min $pos(B,y) -max $pos(A,y)
    } else {
	if { $pos(A,y) < $pos(B,y) } {
	    $graph yaxis configure -min $pos(A,y) -max $pos(B,y)
	}
    }
    $graph configure -cursor crosshair 
    $graph tag delete $tagId($graph,outline)
    set tagId($graph,outline) {}
    blt_busy hold $graph
    update
    blt_busy release $graph
}


proc SetZoom { graph } {
    global bindings tagId

    set tagId($graph,text1) {}
    set tagId($graph,text2) {}
    set tagId($graph,outline) {}
    set bindings(<ButtonRelease-2>,$graph,zoom) {
	catch {%W tag delete $tagId(outline) }
	set tagId(outline) {} 
	%W yaxis configure -min {} -max {} 
	%W xaxis configure -min {} -max {}
	blt_busy hold %W
	update
	blt_busy release %W
    }
    set bindings(<ButtonPress-1>,$graph,zoom) { 
	%W configure -cursor {crosshair red black}
	bltGetAnchor %W %x %y 
	bltScan %W %x %y 
    }
    bltResetBindings $graph <ButtonPress-1>
    bltResetBindings $graph <ButtonRelease-2>
}

proc SetPrint { graph } {
    global bindings
    set bindings(<Shift-ButtonRelease-3>,$graph,print) {
	puts stdout "creating file \"out.ps\... " nonewline
	flush stdout
	%W postscript "out.ps" -pagewidth 6.5i -pageheight 8.5i -landscape true
	puts stdout "done."
	flush stdout
    }
    bltResetBindings $graph <Shift-ButtonRelease-3>
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频中文字幕| 欧美大片一区二区| 精品视频123区在线观看| 538prom精品视频线放| 2020国产精品| 亚洲男人电影天堂| 久久成人av少妇免费| 成人性视频免费网站| 欧美三级中文字| 中文字幕av资源一区| 亚洲mv在线观看| 96av麻豆蜜桃一区二区| 精品欧美一区二区三区精品久久| 国产日韩欧美电影| 免费不卡在线视频| 欧美影院一区二区| 国产精品女同一区二区三区| 日韩av一级片| 欧美美女一区二区| 一区二区激情视频| 色综合久久久久综合体| 国产午夜精品一区二区三区视频 | 亚洲国产精品久久艾草纯爱| 韩国欧美国产1区| 欧美一区二区黄色| 亚洲成人av福利| 欧美性做爰猛烈叫床潮| 亚洲精品ww久久久久久p站 | 久久影视一区二区| 免费高清不卡av| 欧美成人aa大片| 久久av中文字幕片| 精品日韩在线一区| 国产精品538一区二区在线| 精品乱人伦小说| 国产精品一区在线观看乱码| 久久久久9999亚洲精品| 高清在线观看日韩| 国产精品沙发午睡系列990531| 成人激情文学综合网| 亚洲天堂网中文字| 欧美日韩和欧美的一区二区| 亚洲综合一区二区精品导航| 欧美日韩免费观看一区三区| 无吗不卡中文字幕| 欧美成人伊人久久综合网| 九九九久久久精品| 亚洲美女屁股眼交3| 91精品国产麻豆国产自产在线 | 精品sm在线观看| 粉嫩av一区二区三区| 一区二区不卡在线视频 午夜欧美不卡在| 色综合久久久久久久久久久| wwwwww.欧美系列| 亚洲成人一区在线| 亚洲日本在线观看| 久久国内精品视频| 在线亚洲欧美专区二区| 日韩欧美一区二区久久婷婷| 亚洲欧美日韩综合aⅴ视频| 日本不卡视频一二三区| 91色porny在线视频| 国产午夜精品一区二区| 丝袜脚交一区二区| 色婷婷av一区二区三区软件| 精品国产污网站| 日韩电影免费在线观看网站| 欧美性一级生活| 亚洲欧洲成人自拍| 国产馆精品极品| 久久奇米777| 国产经典欧美精品| 26uuu欧美| 国产精品一级片在线观看| 日韩欧美黄色影院| 精品在线免费视频| 日韩欧美高清一区| 国产精品一区二区三区四区| 2023国产精品自拍| 国产精品自拍av| 国产女同性恋一区二区| 粉嫩一区二区三区在线看| 中文字幕欧美日本乱码一线二线| 国产高清亚洲一区| 亚洲欧美一区二区在线观看| 91麻豆国产福利精品| 亚洲影院免费观看| 在线91免费看| 狠狠色丁香婷综合久久| 国产欧美视频在线观看| 成人免费不卡视频| 亚洲综合色噜噜狠狠| 在线播放欧美女士性生活| 麻豆成人91精品二区三区| 337p粉嫩大胆色噜噜噜噜亚洲 | 欧美xxxxx牲另类人与| 秋霞午夜av一区二区三区| 久久午夜国产精品| 9色porny自拍视频一区二区| 亚洲一卡二卡三卡四卡无卡久久| 欧美精品久久一区| 国产精品996| 一区二区高清视频在线观看| 91精品国产色综合久久| 国产成人av电影免费在线观看| 日韩美女视频一区二区| 欧美日本一道本| 国产另类ts人妖一区二区| 一区二区三区精品视频在线| 91麻豆精品国产自产在线| 成人性生交大片免费看中文| 亚洲韩国精品一区| 亚洲国产岛国毛片在线| 欧美美女一区二区在线观看| 高清不卡一区二区在线| 一区二区三区美女视频| 精品国产凹凸成av人网站| 色婷婷久久久综合中文字幕| 国产米奇在线777精品观看| 亚洲精品欧美在线| 久久九九久久九九| 777a∨成人精品桃花网| 91污在线观看| 国产成人亚洲综合色影视| 视频一区视频二区中文| 亚洲另类在线制服丝袜| 国产亚洲精品bt天堂精选| 69精品人人人人| 欧美系列一区二区| 99久久久国产精品免费蜜臀| 国产美女主播视频一区| 免费看精品久久片| 五月激情六月综合| 亚洲人亚洲人成电影网站色| 精品国产髙清在线看国产毛片| 欧洲一区二区三区在线| 成人动漫在线一区| 国产精品99久久久久久久女警| 日本不卡高清视频| 婷婷夜色潮精品综合在线| 尤物视频一区二区| 亚洲视频一区二区在线观看| 欧美国产97人人爽人人喊| 2024国产精品视频| 精品久久久久久久人人人人传媒| 91麻豆精品国产| 欧美日本高清视频在线观看| 欧美色中文字幕| 欧美日韩美少妇| 在线观看91av| 欧美日韩二区三区| 91麻豆精品国产91久久久使用方法| 在线观看一区不卡| 欧美日韩视频第一区| 欧美久久免费观看| 91麻豆精品国产91久久久久久| 制服丝袜国产精品| 精品日产卡一卡二卡麻豆| 日韩欧美国产成人一区二区| 日韩视频一区二区三区 | 久久麻豆一区二区| 久久影视一区二区| 国产清纯白嫩初高生在线观看91| www国产亚洲精品久久麻豆| 久久日韩精品一区二区五区| 久久久久久电影| 国产精品午夜电影| 一区二区欧美国产| 丝袜国产日韩另类美女| 国产自产2019最新不卡| 丁香六月综合激情| 色综合天天综合网天天狠天天| 一本一本大道香蕉久在线精品| 欧美婷婷六月丁香综合色| 日韩免费视频一区| 国产三级一区二区| 亚洲最新视频在线观看| 美女视频一区二区三区| 丁香桃色午夜亚洲一区二区三区| 99re视频精品| 欧美理论在线播放| 久久精品欧美日韩| 亚洲综合一二区| 韩国v欧美v亚洲v日本v| 99久久综合狠狠综合久久| 91麻豆精品国产91久久久久久| 久久你懂得1024| 亚洲韩国精品一区| 国产999精品久久久久久| 欧美在线啊v一区| 久久久久久久久久电影| 亚洲福中文字幕伊人影院| 国产一区二区三区在线观看免费视频 | 国产欧美日韩亚州综合| 成人免费一区二区三区视频| 美女视频黄免费的久久| 色婷婷综合久久久中文字幕| 2020国产精品自拍| 日韩黄色免费网站| 色综合天天综合网天天看片|