bbox2() — Silicon Graphics Beta Release
NAME
bbox2 - specifies bounding box and minimum pixel radius for drawing commands
SPECIFICATION
C
bbox2(xmin, ymin, x1, y1, x2, y2)
Screencoord xmin, ymin;
Coord x1, y1, x2, y2;
bbox2i(xmin, ymin, x1, y1, x2, y2)
Screencoord xmin, ymin;
Icoord x1, y1, x2, y2;
bbox2s(xmin, ymin, x1, y1, x2, y2)
Screencoord xmin, ymin;
Scoord x1, y1, x2, y2;
FORTRAN
subroutine bbox2(xmin, ymin, x1, y1, x2, y2)
integer*4 xmin, ymin
real x1, y1, x2, y2
subroutine bbox2i(xmin, ymin, x1, y1, x2, y2)
integer*4 xmin, ymin, x1, y1, x2, y2
subroutine bbox2s(xmin, ymin, x1, y1, x2, y2)
integer*4 xmin, ymin
integer*2 x1, y1, x2, y2
Pascal
procedure bbox2(xmin, ymin: Screencoord; x1, y1,
x2, y2: Coord);
procedure bbox2i(xmin, ymin: Screencoord; x1, y1,
x2, y2: Icoord);
procedure bbox2s(xmin, ymin: Screencoord; x1, y1,
x2, y2: Scoord);
DESCRIPTION
The bbox2 command controls whether the commands in an object are executed. Its arguments are an object space bounding box and minimum horizontal and vertical feature sizes, in pixels. The bounding box is transformed to screen coordinates and compared with the viewport. If the bounding box is completely outside the viewport, the commands between the bbox2 command and the end of the object will be ignored. Otherwise, the bounding box of the transformed bounding box is compared with the minimum feature size. If the bounding box is too small in both the x and y dimensions, the rest of the commands in the object are ignored. Otherwise, interpretation of the object continues.
SEE ALSO
makeobj
Version 2.3 — July 04, 1985