BoxRec(D4nfb)
BoxRec --
Box definition structure
Synopsis
#include "miscstruct.h"
Description
The BoxRec structure is pointed to
by the pbox argument to several
NFB routines.
It describes the rectangular area
in which the image should appear in the frame buffer.
This structure has four members:
x1
, x2
, y1
, and y2
.
(x1
, y1
) points to
the upper left corner pixel
in which the first pixel of the image should appear.
(x2
, y2
)
points to the lower right corner
where the last pixel of the image should appear.
Structure definition
typedef struct _Box {
short x1, y1, x2, y2;
} BoxRec;
Structure members
The members are
x1
-
defines the first point on the X axis
y1
-
defines the first point on the Y axis
x2
-
defines the second point on the X axis
x2
-
defines the second point on the Y axis
Version applicability
This structure is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
References
CopyRect(D3nfb),
DrawFontText(D3nfb),
DrawImage(D3nfb),
DrawMonoImage(D3nfb),
DrawSolidRects(D3nfb),
FillRects(D3nfb),
SetClipRegions(D3nfb),
TileRects(D3nfb),
nfbReplicateArea(D3nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005