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

lwpolyline.c File Reference

Functions for a DXF light weight polyline entity (LWPOLYLINE). More...

#include "lwpolyline.h"
Include dependency graph for lwpolyline.c:

Go to the source code of this file.

Functions

DxfLWPolylinedxf_lwpolyline_new ()
 Allocate memory for a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_init (DxfLWPolyline *lwpolyline)
 Allocate memory and initialize data fields in a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_read (DxfFile *fp, DxfLWPolyline *lwpolyline)
 Read data from a DXF file into an LWPOLYLINE entity.
int dxf_lwpolyline_write (DxfFile *fp, DxfLWPolyline *lwpolyline)
 Write DXF output to fp for a light weight polyline entity.
int dxf_lwpolyline_free (DxfLWPolyline *lwpolyline)
 Free the allocated memory for a DXF LWPOLYLINE and all it's data fields.
void dxf_lwpolyline_free_chain (DxfLWPolyline *lwpolylines)
 Free the allocated memory for a chain of DXF LWPOLYLINE entities and all their data fields.
int dxf_lwpolyline_get_id_code (DxfLWPolyline *lwpolyline)
 Get the ID code from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_id_code (DxfLWPolyline *lwpolyline, int id_code)
 Set the ID code for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_linetype (DxfLWPolyline *lwpolyline)
 Get the linetype from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_linetype (DxfLWPolyline *lwpolyline, char *linetype)
 Set the linetype for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_layer (DxfLWPolyline *lwpolyline)
 Get the layer from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_layer (DxfLWPolyline *lwpolyline, char *layer)
 Set the layer for a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_elevation (DxfLWPolyline *lwpolyline)
 Get the elevation from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_elevation (DxfLWPolyline *lwpolyline, double elevation)
 Set the elevation for a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_thickness (DxfLWPolyline *lwpolyline)
 Get the thickness from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_thickness (DxfLWPolyline *lwpolyline, double thickness)
 Set the thickness for a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_linetype_scale (DxfLWPolyline *lwpolyline)
 Get the linetype scale from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_linetype_scale (DxfLWPolyline *lwpolyline, double linetype_scale)
 Set the linetype scale for a DXF LWPOLYLINE entity.
int16_t dxf_lwpolyline_get_visibility (DxfLWPolyline *lwpolyline)
 Get the visibility from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_visibility (DxfLWPolyline *lwpolyline, int16_t visibility)
 Set the visibility for a DXF LWPOLYLINE entity.
int dxf_lwpolyline_get_color (DxfLWPolyline *lwpolyline)
 Get the color from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_color (DxfLWPolyline *lwpolyline, int color)
 Set the color for a DXF LWPOLYLINE entity.
int dxf_lwpolyline_get_paperspace (DxfLWPolyline *lwpolyline)
 Get the paperspace flag value from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_paperspace (DxfLWPolyline *lwpolyline, int paperspace)
 Set the paperspace flag for a DXF LWPOLYLINE entity.
int dxf_lwpolyline_get_graphics_data_size (DxfLWPolyline *lwpolyline)
 Get the graphics_data_size value from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_graphics_data_size (DxfLWPolyline *lwpolyline, int graphics_data_size)
 Set the graphics_data_size value for a DXF LWPOLYLINE entity.
int16_t dxf_lwpolyline_get_shadow_mode (DxfLWPolyline *lwpolyline)
 Get the shadow_mode from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_shadow_mode (DxfLWPolyline *lwpolyline, int16_t shadow_mode)
 Set the shadow_mode for a DXF LWPOLYLINE entity.
DxfBinaryGraphicsDatadxf_lwpolyline_get_binary_graphics_data (DxfLWPolyline *lwpolyline)
 Get the pointer to the binary_graphics_data from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_binary_graphics_data (DxfLWPolyline *lwpolyline, DxfBinaryGraphicsData *data)
 Set the pointer to the binary_graphics_data for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_dictionary_owner_soft (DxfLWPolyline *lwpolyline)
 Get the soft pointer to the dictionary owner from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_dictionary_owner_soft (DxfLWPolyline *lwpolyline, char *dictionary_owner_soft)
 Set the pointer to the dictionary_owner_soft for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_material (DxfLWPolyline *lwpolyline)
 Get the pointer to the material from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_material (DxfLWPolyline *lwpolyline, char *material)
 Set the pointer to the material for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_dictionary_owner_hard (DxfLWPolyline *lwpolyline)
 Get the hard pointer to the dictionary owner from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_dictionary_owner_hard (DxfLWPolyline *lwpolyline, char *dictionary_owner_hard)
 Set the pointer to the dictionary_owner_hard for a DXF LWPOLYLINE entity.
int16_t dxf_lwpolyline_get_lineweight (DxfLWPolyline *lwpolyline)
 Get the lineweight from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_lineweight (DxfLWPolyline *lwpolyline, int16_t lineweight)
 Set the lineweight for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_plot_style_name (DxfLWPolyline *lwpolyline)
 Get the plot_style_name from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_plot_style_name (DxfLWPolyline *lwpolyline, char *plot_style_name)
 Set the plot_style_name for a DXF LWPOLYLINE entity.
long dxf_lwpolyline_get_color_value (DxfLWPolyline *lwpolyline)
 Get the color_value from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_color_value (DxfLWPolyline *lwpolyline, long color_value)
 Set the color_value for a DXF LWPOLYLINE entity.
char * dxf_lwpolyline_get_color_name (DxfLWPolyline *lwpolyline)
 Get the color_name from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_color_name (DxfLWPolyline *lwpolyline, char *color_name)
 Set the color_name for a DXF LWPOLYLINE entity.
long dxf_lwpolyline_get_transparency (DxfLWPolyline *lwpolyline)
 Get the transparency from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_transparency (DxfLWPolyline *lwpolyline, long transparency)
 Set the transparency for a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_constant_width (DxfLWPolyline *lwpolyline)
 Get the constant_width of a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_constant_width (DxfLWPolyline *lwpolyline, double constant_width)
 Set the Z-value of the center point z0 of a DXF LWPOLYLINE entity.
int dxf_lwpolyline_get_flag (DxfLWPolyline *lwpolyline)
 Get the flag from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_flag (DxfLWPolyline *lwpolyline, int flag)
 Set the flag value for a DXF LWPOLYLINE entity.
int dxf_lwpolyline_get_number_vertices (DxfLWPolyline *lwpolyline)
 Get the number_vertices from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_number_vertices (DxfLWPolyline *lwpolyline, int number_vertices)
 Set the number_vertices value for a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_extr_x0 (DxfLWPolyline *lwpolyline)
 Get the X-value of the extrusion vector extr_x0 of a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_extr_x0 (DxfLWPolyline *lwpolyline, double extr_x0)
 Set the X-value of the extrusion vector extr_x0 of a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_extr_y0 (DxfLWPolyline *lwpolyline)
 Get the Y-value of the extrusion vector extr_y0 of a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_extr_y0 (DxfLWPolyline *lwpolyline, double extr_y0)
 Set the Y-value of the extrusion vector extr_y0 of a DXF LWPOLYLINE entity.
double dxf_lwpolyline_get_extr_z0 (DxfLWPolyline *lwpolyline)
 Get the Z-value of the extrusion vector extr_z0 of a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_extr_z0 (DxfLWPolyline *lwpolyline, double extr_z0)
 Set the Z-value of the extrusion vector extr_z0 of a DXF LWPOLYLINE entity.
DxfVertexdxf_lwpolyline_get_vertices (DxfLWPolyline *lwpolyline)
 Get the pointer to the first vertex of a linked list of vertices from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_vertices (DxfLWPolyline *lwpolyline, DxfVertex *vertices)
 Set the pointer to the first vertex of a linked list of vertices for a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_get_next (DxfLWPolyline *lwpolyline)
 Get the pointer to the next LWPOLYLINE entity from a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_set_next (DxfLWPolyline *lwpolyline, DxfLWPolyline *next)
 Set the pointer to the next LWPOLYLINE for a DXF LWPOLYLINE entity.
DxfLWPolylinedxf_lwpolyline_get_last (DxfLWPolyline *lwpolyline)
 Get the pointer to the last LWPOLYLINE entity from a linked list of DXF LWPOLYLINE entities.

Detailed Description

Functions for a DXF light weight polyline entity (LWPOLYLINE).

Author:
Copyright (C) 2008, 2010, 2012, 2014, 2015, 2017 by Bert Timmerman <bert.timmerman@xs4all.nl>.
Copyright (C) 2010 by Luis Matos <gass@otiliamatos.ath.cx>.
Warning:
This entity requires AutoCAD version R14 or higher.

