1XMAG(1)                     General Commands Manual                    XMAG(1)
2
3
4

NAME

6       xmag - magnify parts of the screen
7

SYNOPSIS

9       xmag [ -mag magfactor ] [ -source geom ] [ -toolkitoption ... ]
10

DESCRIPTION

12       The  xmag program allows you to magnify portions of an X screen.  If no
13       explicit region is specified, a square with the pointer  in  the  upper
14       left  corner is displayed indicating the area to be enlarged.  The area
15       can be dragged out to the desired size by pressing Button  2.   Once  a
16       region has been selected, a window is popped up showing a blown up ver‐
17       sion of the region in which each pixel in the source  image  is  repre‐
18       sented  by  a  small square of the same color.  Pressing Button1 in the
19       enlargement window shows the position and RGB value of the pixel  under
20       the  pointer  until  the button is released.  Typing ``Q'' or ``^C'' in
21       the enlargement window exits the program.  The application has  5  but‐
22       tons  across  its  top.   Close  deletes  this particular magnification
23       instance.  Replace brings up the rubber band selector again  to  select
24       another region for this magnification instance.  New brings up the rub‐
25       ber band selector to create a new magnification instance.  Cut puts the
26       magnification  image into the primary selection.  Paste copies the pri‐
27       mary selection buffer into xmag.  Note  that  you  can  cut  and  paste
28       between  xmag and the bitmap program.  Resizing xmag resizes the magni‐
29       fication area.  xmag preserves the colormap, visual, and  window  depth
30       of the source.
31

WIDGETS

33       xmag uses the X Toolkit and the Athena Widget Set.  The magnified image
34       is displayed in the Scale widget.  For more information, see the Athena
35       Widget  Set  documentation.   Below is the widget structure of the xmag
36       application.  Indentation indicates hierarchical  structure.  The  wid‐
37       get class name is given first, followed by the widget instance name.
38
39            Xmag xmag
40                 RootWindow root
41                 TopLevelShell xmag
42                      Paned pane1
43                           Paned pane2
44                                Command close
45                                Command replace
46                                Command new
47                                Command select
48                                Command paste
49                                Label xmag label
50                           Paned pane2
51                                Scale scale
52                 OverrideShell pixShell
53                      Label pixLabel
54
55

OPTIONS

57       -source geom   This  option  specifies  the size and/or location of the
58                      source region on the screen.  By default, a 64x64 square
59                      is  provided  for  the  user  to  select  an area of the
60                      screen.
61
62       -mag integer   This option indicates the magnification to be  used.   5
63                      is the default.
64

AUTHORS

66       Dave Sternlicht and Davor Matic, MIT X Consortium.
67
68
69
70X Version 11                      xmag 1.0.1                           XMAG(1)
Impressum