canvas::zoom(3tk) Variations on a canvas canvas::zoom(3tk)__________________________________________________________________________________________________________________________________________________NAME
canvas::zoom - Zoom control for canvas::sqmap
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require canvas::zoom ?0.1?
::canvas::zoom pathName ?options?
_________________________________________________________________DESCRIPTION
This package provides a widget to enable the user of a map display to control the zoom level.
API
::canvas::zoom pathName ?options?
Creates the zoom control widget pathName and configures it. The methods and options supported by the new widget are described in the
following sections.
The result of the command is pathName.
OPTIONS
-orient
The value for this option is either vertical, or horizontal, specifying the orientation of the major axis of the widget. The default
is vertical.
-levels
The value for this option is a non-negative integer. It specifies the number of zoom levels to support.
-variable
The value for this option is the name of a global or namespaced variable which is connected with the widget. changes to the zoom
level made the widget are propagated to this variable, and in turn changes to the variable are imported into the widget.
-command
This option specifies a command prefix. This callback will be invoked whenever the zoom level is changed. It is called with two
additional arguments, the zoom control widget, and the new zoom level, in this order.
METHODS
The widget supports no methods beyond the standard (configure, cget, etc.).
KEYWORDS
zoom
canvas 0.1 canvas::zoom(3tk)
Check Out this Related Man Page
canvas::zoom(n) Variations on a canvas canvas::zoom(n)
__________________________________________________________________________________________________________________________________________________NAME
canvas::zoom - Zoom control for canvas::sqmap
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require snit
package require uevent::onidle
package require canvas::zoom ?0.2.1?
::canvas::zoom pathName ?options?
_________________________________________________________________DESCRIPTION
This package provides a widget to enable the user of a map display to control the zoom level.
API
::canvas::zoom pathName ?options?
Creates the zoom control widget pathName and configures it. The methods and options supported by the new widget are described in the
following sections.
The result of the command is pathName.
OPTIONS
-orient
The value for this option is either vertical, or horizontal, specifying the orientation of the major axis of the widget. The default
is vertical.
-levels
The value for this option is a non-negative integer. It specifies the number of zoom levels to support.
-variable
The value for this option is the name of a global or namespaced variable which is connected with the widget. changes to the zoom
level made the widget are propagated to this variable, and in turn changes to the variable are imported into the widget.
-command
This option specifies a command prefix. This callback will be invoked whenever the zoom level is changed. It is called with two
additional arguments, the zoom control widget, and the new zoom level, in this order.
METHODS
The widget supports no methods beyond the standard (configure, cget, etc.).
KEYWORDS
zoom
canvas 0.2.1 canvas::zoom(n)
Hi ;
I have a question regarding the uniq command in unix
How do I uniq 3rd field in a file ?
original file :
zoom coord 39 18652 39 18652
zoom coord 39 18653 39 18653
zoom coord 39 18818 39 18818
zoom coord 39 18840 39 18840
zoom coord 41 15096 41 15096
zoom... (1 Reply)
I am using a Linux command that shrinks a pdf using ghostscript from 100% zoom to 90% zoom. This command works properly from the Linux prompt:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=sam1.pdf -c "<< /BeginPage{0.9 0.9 scale 30.6 39.6 translate}>> setpagedevice"... (2 Replies)