Copyright Notices.


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 lwpolyline.c.


Function Documentation

DxfLWPolyline* dxf_lwpolyline_new ( )

Allocate memory for a DXF LWPOLYLINE entity.

Fill the memory contents with zeros.

Returns:
a pointer to the DXF LWPOLYLINE entity.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.

Definition at line 57 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_lwpolyline_init(), and dxf_lwpolyline_read().

DxfLWPolyline* dxf_lwpolyline_init ( DxfLWPolyline lwpolyline)

Allocate memory and initialize data fields in a DXF LWPOLYLINE entity.

Returns:
NULL when no memory was allocated, a pointer to the allocated memory when succesful.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.
Parameters:
lwpolylinea pointer to the DXF LWPOLYLINE entity.

Definition at line 101 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color, dxf_lwpolyline_struct::constant_width, dxf_lwpolyline_struct::dictionary_owner_hard, dxf_lwpolyline_struct::dictionary_owner_soft, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_VISIBILITY, dxf_lwpolyline_new(), DXF_MODELSPACE, dxf_vertex_new(), dxf_lwpolyline_struct::elevation, dxf_lwpolyline_struct::extr_x0, dxf_lwpolyline_struct::extr_y0, dxf_lwpolyline_struct::extr_z0, dxf_lwpolyline_struct::flag, dxf_lwpolyline_struct::id_code, dxf_lwpolyline_struct::layer, dxf_lwpolyline_struct::linetype, dxf_lwpolyline_struct::linetype_scale, dxf_lwpolyline_struct::next, dxf_lwpolyline_struct::number_vertices, dxf_lwpolyline_struct::paperspace, dxf_lwpolyline_struct::thickness, dxf_lwpolyline_struct::vertices, and dxf_lwpolyline_struct::visibility.

Referenced by dxf_lwpolyline_read().

Here is the call graph for this function:

DxfLWPolyline* dxf_lwpolyline_read ( DxfFile fp,
DxfLWPolyline lwpolyline 
)

Read data from a DXF file into an LWPOLYLINE entity.

The last line read from file contained the string "LWPOLYLINE".
Now follows some data for the LWPOLYLINE, 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 lwpolyline.

Returns:
a pointer to lwpolyline.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.

Todo:
The pointer administration needs to be checked for functionality.
Todo:
Free memory to the last (unused) vertex in the linked list.

Parameters:
fpDXF file pointer to an output file (or device).
lwpolylinea pointer to the DXF LWPOLYLINE entity.

Definition at line 169 of file lwpolyline.c.

References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_12, dxf_vertex_struct::bulge, dxf_lwpolyline_struct::color, dxf_lwpolyline_struct::constant_width, dxf_lwpolyline_struct::dictionary_owner_hard, dxf_lwpolyline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_lwpolyline_init(), dxf_lwpolyline_new(), dxf_vertex_new(), dxf_lwpolyline_struct::elevation, dxf_vertex_struct::end_width, dxf_lwpolyline_struct::extr_x0, dxf_lwpolyline_struct::extr_y0, dxf_lwpolyline_struct::extr_z0, dxf_file_struct::filename, dxf_lwpolyline_struct::flag, dxf_file_struct::fp, dxf_lwpolyline_struct::id_code, dxf_lwpolyline_struct::layer, dxf_file_struct::line_number, dxf_lwpolyline_struct::linetype, dxf_lwpolyline_struct::linetype_scale, dxf_vertex_struct::next, dxf_lwpolyline_struct::number_vertices, dxf_lwpolyline_struct::paperspace, dxf_vertex_struct::start_width, dxf_lwpolyline_struct::thickness, dxf_lwpolyline_struct::vertices, dxf_lwpolyline_struct::visibility, dxf_vertex_struct::x0, and dxf_vertex_struct::y0.

Here is the call graph for this function:

int dxf_lwpolyline_write ( DxfFile fp,
DxfLWPolyline lwpolyline 
)

Write DXF output to fp for a light weight polyline entity.

Warning:
This entity requires AutoCAD version R14 or higher. When the 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.
Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.

Todo:
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.

application-defined codes: Group codes and values within the 102 groups are application defined (optional).

End of group, "}" (optional), with Group code 102.

Parameters:
fpDXF file pointer to an output file (or device).
lwpolylinea pointer to the DXF LWPOLYLINE entity.

Definition at line 441 of file lwpolyline.c.

References _, dxf_file_struct::acad_version_number, AutoCAD_12, AutoCAD_13, AutoCAD_14, dxf_vertex_struct::bulge, dxf_lwpolyline_struct::color, dxf_lwpolyline_struct::constant_width, dxf_lwpolyline_struct::dictionary_owner_hard, dxf_lwpolyline_struct::dictionary_owner_soft, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_PAPERSPACE, dxf_lwpolyline_struct::elevation, dxf_vertex_struct::end_width, dxf_lwpolyline_struct::extr_x0, dxf_lwpolyline_struct::extr_y0, dxf_lwpolyline_struct::extr_z0, dxf_lwpolyline_struct::flag, dxf_file_struct::follow_strict_version_rules, dxf_file_struct::fp, dxf_lwpolyline_struct::id_code, dxf_lwpolyline_struct::layer, dxf_lwpolyline_struct::linetype, dxf_lwpolyline_struct::linetype_scale, dxf_vertex_struct::next, dxf_lwpolyline_struct::number_vertices, dxf_lwpolyline_struct::paperspace, dxf_vertex_struct::start_width, dxf_lwpolyline_struct::thickness, dxf_lwpolyline_struct::vertices, dxf_lwpolyline_struct::visibility, dxf_vertex_struct::x0, and dxf_vertex_struct::y0.

int dxf_lwpolyline_free ( DxfLWPolyline lwpolyline)

Free the allocated memory for a DXF LWPOLYLINE and all it's data fields.

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.
Parameters:
lwpolylinea pointer to the DXF LWPOLYLINE entity.

Definition at line 623 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_lwpolyline_struct::layer, dxf_lwpolyline_struct::linetype, and dxf_lwpolyline_struct::next.

Referenced by dxf_lwpolyline_free_chain().

void dxf_lwpolyline_free_chain ( DxfLWPolyline lwpolylines)

Free the allocated memory for a chain of DXF LWPOLYLINE entities and all their data fields.

Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.
Parameters:
lwpolylinesa pointer to the chain of DXF LWPOLYLINE entities.

Definition at line 669 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_lwpolyline_free(), and dxf_lwpolyline_struct::next.

Here is the call graph for this function:

int dxf_lwpolyline_get_id_code ( DxfLWPolyline lwpolyline)

Get the ID code from a DXF LWPOLYLINE entity.

Returns:
ID code.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 702 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::id_code.

DxfLWPolyline* dxf_lwpolyline_set_id_code ( DxfLWPolyline lwpolyline,
int  id_code 
)

Set the ID code for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
id_codeIdentification number for the entity.
This is to be an unique (sequential) number in the DXF file.

Definition at line 737 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::id_code.

char* dxf_lwpolyline_get_linetype ( DxfLWPolyline lwpolyline)

Get the linetype from a DXF LWPOLYLINE entity.

Returns:
linetype when sucessful, NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 779 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::linetype.

DxfLWPolyline* dxf_lwpolyline_set_linetype ( DxfLWPolyline lwpolyline,
char *  linetype 
)

Set the linetype for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
linetypea string containing the linetype for the entity.

Definition at line 814 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::linetype.

char* dxf_lwpolyline_get_layer ( DxfLWPolyline lwpolyline)

Get the layer from a DXF LWPOLYLINE entity.

Returns:
layer when sucessful, NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 854 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::layer.

DxfLWPolyline* dxf_lwpolyline_set_layer ( DxfLWPolyline lwpolyline,
char *  layer 
)

Set the layer for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
layera string containing the layer for the entity.

Definition at line 889 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::layer.

double dxf_lwpolyline_get_elevation ( DxfLWPolyline lwpolyline)

Get the elevation from a DXF LWPOLYLINE entity.

Returns:
elevation.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 929 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::elevation.

DxfLWPolyline* dxf_lwpolyline_set_elevation ( DxfLWPolyline lwpolyline,
double  elevation 
)

Set the elevation for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
elevationthe elevation to be set for the entity.

Definition at line 957 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::elevation.

double dxf_lwpolyline_get_thickness ( DxfLWPolyline lwpolyline)

Get the thickness from a DXF LWPOLYLINE entity.

Returns:
thickness.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 990 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::thickness.

