libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD layer entity. More...
#include <layer.h>
Data Fields | |
int | id_code |
char * | layer_name |
char * | linetype |
int | color |
int | flag |
int | plotting_flag |
char * | dictionary_owner_soft |
char * | material |
char * | dictionary_owner_hard |
int16_t | lineweight |
char * | plot_style_name |
struct DxfLayer * | next |
DXF definition of an AutoCAD layer entity.
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.
Definition at line 58 of file layer.h.
Referenced by dxf_layer_get_id_code(), dxf_layer_set_id_code(), and dxf_layer_write().
Layer name.
Group code = 2.
Definition at line 63 of file layer.h.
Referenced by dxf_layer_get_layer_name(), dxf_layer_read(), and dxf_layer_set_layer_name().
For these layers, the associated linetype name in the DXF file is always CONTINUOUS.\ Group code = 6.
Definition at line 66 of file layer.h.
Referenced by dxf_layer_get_linetype(), dxf_layer_read(), and dxf_layer_set_linetype().
Color.
If negative, layer is off.
Group code = 62.
Definition at line 70 of file layer.h.
Referenced by dxf_layer_get_color(), dxf_layer_is_off(), dxf_layer_read(), and dxf_layer_set_color().
Flag.
Bit coded:
Group code = 70.
Definition at line 74 of file layer.h.
Referenced by dxf_layer_get_flag(), dxf_layer_is_frozen(), dxf_layer_is_locked(), dxf_layer_is_referenced(), dxf_layer_is_xreferenced(), dxf_layer_is_xresolved(), dxf_layer_read(), and dxf_layer_set_flag().
Plotting flag.
Boolean, if set to 0, do not plot this layer.
Group code = 290.
Definition at line 87 of file layer.h.
Referenced by dxf_layer_get_plotting_flag(), dxf_layer_read(), and dxf_layer_set_plotting_flag().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 91 of file layer.h.
Referenced by dxf_layer_get_dictionary_owner_soft(), dxf_layer_read(), and dxf_layer_set_dictionary_owner_soft().
Hard-pointer ID / handle to Material object.
Group code = 347.
Definition at line 95 of file layer.h.
Referenced by dxf_layer_get_material(), dxf_layer_read(), and dxf_layer_set_material().
group code = 360
Hard owner ID/handle to owner dictionary (optional).
Definition at line 98 of file layer.h.
Referenced by dxf_layer_get_dictionary_owner_hard(), dxf_layer_read(), and dxf_layer_set_dictionary_owner_hard().
int16_t dxf_layer_struct::lineweight |
Lineweight enum value.
Group code = 370.
Definition at line 101 of file layer.h.
Referenced by dxf_layer_get_lineweight(), dxf_layer_read(), and dxf_layer_set_lineweight().
Hard pointer ID / handle of PlotStyleName object.
Group code = 390.
Definition at line 104 of file layer.h.
Referenced by dxf_layer_get_plot_style_name(), dxf_layer_read(), and dxf_layer_set_plot_style_name().
struct DxfLayer* dxf_layer_struct::next |
Pointer to the next DxfLayer.
NULL
in the last DxfLayer.
Definition at line 106 of file layer.h.
Referenced by dxf_layer_free(), dxf_layer_free_chain(), dxf_layer_get_last(), dxf_layer_get_next(), and dxf_layer_set_next().