libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD acad_proxy_entity entity (ACAD_PROXY_ENTITY
).
More...
#include <acad_proxy_entity.h>
Data Fields | |
int | id_code |
char * | linetype |
char * | layer |
double | elevation |
double | thickness |
double | linetype_scale |
int | visibility |
int | color |
int | paperspace |
int16_t | shadow_mode |
char * | dictionary_owner_soft |
char * | material |
char * | dictionary_owner_hard |
int16_t | lineweight |
char * | plot_style_name |
long | color_value |
char * | color_name |
long | transparency |
int | original_custom_object_data_format |
int | proxy_entity_class_id |
int | application_entity_class_id |
int | graphics_data_size |
int | entity_data_size |
ulong | object_drawing_format |
DxfBinaryGraphicsData * | binary_graphics_data |
DxfBinaryEntityData * | binary_entity_data |
DxfObjectId * | object_id |
struct DxfAcadProxyEntity * | next |
DXF definition of an AutoCAD acad_proxy_entity entity (ACAD_PROXY_ENTITY
).
Definition at line 68 of file acad_proxy_entity.h.
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.
Definition at line 73 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_id_code(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_id_code().
The linetype of the entity.
Defaults to BYLAYER
if ommitted in the DXF file.
Group code = 6.
Definition at line 78 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_linetype(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_linetype().
Layer on which the entity is drawn.
Defaults to layer "0" if no valid layername is given.
Group code = 8.
Definition at line 82 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_layer(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_layer().
Elevation of the entity in the local Z-direction.
Defaults to 0.0 if omitted in the DXF file, or prior to DXF version R12, or DXF_FLATLAND equals 0 (default).
Group code = 38.
Definition at line 86 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_elevation(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_elevation().
Thickness of the entity in the local Z-direction.
Defaults to 0.0 if ommitted in the DXF file.
Group code = 39.
Definition at line 92 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_thickness(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_thickness().
Linetype scale (optional).
Group code = 48.
Definition at line 96 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_linetype_scale(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_linetype_scale().
Object visibility (optional):
Group code = 60.
Definition at line 100 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_visibility(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_visibility().
Color of the entity.
Defaults to BYLAYER
if ommitted in the DXF file.
Note that entities encapsulated in a block with the color BYBLOCK
are represented in the "native" color of the BLOCK
entity.
Group code = 62.
Definition at line 108 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_color(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_color().
Entities are to be drawn on either PAPERSPACE
or MODELSPACE
.
Optional, defaults to DXF_MODELSPACE
(0).
Group code = 67.
Definition at line 115 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_paperspace(), and dxf_acad_proxy_entity_set_paperspace().
Shadow mode:
Group code = 284.
Definition at line 121 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_shadow_mode(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_shadow_mode().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 131 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_dictionary_owner_soft(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_dictionary_owner_soft().
Hard-pointer ID/handle to material object (present if not BYLAYER).
Group code = 347.
Definition at line 135 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_material(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_material().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 140 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_dictionary_owner_hard(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_dictionary_owner_hard().
Lineweight enum value.
Stored and moved around as a 16-bit integer.
Group code = 370.
Definition at line 144 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_lineweight(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_lineweight().
Hard pointer ID / handle of PlotStyleName object.
Group code = 390.
Definition at line 149 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_plot_style_name(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_plot_style_name().
A 24-bit color value that should be dealt with in terms of bytes with values of 0 to 255.
The lowest byte is the blue value, the middle byte is the green value, and the third byte is the red value.
The top byte is always 0.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 420.
Definition at line 153 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_color_value(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_color_value().
Color name.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 430.
Definition at line 165 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_color_name(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_color_name().
Transparency value.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 440.
Definition at line 173 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_transparency(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_transparency().
Original custom object data format:
Group code = 70.
Definition at line 182 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_original_custom_object_data_format(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_original_custom_object_data_format().
Always 498.
Group code = 90.
Definition at line 190 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_proxy_entity_class_id(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_proxy_entity_class_id().
Class IDs are based on the order of the class in the CLASSES section.
The first class is given the ID of 500, the next is 501, and so on.
Group code = 91.
Definition at line 193 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_application_entity_class_id(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_application_entity_class_id().
Size of graphics data in bytes.
Group code = 92.
Definition at line 199 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_graphics_data_size(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_graphics_data_size().
Size of entity data in bits.
Group code = 93.
Definition at line 206 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_entity_data_size(), and dxf_acad_proxy_entity_set_entity_data_size().
Object drawing format when it becomes a proxy (a 32-bit unsigned integer):
Low word is AcDbDwgVersion.
High word is MaintenanceReleaseVersion. Group code = 95.
Definition at line 209 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_object_drawing_format(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_object_drawing_format().
Proxy entity graphics data.
Multiple lines of 256 characters maximum per line (optional).
Group code = 310.
Definition at line 216 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_binary_graphics_data(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_binary_graphics_data().
Binary entity data.
Multiple lines of 256 characters maximum per line (optional).
Group code = 310.
Definition at line 222 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_get_binary_entity_data(), and dxf_acad_proxy_entity_set_binary_entity_data().
An object ID (multiple entries can appear).
Group code = 330 or 340 or 350 or 360.
Definition at line 228 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_free(), dxf_acad_proxy_entity_get_object_id(), dxf_acad_proxy_entity_read(), and dxf_acad_proxy_entity_set_object_id().
Pointer to the next DxfAcadProxyEntity.
NULL
in the last DxfAcadProxyEntity.
Definition at line 230 of file acad_proxy_entity.h.
Referenced by dxf_acad_proxy_entity_free(), dxf_acad_proxy_entity_free_chain(), dxf_acad_proxy_entity_get_last(), dxf_acad_proxy_entity_get_next(), and dxf_acad_proxy_entity_set_next().