;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
GPI_INCLUDED	EQU	1

ifdef INCL_GPI 
INCL_GPIBITMAPS	EQU	1

INCL_GPICONTROL	EQU	1

INCL_GPICORRELATION	EQU	1

INCL_GPIDEFAULTS	EQU	1

INCL_GPILCIDS	EQU	1

INCL_GPILOGCOLORTABLE	EQU	1

INCL_GPIMETAFILES	EQU	1

INCL_GPIPATHS	EQU	1

INCL_GPIPOLYGON	EQU	1

INCL_GPIPRIMITIVES	EQU	1

INCL_GPIREGIONS	EQU	1

INCL_GPISEGEDITING	EQU	1

INCL_GPISEGMENTS	EQU	1

INCL_GPITRANSFORMS	EQU	1

endif 
ifdef INCL_ERRORS 
INCL_GPIERRORS	EQU	1

endif 
ifdef INCL_DDIDEFS 
INCL_GPIBITMAPS	EQU	1

INCL_GPIERRORS	EQU	1

INCL_GPILCIDS	EQU	1

INCL_GPILOGCOLORTABLE	EQU	1

INCL_GPIPATHS	EQU	1

INCL_GPIPOLYGON	EQU	1

INCL_GPIPRIMITIVES	EQU	1

INCL_GPIREGIONS	EQU	1

INCL_GPITRANSFORMS	EQU	1

endif 
ifdef INCL_SAADEFS 
INCL_GPIBITMAPS	EQU	1

INCL_GPICONTROL	EQU	1

INCL_GPICORRELATION	EQU	1

INCL_GPIERRORS	EQU	1

INCL_GPILCIDS	EQU	1

INCL_GPILOGCOLORTABLE	EQU	1

INCL_GPIMETAFILES	EQU	1

INCL_GPIPATHS	EQU	1

INCL_GPIPOLYGON	EQU	1

INCL_GPIPRIMITIVES	EQU	1

INCL_GPIREGIONS	EQU	1

INCL_GPISEGEDITING	EQU	1

INCL_GPISEGMENTS	EQU	1

INCL_GPITRANSFORMS	EQU	1

endif 
GPI_ERROR	EQU	0 
GPI_OK	EQU	1 
GPI_ALTERROR	EQU	(-1 )

SIZEL	STRUC
sizl_cx	DD	?
sizl_cy	DD	?
SIZEL	ENDS
CLR_NOINDEX	EQU	(-254 )
IFTEMP00 = 0
IFDEF INCL_GPICONTROL
IFTEMP00 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP00 = 1
ENDIF
IF IFTEMP00
PU_ARBITRARY	EQU	0004H 
PU_PELS	EQU	0008H 
PU_LOMETRIC	EQU	000CH 
PU_HIMETRIC	EQU	0010H 
PU_LOENGLISH	EQU	0014H 
PU_HIENGLISH	EQU	0018H 
PU_TWIPS	EQU	001CH 
GPIF_DEFAULT	EQU	0 
GPIF_SHORT	EQU	0100H 
GPIF_LONG	EQU	0200H 
GPIT_NORMAL	EQU	0 
GPIT_MICRO	EQU	1000H 
GPIA_NOASSOC	EQU	0 
GPIA_ASSOC	EQU	4000H 
GPIM_AREAEXCL	EQU	8000H 
ifndef INCL_SAADEFS
HDC_ERROR	EQU	(     -1 )
endif 
ifndef INCL_SAADEFS
endif 
endif 
ifdef INCL_GPICONTROL
GRES_ATTRS	EQU	0001H 
GRES_SEGMENTS	EQU	0002H 
GRES_ALL	EQU	0004H 
PS_UNITS	EQU	00FCH 
PS_FORMAT	EQU	0F00H 
PS_TYPE	EQU	1000H 
PS_MODE	EQU	2000H 
PS_ASSOCIATE	EQU	4000H 
PS_NORESET	EQU	8000H 
GPIE_SEGMENT	EQU	0 
GPIE_ELEMENT	EQU	1 
GPIE_DATA	EQU	2 
ifndef INCL_SAADEFS
DCTL_ERASE	EQU	1 
DCTL_DISPLAY	EQU	2 
DCTL_BOUNDARY	EQU	3 
DCTL_DYNAMIC	EQU	4 
DCTL_CORRELATE	EQU	5 
DCTL_ERROR	EQU	-1 
DCTL_OFF	EQU	0 
DCTL_ON	EQU	1 
SDW_ERROR	EQU	-1 
SDW_OFF	EQU	0 
SDW_ON	EQU	1 
endif 
DM_ERROR	EQU	0 
DM_DRAW	EQU	1 
DM_RETAIN	EQU	2 
DM_DRAWANDRETAIN	EQU	3 
ifndef INCL_SAADEFS
endif 
ifndef INCL_SAADEFS
endif 
ifndef INCL_SAADEFS
endif 
endif 
ifdef INCL_GPICORRELATION
PICKAP_DEFAULT	EQU	0 
PICKAP_REC	EQU	2 
PICKSEL_VISIBLE	EQU	0 
PICKSEL_ALL	EQU	1 
GPI_HITS	EQU	2 
ifndef INCL_SAADEFS
endif 
endif 
ifdef INCL_GPISEGMENTS
DFORM_NOCONV	EQU	0 
ifndef INCL_SAADEFS
DFORM_S370SHORT	EQU	1 
DFORM_PCSHORT	EQU	2 
DFORM_PCLONG	EQU	4 
endif 
ATTR_ERROR	EQU	(-1 )
ATTR_DETECTABLE	EQU	1 
ATTR_VISIBLE	EQU	2 
ATTR_CHAINED	EQU	6 
ifndef INCL_SAADEFS
ATTR_DYNAMIC	EQU	8 
endif 
ATTR_FASTCHAIN	EQU	9 
ATTR_PROP_DETECTABLE	EQU	10 
ATTR_PROP_VISIBLE	EQU	11 
ATTR_OFF	EQU	0 
ATTR_ON	EQU	1 
LOWER_PRI	EQU	(-1 )
HIGHER_PRI	EQU	1 
ifndef INCL_SAADEFS
endif 
endif 
ifdef INCL_GPISEGEDITING
SEGEM_ERROR	EQU	0 
SEGEM_INSERT	EQU	1 
SEGEM_REPLACE	EQU	2 
endif 
ifdef INCL_GPITRANSFORMS
CVTC_WORLD	EQU	1 
CVTC_MODEL	EQU	2 
CVTC_DEFAULTPAGE	EQU	3 
CVTC_PAGE	EQU	4 
CVTC_DEVICE	EQU	5 
TRANSFORM_REPLACE	EQU	0 
TRANSFORM_ADD	EQU	1 
TRANSFORM_PREEMPT	EQU	2 

MATRIXLF	STRUC
matlf_fxM11	DD	?
matlf_fxM12	DD	?
matlf_lM13	DD	?
matlf_fxM21	DD	?
matlf_fxM22	DD	?
matlf_lM23	DD	?
matlf_lM31	DD	?
matlf_lM32	DD	?
matlf_lM33	DD	?
MATRIXLF	ENDS
ifndef INCL_DDIDEFS
endif 
endif 
ifdef INCL_GPIPATHS
MPATH_STROKE	EQU	6 
FPATH_ALTERNATE	EQU	0 
FPATH_WINDING	EQU	2 
FPATH_INCL	EQU	0 
FPATH_EXCL	EQU	8 
SCP_ALTERNATE	EQU	0 
SCP_WINDING	EQU	2 
SCP_AND	EQU	4 
SCP_RESET	EQU	0 
SCP_INCL	EQU	0 
SCP_EXCL	EQU	8 
ifndef INCL_DDIDEFS
ifndef INCL_SAADEFS
endif 
endif 
endif 
ifdef INCL_GPILOGCOLORTABLE
ifndef INCL_GPIBITMAPS
INCL_GPIBITMAPS	EQU	1

endif 
LCOL_RESET	EQU	0001H 
LCOL_REALIZABLE	EQU	0002H 
LCOL_PURECOLOR	EQU	0004H 
LCOL_OVERRIDE_DEFAULT_COLORS	EQU	0008H 
LCOL_REALIZED	EQU	0010H 
LCOLF_DEFAULT	EQU	0 
LCOLF_INDRGB	EQU	1 
LCOLF_CONSECRGB	EQU	2 
LCOLF_RGB	EQU	3 
LCOLF_PALETTE	EQU	4 
LCOLOPT_REALIZED	EQU	0001H 
LCOLOPT_INDEX	EQU	0002H 
ifndef INCL_SAADEFS
QLCT_ERROR	EQU	(-1 )
QLCT_RGB	EQU	(-2 )
QLCT_NOTLOADED	EQU	(-1 )
endif 
QCD_LCT_FORMAT	EQU	0 
QCD_LCT_LOINDEX	EQU	1 
QCD_LCT_HIINDEX	EQU	2 
QCD_LCT_OPTIONS	EQU	3 
PAL_ERROR	EQU	(-1 )
PC_RESERVED	EQU	01H 
PC_EXPLICIT	EQU	02H 
PC_NOCOLLAPSE	EQU	04H 
ifndef INCL_DDIDEFS
ifndef INCL_SAADEFS
endif 
ifndef INCL_SAADEFS
endif 
endif 
endif 
IFTEMP01 = 0
IFDEF INCL_GPIPRIMITIVES
IFTEMP01 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP01 = 1
ENDIF
IF IFTEMP01
CLR_FALSE	EQU	(-5 )
CLR_TRUE	EQU	(-4 )
CLR_ERROR	EQU	(-255 )
CLR_DEFAULT	EQU	(-3 )
CLR_WHITE	EQU	(-2 )
CLR_BLACK	EQU	(-1 )
CLR_BACKGROUND	EQU	0 
CLR_BLUE	EQU	1 
CLR_RED	EQU	2 
CLR_PINK	EQU	3 
CLR_GREEN	EQU	4 
CLR_CYAN	EQU	5 
CLR_YELLOW	EQU	6 
CLR_NEUTRAL	EQU	7 
CLR_DARKGRAY	EQU	8 
CLR_DARKBLUE	EQU	9 
CLR_DARKRED	EQU	10 
CLR_DARKPINK	EQU	11 
CLR_DARKGREEN	EQU	12 
CLR_DARKCYAN	EQU	13 
CLR_BROWN	EQU	14 
CLR_PALEGRAY	EQU	15 
RGB_ERROR	EQU	(-255 )
RGB_BLACK	EQU	00000000H 
RGB_BLUE	EQU	000000FFH 
RGB_GREEN	EQU	0000FF00H 
RGB_CYAN	EQU	0000FFFFH 
RGB_RED	EQU	00FF0000H 
RGB_PINK	EQU	00FF00FFH 
RGB_YELLOW	EQU	00FFFF00H 
RGB_WHITE	EQU	00FFFFFFH 
BA_NOBOUNDARY	EQU	0 
BA_BOUNDARY	EQU	0001H 
BA_ALTERNATE	EQU	0 
BA_WINDING	EQU	0002H 
BA_INCL	EQU	0 
BA_EXCL	EQU	8 
DRO_FILL	EQU	1 
DRO_OUTLINE	EQU	2 
DRO_OUTLINEFILL	EQU	3 
PATSYM_ERROR	EQU	(-1 )
PATSYM_DEFAULT	EQU	0 
PATSYM_DENSE1	EQU	1 
PATSYM_DENSE2	EQU	2 
PATSYM_DENSE3	EQU	3 
PATSYM_DENSE4	EQU	4 
PATSYM_DENSE5	EQU	5 
PATSYM_DENSE6	EQU	6 
PATSYM_DENSE7	EQU	7 
PATSYM_DENSE8	EQU	8 
PATSYM_VERT	EQU	9 
PATSYM_HORIZ	EQU	10 
PATSYM_DIAG1	EQU	11 
PATSYM_DIAG2	EQU	12 
PATSYM_DIAG3	EQU	13 
PATSYM_DIAG4	EQU	14 
PATSYM_NOSHADE	EQU	15 
PATSYM_SOLID	EQU	16 
ifndef INCL_SAADEFS
PATSYM_HALFTONE	EQU	17 
endif 
PATSYM_HATCH	EQU	18 
PATSYM_DIAGHATCH	EQU	19 
PATSYM_BLANK	EQU	64 
LCID_ERROR	EQU	(-1 )
LCID_DEFAULT	EQU	0 
ifndef INCL_DDIDEFS
endif 
endif 
ifdef INCL_GPIPRIMITIVES
AM_ERROR	EQU	(-1 )
AM_PRESERVE	EQU	0 
AM_NOPRESERVE	EQU	1 
FM_ERROR	EQU	(-1 )
FM_DEFAULT	EQU	0 
FM_OR	EQU	1 
FM_OVERPAINT	EQU	2 
FM_LEAVEALONE	EQU	5 
FM_XOR	EQU	4 
FM_AND	EQU	6 
FM_SUBTRACT	EQU	7 
FM_MASKSRCNOT	EQU	8 
FM_ZERO	EQU	9 
FM_NOTMERGESRC	EQU	10 
FM_NOTXORSRC	EQU	11 
FM_INVERT	EQU	12 
FM_MERGESRCNOT	EQU	13 
FM_NOTCOPYSRC	EQU	14 
FM_MERGENOTSRC	EQU	15 
FM_NOTMASKSRC	EQU	16 
FM_ONE	EQU	17 
BM_ERROR	EQU	(-1 )
BM_DEFAULT	EQU	0 
BM_OR	EQU	1 
BM_OVERPAINT	EQU	2 
BM_LEAVEALONE	EQU	5 
BM_XOR	EQU	4 
BM_AND	EQU	6 
BM_SUBTRACT	EQU	7 
BM_MASKSRCNOT	EQU	8 
BM_ZERO	EQU	9 
BM_NOTMERGESRC	EQU	10 
BM_NOTXORSRC	EQU	11 
BM_INVERT	EQU	12 
BM_MERGESRCNOT	EQU	13 
BM_NOTCOPYSRC	EQU	14 
BM_MERGENOTSRC	EQU	15 
BM_NOTMASKSRC	EQU	16 
BM_ONE	EQU	17 
BM_SRCTRANSPARENT	EQU	18 
BM_DESTTRANSPARENT	EQU	19 
LINETYPE_ERROR	EQU	(-1 )
LINETYPE_DEFAULT	EQU	0 
LINETYPE_DOT	EQU	1 
LINETYPE_SHORTDASH	EQU	2 
LINETYPE_DASHDOT	EQU	3 
LINETYPE_DOUBLEDOT	EQU	4 
LINETYPE_LONGDASH	EQU	5 
LINETYPE_DASHDOUBLEDOT	EQU	6 
LINETYPE_SOLID	EQU	7 
LINETYPE_INVISIBLE	EQU	8 
ifndef INCL_SAADEFS
LINETYPE_ALTERNATE	EQU	9 
endif 
LINEWIDTH_ERROR	EQU	(-1 )
LINEWIDTH_DEFAULT	EQU	0 
LINEWIDTH_NORMAL	EQU	00010000H    
LINEWIDTH_THICK	EQU	00020000H    
LINEWIDTHGEOM_ERROR	EQU	(-1 )
LINEEND_ERROR	EQU	(-1 )
LINEEND_DEFAULT	EQU	0 
LINEEND_FLAT	EQU	1 
LINEEND_SQUARE	EQU	2 
LINEEND_ROUND	EQU	3 
LINEJOIN_ERROR	EQU	(-1 )
LINEJOIN_DEFAULT	EQU	0 
LINEJOIN_BEVEL	EQU	1 
LINEJOIN_ROUND	EQU	2 
LINEJOIN_MITRE	EQU	3 
CHDIRN_ERROR	EQU	(-1 )
CHDIRN_DEFAULT	EQU	0 
CHDIRN_LEFTRIGHT	EQU	1 
CHDIRN_TOPBOTTOM	EQU	2 
CHDIRN_RIGHTLEFT	EQU	3 
CHDIRN_BOTTOMTOP	EQU	4 
TA_NORMAL_HORIZ	EQU	0001H 
TA_LEFT	EQU	0002H 
TA_CENTER	EQU	0003H 
TA_RIGHT	EQU	0004H 
TA_STANDARD_HORIZ	EQU	0005H 
TA_NORMAL_VERT	EQU	0100H 
TA_TOP	EQU	0200H 
TA_HALF	EQU	0300H 
TA_BASE	EQU	0400H 
TA_BOTTOM	EQU	0500H 
TA_STANDARD_VERT	EQU	0600H 
CM_ERROR	EQU	(-1 )
CM_DEFAULT	EQU	0 
CM_MODE1	EQU	1 
CM_MODE2	EQU	2 
CM_MODE3	EQU	3 
MARKSYM_ERROR	EQU	(-1 )
MARKSYM_DEFAULT	EQU	0 
MARKSYM_CROSS	EQU	1 
MARKSYM_PLUS	EQU	2 
MARKSYM_DIAMOND	EQU	3 
MARKSYM_SQUARE	EQU	4 
MARKSYM_SIXPOINTSTAR	EQU	5 
MARKSYM_EIGHTPOINTSTAR	EQU	6 
MARKSYM_SOLIDDIAMOND	EQU	7 
MARKSYM_SOLIDSQUARE	EQU	8 
MARKSYM_DOT	EQU	9 
MARKSYM_SMALLCIRCLE	EQU	10 
MARKSYM_BLANK	EQU	64 
CHS_OPAQUE	EQU	0001H 
CHS_VECTOR	EQU	0002H 
CHS_LEAVEPOS	EQU	0008H 
CHS_CLIP	EQU	0010H 
CHS_UNDERSCORE	EQU	0200H 
CHS_STRIKEOUT	EQU	0400H 
PRIM_LINE	EQU	1 
PRIM_CHAR	EQU	2 
PRIM_MARKER	EQU	3 
PRIM_AREA	EQU	4 
PRIM_IMAGE	EQU	5 
LBB_COLOR	EQU	0001H 
LBB_BACK_COLOR	EQU	0002H 
LBB_MIX_MODE	EQU	0004H 
LBB_BACK_MIX_MODE	EQU	0008H 
LBB_WIDTH	EQU	0010H 
LBB_GEOM_WIDTH	EQU	0020H 
LBB_TYPE	EQU	0040H 
LBB_END	EQU	0080H 
LBB_JOIN	EQU	0100H 
CBB_COLOR	EQU	0001H 
CBB_BACK_COLOR	EQU	0002H 
CBB_MIX_MODE	EQU	0004H 
CBB_BACK_MIX_MODE	EQU	0008H 
CBB_SET	EQU	0010H 
CBB_MODE	EQU	0020H 
CBB_BOX	EQU	0040H 
CBB_ANGLE	EQU	0080H 
CBB_SHEAR	EQU	0100H 
CBB_DIRECTION	EQU	0200H 
CBB_TEXT_ALIGN	EQU	0400H 
CBB_EXTRA	EQU	0800H 
CBB_BREAK_EXTRA	EQU	1000H 
MBB_COLOR	EQU	0001H 
MBB_BACK_COLOR	EQU	0002H 
MBB_MIX_MODE	EQU	0004H 
MBB_BACK_MIX_MODE	EQU	0008H 
MBB_SET	EQU	0010H 
MBB_SYMBOL	EQU	0020H 
MBB_BOX	EQU	0040H 
ABB_COLOR	EQU	0001H 
ABB_BACK_COLOR	EQU	0002H 
ABB_MIX_MODE	EQU	0004H 
ABB_BACK_MIX_MODE	EQU	0008H 
ABB_SET	EQU	0010H 
ABB_SYMBOL	EQU	0020H 
ABB_REF_POINT	EQU	0040H 
IBB_COLOR	EQU	0001H 
IBB_BACK_COLOR	EQU	0002H 
IBB_MIX_MODE	EQU	0004H 
IBB_BACK_MIX_MODE	EQU	0008H 

ARCPARAMS	STRUC
arcp_lP	DD	?
arcp_lQ	DD	?
arcp_lR	DD	?
arcp_lS	DD	?
ARCPARAMS	ENDS

SIZEF	STRUC
sizfx_cx	DD	?
sizfx_cy	DD	?
SIZEF	ENDS

GRADIENTL	STRUC
gradl_x	DD	?
gradl_y	DD	?
GRADIENTL	ENDS

LINEBUNDLE	STRUC
lbnd_lColor	DD	?
lbnd_lBackColor	DD	?
lbnd_usMixMode	DW	?
lbnd_usBackMixMode	DW	?
lbnd_fxWidth	DD	?
lbnd_lGeomWidth	DD	?
lbnd_usType	DW	?
lbnd_usEnd	DW	?
lbnd_usJoin	DW	?
lbnd_usReserved	DW	?
LINEBUNDLE	ENDS

CHARBUNDLE	STRUC
cbnd_lColor	DD	?
cbnd_lBackColor	DD	?
cbnd_usMixMode	DW	?
cbnd_usBackMixMode	DW	?
cbnd_usSet	DW	?
cbnd_usPrecision	DW	?
cbnd_sizfxCell	DB	SIZE SIZEF DUP (?)
cbnd_ptlAngle	DB	SIZE POINTL DUP (?)
cbnd_ptlShear	DB	SIZE POINTL DUP (?)
cbnd_usDirection	DW	?
cbnd_usTextAlign	DW	?
cbnd_fxExtra	DD	?
cbnd_fxBreakExtra	DD	?
CHARBUNDLE	ENDS

MARKERBUNDLE	STRUC
mbnd_lColor	DD	?
mbnd_lBackColor	DD	?
mbnd_usMixMode	DW	?
mbnd_usBackMixMode	DW	?
mbnd_usSet	DW	?
mbnd_usSymbol	DW	?
mbnd_sizfxCell	DB	SIZE SIZEF DUP (?)
MARKERBUNDLE	ENDS

AREABUNDLE	STRUC
pbnd_lColor	DD	?
pbnd_lBackColor	DD	?
pbnd_usMixMode	DW	?
pbnd_usBackMixMode	DW	?
pbnd_usSet	DW	?
pbnd_usSymbol	DW	?
pbnd_ptlRefPoint	DB	SIZE POINTL DUP (?)
AREABUNDLE	ENDS

IMAGEBUNDLE	STRUC
ibmd_lColor	DD	?
ibmd_lBackColor	DD	?
ibmd_usMixMode	DW	?
ibmd_usBackMixMode	DW	?
IMAGEBUNDLE	ENDS
TXTBOX_TOPLEFT	EQU	0 
TXTBOX_BOTTOMLEFT	EQU	1 
TXTBOX_TOPRIGHT	EQU	2 
TXTBOX_BOTTOMRIGHT	EQU	3 
TXTBOX_CONCAT	EQU	4 
TXTBOX_COUNT	EQU	5 
PVIS_ERROR	EQU	0 
PVIS_INVISIBLE	EQU	1 
PVIS_VISIBLE	EQU	2 
RVIS_ERROR	EQU	0 
RVIS_INVISIBLE	EQU	1 
RVIS_PARTIAL	EQU	2 
RVIS_VISIBLE	EQU	3 
ifndef INCL_DDIDEFS
ifndef INCL_SAADEFS
endif 
endif 
endif 
ifdef INCL_GPILCIDS
FONT_DEFAULT	EQU	1 
FONT_MATCH	EQU	2 
LCIDT_FONT	EQU	6 
LCIDT_BITMAP	EQU	7 
LCID_ALL	EQU	(-1 )

KERNINGPAIRS	STRUC
krnpr_sFirstChar	DW	?
krnpr_sSecondChar	DW	?
krnpr_lKerningAmount	DD	?
KERNINGPAIRS	ENDS

FACENAMEDESC	STRUC
fnd_usSize	DW	?
fnd_usWeightClass	DW	?
fnd_usWidthClass	DW	?
fnd_usReserved	DW	?
fnd_flOptions	DD	?
FACENAMEDESC	ENDS
FWEIGHT_DONT_CARE	EQU	0 
FWEIGHT_ULTRA_LIGHT	EQU	1 
FWEIGHT_EXTRA_LIGHT	EQU	2 
FWEIGHT_LIGHT	EQU	3 
FWEIGHT_SEMI_LIGHT	EQU	4 
FWEIGHT_NORMAL	EQU	5 
FWEIGHT_SEMI_BOLD	EQU	6 
FWEIGHT_BOLD	EQU	7 
FWEIGHT_EXTRA_BOLD	EQU	8 
FWEIGHT_ULTRA_BOLD	EQU	9 
FWIDTH_DONT_CARE	EQU	0 
FWIDTH_ULTRA_CONDENSED	EQU	1 
FWIDTH_EXTRA_CONDENSED	EQU	2 
FWIDTH_CONDENSED	EQU	3 
FWIDTH_SEMI_CONDENSED	EQU	4 
FWIDTH_NORMAL	EQU	5 
FWIDTH_SEMI_EXPANDED	EQU	6 
FWIDTH_EXPANDED	EQU	7 
FWIDTH_EXTRA_EXPANDED	EQU	8 
FWIDTH_ULTRA_EXPANDED	EQU	9 
FTYPE_ITALIC	EQU	0001H 
FTYPE_ITALIC_DONT_CARE	EQU	0002H 
FTYPE_OBLIQUE	EQU	0004H 
FTYPE_OBLIQUE_DONT_CARE	EQU	0008H 
FTYPE_ROUNDED	EQU	0010H 
FTYPE_ROUNDED_DONT_CARE	EQU	0020H 
QFA_PUBLIC	EQU	1 
QFA_PRIVATE	EQU	2 
QFA_ERROR	EQU	GPI_ALTERROR
QF_PUBLIC	EQU	0001H 
QF_PRIVATE	EQU	0002H 
QF_NO_GENERIC	EQU	0004H 
QF_NO_DEVICE	EQU	0008H 
ifndef INCL_SAADEFS

