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

acad_proxy_entity.h File Reference

Header file for a DXF acad_proxy_entity entity (ACAD_PROXY_ENTITY). More...

#include "global.h"
#include "binary_entity_data.h"
#include "binary_graphics_data.h"
#include "object_id.h"
Include dependency graph for acad_proxy_entity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dxf_acad_proxy_entity_struct
 DXF definition of an AutoCAD acad_proxy_entity entity (ACAD_PROXY_ENTITY). More...

Typedefs

typedef struct
dxf_acad_proxy_entity_struct 
DxfAcadProxyEntity
 DXF definition of an AutoCAD acad_proxy_entity entity (ACAD_PROXY_ENTITY).

Functions

DxfAcadProxyEntitydxf_acad_proxy_entity_new ()
 Allocate memory for a DXF ACAD_PROXY_ENTITY.
DxfAcadProxyEntitydxf_acad_proxy_entity_init (DxfAcadProxyEntity *acad_proxy_entity)
 Allocate memory and initialize data fields in a DXF ACAD_PROXY_ENTITY table.
DxfAcadProxyEntitydxf_acad_proxy_entity_read (DxfFile *fp, DxfAcadProxyEntity *acad_proxy_entity)
 Read data from a DXF file into a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_write (DxfFile *fp, DxfAcadProxyEntity *acad_proxy_entity)
 Write DXF output for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_free (DxfAcadProxyEntity *acad_proxy_entity)
 Free the allocated memory for a DXF ACAD_PROXY_ENTITY and all it's data fields.
void dxf_acad_proxy_entity_free_chain (DxfAcadProxyEntity *acad_proxy_entities)
 Free the allocated memory for a chain of DXF ACAD_PROXY_ENTITY entities and all their data fields.
int dxf_acad_proxy_entity_get_id_code (DxfAcadProxyEntity *acad_proxy_entity)
 Get the ID code from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_id_code (DxfAcadProxyEntity *acad_proxy_entity, int id_code)
 Set the ID code for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_linetype (DxfAcadProxyEntity *acad_proxy_entity)
 Get the linetype from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_linetype (DxfAcadProxyEntity *acad_proxy_entity, char *linetype)
 Set the linetype for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_layer (DxfAcadProxyEntity *acad_proxy_entity)
 Get the layer from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_layer (DxfAcadProxyEntity *acad_proxy_entity, char *layer)
 Set the layer for a DXF ACAD_PROXY_ENTITY entity.
double dxf_acad_proxy_entity_get_elevation (DxfAcadProxyEntity *acad_proxy_entity)
 Get the elevation a this DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_elevation (DxfAcadProxyEntity *acad_proxy_entity, double elevation)
 Set the elevation for a DXF ACAD_PROXY_ENTITY entity.
double dxf_acad_proxy_entity_get_thickness (DxfAcadProxyEntity *acad_proxy_entity)
 Get the thickness from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_thickness (DxfAcadProxyEntity *acad_proxy_entity, double thickness)
 Set the thickness for a DXF ACAD_PROXY_ENTITY entity.
double dxf_acad_proxy_entity_get_linetype_scale (DxfAcadProxyEntity *acad_proxy_entity)
 Get the linetype scale from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_linetype_scale (DxfAcadProxyEntity *acad_proxy_entity, double linetype_scale)
 Set the linetype scale for a DXF ACAD_PROXY_ENTITY entity.
int16_t dxf_acad_proxy_entity_get_visibility (DxfAcadProxyEntity *acad_proxy_entity)
 Get the object visibility from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_visibility (DxfAcadProxyEntity *acad_proxy_entity, int16_t visibility)
 Set the visibility for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_color (DxfAcadProxyEntity *acad_proxy_entity)
 Get the color from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_color (DxfAcadProxyEntity *acad_proxy_entity, int color)
 Set the color for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_paperspace (DxfAcadProxyEntity *acad_proxy_entity)
 Get the paperspace flag value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_paperspace (DxfAcadProxyEntity *acad_proxy_entity, int paperspace)
 Set the paperspace flag for a DXF ACAD_PROXY_ENTITY entity.
