Debian Codegraph @

upstream/debian-unstable/man1/xmag.1

raw
1 .\" Copyright 1991, 1994, 1998 The Open Group
2 .\"
3 .\" Permission to use, copy, modify, distribute, and sell this software and its
4 .\" documentation for any purpose is hereby granted without fee, provided that
5 .\" the above copyright notice appear in all copies and that both that
6 .\" copyright notice and this permission notice appear in supporting
7 .\" documentation.
8 .\"
9 .\" The above copyright notice and this permission notice shall be included
10 .\" in all copies or substantial portions of the Software.
11 .\"
12 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
13 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
15 .\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
16 .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
17 .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
18 .\" OTHER DEALINGS IN THE SOFTWARE.
19 .\"
20 .\" Except as contained in this notice, the name of The Open Group shall
21 .\" not be used in advertising or otherwise to promote the sale, use or
22 .\" other dealings in this Software without prior written authorization
23 .\" from The Open Group.
24 .\"
25 .\"
26 .TH XMAG 1 "xmag 1.0.7" "X Version 11"
27 .SH NAME
28 xmag \- magnify parts of the screen
29 .SH SYNOPSIS
30 .B xmag
31 [
32 .B \-mag
33 .I magfactor
34 ] [
35 .B \-source
36 .I geom
37 ] [
38 .I \-toolkitoption
39 \&.\|.\|. ]
40 .SH DESCRIPTION
41 The \fIxmag\fP program allows you to magnify portions of an X screen. If no
42 explicit region is specified, a square with the pointer in the upper left
43 corner is displayed indicating the area to be enlarged. The area can be
44 dragged out to the desired size by pressing Button 2. Once a region has
45 been selected, a window is popped up showing a blown up version of the region
46 in which each pixel in the source image is represented by a small square of
47 the same color. Pressing Button1 in the enlargement window
48 shows the position and RGB value
49 of the pixel under the pointer until the button is released. Typing ``Q''
50 or ``^C'' in the enlargement window exits the program. The application has
51 5 buttons across its top.
52 \fIClose\fP deletes this particular magnification instance.
53 \fIReplace\fP brings up the rubber band selector again to select another
54 region for this magnification instance.
55 \fINew\fP brings up the rubber band
56 selector to create a new magnification instance.
57 \fISelect\fP puts the magnification image into the primary selection.
58 \fIPaste\fP copies the primary selection buffer into \fIxmag\fP.
59 Note that you can cut and paste between \fIxmag\fP and the \fIbitmap\fP
60 program. Resizing \fIxmag\fP resizes the magnification area.
61 \fIxmag\fP preserves
62 the colormap, visual, and window depth of the source.
63 .SH WIDGETS
64 \fIxmag\fP uses the X Toolkit and the Athena Widget Set.
65 The magnified image is displayed in the Scale widget.
66 For more information, see the Athena Widget Set documentation.
67 Below is the widget structure of the \fIxmag\fP application.
68 Indentation indicates hierarchical structure. The widget class
69 name is given first, followed by the widget instance name.
70 .sp
71 .nf
72 Xmag xmag
73 RootWindow root
74 TopLevelShell xmag
75 Paned pane1
76 Paned pane2
77 Command close
78 Command replace
79 Command new
80 Command select
81 Command paste
82 Label xmag label
83 Paned pane2
84 Scale scale
85 OverrideShell pixShell
86 Label pixLabel
87
88 .fi
89 .SH OPTIONS
90 .TP 15
91 .B \-source\fI geom\fP
92 This option specifies the size and/or location of the source region
93 on the screen. By default, a 64x64 square is provided for the user to select
94 an area of the screen.
95 .TP 15
96 .B \-mag\fI integer\fP
97 This option indicates the magnification to be used. 5 is the default.
98 .SH AUTHORS
99 Dave Sternlicht and Davor Matic, MIT X Consortium.