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

📄 dwgin.h

📁 AutoCAD DWG-file viewer
💻 H
字号:
/****************************************************************/
/*			COPYRIGHT NOTICE			*/
/*			----------------			*/
/*  All software in this listing remain the strict copyright	*/
/*  of Ilija Kovacevic and cannot be copied or used in any way	*/
/*  except by written permission of Ilija Kovacevic.		*/
/*								*/
/*	Copyright (c) 1992 Ilija Kovacevic			*/
/*	www.kov.com   email ilija@kov.com			*/
/****************************************************************/

#pragma warning( disable : 4013 ) //warning C4013: 'open' undefined; assuming extern returning int
#pragma warning( disable : 4047 ) //warning C4047: '=' : 'char ' differs in levels of indirection from 'void *'
#pragma warning( disable : 4761 ) //warning C4761: integral size mismatch in argument; conversion supplied
#pragma warning( disable : 4244 ) //warning C4244: '=' : conversion from 'short ' to 'unsigned char ', possible loss of data
#pragma warning( disable : 4018 ) //warning C4018: '!=' : signed/unsigned mismatch

#define ACAD_POINT 		1
#define ACAD_LINE  		2
#define ACAD_TRACE 		3
#define ACAD_LINE3D		4
#define ACAD_FACE3D		5
#define ACAD_ATTDEF		6
#define ACAD_ATTRIB		7
#define ACAD_TEXT		8
#define ACAD_SOLID		9
#define ACAD_ARC		10
#define ACAD_CIRCLE		11
#define ACAD_DIMENSION		12
#define ACAD_INSERT		13
#define ACAD_INSERT_BASE	14
#define ACAD_SHAPE		15
#define ACAD_ENDBLK		16
#define ACAD_VERTEX		17
#define ACAD_PLINE		18
#define ACAD_SEQEND		19
#define ACAD_VPORT		20

#include <stdarg.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <general.h>
#include <string.h>
#include <math.h>

#ifdef DOS
#include <io.h>
#include <sys/stat.h>
#include <time.h>
#endif

#ifdef UNIX
#define O_BINARY 0
#include <sys/stat.h>
#include <unistd.h>
#endif

#ifdef B16
#define UINT8 unsigned char
#define INT16 int
#define INT32 long
#define DOUBLE double
#endif

#ifdef B32
#define UINT8 unsigned char
#define INT16 short
#define INT32 int
#define DOUBLE double
#endif

#include <utils.h>
#include <fileio.h>
#include <shx.h>
#include <xentity.h>
#include <xstring.h>
#include <xapp.h>
#include <xlayer.h>
#include <xbindata.h>
#include <xhandle.h>
#include <x3real.h>
#include <xwrldpos.h>
#include <xwrlddis.h>
#include <xwrlddir.h>
#include <xcstring.h>
#include <xreal.h>
#include <xdist.h>
#include <xscale.h>
#include <xint.h>
#include <xlong.h>
#include <xbrace.h>
#include <entity.h>
#include <header.h>
#include <block.h>
#include <layer.h>
#include <arc.h>
#include <attdef.h>
#include <attrib.h>
#include <circle.h>
#include <dim.h>
#include <indirect.h>
#include <face3d.h>
#include <insert.h>
#include <ins_base.h>
#include <line.h>
#include <line3d.h>
#include <pline.h>
#include <point.h>
#include <seqend.h>
#include <shape.h>
#include <solid.h>
#include <text.h>
#include <trace.h>
#include <vertex.h>
#include <viewp.h>
#include <vport.h>
#include <ltype.h>
#include <style.h>
#include <ucs.h>
#include <view.h>
#include <appid.h>
#include <dimstyle.h>
#include <endblk.h>
#include <dxf.h>
#include <drawing.h>
#include <dxfout.h>
#include <globals.h>

⌨️ 快捷键说明

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