int16_t dxf_acad_proxy_entity_get_shadow_mode (DxfAcadProxyEntity *acad_proxy_entity)
 Get the shadow_mode from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_shadow_mode (DxfAcadProxyEntity *acad_proxy_entity, int16_t shadow_mode)
 Set the shadow_mode for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_dictionary_owner_soft (DxfAcadProxyEntity *acad_proxy_entity)
 Get the soft pointer to the dictionary owner from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_dictionary_owner_soft (DxfAcadProxyEntity *acad_proxy_entity, char *dictionary_owner_soft)
 Set the pointer to the dictionary_owner_soft for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_material (DxfAcadProxyEntity *acad_proxy_entity)
 Get the pointer to the material from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_material (DxfAcadProxyEntity *acad_proxy_entity, char *material)
 Set the pointer to the material for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_dictionary_owner_hard (DxfAcadProxyEntity *acad_proxy_entity)
 Get the hard pointer to the dictionary owner from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_dictionary_owner_hard (DxfAcadProxyEntity *acad_proxy_entity, char *dictionary_owner_hard)
 Set the pointer to the dictionary_owner_hard for a DXF ACAD_PROXY_ENTITY entity.
int16_t dxf_acad_proxy_entity_get_lineweight (DxfAcadProxyEntity *acad_proxy_entity)
 Get the lineweight from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_lineweight (DxfAcadProxyEntity *acad_proxy_entity, int16_t lineweight)
 Set the lineweight for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_plot_style_name (DxfAcadProxyEntity *acad_proxy_entity)
 Get the plot_style_name from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_plot_style_name (DxfAcadProxyEntity *acad_proxy_entity, char *plot_style_name)
 Set the plot_style_name for a DXF ACAD_PROXY_ENTITY entity.
long dxf_acad_proxy_entity_get_color_value (DxfAcadProxyEntity *acad_proxy_entity)
 Get the color_value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_color_value (DxfAcadProxyEntity *acad_proxy_entity, long color_value)
 Set the color_value for a DXF ACAD_PROXY_ENTITY entity.
char * dxf_acad_proxy_entity_get_color_name (DxfAcadProxyEntity *acad_proxy_entity)
 Get the color_name from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_color_name (DxfAcadProxyEntity *acad_proxy_entity, char *color_name)
 Set the color_name for a DXF ACAD_PROXY_ENTITY entity.
long dxf_acad_proxy_entity_get_transparency (DxfAcadProxyEntity *acad_proxy_entity)
 Get the transparency from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_transparency (DxfAcadProxyEntity *acad_proxy_entity, long transparency)
 Set the transparency for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_original_custom_object_data_format (DxfAcadProxyEntity *acad_proxy_entity)
 Get the original custom object data format value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_original_custom_object_data_format (DxfAcadProxyEntity *acad_proxy_entity, int original_custom_object_data_format)
 Set the original custom object data format value for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_proxy_entity_class_id (DxfAcadProxyEntity *acad_proxy_entity)
 Get the proxy entity class id value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_proxy_entity_class_id (DxfAcadProxyEntity *acad_proxy_entity, int proxy_entity_class_id)
 Set the proxy entity class id value for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_application_entity_class_id (DxfAcadProxyEntity *acad_proxy_entity)
 Get the application entity class id value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_application_entity_class_id (DxfAcadProxyEntity *acad_proxy_entity, int application_entity_class_id)
 Set the application entity class id value for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_graphics_data_size (DxfAcadProxyEntity *acad_proxy_entity)
 Get the graphics data size value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_graphics_data_size (DxfAcadProxyEntity *acad_proxy_entity, int graphics_data_size)
 Set the graphics data size value for a DXF ACAD_PROXY_ENTITY entity.
int dxf_acad_proxy_entity_get_entity_data_size (DxfAcadProxyEntity *acad_proxy_entity)
 Get the entity data size value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_entity_data_size (DxfAcadProxyEntity *acad_proxy_entity, int entity_data_size)
 Set the entity data size value for a DXF ACAD_PROXY_ENTITY entity.
ulong dxf_acad_proxy_entity_get_object_drawing_format (DxfAcadProxyEntity *acad_proxy_entity)
 Get the object drawing format value from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_object_drawing_format (DxfAcadProxyEntity *acad_proxy_entity, ulong object_drawing_format)
 Set the object_drawing_format value for a DXF ACAD_PROXY_ENTITY entity.
DxfBinaryGraphicsDatadxf_acad_proxy_entity_get_binary_graphics_data (DxfAcadProxyEntity *acad_proxy_entity)
 Get the pointer to the binary_graphics_data from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_binary_graphics_data (DxfAcadProxyEntity *acad_proxy_entity, DxfBinaryGraphicsData *data)
 Set the pointer to the binary_graphics_data for a DXF ACAD_PROXY_ENTITY entity.
DxfBinaryEntityDatadxf_acad_proxy_entity_get_binary_entity_data (DxfAcadProxyEntity *acad_proxy_entity)
 Get the pointer to the binary_entity_data from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_binary_entity_data (DxfAcadProxyEntity *acad_proxy_entity, DxfBinaryEntityData *data)
 Set the pointer to the binary_entity_data for a DXF ACAD_PROXY_ENTITY entity.
