Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

xmag (1)

Name

xmag - magnify parts of the screen

Synopsis

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

Description

XMAG(1)                     General Commands Manual                    XMAG(1)



NAME
       xmag - magnify parts of the screen

SYNOPSIS
       xmag [ -mag magfactor ] [ -source geom ] [ -toolkitoption ... ]

DESCRIPTION
       The  xmag 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 ver-
       sion of the region in which each pixel in the source  image  is  repre-
       sented  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  but-
       tons  across  its  top.   Close  deletes  this particular magnification
       instance.  Replace brings up the rubber band selector again  to  select
       another region for this magnification instance.  New brings up the rub-
       ber band selector to create a new magnification instance.  Select  puts
       the  magnification  image into the primary selection.  Paste copies the
       primary selection buffer into xmag.  Note that you can  cut  and  paste
       between  xmag and the bitmap program.  Resizing xmag resizes the magni-
       fication area.  xmag preserves the colormap, visual, and  window  depth
       of the source.

WIDGETS
       xmag 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 xmag
       application.  Indentation indicates hierarchical  structure.  The  wid-
       get class name is given first, followed by the widget instance name.

            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


OPTIONS
       -source geom   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.

       -mag integer   This option indicates the magnification to be  used.   5
                      is the default.

AUTHORS
       Dave Sternlicht and Davor Matic, MIT X Consortium.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | x11/xmag         |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source   was   downloaded   from    https://www.x.org/releases/individ-
       ual/app/xmag-1.0.6.tar.bz2.

       Further information about this software can be found on the open source
       community website at https://www.x.org.



X Version 11                      xmag 1.0.6                           XMAG(1)