home *** CD-ROM | disk | FTP | other *** search
- /*-----------------------------------------------------------------------
- ; MODULE XCLIPPBM
- ;
- ; This module was written by Matthew MacKenzie
- ; matm@eng.umd.edu
- ;
- ; Clipped transfer of planar bitmaps from system memory to video memory.
- ;
- ; Compile with TASM.
- ; C near-callable.
- ;
- ; ****** XLIB - Mode X graphics library ****************
- ; ****** ****************
- ; ****** Written By Themie Gouthas ****************
- ;
- ; Terminology & notes:
- ; VRAM == Video RAM
- ; SRAM == System RAM
- ; X coordinates are in pixels unless explicitly stated
- ;
- ;----------------------------------------------------------------------*/
-
- #ifndef _XCLIPPBM_H_
- #define _XCLIPPBM_H_
-
- /* copies a planar bitmap from SRAM to VRAM, with clipping */
- extern void x_clip_pbm (int X, int Y, int ScreenOffs, char far * Bitmap);
-
- /* copies a planar bitmap from SRAM to VRAM, with clipping -- 0 bytes
- in the bitmap are not copied */
- extern void x_clip_masked_pbm (int X, int Y,
- int ScreenOffs, char far * Bitmap);
-
- /* unlike most global variables in Xlib, these are meant to be written to;
- in fact they start off uninitialized -- all values are in pixels */
- extern int TopBound;
- extern int BottomBound;
- extern int LeftBound;
- extern int RightBound;
-
- #endif