DxfLWPolyline* dxf_lwpolyline_set_thickness ( DxfLWPolyline lwpolyline,
double  thickness 
)

Set the thickness for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
thicknessthe thickness to be set for the entity.

Definition at line 1025 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::thickness.

double dxf_lwpolyline_get_linetype_scale ( DxfLWPolyline lwpolyline)

Get the linetype scale from a DXF LWPOLYLINE entity.

Returns:
linetype scale.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1065 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::linetype_scale.

DxfLWPolyline* dxf_lwpolyline_set_linetype_scale ( DxfLWPolyline lwpolyline,
double  linetype_scale 
)

Set the linetype scale for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
linetype_scalethe linetype scale to be set for the entity.

Definition at line 1100 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::linetype_scale.

int16_t dxf_lwpolyline_get_visibility ( DxfLWPolyline lwpolyline)

Get the visibility from a DXF LWPOLYLINE entity.

Returns:
visibility.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1140 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::visibility.

DxfLWPolyline* dxf_lwpolyline_set_visibility ( DxfLWPolyline lwpolyline,
int16_t  visibility 
)

Set the visibility for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
visibilitythe visibility to be set for the entity.

Definition at line 1182 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::visibility.

int dxf_lwpolyline_get_color ( DxfLWPolyline lwpolyline)

Get the color from a DXF LWPOLYLINE entity.

Returns:
color.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1229 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_color ( DxfLWPolyline lwpolyline,
int  color 
)

Set the color for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
colorthe color to be set for the entity.

Definition at line 1263 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_lwpolyline_get_paperspace ( DxfLWPolyline lwpolyline)

Get the paperspace flag value from a DXF LWPOLYLINE entity.

Returns:
paperspace flag value.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1302 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::paperspace.

DxfLWPolyline* dxf_lwpolyline_set_paperspace ( DxfLWPolyline lwpolyline,
int  paperspace 
)

Set the paperspace flag for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
paperspacethe paperspace flag value to be set for the entity.

Definition at line 1342 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::paperspace.

int dxf_lwpolyline_get_graphics_data_size ( DxfLWPolyline lwpolyline)

Get the graphics_data_size value from a DXF LWPOLYLINE entity.

Returns:
graphics_data_size value when successful, or EXIT_FAILURE when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1391 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::graphics_data_size.

DxfLWPolyline* dxf_lwpolyline_set_graphics_data_size ( DxfLWPolyline lwpolyline,
int  graphics_data_size 
)

Set the graphics_data_size value for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
graphics_data_sizethe graphics_data_size value to be set for the entity.

Definition at line 1435 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::graphics_data_size.

int16_t dxf_lwpolyline_get_shadow_mode ( DxfLWPolyline lwpolyline)

Get the shadow_mode from a DXF LWPOLYLINE entity.

Returns:
shadow_mode when successful, or EXIT_FAILURE when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1483 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::shadow_mode.

DxfLWPolyline* dxf_lwpolyline_set_shadow_mode ( DxfLWPolyline lwpolyline,
int16_t  shadow_mode 
)

Set the shadow_mode for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
shadow_modethe shadow mode to be set for the entity.

Definition at line 1528 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::shadow_mode.

DxfBinaryGraphicsData* dxf_lwpolyline_get_binary_graphics_data ( DxfLWPolyline lwpolyline)

Get the pointer to the binary_graphics_data from a DXF LWPOLYLINE entity.

Returns:
pointer to the binary_graphics_data.
Warning:
No checks are performed on the returned pointer.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1578 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_binary_graphics_data ( DxfLWPolyline lwpolyline,
DxfBinaryGraphicsData data 
)

Set the pointer to the binary_graphics_data for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
dataa string containing the pointer to the binary_graphics_data for the entity.

Definition at line 1614 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

char* dxf_lwpolyline_get_dictionary_owner_soft ( DxfLWPolyline lwpolyline)

Get the soft pointer to the dictionary owner from a DXF LWPOLYLINE entity.

Returns:
soft pointer to the dictionary owner.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1658 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_dictionary_owner_soft ( DxfLWPolyline lwpolyline,
char *  dictionary_owner_soft 
)

Set the pointer to the dictionary_owner_soft for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
dictionary_owner_softa string containing the pointer to the dictionary_owner_soft for the entity.

Definition at line 1694 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

char* dxf_lwpolyline_get_material ( DxfLWPolyline lwpolyline)

