![]() |
libDXF 0.0.1
A library with DXF related functions written in C.
|
Header file for a DXF mlinestyle object (MLINESTYLE).
More...
#include "global.h"

Go to the source code of this file.
Data Structures | |
| struct | dxf_mlinestyle_struct |
| DXF definition of an AutoCAD mlinestyle object. More... | |
Typedefs | |
| typedef struct dxf_mlinestyle_struct | DxfMlinestyle |
| DXF definition of an AutoCAD mlinestyle object. | |
Functions | |
| DxfMlinestyle * | dxf_mlinestyle_new () |
Allocate memory for a DxfMlinestyle. | |
| DxfMlinestyle * | dxf_mlinestyle_init (DxfMlinestyle *mlinestyle) |
Allocate memory and initialize data fields in a MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_read (DxfFile *fp, DxfMlinestyle *mlinestyle) |
Read data from a DXF file into a DXF MLINESTYLE object. | |
| int | dxf_mlinestyle_write (DxfFile *fp, DxfMlinestyle *mlinestyle) |
Write DXF output to a file for a DXF MLINESTYLE object. | |
| int | dxf_mlinestyle_free (DxfMlinestyle *mlinestyle) |
Free the allocated memory for a DXF MLINESTYLE and all it's data fields. | |
| void | dxf_mlinestyle_free_chain (DxfMlinestyle *mlinestyles) |
Free the allocated memory for a chain of DXF MLINESTYLE objects and all their data fields. | |
| int | dxf_mlinestyle_get_id_code (DxfMlinestyle *mlinestyle) |
Get the ID code from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_id_code (DxfMlinestyle *mlinestyle, int id_code) |
Set the id_code for a DXF MLINESTYLE object. | |
| char * | dxf_mlinestyle_get_dictionary_owner_soft (DxfMlinestyle *mlinestyle) |
Get the soft pointer to the dictionary owner from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_dictionary_owner_soft (DxfMlinestyle *mlinestyle, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF MLINESTYLE object. | |
| char * | dxf_mlinestyle_get_dictionary_owner_hard (DxfMlinestyle *mlinestyle) |
Get the hard pointer to the dictionary owner from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_dictionary_owner_hard (DxfMlinestyle *mlinestyle, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF MLINESTYLE object. | |
| char * | dxf_mlinestyle_get_name (DxfMlinestyle *mlinestyle) |
Get the name from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_name (DxfMlinestyle *mlinestyle, char *name) |
Set the name for a DXF MLINESTYLE object. | |
| char * | dxf_mlinestyle_get_description (DxfMlinestyle *mlinestyle) |
Get the description from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_description (DxfMlinestyle *mlinestyle, char *description) |
Set the description for a DXF MLINESTYLE object. | |
| char * | dxf_mlinestyle_get_ith_element_linetype (DxfMlinestyle *mlinestyle, int i) |
Get the element_linetype from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_ith_element_linetype (DxfMlinestyle *mlinestyle, char *element_linetype, int i) |
Set the element_linetype for a DXF MLINESTYLE object. | |
| double | dxf_mlinestyle_get_element_offset (DxfMlinestyle *mlinestyle) |
Get the element_offset array of a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_element_offset (DxfMlinestyle *mlinestyle, double *element_offset) |
Set the pointer of element_parameters array of a DXF MLINESTYLE object. | |
| double | dxf_mlinestyle_get_ith_element_offset (DxfMlinestyle *mlinestyle, int i) |
Get the i-th element_offset from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_ith_element_offset (DxfMlinestyle *mlinestyle, double element_offset, int i) |
Set the i-th element_offset for a DXF MLINESTYLE object. | |
| double | dxf_mlinestyle_get_start_angle (DxfMlinestyle *mlinestyle) |
Get the start_angle from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_start_angle (DxfMlinestyle *mlinestyle, double start_angle) |
Set the start_angle for a DXF MLINESTYLE object. | |
| double | dxf_mlinestyle_get_end_angle (DxfMlinestyle *mlinestyle) |
Get the end_angle from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_end_angle (DxfMlinestyle *mlinestyle, double end_angle) |
Set the end_angle for a DXF MLINESTYLE object. | |
| int | dxf_mlinestyle_get_color (DxfMlinestyle *mlinestyle) |
Get the color from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_color (DxfMlinestyle *mlinestyle, int color) |
Set the color for a DXF MLINESTYLE object. | |
| int | dxf_mlinestyle_get_ith_element_color (DxfMlinestyle *mlinestyle, int i) |
Get the i-th element_color from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_ith_element_color (DxfMlinestyle *mlinestyle, int element_color, int i) |
Set the i-th element_color for a DXF MLINESTYLE object. | |
| int | dxf_mlinestyle_get_flags (DxfMlinestyle *mlinestyle) |
Get the flags from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_flags (DxfMlinestyle *mlinestyle, int flags) |
Set the flags for a DXF MLINESTYLE object. | |
| int | dxf_mlinestyle_flag_is_fill_on (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to fill on. | |
| int | dxf_mlinestyle_flag_is_display_miters (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to display miters. | |
| int | dxf_mlinestyle_flag_is_start_square_end_cap (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to start_square_end_cap. | |
| int | dxf_mlinestyle_flag_is_start_inner_arcs_cap (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to start_inner_arcs_cap. | |
| int | dxf_mlinestyle_flag_is_start_round_outer_arcs_cap (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to start_round_outer_arcs_cap. | |
| int | dxf_mlinestyle_flag_is_end_square_end_cap (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to end_square_end_cap. | |
| int | dxf_mlinestyle_flag_is_end_inner_arcs_cap (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to end_inner_arcs_cap. | |
| int | dxf_mlinestyle_flag_is_end_round_outer_arcs_cap (DxfMlinestyle *mlinestyle) |
Test if the mlinestyle has its flag set to end_round_outer_arcs_cap. | |
| int | dxf_mlinestyle_get_number_of_elements (DxfMlinestyle *mlinestyle) |
Get the number_of_elements from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_number_of_elements (DxfMlinestyle *mlinestyle, int number_of_elements) |
Set the number_of_elements for a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_get_next (DxfMlinestyle *mlinestyle) |
Get the pointer to the next MLINESTYLE object from a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_set_next (DxfMlinestyle *mlinestyle, DxfMlinestyle *next) |
Set the pointer to the next MLINE for a DXF MLINESTYLE object. | |
| DxfMlinestyle * | dxf_mlinestyle_get_last (DxfMlinestyle *mlinestyle) |
Get the pointer to the last MLINESTYLE object from a linked list of DXF MLINESTYLE object. | |
Header file for a DXF mlinestyle object (MLINESTYLE).
MLINESTYLE object was introduced in DXF R13.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to:
Free Software Foundation, Inc.,
59 Temple Place,
Suite 330,
Boston,
MA 02111 USA.
Drawing eXchange Format (DXF) is a defacto industry standard for the exchange of drawing files between various Computer Aided Drafting programs.
DXF is an industry standard designed by Autodesk(TM).
For more details see http://www.autodesk.com .
Definition in file mlinestyle.h.
| typedef struct dxf_mlinestyle_struct DxfMlinestyle |
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. | DxfMlinestyle* dxf_mlinestyle_new | ( | ) |
Allocate memory for a DxfMlinestyle.
Fill the memory contents with zeros.
NULL when no memory was allocated, a pointer to the allocated memory when succesful. Definition at line 55 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_init(), and dxf_mlinestyle_read().
| DxfMlinestyle* dxf_mlinestyle_init | ( | DxfMlinestyle * | mlinestyle | ) |
Allocate memory and initialize data fields in a MLINESTYLE object.
NULL when no memory was allocated, a pointer to the allocated memory when succesful. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 93 of file mlinestyle.c.
References _, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, dxf_mlinestyle_new(), dxf_mlinestyle_set_color(), dxf_mlinestyle_set_description(), dxf_mlinestyle_set_dictionary_owner_hard(), dxf_mlinestyle_set_dictionary_owner_soft(), dxf_mlinestyle_set_end_angle(), dxf_mlinestyle_set_flags(), dxf_mlinestyle_set_id_code(), dxf_mlinestyle_set_ith_element_color(), dxf_mlinestyle_set_ith_element_linetype(), dxf_mlinestyle_set_ith_element_offset(), dxf_mlinestyle_set_name(), dxf_mlinestyle_set_next(), dxf_mlinestyle_set_number_of_elements(), and dxf_mlinestyle_set_start_angle().
Referenced by dxf_mlinestyle_read().

| DxfMlinestyle* dxf_mlinestyle_read | ( | DxfFile * | fp, |
| DxfMlinestyle * | mlinestyle | ||
| ) |
Read data from a DXF file into a DXF MLINESTYLE object.
The last line read from file contained the string "MLINESTYLE".
Now follows some data for the MLINESTYLE, to be terminated with a " 0" string announcing the following entity, or the end of the ENTITY section marker ENDSEC.
While parsing the DXF file store data in mlinestyle.
mlinestyle. | fp | DXF file pointer to an input file (or device). |
| mlinestyle | DXF MLINESTYLE object. |
Definition at line 155 of file mlinestyle.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_13, AutoCAD_14, dxf_mlinestyle_struct::color, dxf_mlinestyle_struct::description, dxf_mlinestyle_struct::dictionary_owner_hard, dxf_mlinestyle_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mlinestyle_init(), dxf_mlinestyle_new(), dxf_mlinestyle_struct::element_color, dxf_mlinestyle_struct::element_linetype, dxf_mlinestyle_struct::element_offset, dxf_mlinestyle_struct::end_angle, dxf_file_struct::filename, dxf_mlinestyle_struct::flags, dxf_file_struct::fp, dxf_mlinestyle_struct::id_code, dxf_file_struct::line_number, dxf_mlinestyle_struct::name, dxf_mlinestyle_struct::number_of_elements, and dxf_mlinestyle_struct::start_angle.

| int dxf_mlinestyle_write | ( | DxfFile * | fp, |
| DxfMlinestyle * | mlinestyle | ||
| ) |
Write DXF output to a file for a DXF MLINESTYLE object.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.follow_strict_version_rules flag is set to TRUE in the DxfFile struct, this entity will be skipped from file. When the follow_strict_version_rules flag is set to FALSE in the DxfFile struct, libdxf will write this entity to file and report with a warning message to stderr. | fp | DXF file pointer to an output file (or device). |
| mlinestyle | DXF MLINESTYLE object. |
Definition at line 354 of file mlinestyle.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_13, AutoCAD_14, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, dxf_mlinestyle_get_color(), dxf_mlinestyle_get_description(), dxf_mlinestyle_get_dictionary_owner_hard(), dxf_mlinestyle_get_dictionary_owner_soft(), dxf_mlinestyle_get_end_angle(), dxf_mlinestyle_get_flags(), dxf_mlinestyle_get_id_code(), dxf_mlinestyle_get_ith_element_color(), dxf_mlinestyle_get_ith_element_linetype(), dxf_mlinestyle_get_ith_element_offset(), dxf_mlinestyle_get_name(), dxf_mlinestyle_get_number_of_elements(), dxf_mlinestyle_get_start_angle(), dxf_file_struct::follow_strict_version_rules, and dxf_file_struct::fp.

| int dxf_mlinestyle_free | ( | DxfMlinestyle * | mlinestyle | ) |
Free the allocated memory for a DXF MLINESTYLE and all it's data fields.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred. | mlinestyle | Pointer to the memory occupied by the DXF MLINESTYLE object. |
Definition at line 465 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, dxf_mlinestyle_get_description(), dxf_mlinestyle_get_dictionary_owner_hard(), dxf_mlinestyle_get_dictionary_owner_soft(), dxf_mlinestyle_get_ith_element_linetype(), dxf_mlinestyle_get_name(), and dxf_mlinestyle_struct::next.
Referenced by dxf_mlinestyle_free_chain().

| void dxf_mlinestyle_free_chain | ( | DxfMlinestyle * | mlinestyles | ) |
Free the allocated memory for a chain of DXF MLINESTYLE objects and all their data fields.
| mlinestyles | a pointer to the chain of DXF MLINESTYLE objects. |
Definition at line 514 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mlinestyle_free(), and dxf_mlinestyle_struct::next.

| int dxf_mlinestyle_get_id_code | ( | DxfMlinestyle * | mlinestyle | ) |
Get the ID code from a DXF MLINESTYLE object.
id_code. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 547 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::id_code.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_id_code | ( | DxfMlinestyle * | mlinestyle, |
| int | id_code | ||
| ) |
Set the id_code for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| id_code | Identification number for the object. This is to be an unique (sequential) number in the DXF file. |
Definition at line 582 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::id_code.
Referenced by dxf_mlinestyle_init().
| char* dxf_mlinestyle_get_dictionary_owner_soft | ( | DxfMlinestyle * | mlinestyle | ) |
Get the soft pointer to the dictionary owner from a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 627 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_free(), and dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_dictionary_owner_soft | ( | DxfMlinestyle * | mlinestyle, |
| char * | dictionary_owner_soft | ||
| ) |
Set the pointer to the dictionary_owner_soft for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the object. |
Definition at line 663 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_init().
| char* dxf_mlinestyle_get_dictionary_owner_hard | ( | DxfMlinestyle * | mlinestyle | ) |
Get the hard pointer to the dictionary owner from a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 707 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_free(), and dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_dictionary_owner_hard | ( | DxfMlinestyle * | mlinestyle, |
| char * | dictionary_owner_hard | ||
| ) |
Set the pointer to the dictionary_owner_hard for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the object. |
Definition at line 743 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_init().
| char* dxf_mlinestyle_get_name | ( | DxfMlinestyle * | mlinestyle | ) |
Get the name from a DXF MLINESTYLE object.
name.| mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 786 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::name.
Referenced by dxf_mlinestyle_free(), and dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_name | ( | DxfMlinestyle * | mlinestyle, |
| char * | name | ||
| ) |
Set the name for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| name | a string containing the name for the object. |
Definition at line 821 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::name.
Referenced by dxf_mlinestyle_init().
| char* dxf_mlinestyle_get_description | ( | DxfMlinestyle * | mlinestyle | ) |
Get the description from a DXF MLINESTYLE object.
description.| mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 863 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::description, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_free(), and dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_description | ( | DxfMlinestyle * | mlinestyle, |
| char * | description | ||
| ) |
Set the description for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| description | a string containing the description for the object. |
Definition at line 898 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::description, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_init().
| char* dxf_mlinestyle_get_ith_element_linetype | ( | DxfMlinestyle * | mlinestyle, |
| int | i | ||
| ) |
Get the element_linetype from a DXF MLINESTYLE object.
element_linetype.| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| i | an index for the array of element linetypes. |
Definition at line 941 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, and dxf_mlinestyle_struct::element_linetype.
Referenced by dxf_mlinestyle_free(), and dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_ith_element_linetype | ( | DxfMlinestyle * | mlinestyle, |
| char * | element_linetype, | ||
| int | i | ||
| ) |
Set the element_linetype for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| element_linetype | a string containing the element_linetype for the object. |
| i | an index for the array of element linetypes. |
Definition at line 992 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, and dxf_mlinestyle_struct::element_linetype.
Referenced by dxf_mlinestyle_init().
| double dxf_mlinestyle_get_element_offset | ( | DxfMlinestyle * | mlinestyle | ) |
Get the element_offset array of a DXF MLINESTYLE object.
element_offset array. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1049 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::element_offset.
| DxfMlinestyle* dxf_mlinestyle_set_element_offset | ( | DxfMlinestyle * | mlinestyle, |
| double * | element_offset | ||
| ) |
Set the pointer of element_parameters array of a DXF MLINESTYLE object.
mline when successful, or NULL when an error occurred. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
| element_offset | the pointer to the element_offset array to be set for the object. |
Definition at line 1089 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::element_offset.
| double dxf_mlinestyle_get_ith_element_offset | ( | DxfMlinestyle * | mlinestyle, |
| int | i | ||
| ) |
Get the i-th element_offset from a DXF MLINESTYLE object.
element_offset. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
| i | an index for the array of element offsets. |
Definition at line 1130 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, and dxf_mlinestyle_struct::element_offset.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_ith_element_offset | ( | DxfMlinestyle * | mlinestyle, |
| double | element_offset, | ||
| int | i | ||
| ) |
Set the i-th element_offset for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| element_offset | a double containing the i-th element_offset for the object. |
| i | an index for the array of element offsets. |
Definition at line 1174 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, and dxf_mlinestyle_struct::element_offset.
Referenced by dxf_mlinestyle_init().
| double dxf_mlinestyle_get_start_angle | ( | DxfMlinestyle * | mlinestyle | ) |
Get the start_angle from a DXF MLINESTYLE object.
start_angle. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1224 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::start_angle.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_start_angle | ( | DxfMlinestyle * | mlinestyle, |
| double | start_angle | ||
| ) |
Set the start_angle for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| start_angle | the start_angle to be set for the object. |
Definition at line 1252 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::start_angle.
Referenced by dxf_mlinestyle_init().
| double dxf_mlinestyle_get_end_angle | ( | DxfMlinestyle * | mlinestyle | ) |
Get the end_angle from a DXF MLINESTYLE object.
end_angle. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1285 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::end_angle.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_end_angle | ( | DxfMlinestyle * | mlinestyle, |
| double | end_angle | ||
| ) |
Set the end_angle for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| end_angle | the end_angle to be set for the object. |
Definition at line 1313 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::end_angle.
Referenced by dxf_mlinestyle_init().
| int dxf_mlinestyle_get_color | ( | DxfMlinestyle * | mlinestyle | ) |
Get the color from a DXF MLINESTYLE object.
color. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1346 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_color | ( | DxfMlinestyle * | mlinestyle, |
| int | color | ||
| ) |
Set the color for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| color | the color to be set for the object. |
Definition at line 1380 of file mlinestyle.c.
References _, dxf_mlinestyle_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mlinestyle_init().
| int dxf_mlinestyle_get_ith_element_color | ( | DxfMlinestyle * | mlinestyle, |
| int | i | ||
| ) |
Get the i-th element_color from a DXF MLINESTYLE object.
element_color. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
| i | an index for the array of element colors. |
Definition at line 1419 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, and dxf_mlinestyle_struct::element_color.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_ith_element_color | ( | DxfMlinestyle * | mlinestyle, |
| int | element_color, | ||
| int | i | ||
| ) |
Set the i-th element_color for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| element_color | an integer containing the color for the object. |
| i | an index for the array of element colors. |
Definition at line 1463 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_MAX_PARAM, and dxf_mlinestyle_struct::element_color.
Referenced by dxf_mlinestyle_init().
| int dxf_mlinestyle_get_flags | ( | DxfMlinestyle * | mlinestyle | ) |
Get the flags from a DXF MLINESTYLE object.
flags. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1518 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_flags | ( | DxfMlinestyle * | mlinestyle, |
| int | flags | ||
| ) |
Set the flags for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| flags | the flags to be set for the object. |
Definition at line 1560 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
Referenced by dxf_mlinestyle_init().
| int dxf_mlinestyle_flag_is_fill_on | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to fill on.
TRUE when the flag is set to fill on, or FALSE when the flag is not set to fill on. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1608 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_display_miters | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to display miters.
TRUE when the flag is set to display miters, or FALSE when the flag is not set to dispaly miters. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1640 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_start_square_end_cap | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to start_square_end_cap.
TRUE when the flag is set to start_square_end_cap, or FALSE when the flag is not set to start_square_end_cap. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1672 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_start_inner_arcs_cap | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to start_inner_arcs_cap.
TRUE when the flag is set to start_inner_arcs_cap, or FALSE when the flag is not set to start_inner_arcs_cap. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1704 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_start_round_outer_arcs_cap | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to start_round_outer_arcs_cap.
TRUE when the flag is set to start_round_outer_arcs_cap, or FALSE when the flag is not set to start_roundouter_arcs_cap. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1736 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_end_square_end_cap | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to end_square_end_cap.
TRUE when the flag is set to end_square_end_cap, or FALSE when the flag is not set to end_square_end_cap. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1768 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_end_inner_arcs_cap | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to end_inner_arcs_cap.
TRUE when the flag is set to end_inner_arcs_cap, or FALSE when the flag is not set to end_inner_arcs_cap. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1800 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_flag_is_end_round_outer_arcs_cap | ( | DxfMlinestyle * | mlinestyle | ) |
Test if the mlinestyle has its flag set to end_round_outer_arcs_cap.
TRUE when the flag is set to end_round_outer_arcs_cap, or FALSE when the flag is not set to end_roundouter_arcs_cap. | mlinestyle | DXF MLINESTYLE object. |
Definition at line 1832 of file mlinestyle.c.
References _, DXF_CHECK_BIT, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::flags.
| int dxf_mlinestyle_get_number_of_elements | ( | DxfMlinestyle * | mlinestyle | ) |
Get the number_of_elements from a DXF MLINESTYLE object.
number_of_elements. | mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1862 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::number_of_elements.
Referenced by dxf_mlinestyle_write().
| DxfMlinestyle* dxf_mlinestyle_set_number_of_elements | ( | DxfMlinestyle * | mlinestyle, |
| int | number_of_elements | ||
| ) |
Set the number_of_elements for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| number_of_elements | the number_of_elements to be set for the object. |
Definition at line 1897 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::number_of_elements.
Referenced by dxf_mlinestyle_init().
| DxfMlinestyle* dxf_mlinestyle_get_next | ( | DxfMlinestyle * | mlinestyle | ) |
Get the pointer to the next MLINESTYLE object from a DXF MLINESTYLE object.
MLINESTYLE object.| mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 1940 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::next.
| DxfMlinestyle* dxf_mlinestyle_set_next | ( | DxfMlinestyle * | mlinestyle, |
| DxfMlinestyle * | next | ||
| ) |
Set the pointer to the next MLINE for a DXF MLINESTYLE object.
| mlinestyle | a pointer to a DXF MLINESTYLE object. |
| next | a pointer to the next MLINESTYLE for the object. |
Definition at line 1976 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::next.
Referenced by dxf_mlinestyle_init().
| DxfMlinestyle* dxf_mlinestyle_get_last | ( | DxfMlinestyle * | mlinestyle | ) |
Get the pointer to the last MLINESTYLE object from a linked list of DXF MLINESTYLE object.
MLINESTYLE object.| mlinestyle | a pointer to a DXF MLINESTYLE object. |
Definition at line 2019 of file mlinestyle.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mlinestyle_struct::next.
1.7.3