entity.h

来自「AutoCAD DWG-file viewer」· C头文件 代码 · 共 47 行

H
47
字号
/****************************************************************/
/*			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			*/
/****************************************************************/

typedef struct AcadEntityStruct
 	{
	struct AcadEntityStruct *next;
	UINT8 type;
	char handle_name[ 10 ];
	boolean paper_space:1;
	boolean in_current_space:1;
	boolean ucs:1;
	int insert_level;
	UINT8 color;
	INT16 line_type;
	DOUBLE elevation;
	DOUBLE thickness;
	UINT8 info;
	INT16 size;	
	INT16 layer;
	INT16 pflags;
	DOUBLE dir_x,dir_y,dir_z;
	UINT8 handle_length;
	char handle[ 12 ];
	AcadExtendedEntity *extended_entity;
	AcadExtendedEntity *last_extended_entity;
	} AcadEntity;

void AcadEntity__read_elevation_etc( AcadEntity *me, boolean read_elevation, boolean read_thickness );
void AcadEntity__write_elevation_etc( AcadEntity *me, boolean write_elevation, boolean write_thickness, int size );
void AcadEntity__dxfout( AcadEntity *entity );
void AcadEntity__read_extended_data( AcadEntity *me );
void AcadEntity__dump_to_debug_file( AcadEntity *me );
void AcadEntity__convert_handle_to_string( char *string,char *handle );
void AcadEntity__get_ucs_directions( AcadEntity *me );
void AcadEntity__put_ucs_directions( AcadEntity *me );
void AcadEntity__dxfout_ucs( AcadEntity *me );


⌨️ 快捷键说明

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