📄 circles.pkg
字号:
#..........................................................................# # L a s t W a v e P a c k a g e 'circles' 2.0## Author Emmanuel Bacry # # File associated the tutorial circles package # #..........................................................................# The default position of circles windowsdisp.circles.rect={20 55 330 330}########################################################### # Perform zoom on circles with the mouse# ##########################################################SetZoomBindings GraphCircles {'rect' 'xrect' 'yrect'}############################################################ Perform cursor displaying on circles###########################################################setproc _CursorTextGraphCircles {} { c = [setg @object -graph] sprintf id "%v" c return "$@objname ($id): $@x $@y" }setproc _DrawCursorNoneGraphCircles {cursor} { cursor.erase=null return [_CursorTextGraphCircles]}setproc _DrawCursorGraphCircles {cursor} { _ViewDrawCrossHair cursor.view @x @y cursor.erase = %%`_ViewDrawCrossHair '$cursor.view' $@x $@y` return [_CursorTextGraphCircles]}setproc _DrawCursor1GraphCircles {cursor} { c = [setg @object -graph] i = [circles closest c @x @y] x = c.x[i] y = c.y[i] _ViewDrawCrossHair cursor.view x y cursor.erase = %%`_ViewDrawCrossHair '$cursor.view' $x $y` return "$@objname : $x $y [index = $i] "}SetCursorBindings GraphCircles {%_DrawCursorNoneGraphCircles %_DrawCursorGraphCircles %_DrawCursor1GraphCircles}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -