Esempio n. 1
0
VOID gsx_outline(GRECT *pt)
{
	vs_clip(gl_handle, FALSE, &ptsin[0]);
	gsx_attr(FALSE, MD_XOR, BLACK);
	gsx_bxpts(pt);
	v_pline(gl_handle, 5, &ptsin[0]);
}
Esempio n. 2
0
LOCAL VOID bb_fill(WORD mode, WORD fis, WORD patt, WORD hx, WORD hy, WORD hw, WORD hh)
{
	gsx_fix(&gl_dst, 0x0L, 0, 0);
	ptsin[0] = hx;
	ptsin[1] = hy;
	ptsin[2] = hx + hw - 1;
	ptsin[3] = hy + hh - 1;

	gsx_attr(TRUE, mode, gl_tcolor);
	if (fis != gl_fis)
	{
		vsf_interior(gl_handle, fis);
		gl_fis = fis;
	}
	if (patt != gl_patt)
	{
		vsf_style( gl_handle, patt );
		gl_patt = patt;
	}
	vr_recfl(gl_handle, &ptsin[0]);
}
Esempio n. 3
0
static void gr_setup(WORD color)
{
        gsx_sclip(&gl_rscreen);
        gsx_attr(FALSE, MD_XOR, color);
}