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

seqend.c File Reference

Functions for a DXF end of sequence marker (SEQEND). More...

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

Go to the source code of this file.

Functions

DxfSeqenddxf_seqend_new ()
 Allocate memory for a DXF SEQEND.
DxfSeqenddxf_seqend_init (DxfSeqend *seqend)
 Allocate memory and initialize data fields in a DXF SEQEND entity.
DxfSeqenddxf_seqend_read (DxfFile *fp, DxfSeqend *seqend)
 Read data from a DXF file into a DXF SEQEND entity.
int dxf_seqend_write (DxfFile *fp, DxfSeqend *seqend)
 Write DXF output to a file for an end of sequence marker (SEQEND).
int dxf_seqend_free (DxfSeqend *seqend)
 Free the allocated memory for a DXF SEQEND and all it's data fields.
int dxf_seqend_get_id_code (DxfSeqend *seqend)
 Get the id_code from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_id_code (DxfSeqend *seqend, int id_code)
 Set the id_code for a DXF SEQEND entity.
char * dxf_seqend_get_linetype (DxfSeqend *seqend)
 Get the linetype from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_linetype (DxfSeqend *seqend, char *linetype)
 Set the linetype for a DXF SEQEND entity.
char * dxf_seqend_get_layer (DxfSeqend *seqend)
 Get the layer from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_layer (DxfSeqend *seqend, char *layer)
 Set the layer for a DXF SEQEND entity.
double dxf_seqend_get_elevation (DxfSeqend *seqend)
 Get the elevation from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_elevation (DxfSeqend *seqend, double elevation)
 Set the elevation for a DXF SEQEND entity.
double dxf_seqend_get_thickness (DxfSeqend *seqend)
 Get the thickness from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_thickness (DxfSeqend *seqend, double thickness)
 Set the thickness for a DXF SEQEND entity.
double dxf_seqend_get_linetype_scale (DxfSeqend *seqend)
 Get the linetype_scale from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_linetype_scale (DxfSeqend *seqend, double linetype_scale)
 Set the linetype_scale for a DXF SEQEND entity.
int16_t dxf_seqend_get_visibility (DxfSeqend *seqend)
 Get the visibility from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_visibility (DxfSeqend *seqend, int16_t visibility)
 Set the visibility for a DXF SEQEND entity.
int dxf_seqend_get_color (DxfSeqend *seqend)
 Get the color from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_color (DxfSeqend *seqend, int color)
 Set the color for a DXF SEQEND entity.
int dxf_seqend_get_paperspace (DxfSeqend *seqend)
 Get the paperspace flag value from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_paperspace (DxfSeqend *seqend, int paperspace)
 Set the paperspace flag for a DXF SEQEND entity.
int dxf_seqend_get_graphics_data_size (DxfSeqend *seqend)
 Get the graphics_data_size value from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_graphics_data_size (DxfSeqend *seqend, int graphics_data_size)
 Set the graphics_data_size value for a DXF SEQEND entity.
int16_t dxf_seqend_get_shadow_mode (DxfSeqend *seqend)
 Get the shadow_mode from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_shadow_mode (DxfSeqend *seqend, int16_t shadow_mode)
 Set the shadow_mode for a DXF SEQEND entity.
DxfBinaryGraphicsDatadxf_seqend_get_binary_graphics_data (DxfSeqend *seqend)
 Get the pointer to the binary_graphics_data from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_binary_graphics_data (DxfSeqend *seqend, DxfBinaryGraphicsData *data)
 Set the pointer to the binary_graphics_data for a DXF SEQEND entity.
char * dxf_seqend_get_dictionary_owner_soft (DxfSeqend *seqend)
 Get the pointer to the dictionary_owner_soft from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_dictionary_owner_soft (DxfSeqend *seqend, char *dictionary_owner_soft)
 Set the pointer to the dictionary_owner_soft for a DXF SEQEND entity.
