libDXF 0.0.1
A library with DXF related functions written in C.
|
Functions for a DXF insert entity (INSERT
).
More...
#include "insert.h"
Go to the source code of this file.
Functions | |
DxfInsert * | dxf_insert_new () |
Allocate memory for a DxfInsert . | |
DxfInsert * | dxf_insert_init (DxfInsert *insert) |
Allocate memory and initialize data fields in a INSERT entity. | |
DxfInsert * | dxf_insert_read (DxfFile *fp, DxfInsert *insert) |
Read data from a DXF file into an INSERT entity. | |
int | dxf_insert_write (DxfFile *fp, DxfInsert *insert) |
Write DXF output for a DXF INSERT entity. | |
int | dxf_insert_free (DxfInsert *insert) |
Free the allocated memory for a DXF INSERT and all it's data fields. | |
void | dxf_insert_free_chain (DxfInsert *inserts) |
Free the allocated memory for a chain of DXF INSERT entities and all their data fields. | |
int | dxf_insert_get_id_code (DxfInsert *insert) |
Get the ID code from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_id_code (DxfInsert *insert, int id_code) |
Set the ID code for a DXF INSERT entity. | |
char * | dxf_insert_get_linetype (DxfInsert *insert) |
Get the linetype from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_linetype (DxfInsert *insert, char *linetype) |
Set the linetype for a DXF INSERT entity. | |
char * | dxf_insert_get_layer (DxfInsert *insert) |
Get the layer from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_layer (DxfInsert *insert, char *layer) |
Set the layer for a DXF INSERT entity. | |
double | dxf_insert_get_elevation (DxfInsert *insert) |
Get the elevation from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_elevation (DxfInsert *insert, double elevation) |
Set the elevation for a DXF INSERT entity. | |
double | dxf_insert_get_thickness (DxfInsert *insert) |
Get the thickness from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_thickness (DxfInsert *insert, double thickness) |
Set the thickness for a DXF INSERT entity. | |
double | dxf_insert_get_linetype_scale (DxfInsert *insert) |
Get the linetype scale from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_linetype_scale (DxfInsert *insert, double linetype_scale) |
Set the linetype scale for a DXF INSERT entity. | |
int16_t | dxf_insert_get_visibility (DxfInsert *insert) |
Get the visibility from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_visibility (DxfInsert *insert, int16_t visibility) |
Set the visibility for a DXF INSERT entity. | |
int | dxf_insert_get_color (DxfInsert *insert) |
Get the color from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_color (DxfInsert *insert, int color) |
Set the color for a DXF INSERT entity. | |
int | dxf_insert_get_paperspace (DxfInsert *insert) |
Get the paperspace flag value from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_paperspace (DxfInsert *insert, int paperspace) |
Set the paperspace flag for a DXF INSERT entity. | |
int | dxf_insert_get_graphics_data_size (DxfInsert *insert) |
Get the graphics_data_size value from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_graphics_data_size (DxfInsert *insert, int graphics_data_size) |
Set the graphics_data_size value for a DXF INSERT entity. | |
int16_t | dxf_insert_get_shadow_mode (DxfInsert *insert) |
Get the shadow_mode from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_shadow_mode (DxfInsert *insert, int16_t shadow_mode) |
Set the shadow_mode for a DXF INSERT entity. | |
DxfBinaryGraphicsData * | dxf_insert_get_binary_graphics_data (DxfInsert *insert) |
Get the pointer to the binary_graphics_data from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_binary_graphics_data (DxfInsert *insert, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF INSERT entity. | |
char * | dxf_insert_get_dictionary_owner_soft (DxfInsert *insert) |
Get the soft pointer to the dictionary owner from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_dictionary_owner_soft (DxfInsert *insert, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF INSERT entity. | |
char * | dxf_insert_get_material (DxfInsert *insert) |
Get the pointer to the material from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_material (DxfInsert *insert, char *material) |
Set the pointer to the material for a DXF INSERT entity. | |
char * | dxf_insert_get_dictionary_owner_hard (DxfInsert *insert) |
Get the hard pointer to the dictionary owner from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_dictionary_owner_hard (DxfInsert *insert, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF INSERT entity. | |
int16_t | dxf_insert_get_lineweight (DxfInsert *insert) |
Get the lineweight from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_lineweight (DxfInsert *insert, int16_t lineweight) |
Set the lineweight for a DXF INSERT entity. | |
char * | dxf_insert_get_plot_style_name (DxfInsert *insert) |
Get the plot_style_name from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_plot_style_name (DxfInsert *insert, char *plot_style_name) |
Set the plot_style_name for a DXF INSERT entity. | |
long | dxf_insert_get_color_value (DxfInsert *insert) |
Get the color_value from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_color_value (DxfInsert *insert, long color_value) |
Set the color_value for a DXF INSERT entity. | |
char * | dxf_insert_get_color_name (DxfInsert *insert) |
Get the color_name from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_color_name (DxfInsert *insert, char *color_name) |
Set the color_name for a DXF INSERT entity. | |
long | dxf_insert_get_transparency (DxfInsert *insert) |
Get the transparency from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_transparency (DxfInsert *insert, long transparency) |
Set the transparency for a DXF INSERT entity. | |
char * | dxf_insert_get_block_name (DxfInsert *insert) |
Get the block_name from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_block_name (DxfInsert *insert, char *block_name) |
Set the block_name for a DXF INSERT entity. | |
DxfPoint * | dxf_insert_get_p0 (DxfInsert *insert) |
Get the base point p0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_p0 (DxfInsert *insert, DxfPoint *p0) |
Set the base point p0 of a DXF INSERT entity. | |
double | dxf_insert_get_x0 (DxfInsert *insert) |
Get the X-value of the base point x0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_x0 (DxfInsert *insert, double x0) |
Set the X-value of the base point x0 of a DXF INSERT entity. | |
double | dxf_insert_get_y0 (DxfInsert *insert) |
Get the Y-value of the base point y0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_y0 (DxfInsert *insert, double y0) |
Set the Y-value of the base point y0 of a DXF INSERT entity. | |
double | dxf_insert_get_z0 (DxfInsert *insert) |
Get the Z-value of the base point z0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_z0 (DxfInsert *insert, double z0) |
Set the Z-value of the base point z0 of a DXF INSERT entity. | |
double | dxf_insert_get_rel_x_scale (DxfInsert *insert) |
Get the releative X scale factor rel_x_scale of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_rel_x_scale (DxfInsert *insert, double rel_x_scale) |
Set the relative X scale factor rel_x_scale of a DXF INSERT entity. | |
double | dxf_insert_get_rel_y_scale (DxfInsert *insert) |
Get the releative Y scale factor rel_y_scale of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_rel_y_scale (DxfInsert *insert, double rel_y_scale) |
Set the relative Y scale factor rel_y_scale of a DXF INSERT entity. | |
double | dxf_insert_get_rel_z_scale (DxfInsert *insert) |
Get the releative Z scale factor rel_z_scale of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_rel_z_scale (DxfInsert *insert, double rel_z_scale) |
Set the relative Z scale factor rel_z_scale of a DXF INSERT entity. | |
double | dxf_insert_get_column_spacing (DxfInsert *insert) |
Get the column spacing value column_spacing of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_column_spacing (DxfInsert *insert, double column_spacing) |
Set the column spacing value column_spacing of a DXF INSERT entity. | |
double | dxf_insert_get_row_spacing (DxfInsert *insert) |
Get the row spacing value row_spacing of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_row_spacing (DxfInsert *insert, double row_spacing) |
Set the row spacing value row_spacing of a DXF INSERT entity. | |
double | dxf_insert_get_rot_angle (DxfInsert *insert) |
Get the rotation angle value rot_angle of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_rot_angle (DxfInsert *insert, double rot_angle) |
Set the rotation angle value rot_angle of a DXF INSERT entity. | |
int | dxf_insert_get_attributes_follow (DxfInsert *insert) |
Get the attributes follow attributes_follow from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_attributes_follow (DxfInsert *insert, int attributes_follow) |
Set the attributes follow attributes_follow for a DXF INSERT entity. | |
int | dxf_insert_get_columns (DxfInsert *insert) |
Get the number of columns columns from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_columns (DxfInsert *insert, int columns) |
Set the number of columns columns for a DXF INSERT entity. | |
int | dxf_insert_get_rows (DxfInsert *insert) |
Get the number of rows rows from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_rows (DxfInsert *insert, int rows) |
Set the number of rows rows for a DXF INSERT entity. | |
double | dxf_insert_get_extr_x0 (DxfInsert *insert) |
Get the X-value of the extrusion vector extr_x0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_extr_x0 (DxfInsert *insert, double extr_x0) |
Set the X-value of the extrusion vector extr_x0 of a DXF INSERT entity. | |
double | dxf_insert_get_extr_y0 (DxfInsert *insert) |
Get the Y-value of the extrusion vector extr_y0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_extr_y0 (DxfInsert *insert, double extr_y0) |
Set the Y-value of the extrusion vector extr_y0 of a DXF INSERT entity. | |
double | dxf_insert_get_extr_z0 (DxfInsert *insert) |
Get the Z-value of the extrusion vector extr_z0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_extr_z0 (DxfInsert *insert, double extr_z0) |
Set the Z-value of the extrusion vector extr_z0 of a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_extrusion_vector_from_point (DxfInsert *insert, DxfPoint *point) |
Set the extrusion vector from a DXF POINT for a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_extrusion_vector (DxfInsert *insert, double extr_x0, double extr_y0, double extr_z0) |
Set the extrusion vector for a DXF INSERT entity. | |
DxfInsert * | dxf_insert_get_next (DxfInsert *insert) |
Get the pointer to the next INSERT entity from a DXF INSERT entity. | |
DxfInsert * | dxf_insert_set_next (DxfInsert *insert, DxfInsert *next) |
Set the pointer to the next INSERT for a DXF INSERT entity. | |
DxfInsert * | dxf_insert_get_last (DxfInsert *insert) |
Get the pointer to the last INSERT entity from a linked list of DXF INSERT entities. |
Functions for a DXF insert entity (INSERT
).
A DXF INSERT
entity is an insertion for a (external) BLOCK
entity.
Whilst a BLOCK
only resides in the block table only once as a definition, an INSERT
entity can insert blocks as singlular entities and also as [rectanglar, polar] arrays in the drawing.
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 insert.c.
DxfInsert* dxf_insert_new | ( | ) |
Allocate memory for a DxfInsert
.
Fill the memory contents with zeros.
Definition at line 56 of file insert.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init(), and dxf_insert_read().
Allocate memory and initialize data fields in a INSERT
entity.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. insert | DXF insert entity. |
Definition at line 93 of file insert.c.
References _, 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_insert_get_binary_graphics_data(), dxf_insert_get_p0(), dxf_insert_new(), dxf_insert_set_attributes_follow(), dxf_insert_set_binary_graphics_data(), dxf_insert_set_block_name(), dxf_insert_set_color(), dxf_insert_set_color_name(), dxf_insert_set_color_value(), dxf_insert_set_column_spacing(), dxf_insert_set_columns(), dxf_insert_set_dictionary_owner_hard(), dxf_insert_set_dictionary_owner_soft(), dxf_insert_set_elevation(), dxf_insert_set_extr_x0(), dxf_insert_set_extr_y0(), dxf_insert_set_extr_z0(), dxf_insert_set_graphics_data_size(), dxf_insert_set_id_code(), dxf_insert_set_layer(), dxf_insert_set_linetype(), dxf_insert_set_linetype_scale(), dxf_insert_set_lineweight(), dxf_insert_set_material(), dxf_insert_set_next(), dxf_insert_set_p0(), dxf_insert_set_paperspace(), dxf_insert_set_plot_style_name(), dxf_insert_set_rel_x_scale(), dxf_insert_set_rel_y_scale(), dxf_insert_set_rel_z_scale(), dxf_insert_set_rot_angle(), dxf_insert_set_row_spacing(), dxf_insert_set_rows(), dxf_insert_set_shadow_mode(), dxf_insert_set_thickness(), dxf_insert_set_transparency(), dxf_insert_set_visibility(), dxf_insert_set_x0(), dxf_insert_set_y0(), dxf_insert_set_z0(), DXF_MODELSPACE, dxf_point_init(), and dxf_point_new().
Referenced by dxf_insert_read().
Read data from a DXF file into an INSERT
entity.
The last line read from file contained the string "INSERT".
Now follows some data for the INSERT
, 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 insert
.
insert
. SEQEND
) is encountered. fp | DXF file pointer to an input file (or device). |
insert | DXF insert entity. |
Definition at line 176 of file insert.c.
References _, dxf_file_struct::acad_version_number, dxf_insert_struct::attributes_follow, AutoCAD_11, AutoCAD_13, dxf_insert_struct::block_name, dxf_insert_struct::color, dxf_insert_struct::column_spacing, dxf_insert_struct::columns, dxf_insert_struct::dictionary_owner_hard, dxf_insert_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_insert_get_layer(), dxf_insert_get_linetype(), dxf_insert_init(), dxf_insert_new(), dxf_insert_set_layer(), dxf_insert_set_linetype(), dxf_insert_struct::elevation, dxf_insert_struct::extr_x0, dxf_insert_struct::extr_y0, dxf_insert_struct::extr_z0, dxf_file_struct::filename, dxf_file_struct::fp, dxf_insert_struct::id_code, dxf_insert_struct::layer, dxf_file_struct::line_number, dxf_insert_struct::linetype, dxf_insert_struct::linetype_scale, dxf_insert_struct::p0, dxf_insert_struct::paperspace, dxf_insert_struct::rel_x_scale, dxf_insert_struct::rel_y_scale, dxf_insert_struct::rel_z_scale, dxf_insert_struct::rot_angle, dxf_insert_struct::row_spacing, dxf_insert_struct::rows, dxf_insert_struct::thickness, dxf_insert_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
Write DXF output for a DXF INSERT
entity.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. SEQEND
) written. fp | DXF file pointer to an output file (or device). |
insert | DXF insert entity. |
Definition at line 470 of file insert.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_12, AutoCAD_13, AutoCAD_14, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, dxf_insert_get_attributes_follow(), dxf_insert_get_block_name(), dxf_insert_get_color(), dxf_insert_get_column_spacing(), dxf_insert_get_columns(), dxf_insert_get_dictionary_owner_hard(), dxf_insert_get_dictionary_owner_soft(), dxf_insert_get_elevation(), dxf_insert_get_extr_x0(), dxf_insert_get_extr_y0(), dxf_insert_get_extr_z0(), dxf_insert_get_id_code(), dxf_insert_get_layer(), dxf_insert_get_linetype(), dxf_insert_get_linetype_scale(), dxf_insert_get_paperspace(), dxf_insert_get_rel_x_scale(), dxf_insert_get_rel_y_scale(), dxf_insert_get_rel_z_scale(), dxf_insert_get_rot_angle(), dxf_insert_get_row_spacing(), dxf_insert_get_rows(), dxf_insert_get_thickness(), dxf_insert_get_visibility(), dxf_insert_get_x0(), dxf_insert_get_y0(), dxf_insert_get_z0(), dxf_insert_set_columns(), dxf_insert_set_layer(), dxf_insert_set_linetype(), dxf_insert_set_rel_x_scale(), dxf_insert_set_rel_y_scale(), dxf_insert_set_rel_z_scale(), dxf_insert_set_rows(), DXF_PAPERSPACE, and dxf_file_struct::fp.
int dxf_insert_free | ( | DxfInsert * | insert | ) |
Free the allocated memory for a DXF INSERT
and all it's data fields.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. insert | Pointer to the memory occupied by the DXF INSERT entity. |
Definition at line 713 of file insert.c.
References _, dxf_binary_graphics_data_free_chain(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_get_binary_graphics_data(), dxf_insert_get_block_name(), dxf_insert_get_color_name(), dxf_insert_get_dictionary_owner_hard(), dxf_insert_get_dictionary_owner_soft(), dxf_insert_get_layer(), dxf_insert_get_linetype(), dxf_insert_get_material(), dxf_insert_get_plot_style_name(), and dxf_insert_struct::next.
Referenced by dxf_insert_free_chain().
void dxf_insert_free_chain | ( | DxfInsert * | inserts | ) |
Free the allocated memory for a chain of DXF INSERT
entities and all their data fields.
inserts | pointer to the chain of DXF INSERT entities. |
Definition at line 761 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_free(), and dxf_insert_struct::next.
int dxf_insert_get_id_code | ( | DxfInsert * | insert | ) |
Get the ID code from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 794 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::id_code.
Referenced by dxf_insert_write().
Set the ID code for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 829 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::id_code.
Referenced by dxf_insert_init().
char* dxf_insert_get_linetype | ( | DxfInsert * | insert | ) |
Get the linetype from a DXF INSERT
entity.
NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 871 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::linetype.
Referenced by dxf_insert_free(), dxf_insert_read(), and dxf_insert_write().
Set the linetype for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
linetype | a string containing the linetype for the entity. |
Definition at line 906 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::linetype.
Referenced by dxf_insert_init(), dxf_insert_read(), and dxf_insert_write().
char* dxf_insert_get_layer | ( | DxfInsert * | insert | ) |
Get the layer from a DXF INSERT
entity.
NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 946 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::layer.
Referenced by dxf_insert_free(), dxf_insert_read(), and dxf_insert_write().
Set the layer for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
layer | a string containing the layer for the entity. |
Definition at line 981 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::layer.
Referenced by dxf_insert_init(), dxf_insert_read(), and dxf_insert_write().
double dxf_insert_get_elevation | ( | DxfInsert * | insert | ) |
Get the elevation from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1021 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::elevation.
Referenced by dxf_insert_write().
Set the elevation for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
elevation | the elevation to be set for the entity. |
Definition at line 1049 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::elevation.
Referenced by dxf_insert_init().
double dxf_insert_get_thickness | ( | DxfInsert * | insert | ) |
Get the thickness from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1082 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::thickness.
Referenced by dxf_insert_write().
Set the thickness for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
thickness | the thickness to be set for the entity. |
Definition at line 1117 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::thickness.
Referenced by dxf_insert_init().
double dxf_insert_get_linetype_scale | ( | DxfInsert * | insert | ) |
Get the linetype scale from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1157 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::linetype_scale.
Referenced by dxf_insert_write().
Set the linetype scale for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
linetype_scale | the linetype scale to be set for the entity. |
Definition at line 1192 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::linetype_scale.
Referenced by dxf_insert_init().
int16_t dxf_insert_get_visibility | ( | DxfInsert * | insert | ) |
Get the visibility from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1232 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::visibility.
Referenced by dxf_insert_write().
Set the visibility for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
visibility | the visibility to be set for the entity. |
Definition at line 1274 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::visibility.
Referenced by dxf_insert_init().
int dxf_insert_get_color | ( | DxfInsert * | insert | ) |
Get the color from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1321 of file insert.c.
References _, dxf_insert_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_write().
Set the color for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
color | the color to be set for the entity. |
Definition at line 1355 of file insert.c.
References _, dxf_insert_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
int dxf_insert_get_paperspace | ( | DxfInsert * | insert | ) |
Get the paperspace flag value from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1396 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::paperspace.
Referenced by dxf_insert_write().
Set the paperspace flag for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1436 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::paperspace.
Referenced by dxf_insert_init().
int dxf_insert_get_graphics_data_size | ( | DxfInsert * | insert | ) |
Get the graphics_data_size
value from a DXF INSERT
entity.
graphics_data_size
value when successful, or EXIT_FAILURE
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 1485 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::graphics_data_size.
Set the graphics_data_size
value for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1529 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::graphics_data_size.
Referenced by dxf_insert_init().
int16_t dxf_insert_get_shadow_mode | ( | DxfInsert * | insert | ) |
Get the shadow_mode
from a DXF INSERT
entity.
shadow_mode
when successful, or EXIT_FAILURE
when an error occurred. insert | a pointer to a DXF INSER entity. |
Definition at line 1577 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::shadow_mode.
Set the shadow_mode
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
shadow_mode | the shadow mode to be set for the entity. |
Definition at line 1622 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::shadow_mode.
Referenced by dxf_insert_init().
DxfBinaryGraphicsData* dxf_insert_get_binary_graphics_data | ( | DxfInsert * | insert | ) |
Get the pointer to the binary_graphics_data
from a DXF INSERT
entity.
binary_graphics_data
.insert | a pointer to a DXF INSERT entity. |
Definition at line 1672 of file insert.c.
References _, dxf_insert_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_free(), and dxf_insert_init().
DxfInsert* dxf_insert_set_binary_graphics_data | ( | DxfInsert * | insert, |
DxfBinaryGraphicsData * | data | ||
) |
Set the pointer to the binary_graphics_data
for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 1708 of file insert.c.
References _, dxf_insert_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
char* dxf_insert_get_dictionary_owner_soft | ( | DxfInsert * | insert | ) |
Get the soft pointer to the dictionary owner from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1752 of file insert.c.
References _, dxf_insert_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_free(), and dxf_insert_write().
DxfInsert* dxf_insert_set_dictionary_owner_soft | ( | DxfInsert * | insert, |
char * | dictionary_owner_soft | ||
) |
Set the pointer to the dictionary_owner_soft for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1788 of file insert.c.
References _, dxf_insert_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
char* dxf_insert_get_material | ( | DxfInsert * | insert | ) |
Get the pointer to the material
from a DXF INSERT
entity.
material
when successful, or NULL
when an error occurred.insert | a pointer to a DXF INSERT entity. |
Definition at line 1832 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::material.
Referenced by dxf_insert_free().
Set the pointer to the material
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
material | a string containing the pointer to the material for the entity. |
Definition at line 1870 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::material.
Referenced by dxf_insert_init().
char* dxf_insert_get_dictionary_owner_hard | ( | DxfInsert * | insert | ) |
Get the hard pointer to the dictionary owner from a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
Definition at line 1914 of file insert.c.
References _, dxf_insert_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_free(), and dxf_insert_write().
DxfInsert* dxf_insert_set_dictionary_owner_hard | ( | DxfInsert * | insert, |
char * | dictionary_owner_hard | ||
) |
Set the pointer to the dictionary_owner_hard for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 1950 of file insert.c.
References _, dxf_insert_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
int16_t dxf_insert_get_lineweight | ( | DxfInsert * | insert | ) |
Get the lineweight
from a DXF INSERT
entity.
lineweight
when successful, or EXIT_FAILURE
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 1992 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::lineweight.
Set the lineweight
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
lineweight | the lineweight to be set for the entity. |
Definition at line 2023 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::lineweight.
Referenced by dxf_insert_init().
char* dxf_insert_get_plot_style_name | ( | DxfInsert * | insert | ) |
Get the plot_style_name
from a DXF INSERT
entity.
plot_style_name
when sucessful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 2057 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::plot_style_name.
Referenced by dxf_insert_free().
Set the plot_style_name
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 2095 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::plot_style_name.
Referenced by dxf_insert_init().
long dxf_insert_get_color_value | ( | DxfInsert * | insert | ) |
Get the color_value
from a DXF INSERT
entity.
color_value
when successful, or EXIT_FAILURE
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 2137 of file insert.c.
References _, dxf_insert_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color_value
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
color_value | the color_value to be set for the entity. |
Definition at line 2168 of file insert.c.
References _, dxf_insert_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
char* dxf_insert_get_color_name | ( | DxfInsert * | insert | ) |
Get the color_name
from a DXF INSERT
entity.
color_name
when sucessful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 2202 of file insert.c.
References _, dxf_insert_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_free().
Set the color_name
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
color_name | a string containing the color_name for the entity. |
Definition at line 2240 of file insert.c.
References _, dxf_insert_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
long dxf_insert_get_transparency | ( | DxfInsert * | insert | ) |
Get the transparency
from a DXF INSERT
entity.
transparency
when successful, or EXIT_FAILURE
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 2282 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::transparency.
Set the transparency
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
transparency | the transparency to be set for the entity. |
Definition at line 2313 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::transparency.
Referenced by dxf_insert_init().
char* dxf_insert_get_block_name | ( | DxfInsert * | insert | ) |
Get the block_name
from a DXF INSERT
entity.
block_name
when sucessful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
Definition at line 2347 of file insert.c.
References _, dxf_insert_struct::block_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_free(), and dxf_insert_write().
Set the block_name
for a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
block_name | a string containing the block_name for the entity. |
Definition at line 2385 of file insert.c.
References _, dxf_insert_struct::block_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
Get the base point p0
of a DXF INSERT
entity.
p0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2426 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::p0.
Referenced by dxf_insert_init().
Set the base point p0
of a DXF INSERT
entity.
INSERT
entity. insert | a pointer to a DXF INSERT entity. |
p0 | a pointer to a DXF POINT entity. |
Definition at line 2463 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::p0.
Referenced by dxf_insert_init().
double dxf_insert_get_x0 | ( | DxfInsert * | insert | ) |
Get the X-value of the base point x0
of a DXF INSERT
entity.
x0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2504 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::p0, and dxf_point_struct::x0.
Referenced by dxf_insert_write().
Set the X-value of the base point x0
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
x0 | the X-value of the base point x0 of a DXF INSERT entity. |
Definition at line 2544 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::p0, and dxf_point_struct::x0.
Referenced by dxf_insert_init().
double dxf_insert_get_y0 | ( | DxfInsert * | insert | ) |
Get the Y-value of the base point y0
of a DXF INSERT
entity.
y0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2586 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::p0, and dxf_point_struct::y0.
Referenced by dxf_insert_write().
Set the Y-value of the base point y0
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
y0 | the Y-value of the base point y0 of a DXF INSERT entity. |
Definition at line 2626 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::p0, and dxf_point_struct::y0.
Referenced by dxf_insert_init().
double dxf_insert_get_z0 | ( | DxfInsert * | insert | ) |
Get the Z-value of the base point z0
of a DXF INSERT
entity.
z0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2668 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::p0, and dxf_point_struct::z0.
Referenced by dxf_insert_write().
Set the Z-value of the base point z0
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
z0 | the Z-value of the base point z0 of a DXF INSERT entity. |
Definition at line 2708 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::p0, and dxf_point_struct::z0.
Referenced by dxf_insert_init().
double dxf_insert_get_rel_x_scale | ( | DxfInsert * | insert | ) |
Get the releative X scale factor rel_x_scale
of a DXF INSERT
entity.
rel_x_scale
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2750 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rel_x_scale.
Referenced by dxf_insert_write().
Set the relative X scale factor rel_x_scale
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
rel_x_scale | the relative X scale factor rel_x_scale of a DXF INSERT entity. |
Definition at line 2789 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rel_x_scale.
Referenced by dxf_insert_init(), and dxf_insert_write().
double dxf_insert_get_rel_y_scale | ( | DxfInsert * | insert | ) |
Get the releative Y scale factor rel_y_scale
of a DXF INSERT
entity.
rel_y_scale
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2830 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rel_y_scale.
Referenced by dxf_insert_write().
Set the relative Y scale factor rel_y_scale
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
rel_y_scale | the relative Y scale factor rel_y_scale of a DXF INSERT entity. |
Definition at line 2869 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rel_y_scale.
Referenced by dxf_insert_init(), and dxf_insert_write().
double dxf_insert_get_rel_z_scale | ( | DxfInsert * | insert | ) |
Get the releative Z scale factor rel_z_scale
of a DXF INSERT
entity.
rel_z_scale
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2910 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rel_z_scale.
Referenced by dxf_insert_write().
Set the relative Z scale factor rel_z_scale
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
rel_z_scale | the relative Z scale factor rel_z_scale of a DXF INSERT entity. |
Definition at line 2949 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rel_z_scale.
Referenced by dxf_insert_init(), and dxf_insert_write().
double dxf_insert_get_column_spacing | ( | DxfInsert * | insert | ) |
Get the column spacing value column_spacing
of a DXF INSERT
entity.
column_spacing
. insert | a pointer to a DXF INSERT entity. |
Definition at line 2990 of file insert.c.
References _, dxf_insert_struct::column_spacing, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_write().
Set the column spacing value column_spacing
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
column_spacing | the column spacing value column_spacing of a DXF INSERT entity. |
Definition at line 3029 of file insert.c.
References _, dxf_insert_struct::column_spacing, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
double dxf_insert_get_row_spacing | ( | DxfInsert * | insert | ) |
Get the row spacing value row_spacing
of a DXF INSERT
entity.
row_spacing
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3070 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::row_spacing.
Referenced by dxf_insert_write().
Set the row spacing value row_spacing
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
row_spacing | the row spacing value row_spacing for a DXF INSERT entity. |
Definition at line 3108 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::row_spacing.
Referenced by dxf_insert_init().
double dxf_insert_get_rot_angle | ( | DxfInsert * | insert | ) |
Get the rotation angle value rot_angle
of a DXF INSERT
entity.
rot_angle
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3149 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rot_angle.
Referenced by dxf_insert_write().
Set the rotation angle value rot_angle
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
rot_angle | the rotation angle value rot_angle for a DXF INSERT entity. |
Definition at line 3189 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rot_angle.
Referenced by dxf_insert_init().
int dxf_insert_get_attributes_follow | ( | DxfInsert * | insert | ) |
Get the attributes follow attributes_follow
from a DXF INSERT
entity.
attributes_follow
value. insert | a pointer to a DXF INSERT entity. |
Definition at line 3238 of file insert.c.
References _, dxf_insert_struct::attributes_follow, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_write().
Set the attributes follow attributes_follow
for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
attributes_follow | Attributes follow value to be set for the entity. |
Definition at line 3281 of file insert.c.
References _, dxf_insert_struct::attributes_follow, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init().
int dxf_insert_get_columns | ( | DxfInsert * | insert | ) |
Get the number of columns columns
from a DXF INSERT
entity.
columns
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3329 of file insert.c.
References _, dxf_insert_struct::columns, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_write().
Set the number of columns columns
for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
columns | Number of columns value to be set for the entity. |
Definition at line 3365 of file insert.c.
References _, dxf_insert_struct::columns, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_insert_init(), and dxf_insert_write().
int dxf_insert_get_rows | ( | DxfInsert * | insert | ) |
Get the number of rows rows
from a DXF INSERT
entity.
rows
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3406 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rows.
Referenced by dxf_insert_write().
Set the number of rows rows
for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
rows | Number of rows value to be set for the entity. |
Definition at line 3441 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::rows.
Referenced by dxf_insert_init(), and dxf_insert_write().
double dxf_insert_get_extr_x0 | ( | DxfInsert * | insert | ) |
Get the X-value of the extrusion vector extr_x0
of a DXF INSERT
entity.
extr_x0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3482 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::extr_x0.
Referenced by dxf_insert_write().
Set the X-value of the extrusion vector extr_x0
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
extr_x0 | the X-value of the extrusion vector extr_x0 of a DXF ARC entity. |
Definition at line 3515 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::extr_x0.
Referenced by dxf_insert_init().
double dxf_insert_get_extr_y0 | ( | DxfInsert * | insert | ) |
Get the Y-value of the extrusion vector extr_y0
of a DXF INSERT
entity.
extr_y0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3550 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::extr_y0.
Referenced by dxf_insert_write().
Set the Y-value of the extrusion vector extr_y0
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
extr_y0 | the Y-value of the extrusion vector extr_y0 of a DXF INSERT entity. |
Definition at line 3583 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::extr_y0.
Referenced by dxf_insert_init().
double dxf_insert_get_extr_z0 | ( | DxfInsert * | insert | ) |
Get the Z-value of the extrusion vector extr_z0
of a DXF INSERT
entity.
extr_z0
. insert | a pointer to a DXF INSERT entity. |
Definition at line 3618 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::extr_z0.
Referenced by dxf_insert_write().
Set the Z-value of the extrusion vector extr_z0
of a DXF INSERT
entity.
insert
when successful, or NULL
when an error occurred. insert | a pointer to a DXF INSERT entity. |
extr_z0 | the Z-value of the extrusion vector extr_z0 of a DXF INSERT entity. |
Definition at line 3651 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::extr_z0.
Referenced by dxf_insert_init().
Set the extrusion vector from a DXF POINT
for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
point | a pointer to a DXF POINT entity. |
Definition at line 3684 of file insert.c.
References _, DEBUG, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::extr_x0, dxf_insert_struct::extr_y0, dxf_insert_struct::extr_z0, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
DxfInsert* dxf_insert_set_extrusion_vector | ( | DxfInsert * | insert, |
double | extr_x0, | ||
double | extr_y0, | ||
double | extr_z0 | ||
) |
Set the extrusion vector for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT 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 3724 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_insert_struct::extr_x0, dxf_insert_struct::extr_y0, and dxf_insert_struct::extr_z0.
Get the pointer to the next INSERT
entity from a DXF INSERT
entity.
INSERT
entity.insert | a pointer to a DXF INSERT entity. |
Definition at line 3766 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::next.
Set the pointer to the next INSERT
for a DXF INSERT
entity.
insert | a pointer to a DXF INSERT entity. |
next | a pointer to the next INSERT for the entity. |
Definition at line 3802 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::next.
Referenced by dxf_insert_init().
Get the pointer to the last INSERT
entity from a linked list of DXF INSERT
entities.
INSERT
entity.insert | a pointer to a DXF INSERT entity. |
Definition at line 3845 of file insert.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_insert_struct::next.