![]() |
libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD mlinestyle object. More...
#include <mlinestyle.h>

Data Fields | |
| int | id_code |
| char * | dictionary_owner_soft |
| char * | dictionary_owner_hard |
| char * | name |
| char * | description |
| char * | element_linetype [DXF_MAX_PARAM] |
| double | element_offset [DXF_MAX_PARAM] |
| double | start_angle |
| double | end_angle |
| int | color |
| int | element_color [DXF_MAX_PARAM] |
| int | flags |
| int | number_of_elements |
| struct DxfMlinestyle * | next |
DXF definition of an AutoCAD mlinestyle object.
MLINESTYLE object.MLINESTYLE dictionary, which precedes the 350 group that has the handle or entity name of the current MLINESTYLE. Definition at line 69 of file mlinestyle.h.
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.
Definition at line 74 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_id_code(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_id_code().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 79 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_dictionary_owner_soft(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_dictionary_owner_soft().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 82 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_dictionary_owner_hard(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_dictionary_owner_hard().
Mline style name.
Group code = 2.
Definition at line 86 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_name(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_name().
Style description (string, 255 characters maximum).
Group code = 3.
Definition at line 89 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_description(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_description().
| char* dxf_mlinestyle_struct::element_linetype[DXF_MAX_PARAM] |
Element linetype (string, default = BYLAYER).
Multiple entries can exist; one entry for each element.
Group code = 6.
Definition at line 92 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_ith_element_linetype(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_ith_element_linetype().
| double dxf_mlinestyle_struct::element_offset[DXF_MAX_PARAM] |
Element offset (real, no default).
Multiple entries can exist; one entry for each element.
Group code = 49.
Definition at line 97 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_element_offset(), dxf_mlinestyle_get_ith_element_offset(), dxf_mlinestyle_read(), dxf_mlinestyle_set_element_offset(), and dxf_mlinestyle_set_ith_element_offset().
Start angle (real, default is 90 degrees).
Group code = 51.
Definition at line 102 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_start_angle(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_start_angle().
End angle (real, default is 90 degrees).
Group code = 52.
Definition at line 105 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_end_angle(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_end_angle().
Fill color (integer, default = 256).
Group code = 62.
Definition at line 108 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_color(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_color().
| int dxf_mlinestyle_struct::element_color[DXF_MAX_PARAM] |
Element color (integer, default = 0).
Multiple entries can exist; one entry for each element.
Group code = 62.
Definition at line 111 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_ith_element_color(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_ith_element_color().
Flags (bit-coded values):
Group code = 70.
Definition at line 116 of file mlinestyle.h.
Referenced by dxf_mlinestyle_flag_is_display_miters(), dxf_mlinestyle_flag_is_end_inner_arcs_cap(), dxf_mlinestyle_flag_is_end_round_outer_arcs_cap(), dxf_mlinestyle_flag_is_end_square_end_cap(), dxf_mlinestyle_flag_is_fill_on(), dxf_mlinestyle_flag_is_start_inner_arcs_cap(), dxf_mlinestyle_flag_is_start_round_outer_arcs_cap(), dxf_mlinestyle_flag_is_start_square_end_cap(), dxf_mlinestyle_get_flags(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_flags().
Number of elements.
Group code = 71.
Definition at line 129 of file mlinestyle.h.
Referenced by dxf_mlinestyle_get_number_of_elements(), dxf_mlinestyle_read(), and dxf_mlinestyle_set_number_of_elements().
pointer to the next DxfMlinestyle.
NULL in the last DxfMlinestyle.
Definition at line 131 of file mlinestyle.h.
Referenced by dxf_mlinestyle_free(), dxf_mlinestyle_free_chain(), dxf_mlinestyle_get_last(), dxf_mlinestyle_get_next(), and dxf_mlinestyle_set_next().
1.7.3