📄 indirect.c
字号:
/****************************************************************/
/* 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 */
/****************************************************************/
#include "dwgin.h"
PUBLIC AcadIndirect *AcadIndirect__create( void )
{
return( ( AcadIndirect * )get_memory( sizeof( AcadIndirect ) ) );
}
PUBLIC void AcadIndirect__delete( AcadIndirect *me )
{
free( ( char * )me );
}
PUBLIC int AcadIndirect__length( AcadIndirect *me )
{
return( me->common.size );
}
PUBLIC void AcadIndirect__read( AcadIndirect *me )
{
reading_indirect = true;
AcadEntity__read_elevation_etc( &me->common,true,true );
reading_indirect = false;
}
PUBLIC void AcadIndirect__dump_to_debug_file( AcadIndirect *me )
{
dprintf( "INDIRECT\n" );
dprintf( "\tOffset %x\n",me->common.layer );
AcadEntity__dump_to_debug_file( &me->common );
}
PUBLIC void AcadIndirect__dxfout( AcadIndirect *me )
{
me = me; /* avoid compiler warning */
}
INT16 AcadIndirect__offset( AcadIndirect *me )
{
return( me->common.layer );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -