libDXF 0.0.1
A library with DXF related functions written in C.
|
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"
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 | |
DxfAcadProxyEntity * | dxf_acad_proxy_entity_new () |
Allocate memory for a DXF ACAD_PROXY_ENTITY . | |
DxfAcadProxyEntity * | dxf_acad_proxy_entity_init (DxfAcadProxyEntity *acad_proxy_entity) |
Allocate memory and initialize data fields in a DXF ACAD_PROXY_ENTITY table. | |
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. | |
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. | |
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. | |
char * | dxf_acad_proxy_entity_get_linetype (DxfAcadProxyEntity *acad_proxy_entity) |
Get the linetype from a DXF ACAD_PROXY_ENTITY entity. | |
DxfAcadProxyEntity * | dxf_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. | |
DxfAcadProxyEntity * | dxf_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. | |
DxfAcadProxyEntity * | dxf_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. | |
DxfAcadProxyEntity * | dxf_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. | |
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. | |
int16_t | dxf_acad_proxy_entity_get_visibility (DxfAcadProxyEntity *acad_proxy_entity) |
Get the object visibility from a DXF ACAD_PROXY_ENTITY entity. | |
DxfAcadProxyEntity * | dxf_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. | |
DxfAcadProxyEntity * | dxf_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. | |
DxfAcadProxyEntity * | dxf_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. | |
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. | |
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. | |
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. | |
char * | dxf_acad_proxy_entity_get_material (DxfAcadProxyEntity *acad_proxy_entity) |
Get the pointer to the material from a DXF ACAD_PROXY_ENTITY entity. | |
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. | |
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. | |
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. | |
int16_t | dxf_acad_proxy_entity_get_lineweight (DxfAcadProxyEntity *acad_proxy_entity) |
Get the lineweight from a DXF ACAD_PROXY_ENTITY entity. | |
DxfAcadProxyEntity * | dxf_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. | |
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. | |
long | dxf_acad_proxy_entity_get_color_value (DxfAcadProxyEntity *acad_proxy_entity) |
Get the color_value from a DXF ACAD_PROXY_ENTITY entity. | |
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. | |
char * | dxf_acad_proxy_entity_get_color_name (DxfAcadProxyEntity *acad_proxy_entity) |
Get the color_name from a DXF ACAD_PROXY_ENTITY entity. | |
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. | |
long | dxf_acad_proxy_entity_get_transparency (DxfAcadProxyEntity *acad_proxy_entity) |
Get the transparency from a DXF ACAD_PROXY_ENTITY entity. | |
DxfAcadProxyEntity * | dxf_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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. |
Header file for a DXF acad_proxy_entity entity (ACAD_PROXY_ENTITY
).
ACAD_ZOMBIE_ENTITY
entity was introduced in DXF R13.ACAD_ZOMBIE_ENTITY
entity was renamed to ACAD_PROXY_ENTITY
in DXF R14.
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 struct dxf_acad_proxy_entity_struct DxfAcadProxyEntity |
DXF definition of an AutoCAD acad_proxy_entity entity (ACAD_PROXY_ENTITY
).
DxfAcadProxyEntity* dxf_acad_proxy_entity_new | ( | ) |
Allocate memory for a DXF ACAD_PROXY_ENTITY
.
Fill the memory contents with zeros.
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.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. acad_proxy_entity | a 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().
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
.
acad_proxy_entity
. fp | DXF file pointer to an input file (or device). |
acad_proxy_entity | a 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.
int dxf_acad_proxy_entity_write | ( | DxfFile * | fp, |
DxfAcadProxyEntity * | acad_proxy_entity | ||
) |
Write DXF output for a DXF ACAD_PROXY_ENTITY
entity.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. fp | DXF file pointer to an output file (or device). |
acad_proxy_entity | a 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.
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.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. acad_proxy_entity | a 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().
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.
acad_proxy_entities | a 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.
int dxf_acad_proxy_entity_get_id_code | ( | DxfAcadProxyEntity * | acad_proxy_entity | ) |
Get the ID code from a DXF ACAD_PROXY_ENTITY
entity.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
id_code | Identification 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.
NULL
when an error occurred. acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
linetype | a 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.
NULL
when an error occurred. acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
layer | a 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.
elevation
. acad_proxy_entity | a 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.
acad_proxy_entity
when sucessful, NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
elevation | the 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.
thickness
. acad_proxy_entity | a 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.
acad_proxy_entity
when sucessful, NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
thickness | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
linetype_scale | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
visibility | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
color | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
paperspace | the 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.
shadow_mode
when successful, or EXIT_FAILURE
when an error occurred. acad_proxy_entity | a 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.
acad_proxy_entity
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
shadow_mode | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
dictionary_owner_soft | a 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.
material
when successful, or NULL
when an error occurred.acad_proxy_entity | a 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.
acad_proxy_entity
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
material | a 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
dictionary_owner_hard | a 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.
lineweight
when successful, or EXIT_FAILURE
when an error occurred. acad_proxy_entity | a 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.
face
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
lineweight | the 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.
plot_style_name
when sucessful, or NULL
when an error occurred. acad_proxy_entity | a 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.
acad_proxy_entity
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
plot_style_name | a 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.
color_value
when successful, or EXIT_FAILURE
when an error occurred. acad_proxy_entity | a 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.
face
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
color_value | the 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.
color_name
when sucessful, or NULL
when an error occurred. acad_proxy_entity | a 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.
acad_proxy_entity
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
color_name | a 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.
transparency
when successful, or EXIT_FAILURE
when an error occurred. acad_proxy_entity | a 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.
acad_proxy_entity
when successful, or NULL
when an error occurred. acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
transparency | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
original_custom_object_data_format | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
proxy_entity_class_id | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
application_entity_class_id | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
graphics_data_size | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
entity_data_size | the 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.
acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
object_drawing_format | the 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.
binary_graphics_data
.acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
data | a 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.
binary_entity_data
.acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
data | a 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.
object_id
(single linked list).acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
object_id | a 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.
ACAD_PROXY_ENTITY
entity.acad_proxy_entity | a 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.
acad_proxy_entity | a pointer to a DXF ACAD_PROXY_ENTITY entity. |
next | a 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.
ACAD_PROXY_ENTITY
entity.acad_proxy_entity | a 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.