libDXF 0.0.1
A library with DXF related functions written in C.
Data Fields

dxf_mlinestyle_struct Struct Reference

DXF definition of an AutoCAD mlinestyle object. More...

#include <mlinestyle.h>

Collaboration diagram for dxf_mlinestyle_struct:
Collaboration graph
[legend]

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 DxfMlinestylenext

Detailed Description

DXF definition of an AutoCAD mlinestyle object.

Warning:
The 2 group codes in mline entities and mlinestyle objects are redundant fields.
These groups should not be modified under any circumstances, although it is safe to read them and use their values.
The correct fields to modify are:
Mline: The 340 group in the same object, which indicates the proper MLINESTYLE object.
Mlinestyle: The 3 group value in the 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.


Field Documentation

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().

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().

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().

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().

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().


The documentation for this struct was generated from the following file: