⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lines.h

📁 nucleus 文件系统,内核和彩色图形系统,在小系统上非常好用
💻 H
字号:
/*************************************************************************/
/*                                                                       */
/*         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          */
/*                                                                       */
/*      LINES.H                                          1.9             */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      All                                                              */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains the mwLIT defines.                            */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*      Giac Dinh, Accelerated Technology, Inc.                          */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*         BobB           12/29/98     Corrected to include blit_5.h     */
/*         BobB           2/18/99      Corrected lsSkipStat type         */
/*                                                                       */
/*************************************************************************/

#include "blit_5.h"
#define		MAX_RECTS		128
#define		CAP_DASH_START	0
#define		CAP_DASH_END	1

typedef struct _lineState {
	short	lsDXmin;
	short	lsDYmin;
	short	lsDXmax;
	short	lsDYmax;
	short	lsErrTerm;
	short	lsErrTermAdjUp;
	short	lsErrTermAdjDown;
	short	lsMajorAxisLengthM1;
	short	lsLineDir;
	long	lsMaxRects;
/* BobB 2/18/99 - corrected lsSkipStat type
	byte	lsSkipStat; */
	signed char	lsSkipStat;
} lnSt;

typedef struct _dashPoly{
	point	FirstVert[6];
	short	numPoints;
} dashPoly;

struct _blitRcd *lclblitRec;
	long	freeblitList;
	long	freeblit;
	blitRcd *work_blitRcd;
	byte	*dashListStart;
	int		dashElements;
	int		dashIndex;
	long	dashCount;
	int		dashFlags;
	int		blitListPtr;
	int		secondListPtr;
	int		workingPnPat;
	int		workingBkPat;
	long	*blitRcdPtr;
	byte	firstTime, lclCapStyle, dashCap;
	int		halfWidthLeft, halfWidthRight;
	int		halfHeightUp, halfHeightDown;
	int		halfWidthRightRoDn; 
	int		halfWidthRightRoUp;
	int		halfHeightDownRoDn;
	int		halfHeightDownRoUp;
	int		oddPenSizeFlag;

⌨️ 快捷键说明

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