1
.\" $Xorg: xmag.man,v 1.4 2001/02/09 02:05:55 xorgcvs Exp $
2
.\" Copyright 1991, 1994, 1998 The Open Group
4
.\" Permission to use, copy, modify, distribute, and sell this software and its
5
.\" documentation for any purpose is hereby granted without fee, provided that
6
.\" the above copyright notice appear in all copies and that both that
7
.\" copyright notice and this permission notice appear in supporting
10
.\" The above copyright notice and this permission notice shall be included
11
.\" in all copies or substantial portions of the Software.
13
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19
.\" OTHER DEALINGS IN THE SOFTWARE.
21
.\" Except as contained in this notice, the name of The Open Group shall
22
.\" not be used in advertising or otherwise to promote the sale, use or
23
.\" other dealings in this Software without prior written authorization
24
.\" from The Open Group.
26
.\" $XFree86: xc/programs/xmag/xmag.man,v 1.7 2001/12/14 20:02:12 dawes Exp $
28
.TH XMAG 1 __xorgversion__
30
xmag \- magnify parts of the screen
43
The \fIxmag\fP program allows you to magnify portions of an X screen. If no
44
explicit region is specified, a square with the pointer in the upper left
45
corner is displayed indicating the area to be enlarged. The area can be
46
dragged out to the desired size by pressing Button 2. Once a region has
47
been selected, a window is popped up showing a blown up version of the region
48
in which each pixel in the source image is represented by a small square of
49
the same color. Pressing Button1 in the enlargement window
50
shows the position and RGB value
51
of the pixel under the pointer until the button is released. Typing ``Q''
52
or ``^C'' in the enlargement window exits the program. The application has
53
5 buttons across its top.
54
\fIClose\fP deletes this particular magnification instance.
55
\fIReplace\fP brings up the rubber band selector again to select another
56
region for this magnification instance.
57
\fINew\fP brings up the rubber band
58
selector to create a new magnification instance.
59
\fICut\fP puts the magnification image into the primary selection.
60
\fIPaste\fP copies the primary selection buffer into \fIxmag\fP.
61
Note that you can cut and paste between \fIxmag\fP and the \fIbitmap\fP
62
program. Resizing \fIxmag\fP resizes the magnification area.
64
the colormap, visual, and window depth of the source.
66
\fIxmag\fP uses the X Toolkit and the Athena Widget Set.
67
The magnified image is displayed in the Scale widget.
68
For more information, see the Athena Widget Set documentation.
69
Below is the widget structure of the \fIxmag\fP application.
70
Indentation indicates hierarchical structure. The widget class
71
name is given first, followed by the widget instance name.
87
OverrideShell pixShell
93
.B \-source\fI geom\fP
94
This option specifies the size and/or location of the source region
95
on the screen. By default, a 64x64 square is provided for the user to select
96
an area of the screen.
98
.B \-mag\fI integer\fP
99
This option indicates the magnification to be used. 5 is the default.
101
Dave Sternlicht and Davor Matic, MIT X Consortium.