attrib.h

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

H
40
字号
/****************************************************************/
/*			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 *value;
	char *tag;
	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;
	} AcadAttrib;

AcadAttrib *AcadAttrib__create( void );
int AcadAttrib__length( AcadAttrib *me );
void AcadAttrib__delete( AcadAttrib *me );
void AcadAttrib__read( AcadAttrib *me );
void AcadAttrib__write( AcadAttrib *me );
void AcadAttrib__dump_to_debug_file( AcadAttrib *me );
void AcadAttrib__dxfout( AcadAttrib *me );

⌨️ 快捷键说明

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