char * dxf_seqend_get_material (DxfSeqend *seqend)
 Get the pointer to the material from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_material (DxfSeqend *seqend, char *material)
 Set the pointer to the material for a DXF SEQEND entity.
char * dxf_seqend_get_dictionary_owner_hard (DxfSeqend *seqend)
 Get the pointer to the dictionary_owner_hard from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_dictionary_owner_hard (DxfSeqend *seqend, char *dictionary_owner_hard)
 Set the pointer to the dictionary_owner_hard for a DXF SEQEND entity.
int16_t dxf_seqend_get_lineweight (DxfSeqend *seqend)
 Get the lineweight from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_lineweight (DxfSeqend *seqend, int16_t lineweight)
 Set the lineweight for a DXF SEQEND entity.
char * dxf_seqend_get_plot_style_name (DxfSeqend *seqend)
 Get the plot_style_name from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_plot_style_name (DxfSeqend *seqend, char *plot_style_name)
 Set the plot_style_name for a DXF SEQEND entity.
long dxf_seqend_get_color_value (DxfSeqend *seqend)
 Get the color_value from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_color_value (DxfSeqend *seqend, long color_value)
 Set the color_value for a DXF SEQEND entity.
char * dxf_seqend_get_color_name (DxfSeqend *seqend)
 Get the color_name from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_color_name (DxfSeqend *seqend, char *color_name)
 Set the color_name for a DXF SEQEND entity.
long dxf_seqend_get_transparency (DxfSeqend *seqend)
 Get the transparency from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_transparency (DxfSeqend *seqend, long transparency)
 Set the transparency for a DXF SEQEND entity.
char * dxf_seqend_get_app_name (DxfSeqend *seqend)
 Get the app_name from a DXF SEQEND entity.
DxfSeqenddxf_seqend_set_app_name (DxfSeqend *seqend, char *app_name)
 Set the app_name for a DXF SEQEND entity.

Detailed Description

Functions for a DXF end of sequence marker (SEQEND).

Author:
Copyright (C) 2008, 2010, 2013, 2014, 2015, 2017 by Bert Timmerman <bert.timmerman@xs4all.nl>.
Copyright (C) 2010 by Luis Matos <gass@otiliamatos.ath.cx>.
Version:
According to DXF R10.
According to DXF R11.
According to DXF R12.
According to DXF R13.
According to DXF R14.

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


Function Documentation

DxfSeqend* dxf_seqend_new ( )

Allocate memory for a DXF SEQEND.

Fill the memory contents with zeros.

Returns:
NULL when no memory was allocated, a pointer to the allocated memory when succesful.

Definition at line 56 of file seqend.c.

References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_donut_write(), dxf_seqend_init(), and dxf_seqend_read().

DxfSeqend* dxf_seqend_init ( DxfSeqend seqend)
DxfSeqend* dxf_seqend_read ( DxfFile fp,
DxfSeqend seqend 
)

Read data from a DXF file into a DXF SEQEND entity.

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

Returns:
a pointer to seqend.
Parameters:
fpDXF file pointer to an input file (or device).
seqenda pointer to the DXF SEQEND entity.

Definition at line 159 of file seqend.c.

