attdef.h

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

H
41
字号
/****************************************************************/
/*			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
	{
	AcadEntity common;
	DOUBLE x,y,height;
	char *default_value;
	char *prompt_string;
	char *tag_string;
	DOUBLE angle;
	UINT8 attribute_flags;
	UINT8 text_generation_flags;
	UINT8 field_length;
	UINT8 text_style;
	UINT8 horizontal_text_justify_type;
	UINT8 vertical_text_justify_type;
	DOUBLE alignment_x,alignment_y;
	DOUBLE x_scale;
	DOUBLE obliquing_angle;
	boolean upsidedown:1;
	boolean backward:1;
	boolean vertical:1;
	} AcadAttdef;

AcadAttdef *AcadAttdef__create( void );
int AcadAttdef__length( AcadAttdef *me );
void AcadAttdef__delete( AcadAttdef *me );
void AcadAttdef__read( AcadAttdef *me );
void AcadAttdef__write( AcadAttdef *me );
void AcadAttdef__dump_to_debug_file( AcadAttdef *me );
void AcadAttdef__dxfout( AcadAttdef *me );

⌨️ 快捷键说明

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