/****
 *
 * Copyright (c) 1988 by Sun Microsystems, Inc.
 * @(#)sh_RAS.ah 22.1 89/08/10 Copyright 1988 Sun Micro
 *
 * RASTER Class Attributes
 *
 ****/
Unsgn8		RAS_DEPTH;		/* depth */
Unsgn8		RAS_AREA_STYLE;		/* clip path fill styles */
unsigned int	RAS_CURSOR_OVERLAP : 1;	/* cursor overlaps raster flag */
unsigned int	RAS_ANTI_ALIAS : 1;	/* antialiasing switch */
unsigned int	ras_type_index : 2;	/* raster type */
unsigned int 	ras_depth_index : 2;	/* raster depth 0,1,2 */
unsigned int	ras_shape_clip : 1;	/* shape clip? */
unsigned int	ras_private : 1;	/* data area in user code? */
RAS_type	RAS_TYPE;		/* type */
Unsgn32		RAS_PLANE_ENABLE;	/* raster plane enable mask */
CMAP		RAS_CMAP;		/* color map */
#ifdef	SH_SMALL
POINT_B2D	RAS_ORG;		/* origin of raster */
POINT_B2D	RAS_DIM;		/* dimensions of raster */
#else
POINT_B3D	RAS_ORG;		/* origin of raster */
POINT_B3D	RAS_DIM;		/* dimensions of raster */
#endif
PATH		RAS_CLIP_PATH;		/* clip path */
unsigned char	*RAS_DATA;		/* raster pixel data */
Unsgn32		RAS_LINEBYTES;		/* bytes per scan line */

RASTER		ras_parent;		/* parent raster */
SCREEN		ras_screen;		/* screen associated with raster */
COORD_2D	ras_base;		/* physical base of raster */
CONTEXT		ras_ctx;		/* last context attached to raster */
SHAPE		ras_shape;		/* raster clip shape */
SHAPE		ras_clip_shape;		/* raster/context clip shape */
OBJ_KEY		ras_clip_key;		/* context clip attributes key */

#ifdef	WINDOWGRABBER
Unsgn32		*ras_lock;		/* window grabber lock */
#ifdef	SH_USER
Unsgn32		*ras_infop;		/* window grabber information */
#endif
#endif

#ifndef	SH_SMALL
Unsgn32		ras_dd[SH_DD_SLOTS];	/* device dependent info. */
#endif

