xpbmclip.h

来自「视频游戏开发C语言源程序」· C头文件 代码 · 共 84 行

H
84
字号
/*-----------------------------------------------------------------------
;
; XPBMCLIP - header file
;
;
;
; ****** XLIB - Mode X graphics library                ****************
; ******                                               ****************
; ****** Written By Themie Gouthas                     ****************
;
; egg@dstos3.dsto.gov.au
; teg@bart.dsto.gov.au
;
;  Terminology & notes:
;         VRAM ==   Video RAM
;         SRAM ==   System RAM
;         X coordinates are in pixels unless explicitly stated
;
;-----------------------------------------------------------------------*/

#ifndef _XPBMCLIP_H_
#define _XPBMCLIP_H_


/* FUNCTIONS =========================================================== */

#ifdef __cplusplus
extern "C" {
#endif


 int x_put_masked_pbm_clipx(  /* Copy a planar bitmap from SRAM masking */
	      int X,          /* only non zero pixels to VRAM           */
	      int Y,          /* Supports clipping in the X direction   */
	      WORD ScrnOffs,
	      BYTE far * Bitmap);


 int x_put_masked_pbm_clipy(  /* Copy a planar bitmap from SRAM masking */
	      int X,          /* only non zero pixels to VRAM           */
	      int Y,          /* Supports clipping in the Y direction   */
	      WORD ScrnOffs,
	      BYTE far * Bitmap);

 int x_put_masked_pbm_clipxy( /* Copy a planar bitmap from SRAM masking */
	      int X,          /* only non zero pixels to VRAM           */
	      int Y,          /* Supports clipping in the Y direction   */
	      WORD ScrnOffs,
	      BYTE far * Bitmap);

 int x_put_pbm_clipx(         /* Copy a planar bitmap from SRAM masking */
	      int X,          /* Supports clipping in the x direction   */
	      int Y,
	      WORD ScrnOffs,
	      BYTE far * Bitmap);

 int x_put_pbm_clipy(   /* Copy a planar bitmap from SRAM masking */
	      int X,    /* Supports clipping in the Y direction   */
	      int Y,
	      WORD ScrnOffs,
	      BYTE far * Bitmap);

 int x_put_pbm_clipx(   /* Copy a planar bitmap from SRAM masking */
	      int X,    /* Supports clipping in the X direction   */
	      int Y,
	      WORD ScrnOffs,
	      BYTE far * Bitmap);

 int x_put_pbm_clipxy(   /* Copy a planar bitmap from SRAM masking */
	      int X,     /* Supports clipping in the X&Y directions */
	      int Y,
	      WORD ScrnOffs,
	      BYTE far * Bitmap);


#ifdef __cplusplus
}
#endif


#endif


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?