libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD linetype symbol table entry. More...
#include <ltype.h>
Data Fields | |
int | id_code |
char * | linetype_name |
char * | description |
char * | complex_text_string [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
double | total_pattern_length |
double | complex_x_offset [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
double | complex_y_offset [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
double | complex_scale [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
double | dash_length [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
double | complex_rotation [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
int | flag |
int | alignment |
int | number_of_linetype_elements |
int | complex_element [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
int | complex_shape_number [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
char * | dictionary_owner_soft |
char * | complex_style_pointer [DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
char * | dictionary_owner_hard |
struct DxfLType * | next |
Entity handle; text string of up to 16 hexadecimal digits (fixed).
Group code = 5.
Definition at line 61 of file ltype.h.
Referenced by dxf_ltype_get_id_code(), dxf_ltype_read(), and dxf_ltype_set_id_code().
Linetype name.
Group code = 2.
Definition at line 65 of file ltype.h.
Referenced by dxf_ltype_get_linetype_name(), dxf_ltype_read(), dxf_ltype_set_linetype_name(), and dxf_ltype_write().
Descriptive text for linetype.
Group code = 3.
Definition at line 68 of file ltype.h.
Referenced by dxf_ltype_get_description(), dxf_ltype_read(), dxf_ltype_set_description(), and dxf_ltype_write().
char* dxf_ltype_struct::complex_text_string[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
Text string (one per element if code 74 = 2).
Group code = 9.
Definition at line 71 of file ltype.h.
Referenced by dxf_ltype_get_complex_text_string(), dxf_ltype_read(), and dxf_ltype_set_complex_text_string().
Total pattern length.
Group code = 40.
Definition at line 74 of file ltype.h.
Referenced by dxf_ltype_get_total_pattern_length(), dxf_ltype_read(), and dxf_ltype_set_total_pattern_length().
double dxf_ltype_struct::complex_x_offset[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
X offset value (optional).
Multiple entries can exist.
Group code = 44.
Definition at line 77 of file ltype.h.
Referenced by dxf_ltype_get_complex_x_offset(), dxf_ltype_read(), and dxf_ltype_set_complex_x_offset().
double dxf_ltype_struct::complex_y_offset[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
Y offset value (optional).
Multiple entries can exist.
Group code = 45.
Definition at line 81 of file ltype.h.
Referenced by dxf_ltype_get_complex_y_offset(), dxf_ltype_read(), and dxf_ltype_set_complex_y_offset().
double dxf_ltype_struct::complex_scale[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
Scale value (optional).
Multiple entries can exist.
Group code = 46.
Definition at line 85 of file ltype.h.
Referenced by dxf_ltype_get_complex_scale(), dxf_ltype_read(), and dxf_ltype_set_complex_scale().
double dxf_ltype_struct::dash_length[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
Dash, dot or space length (one entry per element).
Group code = 49.
Definition at line 89 of file ltype.h.
Referenced by dxf_ltype_get_dash_length(), dxf_ltype_read(), and dxf_ltype_set_dash_length().
double dxf_ltype_struct::complex_rotation[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
R = (relative) or A = (absolute) rotation value in radians of embedded shape or text.
One per element if code 74 specifies an embedded shape or text string.
Group code = 50.
Definition at line 92 of file ltype.h.
Referenced by dxf_ltype_get_complex_rotation(), dxf_ltype_read(), and dxf_ltype_set_complex_rotation().
Bit coded:
This flag is for the benefit of AutoCAD commands; it can be ignored by most programs that read DXF files, and need not be set by programs that write DXF files.
Group code = 70.
Definition at line 99 of file ltype.h.
Referenced by dxf_ltype_get_flag(), dxf_ltype_is_referenced(), dxf_ltype_is_xreferenced(), dxf_ltype_is_xresolved(), dxf_ltype_read(), and dxf_ltype_set_flag().
Alignment code.
Value is always 65, ASCII code for 'A'.
Group code = 72.
Definition at line 115 of file ltype.h.
Referenced by dxf_ltype_get_alignment(), dxf_ltype_read(), and dxf_ltype_set_alignment().
The number of linetype elements.
Group code = 73.
Definition at line 119 of file ltype.h.
Referenced by dxf_ltype_get_number_of_linetype_elements(), dxf_ltype_read(), and dxf_ltype_set_number_of_linetype_elements().
int dxf_ltype_struct::complex_element[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
Complex linetype element type (one per element).
Default is 0 (no embedded shape/text).
The following codes are bit values:
Group code = 74.
Definition at line 122 of file ltype.h.
Referenced by dxf_ltype_get_complex_element(), dxf_ltype_read(), and dxf_ltype_set_complex_element().
int dxf_ltype_struct::complex_shape_number[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
Shape number (one per element) if code 74 specifies an embedded shape.
If code 74 specifies an embedded text string, this value is set to 0.
If code 74 is set to 0, code 75 is omitted.
Group code = 75.
Definition at line 134 of file ltype.h.
Referenced by dxf_ltype_get_complex_shape_number(), dxf_ltype_read(), and dxf_ltype_set_complex_shape_number().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 141 of file ltype.h.
Referenced by dxf_ltype_get_dictionary_owner_soft(), dxf_ltype_read(), and dxf_ltype_set_dictionary_owner_soft().
char* dxf_ltype_struct::complex_style_pointer[DXF_MAX_NUMBER_OF_DASH_LENGTH_ITEMS] |
group code = 340.Pointer to STYLE
object.
One per element if group code 74 > 0.
Group code = 340.
Definition at line 144 of file ltype.h.
Referenced by dxf_ltype_get_complex_style_pointer(), dxf_ltype_read(), and dxf_ltype_set_complex_style_pointer().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 148 of file ltype.h.
Referenced by dxf_ltype_get_dictionary_owner_hard(), dxf_ltype_read(), and dxf_ltype_set_dictionary_owner_hard().
struct DxfLType* dxf_ltype_struct::next |
pointer to the next DxfLType.
NULL
in the last DxfLType.
Definition at line 150 of file ltype.h.
Referenced by dxf_ltype_free(), dxf_ltype_free_chain(), dxf_ltype_get_last(), dxf_ltype_get_next(), and dxf_ltype_set_next().