![]() |
libDXF 0.0.1
A library with DXF related functions written in C.
|
Functions for a DXF mline entity (MLINE).
More...
#include "mline.h"
Go to the source code of this file.
Functions | |
| DxfMline * | dxf_mline_new () |
Allocate memory for a DxfMline. | |
| DxfMline * | dxf_mline_init (DxfMline *mline) |
Allocate memory and initialize data fields in a MLINE entity. | |
| DxfMline * | dxf_mline_read (DxfFile *fp, DxfMline *mline) |
Read data from a DXF file into an MLINE entity. | |
| int | dxf_mline_write (DxfFile *fp, DxfMline *mline) |
| Write DXF output to fp for a mline entity. | |
| int | dxf_mline_free (DxfMline *mline) |
Free the allocated memory for a DXF MLINE and all it's data fields. | |
| void | dxf_mline_free_chain (DxfMline *mlines) |
Free the allocated memory for a chain of DXF MLINE entities and all their data fields. | |
| int | dxf_mline_get_id_code (DxfMline *mline) |
Get the ID code from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_id_code (DxfMline *mline, int id_code) |
Set the ID code for a DXF MLINE entity. | |
| char * | dxf_mline_get_linetype (DxfMline *mline) |
Get the linetype from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_linetype (DxfMline *mline, char *linetype) |
Set the linetype for a DXF MLINE entity. | |
| char * | dxf_mline_get_layer (DxfMline *mline) |
Get the layer from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_layer (DxfMline *mline, char *layer) |
Set the layer for a DXF MLINE entity. | |
| double | dxf_mline_get_elevation (DxfMline *mline) |
Get the elevation from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_elevation (DxfMline *mline, double elevation) |
Set the elevation for a DXF MLINE entity. | |
| double | dxf_mline_get_thickness (DxfMline *mline) |
Get the thickness from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_thickness (DxfMline *mline, double thickness) |
Set the thickness for a DXF MLINE entity. | |
| double | dxf_mline_get_linetype_scale (DxfMline *mline) |
Get the linetype_scale from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_linetype_scale (DxfMline *mline, double linetype_scale) |
Set the linetype_scale for a DXF MLINE entity. | |
| int16_t | dxf_mline_get_visibility (DxfMline *mline) |
Get the visibility from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_visibility (DxfMline *mline, int16_t visibility) |
Set the visibility for a DXF MLINE entity. | |
| int | dxf_mline_get_color (DxfMline *mline) |
Get the color from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_color (DxfMline *mline, int color) |
Set the color for a DXF MLINE entity. | |
| int | dxf_mline_get_paperspace (DxfMline *mline) |
Get the paperspace flag value from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_paperspace (DxfMline *mline, int paperspace) |
Set the paperspace flag for a DXF MLINE entity. | |
| int | dxf_mline_get_graphics_data_size (DxfMline *mline) |
Get the graphics_data_size value from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_graphics_data_size (DxfMline *mline, int graphics_data_size) |
Set the graphics_data_size value for a DXF MLINE entity. | |
| int16_t | dxf_mline_get_shadow_mode (DxfMline *mline) |
Get the shadow_mode from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_shadow_mode (DxfMline *mline, int16_t shadow_mode) |
Set the shadow_mode for a DXF MLINE entity. | |
| DxfBinaryGraphicsData * | dxf_mline_get_binary_graphics_data (DxfMline *mline) |
Get the pointer to the binary_graphics_data from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_binary_graphics_data (DxfMline *mline, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF MLINE entity. | |
| char * | dxf_mline_get_dictionary_owner_soft (DxfMline *mline) |
Get the soft pointer to the dictionary owner from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_dictionary_owner_soft (DxfMline *mline, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF MLINE entity. | |
| char * | dxf_mline_get_material (DxfMline *mline) |
Get the pointer to the material from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_material (DxfMline *mline, char *material) |
Set the pointer to the material for a DXF MLINE entity. | |
| char * | dxf_mline_get_dictionary_owner_hard (DxfMline *mline) |
Get the hard pointer to the dictionary owner from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_dictionary_owner_hard (DxfMline *mline, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF MLINE entity. | |
| int16_t | dxf_mline_get_lineweight (DxfMline *mline) |
Get the lineweight from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_lineweight (DxfMline *mline, int16_t lineweight) |
Set the lineweight for a DXF MLINE entity. | |
| char * | dxf_mline_get_plot_style_name (DxfMline *mline) |
Get the plot_style_name from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_plot_style_name (DxfMline *mline, char *plot_style_name) |
Set the plot_style_name for a DXF MLINE entity. | |
| long | dxf_mline_get_color_value (DxfMline *mline) |
Get the color_value from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_color_value (DxfMline *mline, long color_value) |
Set the color_value for a DXF MLINE entity. | |
| char * | dxf_mline_get_color_name (DxfMline *mline) |
Get the color_name from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_color_name (DxfMline *mline, char *color_name) |
Set the color_name for a DXF MLINE entity. | |
| long | dxf_mline_get_transparency (DxfMline *mline) |
Get the transparency from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_transparency (DxfMline *mline, long transparency) |
Set the transparency for a DXF MLINE entity. | |
| char * | dxf_mline_get_style_name (DxfMline *mline) |
Get the style_name from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_style_name (DxfMline *mline, char *style_name) |
Set the style_name for a DXF MLINE entity. | |
| DxfPoint * | dxf_mline_get_p0 (DxfMline *mline) |
Get the start point p0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_p0 (DxfMline *mline, DxfPoint *p0) |
Set the start point p0 of a DXF MLINE entity. | |
| double | dxf_mline_get_x0 (DxfMline *mline) |
Get the X-value of the start point x0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_x0 (DxfMline *mline, double x0) |
Set the X-value of the start point x0 of a DXF MLINE entity. | |
| double | dxf_mline_get_y0 (DxfMline *mline) |
Get the Y-value of the start point y0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_y0 (DxfMline *mline, double y0) |
Set the Y-value of the start point y0 of a DXF MLINE entity. | |
| double | dxf_mline_get_z0 (DxfMline *mline) |
Get the Z-value of the start point z0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_z0 (DxfMline *mline, double z0) |
Set the Z-value of the start point z0 of a DXF MLINE entity. | |
| DxfPoint * | dxf_mline_get_p1 (DxfMline *mline) |
Get the first entry of a linked list of vertices p1 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_p1 (DxfMline *mline, DxfPoint *p1) |
Set the first entry of a linked list of vertices p1 of a DXF MLINE entity. | |
| double | dxf_mline_get_x1 (DxfMline *mline) |
Get the X-value of the first entry of a linked list of vertices x1 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_x1 (DxfMline *mline, double x1) |
Set the X-value of the first entry of a linked list of vertices x1 of a DXF MLINE entity. | |
| double | dxf_mline_get_y1 (DxfMline *mline) |
Get the Y-value of the first entry of a linked list of vertices y1 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_y1 (DxfMline *mline, double y1) |
Set the Y-value of the first entry of a linked list of vertices y1 of a DXF MLINE entity. | |
| double | dxf_mline_get_z1 (DxfMline *mline) |
Get the Z-value of the first entry of a linked list of vertices z1 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_z1 (DxfMline *mline, double z1) |
Set the Z-value of the first entry of a linked list of vertices z1 of a DXF MLINE entity. | |
| DxfPoint * | dxf_mline_get_p2 (DxfMline *mline) |
Get the first entry of a linked list of direction vector vertices p2 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_p2 (DxfMline *mline, DxfPoint *p2) |
Set the first entry of a linked list of direction vector vertices p2 of a DXF MLINE entity. | |
| double | dxf_mline_get_x2 (DxfMline *mline) |
Get the X-value of the first entry of a linked list of direction vector vertices x2 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_x2 (DxfMline *mline, double x2) |
Set the X-value of the first entry of a linked list of direction vector vertices x2 of a DXF MLINE entity. | |
| double | dxf_mline_get_y2 (DxfMline *mline) |
Get the Y-value of the first entry of a linked list of direction vector vertices y2 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_y2 (DxfMline *mline, double y2) |
Set the Y-value of the first entry of a linked list of direction vector vertices y2 of a DXF MLINE entity. | |
| double | dxf_mline_get_z2 (DxfMline *mline) |
Get the Z-value of the first entry of a linked list of direction vector vertices z2 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_z2 (DxfMline *mline, double z2) |
Set the Z-value of the first entry of a linked list of direction vector vertices z2 of a DXF MLINE entity. | |
| DxfPoint * | dxf_mline_get_p3 (DxfMline *mline) |
Get the first entry of a linked list vertices of the direction vector of the miter at this vertex p3 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_p3 (DxfMline *mline, DxfPoint *p3) |
Set the first entry of a linked list vertices of the direction vector of the miter at this vertex p3 of a DXF MLINE entity. | |
| double | dxf_mline_get_x3 (DxfMline *mline) |
Get the X-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex x3 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_x3 (DxfMline *mline, double x3) |
Set the X-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex x3 of a DXF MLINE entity. | |
| double | dxf_mline_get_y3 (DxfMline *mline) |
Get the Y-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex y3 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_y3 (DxfMline *mline, double y3) |
Set the Y-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex y3 of a DXF MLINE entity. | |
| double | dxf_mline_get_z3 (DxfMline *mline) |
Get the Z-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex z3 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_z3 (DxfMline *mline, double z3) |
Set the Z-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex z3 of a DXF MLINE entity. | |
| double | dxf_mline_get_scale_factor (DxfMline *mline) |
Get the scale_factor of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_scale_factor (DxfMline *mline, double scale_factor) |
Set the scale_factor of a DXF MLINE entity. | |
| double | dxf_mline_get_element_parameters (DxfMline *mline) |
Get the element_parameters array of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_element_parameters (DxfMline *mline, double *element_parameters) |
Set the pointer of element_parameters array of a DXF MLINE entity. | |
| double | dxf_mline_get_area_fill_parameters (DxfMline *mline) |
Get the area_fill_parameters array of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_area_fill_parameters (DxfMline *mline, double *area_fill_parameters) |
Set the pointer of area_fill_parameters array of a DXF MLINE entity. | |
| int | dxf_mline_get_justification (DxfMline *mline) |
Get the justification from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_justification (DxfMline *mline, int justification) |
Set the justification for a DXF MLINE entity. | |
| int | dxf_mline_get_flags (DxfMline *mline) |
Get the flags from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_flags (DxfMline *mline, int flags) |
Set the flags for a DXF MLINE entity. | |
| int | dxf_mline_get_number_of_vertices (DxfMline *mline) |
Get the number_of_vertices from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_number_of_vertices (DxfMline *mline, int number_of_vertices) |
Set the number_of_vertices for a DXF MLINE entity. | |
| int | dxf_mline_get_number_of_elements (DxfMline *mline) |
Get the number_of_elements from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_number_of_elements (DxfMline *mline, int number_of_elements) |
Set the number_of_elements for a DXF MLINE entity. | |
| int | dxf_mline_get_number_of_parameters (DxfMline *mline) |
Get the number_of_parameters from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_number_of_parameters (DxfMline *mline, int number_of_parameters) |
Set the number_of_parameters for a DXF MLINE entity. | |
| int | dxf_mline_get_number_of_area_fill_parameters (DxfMline *mline) |
Get the number_of_area_fill_parameters from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_number_of_area_fill_parameters (DxfMline *mline, int number_of_area_fill_parameters) |
Set the number_of_area_fill_parameters for a DXF MLINE entity. | |
| DxfPoint * | dxf_mline_get_extrusion_vector_as_point (DxfMline *mline) |
Get the extrusion vector as a DXF POINT entity from a DXF MLINE entity. | |
| double | dxf_mline_get_extr_x0 (DxfMline *mline) |
Get the X-value of the extrusion vector extr_x0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_extr_x0 (DxfMline *mline, double extr_x0) |
Set the X-value of the extrusion vector extr_x0 of a DXF MLINE entity. | |
| double | dxf_mline_get_extr_y0 (DxfMline *mline) |
Get the Y-value of the extrusion vector extr_y0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_extr_y0 (DxfMline *mline, double extr_y0) |
Set the Y-value of the extrusion vector extr_y0 of a DXF MLINE entity. | |
| double | dxf_mline_get_extr_z0 (DxfMline *mline) |
Get the Z-value of the extrusion vector extr_z0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_extr_z0 (DxfMline *mline, double extr_z0) |
Set the Z-value of the extrusion vector extr_z0 of a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_extrusion_vector_from_point (DxfMline *mline, DxfPoint *point) |
Set the extrusion vector from a DXF POINT for a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_extrusion_vector (DxfMline *mline, double extr_x0, double extr_y0, double extr_z0) |
Set the extrusion vector for a DXF MLINE entity. | |
| char * | dxf_mline_get_mlinestyle_dictionary (DxfMline *mline) |
Get the mlinestyle_dictionary from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_mlinestyle_dictionary (DxfMline *mline, char *mlinestyle_dictionary) |
Set the mlinestyle_dictionary for a DXF MLINE entity. | |
| DxfMline * | dxf_mline_get_next (DxfMline *mline) |
Get the pointer to the next MLINE entity from a DXF MLINE entity. | |
| DxfMline * | dxf_mline_set_next (DxfMline *mline, DxfMline *next) |
Set the pointer to the next MLINE for a DXF MLINE entity. | |
| DxfMline * | dxf_mline_get_last (DxfMline *mline) |
Get the pointer to the last MLINE entity from a linked list of DXF MLINE entities. | |
Functions for a DXF mline entity (MLINE).
MLINE entity 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 mline.c.
| DxfMline* dxf_mline_new | ( | ) |
Allocate memory for a DxfMline.
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 mline.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init(), and dxf_mline_read().
Allocate memory and initialize data fields in a MLINE entity.
NULL when no memory was allocated, a pointer to the allocated memory when succesful. | mline | DXF mline entity. |
Definition at line 92 of file mline.c.
References _, dxf_mline_struct::area_fill_parameters, dxf_binary_graphics_data_init(), dxf_binary_graphics_data_new(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_VISIBILITY, DXF_MAX_PARAM, dxf_mline_get_binary_graphics_data(), dxf_mline_get_p0(), dxf_mline_get_p1(), dxf_mline_get_p2(), dxf_mline_get_p3(), dxf_mline_new(), dxf_mline_set_binary_graphics_data(), dxf_mline_set_color(), dxf_mline_set_color_name(), dxf_mline_set_color_value(), dxf_mline_set_dictionary_owner_hard(), dxf_mline_set_dictionary_owner_soft(), dxf_mline_set_elevation(), dxf_mline_set_extr_x0(), dxf_mline_set_extr_y0(), dxf_mline_set_extr_z0(), dxf_mline_set_flags(), dxf_mline_set_graphics_data_size(), dxf_mline_set_id_code(), dxf_mline_set_justification(), dxf_mline_set_layer(), dxf_mline_set_linetype(), dxf_mline_set_linetype_scale(), dxf_mline_set_lineweight(), dxf_mline_set_material(), dxf_mline_set_mlinestyle_dictionary(), dxf_mline_set_next(), dxf_mline_set_number_of_area_fill_parameters(), dxf_mline_set_number_of_elements(), dxf_mline_set_number_of_vertices(), dxf_mline_set_p0(), dxf_mline_set_p1(), dxf_mline_set_p2(), dxf_mline_set_p3(), dxf_mline_set_paperspace(), dxf_mline_set_plot_style_name(), dxf_mline_set_scale_factor(), dxf_mline_set_shadow_mode(), dxf_mline_set_style_name(), dxf_mline_set_thickness(), dxf_mline_set_transparency(), dxf_mline_set_visibility(), DXF_MODELSPACE, dxf_point_init(), dxf_point_new(), and dxf_mline_struct::element_parameters.
Referenced by dxf_mline_read().

Read data from a DXF file into an MLINE entity.
The last line read from file contained the string "MLINE".
Now follows some data for the MLINE, 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 mline.
mline. | fp | DXF file pointer to an input file (or device). |
| mline | DXF mline entity. |
Definition at line 183 of file mline.c.
References _, dxf_file_struct::acad_version_number, dxf_mline_struct::area_fill_parameters, AutoCAD_11, AutoCAD_13, dxf_mline_struct::color, dxf_mline_struct::dictionary_owner_hard, dxf_mline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_mline_get_layer(), dxf_mline_get_linetype(), dxf_mline_init(), dxf_mline_new(), dxf_mline_set_layer(), dxf_mline_set_linetype(), dxf_point_init(), dxf_mline_struct::element_parameters, dxf_mline_struct::elevation, dxf_mline_struct::extr_x0, dxf_mline_struct::extr_y0, dxf_mline_struct::extr_z0, dxf_file_struct::filename, dxf_mline_struct::flags, dxf_file_struct::fp, dxf_mline_struct::id_code, dxf_mline_struct::justification, dxf_mline_struct::layer, dxf_file_struct::line_number, dxf_mline_struct::linetype, dxf_mline_struct::linetype_scale, dxf_mline_struct::mlinestyle_dictionary, dxf_point_struct::next, dxf_mline_struct::number_of_area_fill_parameters, dxf_mline_struct::number_of_elements, dxf_mline_struct::number_of_parameters, dxf_mline_struct::number_of_vertices, dxf_mline_struct::p0, dxf_mline_struct::p1, dxf_mline_struct::p2, dxf_mline_struct::p3, dxf_mline_struct::paperspace, dxf_mline_struct::scale_factor, dxf_mline_struct::style_name, dxf_mline_struct::thickness, dxf_mline_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.

Write DXF output to fp for a mline entity.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occured.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). |
| mline | DXF mline entity. |
Definition at line 611 of file mline.c.
References _, dxf_file_struct::acad_version_number, dxf_mline_struct::area_fill_parameters, AutoCAD_11, AutoCAD_12, AutoCAD_13, AutoCAD_14, AutoCAD_2000, AutoCAD_2002, AutoCAD_2004, AutoCAD_2008, AutoCAD_2009, dxf_mline_struct::dictionary_owner_soft, dxf_binary_graphics_data_get_data_line(), dxf_binary_graphics_data_get_next(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_MAX_PARAM, dxf_mline_get_binary_graphics_data(), dxf_mline_get_color(), dxf_mline_get_color_name(), dxf_mline_get_color_value(), dxf_mline_get_dictionary_owner_hard(), dxf_mline_get_dictionary_owner_soft(), dxf_mline_get_elevation(), dxf_mline_get_extr_x0(), dxf_mline_get_extr_y0(), dxf_mline_get_extr_z0(), dxf_mline_get_flags(), dxf_mline_get_graphics_data_size(), dxf_mline_get_id_code(), dxf_mline_get_justification(), dxf_mline_get_layer(), dxf_mline_get_linetype(), dxf_mline_get_linetype_scale(), dxf_mline_get_lineweight(), dxf_mline_get_material(), dxf_mline_get_mlinestyle_dictionary(), dxf_mline_get_number_of_area_fill_parameters(), dxf_mline_get_number_of_elements(), dxf_mline_get_number_of_parameters(), dxf_mline_get_number_of_vertices(), dxf_mline_get_paperspace(), dxf_mline_get_plot_style_name(), dxf_mline_get_scale_factor(), dxf_mline_get_shadow_mode(), dxf_mline_get_style_name(), dxf_mline_get_thickness(), dxf_mline_get_transparency(), dxf_mline_get_visibility(), dxf_mline_get_x0(), dxf_mline_get_y0(), dxf_mline_get_z0(), dxf_mline_set_layer(), dxf_mline_set_linetype(), DXF_PAPERSPACE, dxf_mline_struct::element_parameters, dxf_file_struct::follow_strict_version_rules, dxf_file_struct::fp, dxf_mline_struct::id_code, dxf_point_struct::next, dxf_mline_struct::number_of_area_fill_parameters, dxf_mline_struct::number_of_parameters, dxf_mline_struct::number_of_vertices, dxf_mline_struct::p1, dxf_mline_struct::p2, dxf_mline_struct::p3, dxf_mline_struct::thickness, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.

| int dxf_mline_free | ( | DxfMline * | mline | ) |
Free the allocated memory for a DXF MLINE and all it's data fields.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred. | mline | Pointer to the memory occupied by the DXF MLINE entity. |
Definition at line 894 of file mline.c.
References _, dxf_mline_struct::binary_graphics_data, dxf_mline_struct::color_name, dxf_mline_struct::dictionary_owner_hard, dxf_mline_struct::dictionary_owner_soft, dxf_binary_graphics_data_free(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_point_free(), dxf_point_free_chain(), dxf_mline_struct::layer, dxf_mline_struct::linetype, dxf_mline_struct::material, dxf_mline_struct::mlinestyle_dictionary, dxf_mline_struct::next, dxf_mline_struct::p0, dxf_mline_struct::p1, dxf_mline_struct::p2, dxf_mline_struct::p3, dxf_mline_struct::plot_style_name, and dxf_mline_struct::style_name.
Referenced by dxf_mline_free_chain().

| void dxf_mline_free_chain | ( | DxfMline * | mlines | ) |
Free the allocated memory for a chain of DXF MLINE entities and all their data fields.
| mlines | a pointer to the chain of DXF MLINE entities. |
Definition at line 947 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_free(), and dxf_mline_struct::next.

| int dxf_mline_get_id_code | ( | DxfMline * | mline | ) |
Get the ID code from a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
Definition at line 980 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::id_code.
Referenced by dxf_mline_write().
Set the ID code for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 1015 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::id_code.
Referenced by dxf_mline_init().
| char* dxf_mline_get_linetype | ( | DxfMline * | mline | ) |
Get the linetype from a DXF MLINE entity.
NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1057 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::linetype.
Referenced by dxf_mline_read(), and dxf_mline_write().
Set the linetype for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| linetype | a string containing the linetype for the entity. |
Definition at line 1092 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::linetype.
Referenced by dxf_mline_init(), dxf_mline_read(), and dxf_mline_write().
| char* dxf_mline_get_layer | ( | DxfMline * | mline | ) |
Get the layer from a DXF MLINE entity.
NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1132 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::layer.
Referenced by dxf_mline_read(), and dxf_mline_write().
Set the layer for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| layer | a string containing the layer for the entity. |
Definition at line 1167 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::layer.
Referenced by dxf_mline_init(), dxf_mline_read(), and dxf_mline_write().
| double dxf_mline_get_elevation | ( | DxfMline * | mline | ) |
Get the elevation from a DXF MLINE entity.
elevation. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1207 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::elevation.
Referenced by dxf_mline_write().
Set the elevation for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| elevation | the elevation to be set for the entity. |
Definition at line 1235 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::elevation.
Referenced by dxf_mline_init().
| double dxf_mline_get_thickness | ( | DxfMline * | mline | ) |
Get the thickness from a DXF MLINE entity.
thickness. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1268 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::thickness.
Referenced by dxf_mline_write().
Set the thickness for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| thickness | the thickness to be set for the entity. |
Definition at line 1303 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::thickness.
Referenced by dxf_mline_init().
| double dxf_mline_get_linetype_scale | ( | DxfMline * | mline | ) |
Get the linetype_scale from a DXF MLINE entity.
linetype_scale. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1343 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::linetype_scale.
Referenced by dxf_mline_write().
Set the linetype_scale for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| linetype_scale | the linetype_scale to be set for the entity. |
Definition at line 1378 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::linetype_scale.
Referenced by dxf_mline_init().
| int16_t dxf_mline_get_visibility | ( | DxfMline * | mline | ) |
Get the visibility from a DXF MLINE entity.
visibility. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1418 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::visibility.
Referenced by dxf_mline_write().
Set the visibility for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| visibility | the visibility to be set for the entity. |
Definition at line 1460 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::visibility.
Referenced by dxf_mline_init().
| int dxf_mline_get_color | ( | DxfMline * | mline | ) |
Get the color from a DXF MLINE entity.
color. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1507 of file mline.c.
References _, dxf_mline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_write().
Set the color for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| color | the color to be set for the entity. |
Definition at line 1541 of file mline.c.
References _, dxf_mline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init().
| int dxf_mline_get_paperspace | ( | DxfMline * | mline | ) |
Get the paperspace flag value from a DXF MLINE entity.
paperspace flag value. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1580 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::paperspace.
Referenced by dxf_mline_write().
Set the paperspace flag for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1620 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::paperspace.
Referenced by dxf_mline_init().
| int dxf_mline_get_graphics_data_size | ( | DxfMline * | mline | ) |
Get the graphics_data_size value from a DXF MLINE entity.
graphics_data_size value when successful, or EXIT_FAILURE when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1668 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::graphics_data_size.
Referenced by dxf_mline_write().
Set the graphics_data_size value for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1711 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::graphics_data_size.
Referenced by dxf_mline_init().
| int16_t dxf_mline_get_shadow_mode | ( | DxfMline * | mline | ) |
Get the shadow_mode from a DXF MLINE entity.
shadow_mode when successful, or EXIT_FAILURE when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 1759 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::shadow_mode.
Referenced by dxf_mline_write().
Set the shadow_mode for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| shadow_mode | the shadow mode to be set for the entity. |
Definition at line 1804 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::shadow_mode.
Referenced by dxf_mline_init().
| DxfBinaryGraphicsData* dxf_mline_get_binary_graphics_data | ( | DxfMline * | mline | ) |
Get the pointer to the binary_graphics_data from a DXF MLINE entity.
binary_graphics_data.| mline | a pointer to a DXF MLINE entity. |
Definition at line 1854 of file mline.c.
References _, dxf_mline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init(), and dxf_mline_write().
| DxfMline* dxf_mline_set_binary_graphics_data | ( | DxfMline * | mline, |
| DxfBinaryGraphicsData * | data | ||
| ) |
Set the pointer to the binary_graphics_data for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 1890 of file mline.c.
References _, dxf_mline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init().
| char* dxf_mline_get_dictionary_owner_soft | ( | DxfMline * | mline | ) |
Get the soft pointer to the dictionary owner from a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
Definition at line 1934 of file mline.c.
References _, dxf_mline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_write().
Set the pointer to the dictionary_owner_soft for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1970 of file mline.c.
References _, dxf_mline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init().
| char* dxf_mline_get_material | ( | DxfMline * | mline | ) |
Get the pointer to the material from a DXF MLINE entity.
material when successful, or NULL when an error occurred.| mline | a pointer to a DXF MLINE entity. |
Definition at line 2014 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::material.
Referenced by dxf_mline_write().
Set the pointer to the material for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| material | a string containing the pointer to the material for the entity. |
Definition at line 2052 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::material.
Referenced by dxf_mline_init().
| char* dxf_mline_get_dictionary_owner_hard | ( | DxfMline * | mline | ) |
Get the hard pointer to the dictionary owner from a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
Definition at line 2096 of file mline.c.
References _, dxf_mline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_write().
Set the pointer to the dictionary_owner_hard for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 2132 of file mline.c.
References _, dxf_mline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init().
| int16_t dxf_mline_get_lineweight | ( | DxfMline * | mline | ) |
Get the lineweight from a DXF MLINE entity.
lineweight when successful, or EXIT_FAILURE when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2174 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::lineweight.
Referenced by dxf_mline_write().
Set the lineweight for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| lineweight | the lineweight to be set for the entity. |
Definition at line 2205 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::lineweight.
Referenced by dxf_mline_init().
| char* dxf_mline_get_plot_style_name | ( | DxfMline * | mline | ) |
Get the plot_style_name from a DXF MLINE entity.
plot_style_name when sucessful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2239 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::plot_style_name.
Referenced by dxf_mline_write().
Set the plot_style_name for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 2277 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::plot_style_name.
Referenced by dxf_mline_init().
| long dxf_mline_get_color_value | ( | DxfMline * | mline | ) |
Get the color_value from a DXF MLINE entity.
color_value when successful, or EXIT_FAILURE when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2319 of file mline.c.
References _, dxf_mline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_write().
Set the color_value for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| color_value | the color_value to be set for the entity. |
Definition at line 2350 of file mline.c.
References _, dxf_mline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init().
| char* dxf_mline_get_color_name | ( | DxfMline * | mline | ) |
Get the color_name from a DXF MLINE entity.
color_name when sucessful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2384 of file mline.c.
References _, dxf_mline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_write().
Set the color_name for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| color_name | a string containing the color_name for the entity. |
Definition at line 2422 of file mline.c.
References _, dxf_mline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_mline_init().
| long dxf_mline_get_transparency | ( | DxfMline * | mline | ) |
Get the transparency from a DXF MLINE entity.
transparency when successful, or EXIT_FAILURE when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2464 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::transparency.
Referenced by dxf_mline_write().
Set the transparency for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| transparency | the transparency to be set for the entity. |
Definition at line 2495 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::transparency.
Referenced by dxf_mline_init().
| char* dxf_mline_get_style_name | ( | DxfMline * | mline | ) |
Get the style_name from a DXF MLINE entity.
style_name when sucessful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2529 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::style_name.
Referenced by dxf_mline_write().
Set the style_name for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| style_name | a string containing the style_name for the entity. |
Definition at line 2567 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::style_name.
Referenced by dxf_mline_init().
Get the start point p0 of a DXF MLINE entity.
p0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2608 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p0.
Referenced by dxf_mline_init().
Set the start point p0 of a DXF MLINE entity.
MLINE entity. | mline | a pointer to a DXF MLINE entity. |
| p0 | a pointer to a DXF POINT entity. |
Definition at line 2645 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p0.
Referenced by dxf_mline_init().
| double dxf_mline_get_x0 | ( | DxfMline * | mline | ) |
Get the X-value of the start point x0 of a DXF MLINE entity.
x0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2686 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p0, and dxf_point_struct::x0.
Referenced by dxf_mline_write().
Set the X-value of the start point x0 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| x0 | the X-value of the start point x0 of a DXF MLINE entity. |
Definition at line 2726 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p0, and dxf_point_struct::x0.
| double dxf_mline_get_y0 | ( | DxfMline * | mline | ) |
Get the Y-value of the start point y0 of a DXF MLINE entity.
x0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2768 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p0, and dxf_point_struct::y0.
Referenced by dxf_mline_write().
Set the Y-value of the start point y0 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| y0 | the Y-value of the start point y0 of a DXF MLINE entity. |
Definition at line 2808 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p0, and dxf_point_struct::y0.
| double dxf_mline_get_z0 | ( | DxfMline * | mline | ) |
Get the Z-value of the start point z0 of a DXF MLINE entity.
z0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2850 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p0, and dxf_point_struct::z0.
Referenced by dxf_mline_write().
Set the Z-value of the start point z0 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| z0 | the Z-value of the start point z0 of a DXF MLINE entity. |
Definition at line 2890 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p0, and dxf_point_struct::z0.
Get the first entry of a linked list of vertices p1 of a DXF MLINE entity.
p1. | mline | a pointer to a DXF MLINE entity. |
Definition at line 2932 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p1.
Referenced by dxf_mline_init().
Set the first entry of a linked list of vertices p1 of a DXF MLINE entity.
MLINE entity. | mline | a pointer to a DXF MLINE entity. |
| p1 | a pointer to a DXF POINT entity. |
Definition at line 2970 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p1.
Referenced by dxf_mline_init().
| double dxf_mline_get_x1 | ( | DxfMline * | mline | ) |
Get the X-value of the first entry of a linked list of vertices x1 of a DXF MLINE entity.
x1. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3012 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p1, and dxf_point_struct::x0.
Set the X-value of the first entry of a linked list of vertices x1 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| x1 | the X-value of the first entry of a linked list of vertices x1 of a DXF MLINE entity. |
Definition at line 3052 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p1, and dxf_point_struct::x0.
| double dxf_mline_get_y1 | ( | DxfMline * | mline | ) |
Get the Y-value of the first entry of a linked list of vertices y1 of a DXF MLINE entity.
y1. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3095 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p1, and dxf_point_struct::y0.
Set the Y-value of the first entry of a linked list of vertices y1 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| y1 | the Y-value of the first entry of a linked list of vertices y1 of a DXF MLINE entity. |
Definition at line 3135 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p1, and dxf_point_struct::y0.
| double dxf_mline_get_z1 | ( | DxfMline * | mline | ) |
Get the Z-value of the first entry of a linked list of vertices z1 of a DXF MLINE entity.
z1. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3178 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p1, and dxf_point_struct::z0.
Set the Z-value of the first entry of a linked list of vertices z1 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| z1 | the Z-value of the first entry of a linked list of vertices z1 of a DXF MLINE entity. |
Definition at line 3218 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p1, and dxf_point_struct::z0.
Get the first entry of a linked list of direction vector vertices p2 of a DXF MLINE entity.
p2. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3260 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p2.
Referenced by dxf_mline_init().
Set the first entry of a linked list of direction vector vertices p2 of a DXF MLINE entity.
MLINE entity. | mline | a pointer to a DXF MLINE entity. |
| p2 | a pointer to a DXF POINT entity. |
Definition at line 3298 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p2.
Referenced by dxf_mline_init().
| double dxf_mline_get_x2 | ( | DxfMline * | mline | ) |
Get the X-value of the first entry of a linked list of direction vector vertices x2 of a DXF MLINE entity.
x2. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3340 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p2, and dxf_point_struct::x0.
Set the X-value of the first entry of a linked list of direction vector vertices x2 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| x2 | the X-value of the first entry of a linked list of direction vector vertices x2 of a DXF MLINE entity. |
Definition at line 3380 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p2, and dxf_point_struct::x0.
| double dxf_mline_get_y2 | ( | DxfMline * | mline | ) |
Get the Y-value of the first entry of a linked list of direction vector vertices y2 of a DXF MLINE entity.
y2. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3424 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p2, and dxf_point_struct::y0.
Set the Y-value of the first entry of a linked list of direction vector vertices y2 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| y2 | the Y-value of the first entry of a linked list of direction vector vertices y2 of a DXF MLINE entity. |
Definition at line 3464 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p2, and dxf_point_struct::y0.
| double dxf_mline_get_z2 | ( | DxfMline * | mline | ) |
Get the Z-value of the first entry of a linked list of direction vector vertices z2 of a DXF MLINE entity.
z2. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3508 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p2, and dxf_point_struct::z0.
Set the Z-value of the first entry of a linked list of direction vector vertices z2 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| z2 | the Z-value of the first entry of a linked list of direction vector vertices z2 of a DXF MLINE entity. |
Definition at line 3548 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p2, and dxf_point_struct::z0.
Get the first entry of a linked list vertices of the direction vector of the miter at this vertex p3 of a DXF MLINE entity.
p3. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3591 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p3.
Referenced by dxf_mline_init().
Set the first entry of a linked list vertices of the direction vector of the miter at this vertex p3 of a DXF MLINE entity.
MLINE entity. | mline | a pointer to a DXF MLINE entity. |
| p3 | a pointer to a DXF POINT entity. |
Definition at line 3629 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::p3.
Referenced by dxf_mline_init().
| double dxf_mline_get_x3 | ( | DxfMline * | mline | ) |
Get the X-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex x3 of a DXF MLINE entity.
x3. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3672 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p3, and dxf_point_struct::x0.
Set the X-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex x3 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| x3 | the X-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex x3 of a DXF MLINE entity. |
Definition at line 3713 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p3, and dxf_point_struct::x0.
| double dxf_mline_get_y3 | ( | DxfMline * | mline | ) |
Get the Y-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex y3 of a DXF MLINE entity.
y3. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3758 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p3, and dxf_point_struct::y0.
Set the Y-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex y3 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| y3 | the Y-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex y3 of a DXF MLINE entity. |
Definition at line 3799 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p3, and dxf_point_struct::y0.
| double dxf_mline_get_z3 | ( | DxfMline * | mline | ) |
Get the Z-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex z3 of a DXF MLINE entity.
3. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3844 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p3, and dxf_point_struct::z0.
Set the Z-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex z3 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| z3 | the Z-value of the first entry of a linked list of vertices of the direction vector of the miter at this vertex z3 of a DXF MLINE entity. |
Definition at line 3885 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::p3, and dxf_point_struct::z0.
| double dxf_mline_get_scale_factor | ( | DxfMline * | mline | ) |
Get the scale_factor of a DXF MLINE entity.
scale_factor. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3927 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::element_parameters, and dxf_mline_struct::scale_factor.
Referenced by dxf_mline_write().
Set the scale_factor of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| scale_factor | the scale_factor to be set for the entity. |
Definition at line 3966 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::scale_factor.
Referenced by dxf_mline_init().
| double dxf_mline_get_element_parameters | ( | DxfMline * | mline | ) |
Get the element_parameters array of a DXF MLINE entity.
element_parameters array. | mline | a pointer to a DXF MLINE entity. |
Definition at line 3999 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::element_parameters.
Set the pointer of element_parameters array of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| element_parameters | the pointer to the element_parameters array to be set for the entity. |
Definition at line 4039 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::element_parameters.
| double dxf_mline_get_area_fill_parameters | ( | DxfMline * | mline | ) |
Get the area_fill_parameters array of a DXF MLINE entity.
area_fill_parameters array. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4080 of file mline.c.
References _, dxf_mline_struct::area_fill_parameters, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the pointer of area_fill_parameters array of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| area_fill_parameters | the pointer to the area_fill_parameters array to be set for the entity. |
Definition at line 4113 of file mline.c.
References _, dxf_mline_struct::area_fill_parameters, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| int dxf_mline_get_justification | ( | DxfMline * | mline | ) |
Get the justification from a DXF MLINE entity.
justification. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4154 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::justification.
Referenced by dxf_mline_write().
Set the justification for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| justification | the justification to be set for the entity. |
Definition at line 4196 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::justification.
Referenced by dxf_mline_init().
| int dxf_mline_get_flags | ( | DxfMline * | mline | ) |
Get the flags from a DXF MLINE entity.
flags. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4243 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::flags.
Referenced by dxf_mline_write().
Set the flags for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| flags | the flags to be set for the entity. |
Definition at line 4285 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::flags.
Referenced by dxf_mline_init().
| int dxf_mline_get_number_of_vertices | ( | DxfMline * | mline | ) |
Get the number_of_vertices from a DXF MLINE entity.
number_of_vertices. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4332 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_vertices.
Referenced by dxf_mline_write().
Set the number_of_vertices for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| number_of_vertices | the number_of_vertices to be set for the entity. |
Definition at line 4367 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_vertices.
Referenced by dxf_mline_init().
| int dxf_mline_get_number_of_elements | ( | DxfMline * | mline | ) |
Get the number_of_elements from a DXF MLINE entity.
number_of_elements. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4407 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_elements.
Referenced by dxf_mline_write().
Set the number_of_elements for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| number_of_elements | the number_of_elements to be set for the entity. |
Definition at line 4442 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_elements.
Referenced by dxf_mline_init().
| int dxf_mline_get_number_of_parameters | ( | DxfMline * | mline | ) |
Get the number_of_parameters from a DXF MLINE entity.
number_of_parameters. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4482 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_parameters.
Referenced by dxf_mline_write().
Set the number_of_parameters for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| number_of_parameters | the number_of_parameters to be set for the entity. |
Definition at line 4517 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_parameters.
| int dxf_mline_get_number_of_area_fill_parameters | ( | DxfMline * | mline | ) |
Get the number_of_area_fill_parameters from a DXF MLINE entity.
number_of_area_fill_parameters. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4558 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_area_fill_parameters.
Referenced by dxf_mline_write().
| DxfMline* dxf_mline_set_number_of_area_fill_parameters | ( | DxfMline * | mline, |
| int | number_of_area_fill_parameters | ||
| ) |
Set the number_of_area_fill_parameters for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| number_of_area_fill_parameters | the number_of_area_fill_parameters to be set for the entity. |
Definition at line 4594 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::number_of_area_fill_parameters.
Referenced by dxf_mline_init().
Get the extrusion vector as a DXF POINT entity from a DXF MLINE entity.
POINT containing the extrusion coordinates.POINT. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4638 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_point_init(), dxf_mline_struct::extr_x0, dxf_mline_struct::extr_y0, and dxf_mline_struct::extr_z0.

| double dxf_mline_get_extr_x0 | ( | DxfMline * | mline | ) |
Get the X-value of the extrusion vector extr_x0 of a DXF MLINE entity.
extr_x0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4682 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::extr_x0.
Referenced by dxf_mline_write().
Set the X-value of the extrusion vector extr_x0 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| extr_x0 | the X-value of the extrusion vector extr_x0 of a DXF MLINE entity. |
Definition at line 4715 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::extr_x0.
Referenced by dxf_mline_init().
| double dxf_mline_get_extr_y0 | ( | DxfMline * | mline | ) |
Get the Y-value of the extrusion vector extr_y0 of a DXF MLINE entity.
extr_y0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4750 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::extr_y0.
Referenced by dxf_mline_write().
Set the Y-value of the extrusion vector extr_y0 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| extr_y0 | the Y-value of the extrusion vector extr_y0 of a DXF MLINE entity. |
Definition at line 4783 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::extr_y0.
Referenced by dxf_mline_init().
| double dxf_mline_get_extr_z0 | ( | DxfMline * | mline | ) |
Get the Z-value of the extrusion vector extr_z0 of a DXF MLINE entity.
extr_z0. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4818 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::extr_z0.
Referenced by dxf_mline_write().
Set the Z-value of the extrusion vector extr_z0 of a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| extr_z0 | the Z-value of the extrusion vector extr_z0 of a DXF MLINE entity. |
Definition at line 4851 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::extr_z0.
Referenced by dxf_mline_init().
Set the extrusion vector from a DXF POINT for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| point | a pointer to a DXF POINT entity. |
Definition at line 4884 of file mline.c.
References _, DEBUG, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::extr_x0, dxf_mline_struct::extr_y0, dxf_mline_struct::extr_z0, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
| DxfMline* dxf_mline_set_extrusion_vector | ( | DxfMline * | mline, |
| double | extr_x0, | ||
| double | extr_y0, | ||
| double | extr_z0 | ||
| ) |
Set the extrusion vector for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| extr_x0 | X-value of the extrusion direction. |
| extr_y0 | Y-value of the extrusion direction. |
| extr_z0 | Z-value of the extrusion direction. |
Definition at line 4924 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_mline_struct::extr_x0, dxf_mline_struct::extr_y0, and dxf_mline_struct::extr_z0.
| char* dxf_mline_get_mlinestyle_dictionary | ( | DxfMline * | mline | ) |
Get the mlinestyle_dictionary from a DXF MLINE entity.
mlinestyle_dictionary when sucessful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
Definition at line 4964 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::mlinestyle_dictionary.
Referenced by dxf_mline_write().
Set the mlinestyle_dictionary for a DXF MLINE entity.
mline when successful, or NULL when an error occurred. | mline | a pointer to a DXF MLINE entity. |
| mlinestyle_dictionary | a string containing the mlinestyle_dictionary for the entity. |
Definition at line 5002 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::mlinestyle_dictionary.
Referenced by dxf_mline_init().
Get the pointer to the next MLINE entity from a DXF MLINE entity.
MLINE entity.| mline | a pointer to a DXF MLINE entity. |
Definition at line 5046 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::next.
Set the pointer to the next MLINE for a DXF MLINE entity.
| mline | a pointer to a DXF MLINE entity. |
| next | a pointer to the next MLINE for the entity. |
Definition at line 5082 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::next.
Referenced by dxf_mline_init().
Get the pointer to the last MLINE entity from a linked list of DXF MLINE entities.
MLINE entity.| mline | a pointer to a DXF MLINE entity. |
Definition at line 5125 of file mline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_mline_struct::next.
1.7.3