124 lines
3.9 KiB
HTML
124 lines
3.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of XMAG</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>XMAG</H1>
|
|
Section: User Commands (1)<BR>Updated: xmag 1.0.6<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
xmag - magnify parts of the screen
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>xmag</B>
|
|
|
|
[
|
|
<B>-mag</B>
|
|
|
|
<I>magfactor</I>
|
|
|
|
] [
|
|
<B>-source</B>
|
|
|
|
<I>geom</I>
|
|
|
|
] [
|
|
<I>-toolkitoption</I>
|
|
|
|
... ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The <I>xmag</I> program allows you to magnify portions of an X screen. If no
|
|
explicit region is specified, a square with the pointer in the upper left
|
|
corner is displayed indicating the area to be enlarged. The area can be
|
|
dragged out to the desired size by pressing Button 2. Once a region has
|
|
been selected, a window is popped up showing a blown up version of the region
|
|
in which each pixel in the source image is represented by a small square of
|
|
the same color. Pressing Button1 in the enlargement window
|
|
shows the position and RGB value
|
|
of the pixel under the pointer until the button is released. Typing ``Q''
|
|
or ``^C'' in the enlargement window exits the program. The application has
|
|
5 buttons across its top.
|
|
<I>Close</I> deletes this particular magnification instance.
|
|
<I>Replace</I> brings up the rubber band selector again to select another
|
|
region for this magnification instance.
|
|
<I>New</I> brings up the rubber band
|
|
selector to create a new magnification instance.
|
|
<I>Select</I> puts the magnification image into the primary selection.
|
|
<I>Paste</I> copies the primary selection buffer into <I>xmag</I>.
|
|
Note that you can cut and paste between <I>xmag</I> and the <I>bitmap</I>
|
|
program. Resizing <I>xmag</I> resizes the magnification area.
|
|
<I>xmag</I> preserves
|
|
the colormap, visual, and window depth of the source.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>WIDGETS</H2>
|
|
|
|
<I>xmag</I> uses the X Toolkit and the Athena Widget Set.
|
|
The magnified image is displayed in the Scale widget.
|
|
For more information, see the Athena Widget Set documentation.
|
|
Below is the widget structure of the <I>xmag</I> application.
|
|
Indentation indicates hierarchical structure. The widget class
|
|
name is given first, followed by the widget instance name.
|
|
<P>
|
|
<PRE>
|
|
Xmag xmag
|
|
RootWindow root
|
|
TopLevelShell xmag
|
|
Paned pane1
|
|
Paned pane2
|
|
Command close
|
|
Command replace
|
|
Command new
|
|
Command select
|
|
Command paste
|
|
Label xmag label
|
|
Paned pane2
|
|
Scale scale
|
|
OverrideShell pixShell
|
|
Label pixLabel
|
|
|
|
</PRE>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-source</B><I> geom</I>
|
|
|
|
<DD>
|
|
This option specifies the size and/or location of the source region
|
|
on the screen. By default, a 64x64 square is provided for the user to select
|
|
an area of the screen.
|
|
<DT id="2"><B>-mag</B><I> integer</I>
|
|
|
|
<DD>
|
|
This option indicates the magnification to be used. 5 is the default.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Dave Sternlicht and Davor Matic, MIT X Consortium.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">WIDGETS</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">OPTIONS</A><DD>
|
|
<DT id="8"><A HREF="#lbAG">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:31 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|