References _, dxf_file_struct::acad_version_number, dxf_seqend_struct::app_name, AutoCAD_13, dxf_seqend_struct::binary_graphics_data, dxf_seqend_struct::color, dxf_seqend_struct::color_name, dxf_seqend_struct::color_value, dxf_binary_graphics_data_struct::data_line, dxf_seqend_struct::dictionary_owner_hard, dxf_seqend_struct::dictionary_owner_soft, dxf_binary_graphics_data_init(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_seqend_init(), dxf_seqend_new(), dxf_seqend_struct::elevation, dxf_file_struct::filename, dxf_file_struct::fp, dxf_seqend_struct::graphics_data_size, dxf_seqend_struct::id_code, dxf_seqend_struct::layer, dxf_file_struct::line_number, dxf_seqend_struct::linetype, dxf_seqend_struct::linetype_scale, dxf_seqend_struct::lineweight, dxf_seqend_struct::material, dxf_binary_graphics_data_struct::next, dxf_seqend_struct::paperspace, dxf_seqend_struct::plot_style_name, dxf_seqend_struct::shadow_mode, dxf_seqend_struct::thickness, dxf_seqend_struct::transparency, and dxf_seqend_struct::visibility.

Here is the call graph for this function:

int dxf_seqend_write ( DxfFile fp,
DxfSeqend seqend 
)

Write DXF output to a file for an end of sequence marker (SEQEND).

No fields.
This entity marks the end of vertices (Vertex type name) for a Polyline (POLYLINE), a Light Wight Polyline (LWPOLYLINE) or the end of Attribute entities (Attrib type name) for an Insert entity (INSERT) that has Attributes (indicated by 66 group present and nonzero).

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.

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).
seqenda pointer to the DXF SEQEND entity.

Definition at line 412 of file seqend.c.

References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_13, AutoCAD_14, AutoCAD_2000, AutoCAD_2002, AutoCAD_2004, AutoCAD_2008, AutoCAD_2009, dxf_seqend_struct::binary_graphics_data, dxf_seqend_struct::color, dxf_seqend_struct::color_name, dxf_seqend_struct::color_value, dxf_seqend_struct::dictionary_owner_hard, dxf_seqend_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_PAPERSPACE, dxf_seqend_struct::elevation, dxf_file_struct::fp, dxf_seqend_struct::graphics_data_size, dxf_seqend_struct::id_code, dxf_seqend_struct::layer, dxf_seqend_struct::linetype, dxf_seqend_struct::linetype_scale, dxf_seqend_struct::lineweight, dxf_seqend_struct::material, dxf_seqend_struct::paperspace, dxf_seqend_struct::plot_style_name, dxf_seqend_struct::shadow_mode, dxf_seqend_struct::thickness, dxf_seqend_struct::transparency, and dxf_seqend_struct::visibility.

Referenced by dxf_donut_write().

Here is the call graph for this function:

int dxf_seqend_free ( DxfSeqend seqend)

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

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.
Parameters:
seqenda pointer to the memory occupied by the DXF SEQEND entity.

Definition at line 586 of file seqend.c.

