libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD ole2frame entity (OLE2FRAME
).
More...
#include <ole2frame.h>
Data Fields | |
int | id_code |
char * | linetype |
char * | layer |
double | elevation |
double | thickness |
double | linetype_scale |
int16_t | visibility |
int | color |
int | paperspace |
int | graphics_data_size |
int16_t | shadow_mode |
DxfBinaryGraphicsData * | binary_graphics_data |
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 |
char * | end_of_data |
char * | length_of_binary_data |
DxfPoint * | p0 |
DxfPoint * | p1 |
int | ole_version_number |
int | ole_object_type |
int | tilemode_descriptor |
long | length |
DxfChar * | binary_data |
struct DxfOle2Frame * | next |
DXF definition of an AutoCAD ole2frame entity (OLE2FRAME
).
Definition at line 61 of file ole2frame.h.
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.
Definition at line 66 of file ole2frame.h.
Referenced by dxf_ole2frame_get_id_code(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_id_code(), and dxf_ole2frame_write().
The linetype of the entity.
Defaults to BYLAYER
if ommitted in the DXF file.
Group code = 6.
Definition at line 71 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_linetype(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_linetype(), and dxf_ole2frame_write().
Layer on which the entity is drawn.
Defaults to layer "0" if no valid layername is given.
Group code = 8.
Definition at line 75 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_layer(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_layer(), and dxf_ole2frame_write().
Elevation of the arc 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 79 of file ole2frame.h.
Referenced by dxf_ole2frame_get_elevation(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_elevation(), and dxf_ole2frame_write().
Thickness of the arc in the local Z-direction.
Defaults to 0.0 if ommitted in the DXF file.
Group code = 39.
Definition at line 84 of file ole2frame.h.
Referenced by dxf_ole2frame_get_thickness(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_thickness(), and dxf_ole2frame_write().
Linetype scale (optional).
Group code = 48.
Definition at line 88 of file ole2frame.h.
Referenced by dxf_ole2frame_get_linetype_scale(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_linetype_scale(), and dxf_ole2frame_write().
int16_t dxf_ole2frame_struct::visibility |
Object visibility (optional):
Group code = 60.
Definition at line 91 of file ole2frame.h.
Referenced by dxf_ole2frame_get_visibility(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_visibility(), and dxf_ole2frame_write().
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 98 of file ole2frame.h.
Referenced by dxf_ole2frame_get_color(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_color(), and dxf_ole2frame_write().
Entities are to be drawn on either PAPERSPACE
or MODELSPACE
.
Optional, defaults to DXF_MODELSPACE
(0).
Group code = 67.
Definition at line 105 of file ole2frame.h.
Referenced by dxf_ole2frame_get_paperspace(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_paperspace(), and dxf_ole2frame_write().
Number of bytes in the proxy entity graphics represented in the sub-sequent 310 groups, which are binary chunk records (optional).
Group code = 92.
Definition at line 110 of file ole2frame.h.
Referenced by dxf_ole2frame_get_graphics_data_size(), and dxf_ole2frame_set_graphics_data_size().
Shadow mode:
Group code = 284.
Definition at line 119 of file ole2frame.h.
Referenced by dxf_ole2frame_get_shadow_mode(), and dxf_ole2frame_set_shadow_mode().
Proxy entity graphics data.
Multiple lines of 256 characters maximum per line (optional).
Group code = 310.
Definition at line 129 of file ole2frame.h.
Referenced by dxf_ole2frame_get_binary_graphics_data(), and dxf_ole2frame_set_binary_graphics_data().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 135 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_dictionary_owner_soft(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_dictionary_owner_soft(), and dxf_ole2frame_write().
Hard-pointer ID/handle to material object (present if not BYLAYER).
Group code = 347.
Definition at line 138 of file ole2frame.h.
Referenced by dxf_ole2frame_get_material(), and dxf_ole2frame_set_material().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 143 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_dictionary_owner_hard(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_dictionary_owner_hard(), and dxf_ole2frame_write().
int16_t dxf_ole2frame_struct::lineweight |
Lineweight enum value.
Stored and moved around as a 16-bit integer.
Group code = 370.
Definition at line 146 of file ole2frame.h.
Referenced by dxf_ole2frame_get_lineweight(), and dxf_ole2frame_set_lineweight().
Hard pointer ID / handle of PlotStyleName object.
Group code = 390.
Definition at line 151 of file ole2frame.h.
Referenced by dxf_ole2frame_get_plot_style_name(), and dxf_ole2frame_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 155 of file ole2frame.h.
Referenced by dxf_ole2frame_get_color_value(), and dxf_ole2frame_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 167 of file ole2frame.h.
Referenced by dxf_ole2frame_get_color_name(), and dxf_ole2frame_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 175 of file ole2frame.h.
Referenced by dxf_ole2frame_get_transparency(), and dxf_ole2frame_set_transparency().
End of Ole data (the string "OLE").
Group code = 1.
Definition at line 184 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_end_of_data(), dxf_ole2frame_init(), and dxf_ole2frame_set_end_of_data().
Length of binary data.
Group code = 3.
Definition at line 187 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_length_of_binary_data(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_length_of_binary_data(), and dxf_ole2frame_write().
Insertion point.
Group codes = 10, 20 and 30.
Definition at line 190 of file ole2frame.h.
Referenced by dxf_ole2frame_get_p0(), dxf_ole2frame_get_x0(), dxf_ole2frame_get_y0(), dxf_ole2frame_get_z0(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_p0(), dxf_ole2frame_set_x0(), dxf_ole2frame_set_y0(), dxf_ole2frame_set_z0(), and dxf_ole2frame_write().
Direction vector.
Group codes = 11, 21 and 31.
Definition at line 193 of file ole2frame.h.
Referenced by dxf_ole2frame_get_p1(), dxf_ole2frame_get_x1(), dxf_ole2frame_get_y1(), dxf_ole2frame_get_z1(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_p1(), dxf_ole2frame_set_x1(), dxf_ole2frame_set_y1(), dxf_ole2frame_set_z1(), and dxf_ole2frame_write().
OLE version number.
Group code = 70.
Definition at line 196 of file ole2frame.h.
Referenced by dxf_ole2frame_get_ole_version_number(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_ole_version_number(), and dxf_ole2frame_write().
OLE object type, 1 = link, 2 = embedded, 3 = static.
Group code = 71.
Definition at line 199 of file ole2frame.h.
Referenced by dxf_ole2frame_get_ole_object_type(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_ole_object_type(), and dxf_ole2frame_write().
Tile mode descriptor:
Group code = 72.
Definition at line 202 of file ole2frame.h.
Referenced by dxf_ole2frame_get_tilemode_descriptor(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_tilemode_descriptor(), and dxf_ole2frame_write().
group code = 90
Length of binary data.
Definition at line 211 of file ole2frame.h.
Referenced by dxf_ole2frame_get_length(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_length(), and dxf_ole2frame_write().
group code = 310
Binary data (multiple lines).
Definition at line 214 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_get_binary_data(), dxf_ole2frame_init(), dxf_ole2frame_read(), dxf_ole2frame_set_binary_data(), and dxf_ole2frame_write().
pointer to the next DxfOle2Frame.
NULL
in the last DxfOle2Frame.
Definition at line 216 of file ole2frame.h.
Referenced by dxf_ole2frame_free(), dxf_ole2frame_free_chain(), dxf_ole2frame_get_last(), dxf_ole2frame_get_next(), dxf_ole2frame_init(), and dxf_ole2frame_set_next().