*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/gselect (3)              
Title
Content
Arch
Section
 

Contents


gselect(3G)							   gselect(3G)


NAME    [Toc]    [Back]

     gselect - puts the	system in selecting mode

C SPECIFICATION    [Toc]    [Back]

     void gselect(buffer, numnam)
     short buffer[];
     long numnam;

PARAMETERS    [Toc]    [Back]

     buffer   expects the buffer into which you	want the system	to save	the
	      contents of the names stack.  A name is a	16-bit number, that
	      you load on the name stack just before you called	a drawing
	      routine.

     numname  expects the maximum number of names that you want	the system to
	      save.  This number must not exceed the number of elements	in
	      buffer.

DESCRIPTION    [Toc]    [Back]

     gselect turns on the selecting mode.  When	in selecting mode, the system
     notes when	a drawing routine intersects the selecting region and writes
     the contents of the names stack to	the specified buffer. If you push a
     name onto the names stack just before you call each drawing routine, you
     can record	which drawing routines intersected the selecting region.

     Use the current viewing matrix to define the selecting region.

     gselect and pick are identical except gselect allows you to create	a
     viewing matrix in selecting mode.	To end select mode, call endselect.

SEE ALSO    [Toc]    [Back]

      
      
     endpick, endselect, pick, picksize, initnames, pushname, popname,
     loadname

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

     In	order to select	a large	point or a wide	line in	selecting mode,	the
     selecting region must intersect the displayed point center	or the
     displayed line center respectively.  The displayed	point center is	the
     imaginary point of	size 1 specified by the	same vertex as the displayed
     point.  The displayed line	center is the imaginary	line of	width 1
     specified by the same vertices as the displayed line.  In case of a very
     large point or very wide line, you	may want to consider drawing a filled
     circle or a filled	rectangle respectively instead.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pick IRIX puts the system in picking mode
endselect IRIX turns off selecting mode
putq Tru64 STREAMS: Puts a message on a queue
putctl Tru64 STREAMS: Puts a control message on a queue
sleep Tru64 General: Puts a calling process to sleep
xfontsel Tru64 point & click interface for selecting X11 font names
xfontsel IRIX point & click interface for selecting X11 font names
putctl1 Tru64 Puts a control message with a 1-byte parameter on a queue
multi IRIX switch the system to multiuser mode
thread_block Tru64 General: Blocks (puts to sleep) the current kernel thread
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service