DxfObjectIddxf_acad_proxy_entity_get_object_id (DxfAcadProxyEntity *acad_proxy_entity)
 Get the pointer to the first object_id from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_object_id (DxfAcadProxyEntity *acad_proxy_entity, DxfObjectId *object_id)
 Set the pointer to the first object_id for a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_get_next (DxfAcadProxyEntity *acad_proxy_entity)
 Get the pointer to the next ACAD_PROXY_ENTITY entity from a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_set_next (DxfAcadProxyEntity *acad_proxy_entity, DxfAcadProxyEntity *next)
 Set the pointer to the next ACAD_PROXY_ENTITY for a DXF ACAD_PROXY_ENTITY entity.
DxfAcadProxyEntitydxf_acad_proxy_entity_get_last (DxfAcadProxyEntity *acad_proxy_entity)
 Get the pointer to the last ACAD_PROXY_ENTITY entity from a linked list of DXF ACAD_PROXY_ENTITY entities.

Detailed Description

Header file for a DXF acad_proxy_entity entity (ACAD_PROXY_ENTITY).

Author:
Copyright (C) 2013, 2014, 2015, 2016, 2017 by Bert Timmerman <bert.timmerman@xs4all.nl>.
Since:
The ACAD_ZOMBIE_ENTITY entity was introduced in DXF R13.
Note:
The ACAD_ZOMBIE_ENTITY entity was renamed to ACAD_PROXY_ENTITY in DXF R14.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13.
According to DXF R14.
According to DXF R2000.

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 acad_proxy_entity.h.


Typedef Documentation

DXF definition of an AutoCAD acad_proxy_entity entity (ACAD_PROXY_ENTITY).


Function Documentation

DxfAcadProxyEntity* dxf_acad_proxy_entity_new ( )

Allocate memory for a DXF ACAD_PROXY_ENTITY.

Fill the memory contents with zeros.

Returns:
NULL when no memory was allocated, a pointer to the allocated memory when succesful.

Definition at line 67 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init(), and dxf_acad_proxy_entity_read().

DxfAcadProxyEntity* dxf_acad_proxy_entity_init ( DxfAcadProxyEntity acad_proxy_entity)

Allocate memory and initialize data fields in a DXF ACAD_PROXY_ENTITY table.

Returns:
NULL when no memory was allocated, a pointer to the allocated memory when succesful.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY table.

