


XMAG(1)							  XMAG(1)


NNAAMMEE
       xmag - magnify parts of the screen

SSYYNNOOPPSSIISS
       xxmmaagg  [ --mmaagg _m_a_g_f_a_c_t_o_r ] [ --ssoouurrccee _g_e_o_m ] [ _-_t_o_o_l_k_i_t_o_p_t_i_o_n
       ... ]

DDEESSCCRRIIPPTTIIOONN
       The _x_m_a_g 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 indicat-
       ing  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 posi-
       tion  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.  _C_l_o_s_e deletes	 this  particular
       magnification instance.	_R_e_p_l_a_c_e brings up the rubber band
       selector again to select another region for this	 magnifi-
       cation  instance.   _N_e_w brings up the rubber band selector
       to create a new magnification instance.	_C_u_t puts the mag-
       nification image into the primary selection.  _P_a_s_t_e copies
       the primary selection buffer into _x_m_a_g.	Note that you can
       cut and paste between _x_m_a_g and the _b_i_t_m_a_p program.  Resiz-
       ing _x_m_a_g resizes the magnification area.	  _x_m_a_g	preserves
       the colormap, visual, and window depth of the source.

WWIIDDGGEETTSS
       _x_m_a_g  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  _x_m_a_g  application.
       Indentation indicates hierarchical  structure.  The widget
       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



X Version 11		    Release 6				1





XMAG(1)							  XMAG(1)


		      Label pixLabel


OOPPTTIIOONNSS
       --ssoouurrccee _g_e_o_m   This option specifies the size and/or loca-
		      tion of the source region	 on  the  screen.
		      By  default, a 64x64 square is provided for
		      the user to select an area of the screen.

       --mmaagg _i_n_t_e_g_e_r   This option indicates the magnification  to
		      be used.	5 is the default.

AAUUTTHHOORRSS
       Dave Sternlicht and Davor Matic, MIT X Consortium.











































X Version 11		    Release 6				2


