libDXF 0.0.1
A library with DXF related functions written in C.
Typedefs | Enumerations | Functions

entity.h File Reference

Header file for DXF entities. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum dxf_entity_type DxfEntityType
 DXF entity types.

Enumerations

enum  dxf_entity_type {
  UNKNOWN_ENTITY, DFACE, DSOLID, ACADPROXYENTITY,
  ARC, ATTDEF, ATTRIB, BODY,
  CIRCLE, DIMENSION, ELLIPSE, HATCH,
  HELIX, IMAGE, INSERT, LEADER,
  LIGHT, LINE, LWPOLYLINE, MESH,
  MLEADER, MLEADERSTYLE, MTEXT, OLEFRAME,
  OLE2FRAME, POINT, POLYLINE, RAY,
  REGION, SECTION, SHAPE, SOLID,
  SPLINE, SUN, SURFACE, TABLE,
  TEXT, TOLERANCE, TRACE, UNDERLAY,
  VERTEX, VIEWPORT, WIPEOUT, XLINE
}
 

DXF entity types.

More...

Functions

int dxf_entity_skip (char *dxf_entity_name)
 Prints warning on stderr and asks for confirmation (if interactive) on skipping output for an entity to a file (or device).

Detailed Description

Header file for DXF entities.

Author:
Copyright (C) 2008 ... 2016 by Bert Timmerman <bert.timmerman@xs4all.nl>.

Copyright Notices.


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to:
Free Software Foundation, Inc.,
59 Temple Place,
Suite 330,
Boston,
MA 02111 USA.

Drawing eXchange Format (DXF) is a defacto industry standard for the exchange of drawing files between various Computer Aided Drafting programs.
DXF is an industry standard designed by Autodesk(TM).
For more details see http://www.autodesk.com.


Definition in file entity.h.


Typedef Documentation

DXF entity types.


Enumeration Type Documentation

DXF entity types.

Enumerator:
UNKNOWN_ENTITY 
DFACE 
DSOLID 
ACADPROXYENTITY 
ARC 
ATTDEF 
ATTRIB 
BODY 
CIRCLE 
DIMENSION 
ELLIPSE 
HATCH 
HELIX 
IMAGE 
INSERT 
LEADER 
LIGHT 
LINE 
LWPOLYLINE 
MESH 
MLEADER 
MLEADERSTYLE 
MTEXT 
OLEFRAME 
OLE2FRAME 
POINT 
POLYLINE 
RAY 
REGION 
SECTION 
SHAPE 
SOLID 
SPLINE 
SUN 
SURFACE 
TABLE 
TEXT 
TOLERANCE 
TRACE 
UNDERLAY 
VERTEX 
VIEWPORT 
WIPEOUT 
XLINE 

Definition at line 47 of file entity.h.


Function Documentation

int dxf_entity_skip ( char *  dxf_entity_name)

Prints warning on stderr and asks for confirmation (if interactive) on skipping output for an entity to a file (or device).

Parameters:
dxf_entity_nameType of the entity skipped from output.

Definition at line 44 of file entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and INTER_ACTIVE_PROMPT.

Referenced by dxf_3dline_write(), dxf_line_write(), dxf_ray_write(), dxf_text_read(), dxf_text_write(), and dxf_xline_write().