Files
Arquivotheca.SunOS-4.1.4/usr.lib/libpixrect/pr/traprop.h
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

27 lines
556 B
C

/* @(#)traprop.h 1.1 94/10/31 SMI */
/*
* Copyright (c) 1984 by Sun Microsystems, Inc.
*/
#ifndef traprop_DEFINED
#define traprop_DEFINED
struct pr_chain {
struct pr_chain *next;
struct pr_size size; /* size of bounding box */
int *bits; /* chain-encoding bits */
};
struct pr_fall {
struct pr_pos pos; /* position of top of fall */
struct pr_chain *chain; /* trajectory of fall */
};
struct pr_trap {
struct pr_fall *left, *right; /* falls = left+right boundaries */
int y0, y1; /* top+bottom boundaries */
};
#endif traprop_DEFINED