References _, dxf_seqend_struct::app_name, dxf_seqend_struct::binary_graphics_data, dxf_seqend_struct::color_name, dxf_seqend_struct::dictionary_owner_hard, dxf_seqend_struct::dictionary_owner_soft, dxf_binary_graphics_data_free_chain(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_seqend_struct::layer, dxf_seqend_struct::linetype, dxf_seqend_struct::material, and dxf_seqend_struct::plot_style_name.

Here is the call graph for this function:

int dxf_seqend_get_id_code ( DxfSeqend seqend)

Get the id_code from a DXF SEQEND entity.

Returns:
id_code.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 628 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_id_code ( DxfSeqend seqend,
int  id_code 
)

Set the id_code for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
id_codethe id_code to be set for the entity.
This is to be an unique (sequential) number in the DXF file.

Definition at line 662 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::id_code, and dxf_seqend_struct::id_code.

char* dxf_seqend_get_linetype ( DxfSeqend seqend)

Get the linetype from a DXF SEQEND entity.

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

Definition at line 703 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_linetype ( DxfSeqend seqend,
char *  linetype 
)

Set the linetype for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
linetypea pointer to a string containing the linetype to be set for the entity.

Definition at line 738 of file seqend.c.

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

char* dxf_seqend_get_layer ( DxfSeqend seqend)

Get the layer from a DXF SEQEND entity.

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

Definition at line 779 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_layer ( DxfSeqend seqend,
char *  layer 
)

Set the layer for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
layera pointer to a string containing the layer to be set for the entity.

Definition at line 814 of file seqend.c.

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

double dxf_seqend_get_elevation ( DxfSeqend seqend)

Get the elevation from a DXF SEQEND entity.

Returns:
elevation.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 855 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_elevation ( DxfSeqend seqend,
double  elevation 
)

Set the elevation for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
elevationthe elevation to be set for the entity.

Definition at line 883 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::elevation, and dxf_seqend_struct::elevation.

double dxf_seqend_get_thickness ( DxfSeqend seqend)

Get the thickness from a DXF SEQEND entity.

Returns:
thickness.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 916 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_thickness ( DxfSeqend seqend,
double  thickness 
)

Set the thickness for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
thicknessthe thickness to be set for the entity.

Definition at line 951 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::thickness, and dxf_seqend_struct::thickness.

double dxf_seqend_get_linetype_scale ( DxfSeqend seqend)

Get the linetype_scale from a DXF SEQEND entity.

Returns:
linetype_scale.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 991 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_linetype_scale ( DxfSeqend seqend,
double  linetype_scale 
)

Set the linetype_scale for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
linetype_scalethe linetype_scale to be set for the entity.

Definition at line 1026 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::linetype_scale, and dxf_seqend_struct::linetype_scale.

int16_t dxf_seqend_get_visibility ( DxfSeqend seqend)

Get the visibility from a DXF SEQEND entity.

Returns:
visibility.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 1066 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_visibility ( DxfSeqend seqend,
int16_t  visibility 
)

Set the visibility for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
visibilitythe visibility to be set for the entity.

Definition at line 1108 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::visibility, and dxf_seqend_struct::visibility.

int dxf_seqend_get_color ( DxfSeqend seqend)

Get the color from a DXF SEQEND entity.

Returns:
color.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 1155 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_color ( DxfSeqend seqend,
int  color 
)

Set the color for a DXF SEQEND entity.

Parameters:
seqenda pointer to a DXF SEQEND entity.
colorthe color to be set for the entity.

Definition at line 1189 of file seqend.c.

References _, dxf_region_struct::color, dxf_seqend_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_seqend_get_paperspace ( DxfSeqend seqend)

Get the paperspace flag value from a DXF SEQEND entity.

Returns:
paperspace flag value.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 1228 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_paperspace ( DxfSeqend seqend,
int  paperspace 
)

Set the paperspace flag for a DXF SEQEND entity.

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

Definition at line 1268 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::paperspace, and dxf_seqend_struct::paperspace.

int dxf_seqend_get_graphics_data_size ( DxfSeqend seqend)

Get the graphics_data_size value from a DXF SEQEND entity.

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

Definition at line 1318 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_graphics_data_size ( DxfSeqend seqend,
int  graphics_data_size 
)

Set the graphics_data_size value for a DXF SEQEND entity.

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

Definition at line 1362 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::graphics_data_size, and dxf_seqend_struct::graphics_data_size.

int16_t dxf_seqend_get_shadow_mode ( DxfSeqend seqend)

Get the shadow_mode from a DXF SEQEND entity.

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

Definition at line 1410 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_shadow_mode ( DxfSeqend seqend,
int16_t  shadow_mode 
)

Set the shadow_mode for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
shadow_modethe shadow_mode to be set for the entity.

Definition at line 1455 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::shadow_mode, and dxf_seqend_struct::shadow_mode.

DxfBinaryGraphicsData* dxf_seqend_get_binary_graphics_data ( DxfSeqend seqend)

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

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

Definition at line 1505 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_binary_graphics_data ( DxfSeqend seqend,
DxfBinaryGraphicsData data 
)

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

Parameters:
seqenda pointer to a DXF SEQEND entity.
dataa string containing the pointer to the binary_graphics_data for the entity.

Definition at line 1541 of file seqend.c.

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

char* dxf_seqend_get_dictionary_owner_soft ( DxfSeqend seqend)

Get the pointer to the dictionary_owner_soft from a DXF SEQEND entity.

Returns:
pointer to the dictionary_owner_soft.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 1585 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_dictionary_owner_soft ( DxfSeqend seqend,
char *  dictionary_owner_soft 
)

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

Parameters:
seqenda pointer to a DXF SEQEND entity.
dictionary_owner_softa string containing the pointer to the dictionary_owner_soft for the entity.

Definition at line 1621 of file seqend.c.

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

char* dxf_seqend_get_material ( DxfSeqend seqend)

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

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

Definition at line 1665 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_material ( DxfSeqend seqend,
char *  material 
)

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

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
materiala string containing the pointer to the material for the entity.

Definition at line 1703 of file seqend.c.

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

char* dxf_seqend_get_dictionary_owner_hard ( DxfSeqend seqend)

Get the pointer to the dictionary_owner_hard from a DXF SEQEND entity.

Returns:
pointer to the dictionary_owner_hard.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 1747 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_dictionary_owner_hard ( DxfSeqend seqend,
char *  dictionary_owner_hard 
)

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

Parameters:
seqenda pointer to a DXF SEQEND entity.
dictionary_owner_harda string containing the pointer to the dictionary_owner_hard for the entity.

Definition at line 1783 of file seqend.c.

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

int16_t dxf_seqend_get_lineweight ( DxfSeqend seqend)

Get the lineweight from a DXF SEQEND entity.

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

Definition at line 1825 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_lineweight ( DxfSeqend seqend,
int16_t  lineweight 
)

Set the lineweight for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
lineweightthe lineweight to be set for the entity.

Definition at line 1856 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::lineweight, and dxf_seqend_struct::lineweight.

char* dxf_seqend_get_plot_style_name ( DxfSeqend seqend)

Get the plot_style_name from a DXF SEQEND entity.

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

Definition at line 1890 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_plot_style_name ( DxfSeqend seqend,
char *  plot_style_name 
)

Set the plot_style_name for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
plot_style_namea string containing the plot_style_name for the entity.

Definition at line 1928 of file seqend.c.

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

long dxf_seqend_get_color_value ( DxfSeqend seqend)

Get the color_value from a DXF SEQEND entity.

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

Definition at line 1970 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_color_value ( DxfSeqend seqend,
long  color_value 
)

Set the color_value for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
color_valuethe color_value to be set for the entity.

Definition at line 2001 of file seqend.c.

References _, dxf_region_struct::color_value, dxf_seqend_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

char* dxf_seqend_get_color_name ( DxfSeqend seqend)

Get the color_name from a DXF SEQEND entity.

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

Definition at line 2035 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_color_name ( DxfSeqend seqend,
char *  color_name 
)

Set the color_name for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
color_namea string containing the color_name for the entity.

Definition at line 2073 of file seqend.c.

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

long dxf_seqend_get_transparency ( DxfSeqend seqend)

Get the transparency from a DXF SEQEND entity.

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

Definition at line 2115 of file seqend.c.

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

DxfSeqend* dxf_seqend_set_transparency ( DxfSeqend seqend,
long  transparency 
)

Set the transparency for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
transparencythe transparency to be set for the entity.

Definition at line 2146 of file seqend.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_region_struct::transparency, and dxf_seqend_struct::transparency.

char* dxf_seqend_get_app_name ( DxfSeqend seqend)

Get the app_name from a DXF SEQEND entity.

Returns:
app_name when sucessful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.

Definition at line 2180 of file seqend.c.

References _, dxf_seqend_struct::app_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfSeqend* dxf_seqend_set_app_name ( DxfSeqend seqend,
char *  app_name 
)

Set the app_name for a DXF SEQEND entity.

Returns:
a pointer to seqend when successful, or NULL when an error occurred.
Parameters:
seqenda pointer to a DXF SEQEND entity.
app_namea string containing the app_name for the entity.

Definition at line 2218 of file seqend.c.

References _, dxf_seqend_struct::app_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.