Definition at line 105 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_get_binary_entity_data(), dxf_acad_proxy_entity_get_binary_graphics_data(), dxf_acad_proxy_entity_get_object_id(), dxf_acad_proxy_entity_new(), dxf_acad_proxy_entity_set_application_entity_class_id(), dxf_acad_proxy_entity_set_binary_entity_data(), dxf_acad_proxy_entity_set_binary_graphics_data(), dxf_acad_proxy_entity_set_color(), dxf_acad_proxy_entity_set_color_name(), dxf_acad_proxy_entity_set_color_value(), dxf_acad_proxy_entity_set_dictionary_owner_hard(), dxf_acad_proxy_entity_set_dictionary_owner_soft(), dxf_acad_proxy_entity_set_elevation(), dxf_acad_proxy_entity_set_entity_data_size(), dxf_acad_proxy_entity_set_graphics_data_size(), dxf_acad_proxy_entity_set_id_code(), dxf_acad_proxy_entity_set_layer(), dxf_acad_proxy_entity_set_linetype(), dxf_acad_proxy_entity_set_linetype_scale(), dxf_acad_proxy_entity_set_lineweight(), dxf_acad_proxy_entity_set_material(), dxf_acad_proxy_entity_set_next(), dxf_acad_proxy_entity_set_object_drawing_format(), dxf_acad_proxy_entity_set_object_id(), dxf_acad_proxy_entity_set_original_custom_object_data_format(), dxf_acad_proxy_entity_set_paperspace(), dxf_acad_proxy_entity_set_plot_style_name(), dxf_acad_proxy_entity_set_proxy_entity_class_id(), dxf_acad_proxy_entity_set_shadow_mode(), dxf_acad_proxy_entity_set_thickness(), dxf_acad_proxy_entity_set_transparency(), dxf_acad_proxy_entity_set_visibility(), dxf_binary_entity_data_init(), dxf_binary_entity_data_new(), dxf_binary_graphics_data_init(), dxf_binary_graphics_data_new(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_PROXY_ENTITY_ID, dxf_object_id_new(), dxf_object_id_set_data(), and DXF_PAPERSPACE.

Referenced by dxf_acad_proxy_entity_read().

Here is the call graph for this function:

DxfAcadProxyEntity* dxf_acad_proxy_entity_read ( DxfFile fp,
DxfAcadProxyEntity acad_proxy_entity 
)

Read data from a DXF file into a DXF ACAD_PROXY_ENTITY entity.

The last line read from file contained the string "ACAD_PROXY_ENTITY".
Now follows some data for the ACAD_PROXY_ENTITY, to be terminated with a " 0" string announcing the following entity, or the end of the ENTITY section marker ENDSEC.
While parsing the DXF file store data in dxf_acad_proxy_entity.

Returns:
a pointer to acad_proxy_entity.
Parameters:
fpDXF file pointer to an input file (or device).
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY table.

Definition at line 180 of file acad_proxy_entity.c.

References _, dxf_file_struct::acad_version_number, dxf_acad_proxy_entity_struct::application_entity_class_id, AutoCAD_11, AutoCAD_13, AutoCAD_2000, dxf_acad_proxy_entity_struct::binary_graphics_data, dxf_acad_proxy_entity_struct::color, dxf_acad_proxy_entity_struct::color_name, dxf_acad_proxy_entity_struct::color_value, dxf_object_id_struct::data, dxf_binary_graphics_data_struct::data_line, dxf_acad_proxy_entity_struct::dictionary_owner_hard, dxf_acad_proxy_entity_struct::dictionary_owner_soft, dxf_acad_proxy_entity_init(), dxf_acad_proxy_entity_new(), dxf_binary_graphics_data_init(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_PROXY_ENTITY_ID, DXF_FLATLAND, dxf_object_id_get_last(), dxf_object_id_init(), dxf_object_id_set_group_code(), dxf_acad_proxy_entity_struct::elevation, dxf_file_struct::filename, dxf_file_struct::fp, dxf_acad_proxy_entity_struct::graphics_data_size, dxf_acad_proxy_entity_struct::id_code, dxf_acad_proxy_entity_struct::layer, dxf_file_struct::line_number, dxf_acad_proxy_entity_struct::linetype, dxf_acad_proxy_entity_struct::linetype_scale, dxf_acad_proxy_entity_struct::lineweight, dxf_acad_proxy_entity_struct::material, dxf_object_id_struct::next, dxf_binary_graphics_data_struct::next, dxf_acad_proxy_entity_struct::object_drawing_format, dxf_acad_proxy_entity_struct::object_id, dxf_acad_proxy_entity_struct::original_custom_object_data_format, dxf_acad_proxy_entity_struct::plot_style_name, dxf_acad_proxy_entity_struct::proxy_entity_class_id, dxf_acad_proxy_entity_struct::shadow_mode, dxf_acad_proxy_entity_struct::thickness, dxf_acad_proxy_entity_struct::transparency, and dxf_acad_proxy_entity_struct::visibility.

Here is the call graph for this function:

int dxf_acad_proxy_entity_write ( DxfFile fp,
DxfAcadProxyEntity acad_proxy_entity 
)

Write DXF output for a DXF ACAD_PROXY_ENTITY entity.

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.

Todo:
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.

application-defined codes: Group codes and values within the 102 groups are application defined (optional).

End of group, "}" (optional), with Group code 102.

Parameters:
fpDXF file pointer to an output file (or device).
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY table.

Definition at line 499 of file acad_proxy_entity.c.

References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_13, AutoCAD_14, AutoCAD_2000, AutoCAD_2002, AutoCAD_2004, AutoCAD_2008, AutoCAD_2009, dxf_acad_proxy_entity_get_application_entity_class_id(), dxf_acad_proxy_entity_get_binary_graphics_data(), dxf_acad_proxy_entity_get_color(), dxf_acad_proxy_entity_get_color_name(), dxf_acad_proxy_entity_get_color_value(), dxf_acad_proxy_entity_get_dictionary_owner_hard(), dxf_acad_proxy_entity_get_dictionary_owner_soft(), dxf_acad_proxy_entity_get_elevation(), dxf_acad_proxy_entity_get_entity_data_size(), dxf_acad_proxy_entity_get_graphics_data_size(), dxf_acad_proxy_entity_get_id_code(), dxf_acad_proxy_entity_get_layer(), dxf_acad_proxy_entity_get_linetype(), dxf_acad_proxy_entity_get_linetype_scale(), dxf_acad_proxy_entity_get_lineweight(), dxf_acad_proxy_entity_get_material(), dxf_acad_proxy_entity_get_object_drawing_format(), dxf_acad_proxy_entity_get_object_id(), dxf_acad_proxy_entity_get_original_custom_object_data_format(), dxf_acad_proxy_entity_get_paperspace(), dxf_acad_proxy_entity_get_plot_style_name(), dxf_acad_proxy_entity_get_proxy_entity_class_id(), dxf_acad_proxy_entity_get_shadow_mode(), dxf_acad_proxy_entity_get_thickness(), dxf_acad_proxy_entity_get_transparency(), dxf_acad_proxy_entity_get_visibility(), dxf_acad_proxy_entity_set_layer(), dxf_acad_proxy_entity_set_linetype(), dxf_binary_graphics_data_get_data_line(), dxf_binary_graphics_data_get_next(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, dxf_object_id_get_data(), dxf_object_id_get_group_code(), dxf_object_id_get_next(), DXF_PAPERSPACE, dxf_file_struct::follow_strict_version_rules, and dxf_file_struct::fp.

Here is the call graph for this function:

int dxf_acad_proxy_entity_free ( DxfAcadProxyEntity acad_proxy_entity)

Free the allocated memory for a DXF ACAD_PROXY_ENTITY and all it's data fields.

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.
Parameters:
acad_proxy_entitya pointer to the memory occupied by the DXF ACAD_PROXY_ENTITY table.

Definition at line 730 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_get_binary_graphics_data(), dxf_acad_proxy_entity_get_color_name(), dxf_acad_proxy_entity_get_dictionary_owner_hard(), dxf_acad_proxy_entity_get_dictionary_owner_soft(), dxf_acad_proxy_entity_get_layer(), dxf_acad_proxy_entity_get_linetype(), dxf_acad_proxy_entity_get_material(), dxf_acad_proxy_entity_get_plot_style_name(), dxf_binary_graphics_data_free_chain(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, dxf_acad_proxy_entity_struct::next, and dxf_acad_proxy_entity_struct::object_id.

Referenced by dxf_acad_proxy_entity_free_chain().

Here is the call graph for this function:

void dxf_acad_proxy_entity_free_chain ( DxfAcadProxyEntity acad_proxy_entities)

Free the allocated memory for a chain of DXF ACAD_PROXY_ENTITY entities and all their data fields.

Parameters:
acad_proxy_entitiesa pointer to the chain of DXF ACAD_PROXY_ENTITY entities.

Definition at line 782 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_free(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::next.

Here is the call graph for this function:

int dxf_acad_proxy_entity_get_id_code ( DxfAcadProxyEntity acad_proxy_entity)

Get the ID code from a DXF ACAD_PROXY_ENTITY entity.

Returns:
ID code.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 815 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::id_code.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_id_code ( DxfAcadProxyEntity acad_proxy_entity,
int  id_code 
)

Set the ID code for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
id_codeIdentification number for the entity.
This is to be an unique (sequential) number in the DXF file.

Definition at line 850 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::id_code.

Referenced by dxf_acad_proxy_entity_init().

char* dxf_acad_proxy_entity_get_linetype ( DxfAcadProxyEntity acad_proxy_entity)

Get the linetype from a DXF ACAD_PROXY_ENTITY entity.

Returns:
linetype when sucessful, NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 892 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::linetype.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_linetype ( DxfAcadProxyEntity acad_proxy_entity,
char *  linetype 
)

Set the linetype for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
linetypea string containing the linetype for the entity.

Definition at line 927 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::linetype.

Referenced by dxf_acad_proxy_entity_init(), and dxf_acad_proxy_entity_write().

char* dxf_acad_proxy_entity_get_layer ( DxfAcadProxyEntity acad_proxy_entity)

Get the layer from a DXF ACAD_PROXY_ENTITY entity.

Returns:
layer when sucessful, NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 967 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::layer.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_layer ( DxfAcadProxyEntity acad_proxy_entity,
char *  layer 
)

Set the layer for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
layera string containing the layer for the entity.

Definition at line 1002 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::layer.

Referenced by dxf_acad_proxy_entity_init(), and dxf_acad_proxy_entity_write().

double dxf_acad_proxy_entity_get_elevation ( DxfAcadProxyEntity acad_proxy_entity)

Get the elevation a this DXF ACAD_PROXY_ENTITY entity.

Returns:
elevation.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1042 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::elevation.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_elevation ( DxfAcadProxyEntity acad_proxy_entity,
double  elevation 
)

Set the elevation for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when sucessful, NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
elevationthe elevation to be set for the entity.

Definition at line 1073 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::elevation.

Referenced by dxf_acad_proxy_entity_init().

double dxf_acad_proxy_entity_get_thickness ( DxfAcadProxyEntity acad_proxy_entity)

Get the thickness from a DXF ACAD_PROXY_ENTITY entity.

Returns:
thickness.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1106 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::thickness.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_thickness ( DxfAcadProxyEntity acad_proxy_entity,
double  thickness 
)

Set the thickness for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when sucessful, NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
thicknessthe thickness to be set for the entity.

Definition at line 1143 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::thickness.

Referenced by dxf_acad_proxy_entity_init().

double dxf_acad_proxy_entity_get_linetype_scale ( DxfAcadProxyEntity acad_proxy_entity)

Get the linetype scale from a DXF ACAD_PROXY_ENTITY entity.

Returns:
linetype scale.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1182 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::linetype_scale.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_linetype_scale ( DxfAcadProxyEntity acad_proxy_entity,
double  linetype_scale 
)

Set the linetype scale for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
linetype_scalethe linetype scale to be set for the entity.

Definition at line 1217 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::linetype_scale.

Referenced by dxf_acad_proxy_entity_init().

int16_t dxf_acad_proxy_entity_get_visibility ( DxfAcadProxyEntity acad_proxy_entity)

Get the object visibility from a DXF ACAD_PROXY_ENTITY entity.

Returns:
object visibility.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1257 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::visibility.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_visibility ( DxfAcadProxyEntity acad_proxy_entity,
int16_t  visibility 
)

Set the visibility for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
visibilitythe visibility to be set for the entity.

Definition at line 1299 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::visibility.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_color ( DxfAcadProxyEntity acad_proxy_entity)

Get the color from a DXF ACAD_PROXY_ENTITY entity.

Returns:
color.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1346 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_color ( DxfAcadProxyEntity acad_proxy_entity,
int  color 
)

Set the color for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
colorthe color to be set for the entity.

Definition at line 1380 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_paperspace ( DxfAcadProxyEntity acad_proxy_entity)

Get the paperspace flag value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
paperspace flag value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1422 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::paperspace.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_paperspace ( DxfAcadProxyEntity acad_proxy_entity,
int  paperspace 
)

Set the paperspace flag for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
paperspacethe paperspace flag value to be set for the entity.

Definition at line 1462 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::paperspace.

Referenced by dxf_acad_proxy_entity_init().

int16_t dxf_acad_proxy_entity_get_shadow_mode ( DxfAcadProxyEntity acad_proxy_entity)

Get the shadow_mode from a DXF ACAD_PROXY_ENTITY entity.

Returns:
shadow_mode when successful, or EXIT_FAILURE when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1510 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::shadow_mode.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_shadow_mode ( DxfAcadProxyEntity acad_proxy_entity,
int16_t  shadow_mode 
)

Set the shadow_mode for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
shadow_modethe shadow mode to be set for the entity.

Definition at line 1555 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::shadow_mode.

Referenced by dxf_acad_proxy_entity_init().

char* dxf_acad_proxy_entity_get_dictionary_owner_soft ( DxfAcadProxyEntity acad_proxy_entity)

Get the soft pointer to the dictionary owner from a DXF ACAD_PROXY_ENTITY entity.

Returns:
soft pointer to the dictionary owner.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1605 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_dictionary_owner_soft ( DxfAcadProxyEntity acad_proxy_entity,
char *  dictionary_owner_soft 
)

Set the pointer to the dictionary_owner_soft for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
dictionary_owner_softa string containing the pointer to the dictionary_owner_soft for the entity.

Definition at line 1641 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

char* dxf_acad_proxy_entity_get_material ( DxfAcadProxyEntity acad_proxy_entity)

Get the pointer to the material from a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to material when successful, or NULL when an error occurred.
Warning:
No checks are performed on the returned pointer.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1685 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::material.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_material ( DxfAcadProxyEntity acad_proxy_entity,
char *  material 
)

Set the pointer to the material for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
materiala string containing the pointer to the material for the entity.

Definition at line 1724 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::material.

Referenced by dxf_acad_proxy_entity_init().

char* dxf_acad_proxy_entity_get_dictionary_owner_hard ( DxfAcadProxyEntity acad_proxy_entity)

Get the hard pointer to the dictionary owner from a DXF ACAD_PROXY_ENTITY entity.

Returns:
hard pointer to the dictionary owner.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1768 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_dictionary_owner_hard ( DxfAcadProxyEntity acad_proxy_entity,
char *  dictionary_owner_hard 
)

Set the pointer to the dictionary_owner_hard for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
dictionary_owner_harda string containing the pointer to the dictionary_owner_hard for the entity.

Definition at line 1804 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

int16_t dxf_acad_proxy_entity_get_lineweight ( DxfAcadProxyEntity acad_proxy_entity)

Get the lineweight from a DXF ACAD_PROXY_ENTITY entity.

Returns:
lineweight when successful, or EXIT_FAILURE when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1846 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::lineweight.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_lineweight ( DxfAcadProxyEntity acad_proxy_entity,
int16_t  lineweight 
)

Set the lineweight for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to face when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
lineweightthe lineweight to be set for the entity.

Definition at line 1877 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::lineweight.

Referenced by dxf_acad_proxy_entity_init().

char* dxf_acad_proxy_entity_get_plot_style_name ( DxfAcadProxyEntity acad_proxy_entity)

Get the plot_style_name from a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to plot_style_name when sucessful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1912 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::plot_style_name.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_plot_style_name ( DxfAcadProxyEntity acad_proxy_entity,
char *  plot_style_name 
)

Set the plot_style_name for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
plot_style_namea string containing the plot_style_name for the entity.

Definition at line 1950 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::plot_style_name.

Referenced by dxf_acad_proxy_entity_init().

long dxf_acad_proxy_entity_get_color_value ( DxfAcadProxyEntity acad_proxy_entity)

Get the color_value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
color_value when successful, or EXIT_FAILURE when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 1992 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_color_value ( DxfAcadProxyEntity acad_proxy_entity,
long  color_value 
)

Set the color_value for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to face when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
color_valuethe color_value to be set for the entity.

Definition at line 2023 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

char* dxf_acad_proxy_entity_get_color_name ( DxfAcadProxyEntity acad_proxy_entity)

Get the color_name from a DXF ACAD_PROXY_ENTITY entity.

Returns:
color_name when sucessful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2057 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_free(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_color_name ( DxfAcadProxyEntity acad_proxy_entity,
char *  color_name 
)

Set the color_name for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
color_namea string containing the color_name for the entity.

Definition at line 2095 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

long dxf_acad_proxy_entity_get_transparency ( DxfAcadProxyEntity acad_proxy_entity)

Get the transparency from a DXF ACAD_PROXY_ENTITY entity.

Returns:
transparency when successful, or EXIT_FAILURE when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2137 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::transparency.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_transparency ( DxfAcadProxyEntity acad_proxy_entity,
long  transparency 
)

Set the transparency for a DXF ACAD_PROXY_ENTITY entity.

Returns:
a pointer to acad_proxy_entity when successful, or NULL when an error occurred.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
transparencythe transparency to be set for the entity.

Definition at line 2168 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::transparency.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_original_custom_object_data_format ( DxfAcadProxyEntity acad_proxy_entity)

Get the original custom object data format value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
original custom object data format value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2202 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::original_custom_object_data_format.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_original_custom_object_data_format ( DxfAcadProxyEntity acad_proxy_entity,
int  original_custom_object_data_format 
)

Set the original custom object data format value for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
original_custom_object_data_formatthe original custom object data format value to be set for the entity.

Definition at line 2243 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::original_custom_object_data_format.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_proxy_entity_class_id ( DxfAcadProxyEntity acad_proxy_entity)

Get the proxy entity class id value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
proxy entity class id value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2291 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::proxy_entity_class_id.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_proxy_entity_class_id ( DxfAcadProxyEntity acad_proxy_entity,
int  proxy_entity_class_id 
)

Set the proxy entity class id value for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
proxy_entity_class_idthe proxy entity class id value to be set for the entity.

Definition at line 2326 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::proxy_entity_class_id.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_application_entity_class_id ( DxfAcadProxyEntity acad_proxy_entity)

Get the application entity class id value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
application entity class id value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2368 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::application_entity_class_id, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_application_entity_class_id ( DxfAcadProxyEntity acad_proxy_entity,
int  application_entity_class_id 
)

Set the application entity class id value for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
application_entity_class_idthe application entity class id value to be set for the entity.

Definition at line 2403 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::application_entity_class_id, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_graphics_data_size ( DxfAcadProxyEntity acad_proxy_entity)

Get the graphics data size value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
graphics data size value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2445 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::graphics_data_size.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_graphics_data_size ( DxfAcadProxyEntity acad_proxy_entity,
int  graphics_data_size 
)

Set the graphics data size value for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
graphics_data_sizethe graphics data size value to be set for the entity.

Definition at line 2481 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::graphics_data_size.

Referenced by dxf_acad_proxy_entity_init().

int dxf_acad_proxy_entity_get_entity_data_size ( DxfAcadProxyEntity acad_proxy_entity)

Get the entity data size value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
entity data size value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2523 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::entity_data_size.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_entity_data_size ( DxfAcadProxyEntity acad_proxy_entity,
int  entity_data_size 
)

Set the entity data size value for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
entity_data_sizethe entity data size value to be set for the entity.

Definition at line 2559 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::entity_data_size.

Referenced by dxf_acad_proxy_entity_init().

ulong dxf_acad_proxy_entity_get_object_drawing_format ( DxfAcadProxyEntity acad_proxy_entity)

Get the object drawing format value from a DXF ACAD_PROXY_ENTITY entity.

Returns:
object drawing format value.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2601 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::object_drawing_format.

Referenced by dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_object_drawing_format ( DxfAcadProxyEntity acad_proxy_entity,
ulong  object_drawing_format 
)

Set the object_drawing_format value for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
object_drawing_formatthe object_drawing_format value to be set for the entity.

Definition at line 2637 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::object_drawing_format.

Referenced by dxf_acad_proxy_entity_init().

DxfBinaryGraphicsData* dxf_acad_proxy_entity_get_binary_graphics_data ( DxfAcadProxyEntity acad_proxy_entity)

Get the pointer to the binary_graphics_data from a DXF ACAD_PROXY_ENTITY entity.

Returns:
pointer to the binary_graphics_data.
Warning:
No checks are performed on the returned pointer.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2674 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_free(), dxf_acad_proxy_entity_init(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_binary_graphics_data ( DxfAcadProxyEntity acad_proxy_entity,
DxfBinaryGraphicsData data 
)

Set the pointer to the binary_graphics_data for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
dataa string containing the pointer to the binary_graphics_data for the entity.

Definition at line 2710 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

DxfBinaryEntityData* dxf_acad_proxy_entity_get_binary_entity_data ( DxfAcadProxyEntity acad_proxy_entity)

Get the pointer to the binary_entity_data from a DXF ACAD_PROXY_ENTITY entity.

Returns:
pointer to the binary_entity_data.
Warning:
No checks are performed on the returned pointer.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2754 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::binary_entity_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_binary_entity_data ( DxfAcadProxyEntity acad_proxy_entity,
DxfBinaryEntityData data 
)

Set the pointer to the binary_entity_data for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
dataa string containing the pointer to the binary_entity_data for the entity.

Definition at line 2790 of file acad_proxy_entity.c.

References _, dxf_acad_proxy_entity_struct::binary_entity_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_acad_proxy_entity_init().

DxfObjectId* dxf_acad_proxy_entity_get_object_id ( DxfAcadProxyEntity acad_proxy_entity)

Get the pointer to the first object_id from a DXF ACAD_PROXY_ENTITY entity.

Returns:
pointer to the first object_id (single linked list).
Warning:
No checks are performed on the returned pointer.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2834 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::object_id.

Referenced by dxf_acad_proxy_entity_init(), and dxf_acad_proxy_entity_write().

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_object_id ( DxfAcadProxyEntity acad_proxy_entity,
DxfObjectId object_id 
)

Set the pointer to the first object_id for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
object_ida string containing the pointer to the object_id for the entity.

Definition at line 2870 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::object_id.

Referenced by dxf_acad_proxy_entity_init().

DxfAcadProxyEntity* dxf_acad_proxy_entity_get_next ( DxfAcadProxyEntity acad_proxy_entity)

Get the pointer to the next ACAD_PROXY_ENTITY entity from a DXF ACAD_PROXY_ENTITY entity.

Returns:
pointer to the next ACAD_PROXY_ENTITY entity.
Warning:
No checks are performed on the returned pointer.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2914 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::next.

DxfAcadProxyEntity* dxf_acad_proxy_entity_set_next ( DxfAcadProxyEntity acad_proxy_entity,
DxfAcadProxyEntity next 
)

Set the pointer to the next ACAD_PROXY_ENTITY for a DXF ACAD_PROXY_ENTITY entity.

Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.
nexta pointer to the next ACAD_PROXY_ENTITY for the entity.

Definition at line 2950 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::next.

Referenced by dxf_acad_proxy_entity_init().

DxfAcadProxyEntity* dxf_acad_proxy_entity_get_last ( DxfAcadProxyEntity acad_proxy_entity)

Get the pointer to the last ACAD_PROXY_ENTITY entity from a linked list of DXF ACAD_PROXY_ENTITY entities.

Returns:
pointer to the last ACAD_PROXY_ENTITY entity.
Warning:
No checks are performed on the returned pointer.
Parameters:
acad_proxy_entitya pointer to a DXF ACAD_PROXY_ENTITY entity.

Definition at line 2993 of file acad_proxy_entity.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_acad_proxy_entity_struct::next.