📄 fill_6.c
字号:
/*************************************************************************/
/* */
/* Copyright (c) 1997 - 1999 Accelerated Technology, Inc. */
/* */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the */
/* subject matter of this material. All manufacturing, reproduction, */
/* use, and sales rights pertaining to this subject matter are governed */
/* by the license agreement. The recipient of this software implicitly */
/* accepts the terms of the license. */
/* */
/*************************************************************************/
/*************************************************************************/
/* */
/* FILE NAME VERSION */
/* */
/* fill_6.c 1.9 */
/* */
/* COMPONENT */
/* */
/* All */
/* */
/* DESCRIPTION */
/* */
/* This file contains common variables for the fill routines. */
/* */
/* AUTHOR */
/* */
/* Robert G. Burrill, Accelerated Technology, Inc. */
/* */
/* DATA STRUCTURES */
/* */
/* None */
/* */
/* FUNCTIONS */
/* */
/* None */
/* */
/* DEPENDENCIES */
/* */
/* None */
/* */
/* HISTORY */
/* */
/* NAME DATE REMARKS */
/* */
/* */
/*************************************************************************/
#include "meta_wnd.h"
#include "metconst.h" /* MetaWINDOW Constant & Stucture Definitions */
#include "metports.h" /* MetaWINDOW Port & Bitmap Definitions */
#include "metaproc.h"
#include "grafdata.h"
#include "fill_6.h"
int lineCntM1; /* line count (minus 1, dYmax-dYmin) */
int dstNextRow; /* inc from end of row to start of next */
int byteCnt,bytCnt; /* Destination byte count */
long *listPtr; /* ptr to FILLREC.blitList */
void (*optPtr)(void);/* ptr to BLIT optimization routine */
grafMap *dstBmap; /* ptr to dst bitmap */
int rectCnt; /* FILLREC.blitCnt */
long lclPortMask; /* working plane mask */
short cXmin, cYmin, cXmax, cYmax; /* Clip rect */
short dXmin, dYmin, dXmax, dYmax; /* Destination rect */
long *dstRowTablePtr; /* pointer to destination row table */
char pnColr, bkColr; /* background and foreground colors */
short pnColr16, bkColr16; /* background and foreground 16-bit colors */
long pnColr24, bkColr24; /* background and foreground 24-bit colors */
char dstBanked; /* 1 if destination is banked */
char maskLf, maskRt; /* left/right nibble mask for VGA-specific */
int dstBgnByte; /* offset from start of row to first pixel to fill */
/* From Fill_var.h ********/
int loopCnt; /* Working loop counter */
int byteCntM1; /* Destination byte count (Minus 1) */
int dstClass; /* Dst device class - EGA(0)/VGA(1) */
byte *dstBgnPtr; /* ptr to 1st byte in 1st line to fill */
#include "regclipv.h" /* variables for clipping macros */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -