bbox2i man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



bbox2(3G)							     bbox2(3G)

NAME
     bbox2, bbox2i, bbox2s - culls and prunes to bounding box and minimum
     pixel radius

C SPECIFICATION
     void bbox2(xmin, ymin, x1, y1, x2, y2)
     Screencoord xmin, ymin;
     Coord x1, y1, x2, y2;

     void bbox2i(xmin, ymin, x1, y1, x2, y2)
     Screencoord xmin, ymin;
     Icoord x1, y1, x2, y2;

     void bbox2s(xmin, ymin, x1, y1, x2, y2)
     Screencoord xmin, ymin;
     Scoord x1, y1, x2, y2;

     All of the above routines are functionally the same.  They differ only in
     the declaration types of their parameters.

PARAMETERS
     xmin   expects the width, in pixels, of the smallest displayable feature.

     ymin   expects the height, in pixels, of the smallest displayable
	    feature.

     x1	    expects the x coordinate of a corner of the bounding box.

     y1	    expects the y coordinate of a corner of the bounding box.

     x2	    expects the x coordinate of a corner of the bounding box. The
	    corner referenced by this parameter must be diagonally opposite
	    the corner referenced by the x1 and	 y1 parameters.

     y2	    expects the y coordinate of a corner of the bounding box. The
	    corner referenced by this parameter must be diagonally opposite
	    the corner referenced by the x1 and	 y1 parameters.

DESCRIPTION
     bbox2 performs the graphical functions known as culling and pruning.
     Culling prevents the system from drawing objects that are less than the
     minimum feature size (xmin and ymin). Pruning prevents the system from
     drawing objects that lie completely outside the viewport.

     To determine whether or not to cull an object, bbox2 tests whether or not
     the display of a rectangle the size of the bounding box is smaller than
     the minimum feature size. To determine whether or not to prune an object,
     bbox2 tests whether or not the bounding box is completely outside the
     viewport.

									Page 1

bbox2(3G)							     bbox2(3G)

     Call bbox2 within the definition for an object, just after the call to
     makeobj.  If the object must be pruned or culled, the remainder of the
     object definition is ignored.

SEE ALSO
     makeobj

NOTES
     This routine does not function in immediate mode.

     This routine is not a free test.  If you use bbox2 too freely, your
     performance can suffer.  Reserve bbox2 for complicated object definitions
     only.

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net