DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DDXPointRec(D4nfb)


DDXPointRec -- DDX point record structure

Synopsis

#include "miscstruct.h"

Description

Structure definition

typedef struct _DDXPoint {
    short x, y;
} DDXPointRec;

Structure members

The members are

x,y
The DDXPointRec structure records a specific location in the frame buffer. The structure has two members: x and y.

Usage

The DDXPointRec structure defines the starting coordinates for polygons, solid spans, and rectangles. It ensures that, when multiple rectangles are filled in different parts of a window and overlap, the patterns will match up appropriately. A simple analogy of this would be when you are putting wallpaper up and need to make sure that the wallpaper pattern matches as you paper each strip to the wall.

Version applicability

This structure is supported for NFB drivers on all releases of SCO OpenServer 5, SVR5, and AIX 5L.

Examples

See FillRects(D3nfb) for code fragments that illustrate the use of the DDXPointRec structure.

References

CopyRect(D3nfb), DrawPoints(D3nfb), FillPolygons(D3nfb), FillRects(D3nfb), FillSpans(D3nfb), TileRects(D3nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005