FFDESCS2	STRUC
ffdescs2_cbLength	DD	?
ffdescs2_cbFacenameOffset	DD	?
ffdescs2_abFamilyName	DB	1 DUP (?)
FFDESCS2	ENDS
endif 
ifndef INCL_DDIDEFS
ifndef INCL_SAADEFS
endif 
endif 
endif 
IFTEMP02 = 0
IFDEF INCL_GPIBITMAPS
IFTEMP02 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP02 = 1
ENDIF
IF IFTEMP02
ROP_SRCCOPY	EQU	00CCH 
ROP_SRCPAINT	EQU	00EEH 
ROP_SRCAND	EQU	0088H 
ROP_SRCINVERT	EQU	0066H 
ROP_SRCERASE	EQU	0044H 
ROP_NOTSRCCOPY	EQU	0033H 
ROP_NOTSRCERASE	EQU	0011H 
ROP_MERGECOPY	EQU	00C0H 
ROP_MERGEPAINT	EQU	00BBH 
ROP_PATCOPY	EQU	00F0H 
ROP_PATPAINT	EQU	00FBH 
ROP_PATINVERT	EQU	005AH 
ROP_DSTINVERT	EQU	0055H 
ROP_ZERO	EQU	0000H 
ROP_ONE	EQU	00FFH 
BBO_OR	EQU	0 
BBO_AND	EQU	1 
BBO_IGNORE	EQU	2 
BBO_PAL_COLORS	EQU	4 
BBO_NO_COLOR_INFO	EQU	8 
FF_BOUNDARY	EQU	0 
FF_SURFACE	EQU	1 
HBM_ERROR	EQU	(         -1 )
ifndef INCL_DDIDEFS
endif 
endif 
ifdef INCL_GPIBITMAPS
INCLUDE pmbitmap.INC
CBM_INIT	EQU	0004H 
BMB_ERROR	EQU	(-1 )
ifndef INCL_DDIDEFS
endif 
endif 
ifdef INCL_GPIREGIONS
CRGN_OR	EQU	1 
CRGN_COPY	EQU	2 
CRGN_XOR	EQU	4 
CRGN_AND	EQU	6 
CRGN_DIFF	EQU	7 
RECTDIR_LFRT_TOPBOT	EQU	1 
RECTDIR_RTLF_TOPBOT	EQU	2 
RECTDIR_LFRT_BOTTOP	EQU	3 
RECTDIR_RTLF_BOTTOP	EQU	4 

RGNRECT	STRUC
rgnrc_ircStart	DD	?
rgnrc_crc	DD	?
rgnrc_crcReturned	DD	?
rgnrc_ulDirection	DD	?
RGNRECT	ENDS
RGN_ERROR	EQU	0 
RGN_NULL	EQU	1 
RGN_RECT	EQU	2 
RGN_COMPLEX	EQU	3 
PRGN_ERROR	EQU	0 
PRGN_OUTSIDE	EQU	1 
PRGN_INSIDE	EQU	2 
RRGN_ERROR	EQU	0 
RRGN_OUTSIDE	EQU	1 
RRGN_PARTIAL	EQU	2 
RRGN_INSIDE	EQU	3 
EQRGN_ERROR	EQU	0 
EQRGN_NOTEQUAL	EQU	1 
EQRGN_EQUAL	EQU	2 
HRGN_ERROR	EQU	(      -1 )
ifndef INCL_DDIDEFS
ifndef INCL_SAADEFS
endif 
ifndef INCL_SAADEFS
endif 
endif 
endif 
ifdef INCL_GPIMETAFILES
ifndef INCL_DDIDEFS
PMF_SEGBASE	EQU	0 
PMF_LOADTYPE	EQU	1 
PMF_RESOLVE	EQU	2 
PMF_LCIDS	EQU	3 
PMF_RESET	EQU	4 
PMF_SUPPRESS	EQU	5 
PMF_COLORTABLES	EQU	6 
PMF_COLORREALIZABLE	EQU	7 
PMF_DEFAULTS	EQU	8 
PMF_DELETEOBJECTS	EQU	9 
RS_DEFAULT	EQU	0 
RS_NODISCARD	EQU	1 
LC_DEFAULT	EQU	0 
LC_NOLOAD	EQU	1 
LC_LOADDISC	EQU	3 
LT_DEFAULT	EQU	0 
LT_NOMODIFY	EQU	1 
LT_ORIGINALVIEW	EQU	4 
RES_DEFAULT	EQU	0 
RES_NORESET	EQU	1 
RES_RESET	EQU	2 
SUP_DEFAULT	EQU	0 
SUP_NOSUPPRESS	EQU	1 
SUP_SUPPRESS	EQU	2 
CTAB_DEFAULT	EQU	0 
CTAB_NOMODIFY	EQU	1 
CTAB_REPLACE	EQU	3 
CTAB_REPLACEPALETTE	EQU	4 
CREA_DEFAULT	EQU	0 
CREA_REALIZE	EQU	1 
CREA_NOREALIZE	EQU	2 
CREA_DOREALIZE	EQU	3 
ifndef INCL_SAADEFS
DDEF_DEFAULT	EQU	0 
DDEF_IGNORE	EQU	1 
DDEF_LOADDISC	EQU	3 
DOBJ_DEFAULT	EQU	0 
DOBJ_NODELETE	EQU	1 
DOBJ_DELETE	EQU	2 
RSP_DEFAULT	EQU	0 
RSP_NODISCARD	EQU	1 
endif 
ifndef INCL_SAADEFS
endif 
endif 
endif 
ifdef INCL_GPIDEFAULTS
endif 
ifdef INCL_GPIPOLYGON

POLYGON	STRUC
plygn_ulPoints	DD	?
plygn_aPointl	DD	?
POLYGON	ENDS

POLYSET	STRUC
plyst_ulPolys	DD	?
plyst_aPolygon	DB	SIZE POLYGON * 1 DUP (?)
POLYSET	ENDS
POLYGON_NOBOUNDARY	EQU	0 
POLYGON_BOUNDARY	EQU	0001H 
POLYGON_ALTERNATE	EQU	0 
POLYGON_WINDING	EQU	0002H 
POLYGON_INCL	EQU	0 
POLYGON_EXCL	EQU	0008H 
ifndef INCL_DDIDEFS
endif 
endif 
ifdef INCL_GPIERRORS
INCLUDE pmerr.INC
endif 
