bbox2() — Silicon Graphics
NAME
bbox2 − specifies bounding box and minimum pixel radius
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: longint; x1, y1,
x2, y2: Coord);
procedure bbox2i(xmin, ymin: longint; x1, y1,
x2, y2: Icoord);
procedure bbox2s(xmin, ymin: longint; x1, y1,
x2, y2: Scoord);
DESCRIPTION
bbox2 controls the execution of routines in a graphics library object. Its arguments are an object space bounding box and minimum horizontal and vertical feature sizes in pixels. bbox2 transforms the bounding box to screen coordinates and compares it with the viewport. If the bounding box is completely outside the viewport, the system ignores routines between bbox2 and the end of the object. Otherwise, the system compares the transformed bounding box with the minimum feature size. If the bounding box is too small in both the x and y dimensions, the rest of the routines in the object are ignored. Otherwise, interpretation of the object continues.
SEE ALSO
makeobj IRIS Graphics Programming, Section 8.2, Using Objects
Version 2.5 — April 22, 1987