1 /*-----------------------------------------------------------------------
\r
3 ; XRECT - header file
\r
7 ; ****** XLIB - Mode X graphics library ****************
\r
8 ; ****** ****************
\r
9 ; ****** Written By Themie Gouthas ****************
\r
11 ; egg@dstos3.dsto.gov.au
\r
12 ; teg@bart.dsto.gov.au
\r
14 ; Terminology & notes:
\r
16 ; SRAM == System RAM
\r
17 ; X coordinates are in pixels unless explicitly stated
\r
19 ;-----------------------------------------------------------------------*/
\r
25 /* FUNCTIONS =========================================================== */
\r
31 void x_rect_pattern( /* draw a pattern filled rectangle */
\r
37 BYTE far * Pattern);
\r
39 void x_rect_pattern_clipped( /* draw a pattern filled clipped */
\r
40 WORD StartX, /* rectangle */
\r
45 BYTE far * Pattern);
\r
47 void x_rect_fill( /* draw a single colour filled rectangle */
\r
55 void x_rect_fill_clipped( /* draw a single colour filled */
\r
56 WORD StartX, /* and clipped rectangle */
\r
63 void x_cp_vid_rect( /* Copy rect region within VRAM */
\r
70 WORD SourcePageBase,
\r
72 WORD SourceBitmapWidth,
\r
73 WORD DestBitmapWidth);
\r
75 /* Copy a rectangular region of a VGA screen, with x coordinates
\r
76 rounded to the nearest byte -- source and destination may overlap. */
\r
78 void x_shift_rect (WORD SrcLeft, WORD SrcTop,
\r
79 WORD SrcRight, WORD SrcBottom,
\r
80 WORD DestLeft, WORD DestTop, WORD ScreenOffs);
\r