Get the pointer to the material from a DXF LWPOLYLINE entity.

Returns:
a pointer to material when successful, or NULL when an error occurred.
Warning:
No checks are performed on the returned pointer.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1738 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::material.

DxfLWPolyline* dxf_lwpolyline_set_material ( DxfLWPolyline lwpolyline,
char *  material 
)

Set the pointer to the material for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
materiala string containing the pointer to the material for the entity.

Definition at line 1777 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::material.

char* dxf_lwpolyline_get_dictionary_owner_hard ( DxfLWPolyline lwpolyline)

Get the hard pointer to the dictionary owner from a DXF LWPOLYLINE entity.

Returns:
hard pointer to the dictionary owner.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1821 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_dictionary_owner_hard ( DxfLWPolyline lwpolyline,
char *  dictionary_owner_hard 
)

Set the pointer to the dictionary_owner_hard for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
dictionary_owner_harda string containing the pointer to the dictionary_owner_hard for the entity.

Definition at line 1857 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int16_t dxf_lwpolyline_get_lineweight ( DxfLWPolyline lwpolyline)

Get the lineweight from a DXF LWPOLYLINE entity.

Returns:
lineweight when successful, or EXIT_FAILURE when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1899 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::lineweight.

DxfLWPolyline* dxf_lwpolyline_set_lineweight ( DxfLWPolyline lwpolyline,
int16_t  lineweight 
)

Set the lineweight for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
lineweightthe lineweight to be set for the entity.

Definition at line 1930 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::lineweight.

char* dxf_lwpolyline_get_plot_style_name ( DxfLWPolyline lwpolyline)

Get the plot_style_name from a DXF LWPOLYLINE entity.

Returns:
a pointer to plot_style_name when sucessful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 1964 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::plot_style_name.

DxfLWPolyline* dxf_lwpolyline_set_plot_style_name ( DxfLWPolyline lwpolyline,
char *  plot_style_name 
)

Set the plot_style_name for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
plot_style_namea string containing the plot_style_name for the entity.

Definition at line 2002 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::plot_style_name.

long dxf_lwpolyline_get_color_value ( DxfLWPolyline lwpolyline)

Get the color_value from a DXF LWPOLYLINE entity.

Returns:
color_value when successful, or EXIT_FAILURE when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2044 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_color_value ( DxfLWPolyline lwpolyline,
long  color_value 
)

Set the color_value for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
color_valuethe color_value to be set for the entity.

Definition at line 2075 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

char* dxf_lwpolyline_get_color_name ( DxfLWPolyline lwpolyline)

Get the color_name from a DXF LWPOLYLINE entity.

Returns:
color_name when sucessful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2109 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_color_name ( DxfLWPolyline lwpolyline,
char *  color_name 
)

Set the color_name for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
color_namea string containing the color_name for the entity.

Definition at line 2147 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

long dxf_lwpolyline_get_transparency ( DxfLWPolyline lwpolyline)

Get the transparency from a DXF LWPOLYLINE entity.

Returns:
transparency when successful, or EXIT_FAILURE when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2189 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::transparency.

DxfLWPolyline* dxf_lwpolyline_set_transparency ( DxfLWPolyline lwpolyline,
long  transparency 
)

Set the transparency for a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
transparencythe transparency to be set for the entity.

Definition at line 2220 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::transparency.

double dxf_lwpolyline_get_constant_width ( DxfLWPolyline lwpolyline)

Get the constant_width of a DXF LWPOLYLINE entity.

Returns:
the constant_width.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2253 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::constant_width, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfLWPolyline* dxf_lwpolyline_set_constant_width ( DxfLWPolyline lwpolyline,
double  constant_width 
)

Set the Z-value of the center point z0 of a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
constant_widththe constant_width of a DXF LWPOLYLINE entity.

Definition at line 2292 of file lwpolyline.c.

References _, dxf_lwpolyline_struct::constant_width, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_lwpolyline_get_flag ( DxfLWPolyline lwpolyline)

Get the flag from a DXF LWPOLYLINE entity.

Returns:
flag.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2332 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::flag.

DxfLWPolyline* dxf_lwpolyline_set_flag ( DxfLWPolyline lwpolyline,
int  flag 
)

Set the flag value for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
flagflag value for the entity.

Definition at line 2367 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::flag.

