zoom

Section: Misc. Reference Manual Pages (1L)
Updated: June 10, 1986
Index Return to Main Contents
 

NAME

zoom - an icon editor for mgr  

SYNOPSIS

zoom <icon file> ...  

DESCRIPTION

zoom is a mouse driven icon editter for mgr. Zoom divides the window into three regions, a banner line at the top containing four status fields, a message line at the bottom, and the remainder of the window for an enlarged, or zoomed representation of <icon> being editted. If the first file given on the command line is not an icon, zoom prompts for its width and height.

The current state of zoom is indicated by the four status fields in the banner line.

*
The first, or raster function field displays the current raster-op function to be applied to the next edit operation. This function may be changed with the pop-up menu, activated by pressing the middle mouse button while the mouse track is in the raster function field. Normally the choices are set, clear, toggle and grid. The first three are raster-op functions; the grid option toggles the bitmap alignment grid. If the put command is pending (see below), the raster-op choices become copy, paint mask, and exclusive-or.
*
The second, or edit field displays one of the six possible edit functions: Yank, Put, Shrink, Grow, Fix, and Undo. Fix and Undo are performed when selected. Fix changes the window size to give square pixels. Undo un-does the previous edit operation. If any of the other functions is selected, it becomes the pending function, and is highlighted. When a function is pending, the next sweep operation performs that function on the group of pixels enclosed by the sweeping rectangle (the selected pixels).
Yank
copies the selected pixels into the yank buffer.
Put
combines the yank buffer with the selected pixels in a manner determined by the current raster function field.
Shrink
makes the icon smaller by scaling the selected pixels to fill the entire window.
Grow
makes the icon bigger by scaling the entire icon to fit into the selected pixel region.
*
The Third or size field displays the current width and height of the icon, in pixels. The size of the icon may be changed by selecting the pop-up menu when the mouse track is in the size field and responding to the prompt. While in the prompt window, the menu permits the selection of several standard icon sizes.
*
The fourth, and final field is the file field. The file field displays the current file name of the icon. The filing options Save, Get, Yank, and Quit are, as usual, accessed by a pop-up menu when the mouse track is in the file field. The file options prompt for a file name. A list of all of the files specified on the command line is available via the pop-up menu within the prompt window.
Save
saves the icon by the specified name.
Get
edits a new icon , tossing the current icon into the bit-bucket.
Yank
copies the specified icon into the yank buffer for use with the put command.
Quit
quits Zoom. Quit does NOT save the icon. A save must be explicitly issued first. Zoom may also be terminated by typing "Q\r" to the window, or hitting your favorite interrupt key.

For those who are not particularly font of rodents, all of the zoom commands may be accessed via 1 or 2 letter keyboard commands (followed by a \r), some of which are:


        R       Repaint window

        x       toggle alignment grid

        w       FIX window aspect ratio

        u       UNDO


        s1      select SET mode

        s2      select CLEAR mode

        s3      select TOGGLE mode


        f       SAVE file

        g       GET a new file

        y       YANK a file

        Q       QUIT


        F1      select YANK function

        F2      select PUT function

        F3      SHRINK icon

        F4      GROW icon


        P0      set COPY mode

        P1      set PAINT mode

        P2      set MASK mode

        P3      set XOR mode

Okay, now to edit the icon.

*
Pressing the middle button and moving it either sets or clears the pixels it passes over. If the first pixel it touches is clear, the pixels will be set; if it is set, all touched pixels will be cleared.
*
Holding, moving, then releasing the right mouse button sweeps out a rectangular region of selected pixels. If no function is currently highlighted in the edit field, the current raster-op function is performed on the selected pixels. Otherwise, the highlighted function is performed.
 

BUGS

*
Zoom works best on small icons, running on the local machine.
*
You can't view the actual size of the icon being editted.
*
Icon coordinates must be typed in exactly in the form of x , y with no spaces or tabs.
 

SEE ALSO

browse(1L) dump(5L) mgr(1L)


 

Index

NAME
SYNOPSIS
DESCRIPTION
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 09:00:42 GMT, February 14, 2025