int dxf_lwpolyline_get_number_vertices ( DxfLWPolyline lwpolyline)

Get the number_vertices from a DXF LWPOLYLINE entity.

Returns:
number_vertices.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2407 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::number_vertices.

DxfLWPolyline* dxf_lwpolyline_set_number_vertices ( DxfLWPolyline lwpolyline,
int  number_vertices 
)

Set the number_vertices value for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
number_verticesnumber_vertices value for the entity.

Definition at line 2443 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::number_vertices.

double dxf_lwpolyline_get_extr_x0 ( DxfLWPolyline lwpolyline)

Get the X-value of the extrusion vector extr_x0 of a DXF LWPOLYLINE entity.

Returns:
the X-value of the extrusion vector extr_x0.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2484 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::extr_x0.

DxfLWPolyline* dxf_lwpolyline_set_extr_x0 ( DxfLWPolyline lwpolyline,
double  extr_x0 
)

Set the X-value of the extrusion vector extr_x0 of a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
extr_x0the X-value of the extrusion vector extr_x0 of a DXF LWPOLYLINE entity.

Definition at line 2517 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::extr_x0.

double dxf_lwpolyline_get_extr_y0 ( DxfLWPolyline lwpolyline)

Get the Y-value of the extrusion vector extr_y0 of a DXF LWPOLYLINE entity.

Returns:
the Y-value of the extrusion vector extr_y0.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2552 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::extr_y0.

DxfLWPolyline* dxf_lwpolyline_set_extr_y0 ( DxfLWPolyline lwpolyline,
double  extr_y0 
)

Set the Y-value of the extrusion vector extr_y0 of a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
extr_y0the Y-value of the extrusion vector extr_y0 of a DXF LWPOLYLINE entity.

Definition at line 2585 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::extr_y0.

double dxf_lwpolyline_get_extr_z0 ( DxfLWPolyline lwpolyline)

Get the Z-value of the extrusion vector extr_z0 of a DXF LWPOLYLINE entity.

Returns:
the Z-value of the extrusion vector extr_z0.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2620 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::extr_z0.

DxfLWPolyline* dxf_lwpolyline_set_extr_z0 ( DxfLWPolyline lwpolyline,
double  extr_z0 
)

Set the Z-value of the extrusion vector extr_z0 of a DXF LWPOLYLINE entity.

Returns:
a pointer to lwpolyline when successful, or NULL when an error occurred.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
extr_z0the Z-value of the extrusion vector extr_z0 of a DXF LWPOLYLINE entity.

Definition at line 2653 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::extr_z0.

DxfVertex* dxf_lwpolyline_get_vertices ( DxfLWPolyline lwpolyline)

Get the pointer to the first vertex of a linked list of vertices from a DXF LWPOLYLINE entity.

Returns:
pointer to the first vertex of a linked list of vertices.
Warning:
No checks are performed on the returned pointer.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2690 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::vertices.

DxfLWPolyline* dxf_lwpolyline_set_vertices ( DxfLWPolyline lwpolyline,
DxfVertex vertices 
)

Set the pointer to the first vertex of a linked list of vertices for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
verticesa pointer to the first vertex of a linked list of vertices.

Definition at line 2726 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::vertices.

DxfLWPolyline* dxf_lwpolyline_get_next ( DxfLWPolyline lwpolyline)

Get the pointer to the next LWPOLYLINE entity from a DXF LWPOLYLINE entity.

Returns:
pointer to the next LWPOLYLINE entity.
Warning:
No checks are performed on the returned pointer.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2770 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::next.

DxfLWPolyline* dxf_lwpolyline_set_next ( DxfLWPolyline lwpolyline,
DxfLWPolyline next 
)

Set the pointer to the next LWPOLYLINE for a DXF LWPOLYLINE entity.

Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.
nexta pointer to the next LWPOLYLINE for the entity.

Definition at line 2806 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::next.

DxfLWPolyline* dxf_lwpolyline_get_last ( DxfLWPolyline lwpolyline)

Get the pointer to the last LWPOLYLINE entity from a linked list of DXF LWPOLYLINE entities.

Returns:
pointer to the last LWPOLYLINE entity.
Warning:
No checks are performed on the returned pointer.
Parameters:
lwpolylinea pointer to a DXF LWPOLYLINE entity.

Definition at line 2849 of file lwpolyline.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_lwpolyline_struct::next.