libDXF 0.0.1
A library with DXF related functions written in C.
|
Definition of a DXF leader entity (LEADER
).
More...
Go to the source code of this file.
Data Structures | |
struct | dxf_leader_struct |
DXF definition of an AutoCAD leader entity (LEADER ). More... | |
Typedefs | |
typedef struct dxf_leader_struct | DxfLeader |
DXF definition of an AutoCAD leader entity (LEADER ). | |
Functions | |
DxfLeader * | dxf_leader_new () |
Allocate memory for a DXF LEADER . | |
DxfLeader * | dxf_leader_init (DxfLeader *leader) |
Allocate memory and initialize data fields in a DXF LEADER entity. | |
DxfLeader * | dxf_leader_read (DxfFile *fp, DxfLeader *leader) |
Read data from a DXF file into a DXF LEADER entity. | |
int | dxf_leader_write (DxfFile *fp, DxfLeader *leader) |
Write DXF output to a file for a DXF LEADER entity. | |
int | dxf_leader_free (DxfLeader *leader) |
Free the allocated memory for a DXF LEADER and all it's data fields. | |
void | dxf_leader_free_chain (DxfLeader *leaders) |
Free the allocated memory for a chain of DXF LEADER entities and all their data fields. | |
int | dxf_leader_get_id_code (DxfLeader *leader) |
Get the ID code from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_id_code (DxfLeader *leader, int id_code) |
Set the ID code for a DXF LEADER entity. | |
char * | dxf_leader_get_linetype (DxfLeader *leader) |
Get the linetype from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_linetype (DxfLeader *leader, char *linetype) |
Set the linetype for a DXF LEADER entity. | |
char * | dxf_leader_get_layer (DxfLeader *leader) |
Get the layer from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_layer (DxfLeader *leader, char *layer) |
Set the layer for a DXF LEADER entity. | |
double | dxf_leader_get_elevation (DxfLeader *leader) |
Get the elevation from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_elevation (DxfLeader *leader, double elevation) |
Set the elevation for a DXF LEADER entity. | |
double | dxf_leader_get_thickness (DxfLeader *leader) |
Get the thickness from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_thickness (DxfLeader *leader, double thickness) |
Set the thickness for a DXF LEADER entity. | |
double | dxf_leader_get_linetype_scale (DxfLeader *leader) |
Get the linetype scale from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_linetype_scale (DxfLeader *leader, double linetype_scale) |
Set the linetype scale for a DXF LEADER entity. | |
int16_t | dxf_leader_get_visibility (DxfLeader *leader) |
Get the visibility from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_visibility (DxfLeader *leader, int16_t visibility) |
Set the visibility for a DXF LEADER entity. | |
int | dxf_leader_get_color (DxfLeader *leader) |
Get the color from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_color (DxfLeader *leader, int color) |
Set the color for a DXF LEADER entity. | |
int | dxf_leader_get_paperspace (DxfLeader *leader) |
Get the paperspace flag value from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_paperspace (DxfLeader *leader, int paperspace) |
Set the paperspace flag for a DXF LEADER entity. | |
char * | dxf_leader_get_dictionary_owner_soft (DxfLeader *leader) |
Get the soft pointer to the dictionary owner from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_dictionary_owner_soft (DxfLeader *leader, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF LEADER entity. | |
char * | dxf_leader_get_dictionary_owner_hard (DxfLeader *leader) |
Get the hard pointer to the dictionary owner from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_dictionary_owner_hard (DxfLeader *leader, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF LEADER entity. | |
char * | dxf_leader_get_dimension_style_name (DxfLeader *leader) |
Get the dimenion_style_name from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_dimension_style_name (DxfLeader *leader, char *dimension_style_name) |
Set the dimension_style_name for a DXF LEADER entity. | |
DxfPoint * | dxf_leader_get_p0 (DxfLeader *leader) |
Get the vertex coordinates p0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_p0 (DxfLeader *leader, DxfPoint *p0) |
Set the vertex coordinates p0 of a DXF LEADER entity. | |
double | dxf_leader_get_x0 (DxfLeader *leader) |
Get the X-value of the vertex coordinates x0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_x0 (DxfLeader *leader, double x0) |
Set the X-value of the vertex coordinates x0 of a DXF LEADER entity. | |
double | dxf_leader_get_y0 (DxfLeader *leader) |
Get the Y-value of the vertex coordinates y0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_y0 (DxfLeader *leader, double y0) |
Set the Y-value of the vertex coordinates y0 of a DXF LEADER entity. | |
double | dxf_leader_get_z0 (DxfLeader *leader) |
Get the Z-value of the vertex coordinates z0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_z0 (DxfLeader *leader, double z0) |
Set the Z-value of the vertex coordinates z0 of a DXF LEADER entity. | |
double | dxf_leader_get_text_annotation_height (DxfLeader *leader) |
Get the text_annotation_height of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_text_annotation_height (DxfLeader *leader, double text_annotation_height) |
Set the text_annotation_height of a DXF LEADER entity. | |
double | dxf_leader_get_text_annotation_width (DxfLeader *leader) |
Get the text_annotation_width of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_text_annotation_width (DxfLeader *leader, double text_annotation_width) |
Set the text_annotation_width of a DXF LEADER entity. | |
int | dxf_leader_get_arrow_head_flag (DxfLeader *leader) |
Get the arrow_head_flag from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_arrow_head_flag (DxfLeader *leader, int arrow_head_flag) |
Set the arrow_head_flag for a DXF LEADER entity. | |
int | dxf_leader_get_path_type (DxfLeader *leader) |
Get the path_type from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_path_type (DxfLeader *leader, int path_type) |
Set the path_type for a DXF LEADER entity. | |
int | dxf_leader_get_creation_flag (DxfLeader *leader) |
Get the creation_flag from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_creation_flag (DxfLeader *leader, int creation_flag) |
Set the creation_flag for a DXF LEADER entity. | |
int | dxf_leader_get_hookline_direction_flag (DxfLeader *leader) |
Get the hookline_direction_flag from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_hookline_direction_flag (DxfLeader *leader, int hookline_direction_flag) |
Set the hookline_direction_flag for a DXF LEADER entity. | |
int | dxf_leader_get_hookline_flag (DxfLeader *leader) |
Get the hookline_flag from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_hookline_flag (DxfLeader *leader, int hookline_flag) |
Set the hookline_flag for a DXF LEADER entity. | |
int | dxf_leader_get_number_vertices (DxfLeader *leader) |
Get the number_vertices from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_number_vertices (DxfLeader *leader, int number_vertices) |
Set the number_vertices for a DXF LEADER entity. | |
int | dxf_leader_get_leader_color (DxfLeader *leader) |
Get the leader_color from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_leader_color (DxfLeader *leader, int leader_color) |
Set the leader_color for a DXF LEADER entity. | |
double | dxf_leader_get_extr_x0 (DxfLeader *leader) |
Get the X-value of the extrusion vector extr_x0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_extr_x0 (DxfLeader *leader, double extr_x0) |
Set the X-value of the extrusion vector extr_x0 of a DXF LEADER entity. | |
double | dxf_leader_get_extr_y0 (DxfLeader *leader) |
Get the Y-value of the extrusion vector extr_y0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_extr_y0 (DxfLeader *leader, double extr_y0) |
Set the Y-value of the extrusion vector extr_y0 of a DXF LEADER entity. | |
double | dxf_leader_get_extr_z0 (DxfLeader *leader) |
Get the Z-value of the extrusion vector extr_z0 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_extr_z0 (DxfLeader *leader, double extr_z0) |
Set the Z-value of the extrusion vector extr_z0 of a DXF LEADER entity. | |
DxfPoint * | dxf_leader_get_p1 (DxfLeader *leader) |
Get the "Horizontal" direction for leader p1 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_p1 (DxfLeader *leader, DxfPoint *p1) |
Set the "Horizontal" direction for leader p1 of a DXF LEADER entity. | |
double | dxf_leader_get_x1 (DxfLeader *leader) |
Get the X-value of the "Horizontal" direction for leader x1 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_x1 (DxfLeader *leader, double x1) |
Set the X-value of the "Horizontal" direction for leader x1 of a DXF LEADER entity. | |
double | dxf_leader_get_y1 (DxfLeader *leader) |
Get the Y-value of the "Horizontal" direction for leader y1 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_y1 (DxfLeader *leader, double y1) |
Set the Y-value of the "Horizontal" direction for leader y1 of a DXF LEADER entity. | |
double | dxf_leader_get_z1 (DxfLeader *leader) |
Get the Z-value of the "Horizontal" direction for leader z1 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_z1 (DxfLeader *leader, double z1) |
Set the Z-value of the "Horizontal" direction for leader z1 of a DXF LEADER entity. | |
DxfPoint * | dxf_leader_get_p2 (DxfLeader *leader) |
Get the Block reference insertion point offset from the last leader vertex p2 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_p2 (DxfLeader *leader, DxfPoint *p2) |
Set the Block reference insertion point offset from the last leader vertex p2 of a DXF LEADER entity. | |
double | dxf_leader_get_x2 (DxfLeader *leader) |
Get the X-value of the Block reference insertion point offset from the last leader vertex x2 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_x2 (DxfLeader *leader, double x2) |
Set the X-value of the Block reference insertion point offset from the last leader vertex x2 of a DXF LEADER entity. | |
double | dxf_leader_get_y2 (DxfLeader *leader) |
Get the Y-value of the Block reference insertion point offset from the last leader vertex y2 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_y2 (DxfLeader *leader, double y2) |
Set the Y-value of the Block reference insertion point offset from the last leader vertex y2 of a DXF LEADER entity. | |
double | dxf_leader_get_z2 (DxfLeader *leader) |
Get the Z-value of the Block reference insertion point offset from the last leader vertex z2 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_z2 (DxfLeader *leader, double z2) |
Set the Z-value of the Block reference insertion point offset from the last leader vertex z2 of a DXF LEADER entity. | |
DxfPoint * | dxf_leader_get_p3 (DxfLeader *leader) |
Get the Annotation placement point offset from last leader vertex p3 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_p3 (DxfLeader *leader, DxfPoint *p3) |
Set the Annotation placement point offset from last leader vertex p2 of a DXF LEADER entity. | |
double | dxf_leader_get_x3 (DxfLeader *leader) |
Get the X-value of the Annotation placement point offset from the last leader vertex x3 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_x3 (DxfLeader *leader, double x3) |
Set the X-value of the Annotation placement point offset from the last leader vertex x3 of a DXF LEADER entity. | |
double | dxf_leader_get_y3 (DxfLeader *leader) |
Get the Y-value of the Annotation placement point offset from the last leader vertex y3 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_y3 (DxfLeader *leader, double y3) |
Set the Y-value of the Annotation placement point offset from the last leader vertex y3 of a DXF LEADER entity. | |
double | dxf_leader_get_z3 (DxfLeader *leader) |
Get the Z-value of the Annotation placement point offset from the last leader vertex z3 of a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_z3 (DxfLeader *leader, double z3) |
Set the Z-value of the Annotation placement point offset from the last leader vertex z3 of a DXF LEADER entity. | |
char * | dxf_leader_get_annotation_reference_hard (DxfLeader *leader) |
Get the annotation_reference_hard from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_annotation_reference_hard (DxfLeader *leader, char *annotation_reference_hard) |
Set the pointer to the annotation_reference_hard for a DXF LEADER entity. | |
DxfLeader * | dxf_leader_get_next (DxfLeader *leader) |
Get the pointer to the next LEADER entity from a DXF LEADER entity. | |
DxfLeader * | dxf_leader_set_next (DxfLeader *leader, DxfLeader *next) |
Set the pointer to the next LEADER for a DXF LEADER entity. | |
DxfLeader * | dxf_leader_get_last (DxfLeader *leader) |
Get the pointer to the last LEADER entity from a linked list of DXF LEADER entities. |
Definition of a DXF leader entity (LEADER
).
LEADER
entity was introduced in DXF R13.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to:
Free Software Foundation, Inc.,
59 Temple Place,
Suite 330,
Boston,
MA 02111 USA.
Drawing eXchange Format (DXF) is a defacto industry standard for the exchange of drawing files between various Computer Aided Drafting programs.
DXF is an industry standard designed by Autodesk(TM).
For more details see http://www.autodesk.com.
Definition in file leader.h.
typedef struct dxf_leader_struct DxfLeader |
DXF definition of an AutoCAD leader entity (LEADER
).
DxfLeader* dxf_leader_new | ( | ) |
Allocate memory for a DXF LEADER
.
Fill the memory contents with zeros.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. Definition at line 55 of file leader.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_leader_init(), and dxf_leader_read().
Allocate memory and initialize data fields in a DXF LEADER
entity.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. leader | pointer to a DXF LEADER entity. |
Definition at line 93 of file leader.c.
References _, dxf_leader_struct::annotation_reference_hard, dxf_leader_struct::arrow_head_flag, dxf_leader_struct::color, dxf_leader_struct::creation_flag, dxf_leader_struct::dictionary_owner_hard, dxf_leader_struct::dictionary_owner_soft, dxf_leader_struct::dimension_style_name, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_VISIBILITY, dxf_leader_new(), DXF_MODELSPACE, dxf_point_new(), dxf_leader_struct::elevation, dxf_leader_struct::extr_x0, dxf_leader_struct::extr_y0, dxf_leader_struct::extr_z0, dxf_leader_struct::hookline_direction_flag, dxf_leader_struct::hookline_flag, dxf_leader_struct::id_code, dxf_leader_struct::layer, dxf_leader_struct::leader_color, dxf_leader_struct::linetype, dxf_leader_struct::linetype_scale, dxf_leader_struct::next, dxf_leader_struct::number_vertices, dxf_leader_struct::p0, dxf_leader_struct::p1, dxf_leader_struct::p2, dxf_leader_struct::p3, dxf_leader_struct::paperspace, dxf_leader_struct::path_type, dxf_leader_struct::text_annotation_height, dxf_leader_struct::text_annotation_width, dxf_leader_struct::thickness, dxf_leader_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
Referenced by dxf_leader_read().
Read data from a DXF file into a DXF LEADER
entity.
The last line read from file contained the string "LEADER".
Now follows some data for the LEADER
, 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 leader
.
a
pointer to leader
. fp | DXF file pointer to an input file (or device). |
leader | Pointer to a DXF LEADER entity. |
Definition at line 178 of file leader.c.
References _, dxf_file_struct::acad_version_number, dxf_leader_struct::annotation_reference_hard, dxf_leader_struct::arrow_head_flag, AutoCAD_11, AutoCAD_13, dxf_leader_struct::color, dxf_leader_struct::creation_flag, dxf_leader_struct::dictionary_owner_hard, dxf_leader_struct::dictionary_owner_soft, dxf_leader_struct::dimension_style_name, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, dxf_leader_init(), dxf_leader_new(), dxf_point_init(), dxf_leader_struct::elevation, dxf_leader_struct::extr_x0, dxf_leader_struct::extr_y0, dxf_leader_struct::extr_z0, dxf_file_struct::filename, dxf_file_struct::fp, dxf_leader_struct::hookline_direction_flag, dxf_leader_struct::hookline_flag, dxf_leader_struct::id_code, dxf_leader_struct::layer, dxf_leader_struct::leader_color, dxf_file_struct::line_number, dxf_leader_struct::linetype, dxf_leader_struct::linetype_scale, dxf_point_struct::next, dxf_leader_struct::number_vertices, dxf_leader_struct::p0, dxf_leader_struct::p1, dxf_leader_struct::p2, dxf_leader_struct::p3, dxf_leader_struct::paperspace, dxf_leader_struct::path_type, dxf_leader_struct::text_annotation_height, dxf_leader_struct::text_annotation_width, dxf_leader_struct::thickness, dxf_leader_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
Write DXF output to a file for a DXF LEADER
entity.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. fp | DXF file pointer to an output file (or device). |
leader | DXF LEADER entity. |
Definition at line 575 of file leader.c.
References _, dxf_file_struct::acad_version_number, dxf_leader_struct::annotation_reference_hard, dxf_leader_struct::arrow_head_flag, AutoCAD_11, AutoCAD_13, AutoCAD_14, dxf_leader_struct::color, dxf_leader_struct::creation_flag, dxf_leader_struct::dictionary_owner_hard, dxf_leader_struct::dictionary_owner_soft, dxf_leader_struct::dimension_style_name, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_PAPERSPACE, dxf_leader_struct::elevation, dxf_leader_struct::extr_x0, dxf_leader_struct::extr_y0, dxf_leader_struct::extr_z0, dxf_file_struct::fp, dxf_leader_struct::hookline_direction_flag, dxf_leader_struct::hookline_flag, dxf_leader_struct::id_code, dxf_leader_struct::layer, dxf_leader_struct::leader_color, dxf_leader_struct::linetype, dxf_leader_struct::linetype_scale, dxf_point_struct::next, dxf_leader_struct::number_vertices, dxf_leader_struct::p0, dxf_leader_struct::p1, dxf_leader_struct::p2, dxf_leader_struct::p3, dxf_leader_struct::paperspace, dxf_leader_struct::path_type, dxf_leader_struct::text_annotation_height, dxf_leader_struct::text_annotation_width, dxf_leader_struct::thickness, dxf_leader_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
int dxf_leader_free | ( | DxfLeader * | leader | ) |
Free the allocated memory for a DXF LEADER
and all it's data fields.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. leader | Pointer to the memory occupied by the DXF LEADER entity. |
Definition at line 772 of file leader.c.
References _, dxf_leader_struct::annotation_reference_hard, dxf_leader_struct::dictionary_owner_hard, dxf_leader_struct::dictionary_owner_soft, dxf_leader_struct::dimension_style_name, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::layer, dxf_leader_struct::linetype, and dxf_leader_struct::next.
Referenced by dxf_leader_free_chain().
void dxf_leader_free_chain | ( | DxfLeader * | leaders | ) |
Free the allocated memory for a chain of DXF LEADER
entities and all their data fields.
leaders | pointer to the chain of DXF LEADER entities. |
Definition at line 817 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_free(), and dxf_leader_struct::next.
int dxf_leader_get_id_code | ( | DxfLeader * | leader | ) |
Get the ID code from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 850 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::id_code.
Set the ID code for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 885 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::id_code.
char* dxf_leader_get_linetype | ( | DxfLeader * | leader | ) |
Get the linetype from a DXF LEADER
entity.
NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
Definition at line 927 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::linetype.
Set the linetype for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
linetype | a string containing the linetype for the entity. |
Definition at line 962 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::linetype.
char* dxf_leader_get_layer | ( | DxfLeader * | leader | ) |
Get the layer from a DXF LEADER
entity.
NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
Definition at line 1002 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::layer.
Set the layer for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
layer | a string containing the layer for the entity. |
Definition at line 1037 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::layer.
double dxf_leader_get_elevation | ( | DxfLeader * | leader | ) |
Get the elevation from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1077 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::elevation.
Set the elevation for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
elevation | the elevation to be set for the entity. |
Definition at line 1105 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::elevation.
double dxf_leader_get_thickness | ( | DxfLeader * | leader | ) |
Get the thickness from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1138 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::thickness.
Set the thickness for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
thickness | the thickness to be set for the entity. |
Definition at line 1173 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::thickness.
double dxf_leader_get_linetype_scale | ( | DxfLeader * | leader | ) |
Get the linetype scale from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1213 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::linetype_scale.
Set the linetype scale for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
linetype_scale | the linetype scale to be set for the entity. |
Definition at line 1248 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::linetype_scale.
int16_t dxf_leader_get_visibility | ( | DxfLeader * | leader | ) |
Get the visibility from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1288 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::visibility.
Set the visibility for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
visibility | the visibility to be set for the entity. |
Definition at line 1330 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::visibility.
int dxf_leader_get_color | ( | DxfLeader * | leader | ) |
Get the color from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1377 of file leader.c.
References _, dxf_leader_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
color | the color to be set for the entity. |
Definition at line 1411 of file leader.c.
References _, dxf_leader_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
int dxf_leader_get_paperspace | ( | DxfLeader * | leader | ) |
Get the paperspace flag value from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1450 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::paperspace.
Set the paperspace flag for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1490 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::paperspace.
char* dxf_leader_get_dictionary_owner_soft | ( | DxfLeader * | leader | ) |
Get the soft pointer to the dictionary owner from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1540 of file leader.c.
References _, dxf_leader_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfLeader* dxf_leader_set_dictionary_owner_soft | ( | DxfLeader * | leader, |
char * | dictionary_owner_soft | ||
) |
Set the pointer to the dictionary_owner_soft for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1576 of file leader.c.
References _, dxf_leader_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
char* dxf_leader_get_dictionary_owner_hard | ( | DxfLeader * | leader | ) |
Get the hard pointer to the dictionary owner from a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
Definition at line 1620 of file leader.c.
References _, dxf_leader_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfLeader* dxf_leader_set_dictionary_owner_hard | ( | DxfLeader * | leader, |
char * | dictionary_owner_hard | ||
) |
Set the pointer to the dictionary_owner_hard for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 1656 of file leader.c.
References _, dxf_leader_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
char* dxf_leader_get_dimension_style_name | ( | DxfLeader * | leader | ) |
Get the dimenion_style_name
from a DXF LEADER
entity.
dimension_style_name
when sucessful, NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
Definition at line 1698 of file leader.c.
References _, dxf_leader_struct::dimension_style_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the dimension_style_name
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
dimension_style_name | a string containing the dimension_style_name for the entity. |
Definition at line 1733 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::layer.
Get the vertex coordinates p0
of a DXF LEADER
entity.
p0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 1774 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p0.
Set the vertex coordinates p0
of a DXF LEADER
entity.
LEADER
entity. leader | a pointer to a DXF ARC entity. |
p0 | a pointer to a DXF POINT entity. |
Definition at line 1811 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p0.
double dxf_leader_get_x0 | ( | DxfLeader * | leader | ) |
Get the X-value of the vertex coordinates x0
of a DXF LEADER
entity.
x0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 1852 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p0, and dxf_point_struct::x0.
Set the X-value of the vertex coordinates x0
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
x0 | the X-value of the vertex coordinates x0 of a DXF LEADER entity. |
Definition at line 1892 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p0, and dxf_point_struct::x0.
double dxf_leader_get_y0 | ( | DxfLeader * | leader | ) |
Get the Y-value of the vertex coordinates y0
of a DXF LEADER
entity.
y0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 1934 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p0, and dxf_point_struct::y0.
Set the Y-value of the vertex coordinates y0
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
y0 | the Y-value of the vertex coordinates y0 of a DXF LEADER entity. |
Definition at line 1974 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p0, and dxf_point_struct::y0.
double dxf_leader_get_z0 | ( | DxfLeader * | leader | ) |
Get the Z-value of the vertex coordinates z0
of a DXF LEADER
entity.
z0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2016 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p0, and dxf_point_struct::z0.
Set the Z-value of the vertex coordinates z0
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
z0 | the Z-value of the vertex coordinates z0 of a DXF LEADER entity. |
Definition at line 2056 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p0, and dxf_point_struct::z0.
double dxf_leader_get_text_annotation_height | ( | DxfLeader * | leader | ) |
Get the text_annotation_height
of a DXF LEADER
entity.
text_annotation_height
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2097 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::text_annotation_height.
DxfLeader* dxf_leader_set_text_annotation_height | ( | DxfLeader * | leader, |
double | text_annotation_height | ||
) |
Set the text_annotation_height
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
text_annotation_height | the text_annotation_height of a DXF LEADER entity. |
Definition at line 2135 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::text_annotation_height.
double dxf_leader_get_text_annotation_width | ( | DxfLeader * | leader | ) |
Get the text_annotation_width
of a DXF LEADER
entity.
text_annotation_width
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2175 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::text_annotation_width.
DxfLeader* dxf_leader_set_text_annotation_width | ( | DxfLeader * | leader, |
double | text_annotation_width | ||
) |
Set the text_annotation_width
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
text_annotation_width | the text_annotation_width of a DXF LEADER entity. |
Definition at line 2213 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::text_annotation_width.
int dxf_leader_get_arrow_head_flag | ( | DxfLeader * | leader | ) |
Get the arrow_head_flag
from a DXF LEADER
entity.
arrow_head_flag
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2253 of file leader.c.
References _, dxf_leader_struct::arrow_head_flag, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the arrow_head_flag
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
arrow_head_flag | the arrow_head_flag to be set. |
Definition at line 2295 of file leader.c.
References _, dxf_leader_struct::arrow_head_flag, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
int dxf_leader_get_path_type | ( | DxfLeader * | leader | ) |
Get the path_type
from a DXF LEADER
entity.
path_type
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2342 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::path_type.
Set the path_type
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
path_type | the path_type to be set. |
Definition at line 2384 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::path_type.
int dxf_leader_get_creation_flag | ( | DxfLeader * | leader | ) |
Get the creation_flag
from a DXF LEADER
entity.
creation_flag
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2431 of file leader.c.
References _, dxf_leader_struct::creation_flag, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the creation_flag
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
creation_flag | the creation_flag to be set. |
Definition at line 2473 of file leader.c.
References _, dxf_leader_struct::creation_flag, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
int dxf_leader_get_hookline_direction_flag | ( | DxfLeader * | leader | ) |
Get the hookline_direction_flag
from a DXF LEADER
entity.
hookline_direction_flag
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2520 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::hookline_direction_flag.
DxfLeader* dxf_leader_set_hookline_direction_flag | ( | DxfLeader * | leader, |
int | hookline_direction_flag | ||
) |
Set the hookline_direction_flag
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
hookline_direction_flag | the hookline_direction_flag to be set. |
Definition at line 2562 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::hookline_direction_flag.
int dxf_leader_get_hookline_flag | ( | DxfLeader * | leader | ) |
Get the hookline_flag
from a DXF LEADER
entity.
hookline_flag
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2609 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::hookline_flag.
Set the hookline_flag
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
hookline_flag | the hookline_flag to be set. |
Definition at line 2651 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::hookline_flag.
int dxf_leader_get_number_vertices | ( | DxfLeader * | leader | ) |
Get the number_vertices
from a DXF LEADER
entity.
number_vertices
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2698 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::number_vertices.
Set the number_vertices
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
number_vertices | the number_vertices to be set. |
Definition at line 2733 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::number_vertices.
int dxf_leader_get_leader_color | ( | DxfLeader * | leader | ) |
Get the leader_color
from a DXF LEADER
entity.
leader_color
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2773 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::leader_color.
Set the leader_color
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
leader_color | the leader_color to be set. |
Definition at line 2807 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::leader_color.
double dxf_leader_get_extr_x0 | ( | DxfLeader * | leader | ) |
Get the X-value of the extrusion vector extr_x0
of a DXF LEADER
entity.
extr_x0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2847 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::extr_x0.
Set the X-value of the extrusion vector extr_x0
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
extr_x0 | the X-value of the extrusion vector extr_x0 of a DXF LEADER entity. |
Definition at line 2880 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::extr_x0.
double dxf_leader_get_extr_y0 | ( | DxfLeader * | leader | ) |
Get the Y-value of the extrusion vector extr_y0
of a DXF LEADER
entity.
extr_y0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2915 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::extr_y0.
Set the Y-value of the extrusion vector extr_y0
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
extr_y0 | the Y-value of the extrusion vector extr_y0 of a DXF LEADER entity. |
Definition at line 2948 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::extr_y0.
double dxf_leader_get_extr_z0 | ( | DxfLeader * | leader | ) |
Get the Z-value of the extrusion vector extr_z0
of a DXF LEADER
entity.
extr_z0
. leader | a pointer to a DXF LEADER entity. |
Definition at line 2983 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::extr_z0.
Set the Z-value of the extrusion vector extr_z0
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
extr_z0 | the Z-value of the extrusion vector extr_z0 of a DXF LEADER entity. |
Definition at line 3016 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::extr_z0.
Get the "Horizontal" direction for leader p1
of a DXF LEADER
entity.
p1
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3051 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p1.
Set the "Horizontal" direction for leader p1
of a DXF LEADER
entity.
LEADER
entity. leader | a pointer to a DXF ARC entity. |
p1 | a pointer to a DXF POINT entity. |
Definition at line 3089 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p1.
double dxf_leader_get_x1 | ( | DxfLeader * | leader | ) |
Get the X-value of the "Horizontal" direction for leader x1
of a DXF LEADER
entity.
x1
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3130 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p1, and dxf_point_struct::x0.
Set the X-value of the "Horizontal" direction for leader x1
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
x1 | the X-value of the "Horizontal" direction for leader x1 of a DXF LEADER entity. |
Definition at line 3170 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p1, and dxf_point_struct::x0.
double dxf_leader_get_y1 | ( | DxfLeader * | leader | ) |
Get the Y-value of the "Horizontal" direction for leader y1
of a DXF LEADER
entity.
y1
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3212 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p1, and dxf_point_struct::y0.
Set the Y-value of the "Horizontal" direction for leader y1
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
y1 | the Y-value of the "Horizontal" direction for leader y1 of a DXF LEADER entity. |
Definition at line 3252 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p1, and dxf_point_struct::y0.
double dxf_leader_get_z1 | ( | DxfLeader * | leader | ) |
Get the Z-value of the "Horizontal" direction for leader z1
of a DXF LEADER
entity.
z1
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3294 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p1, and dxf_point_struct::z0.
Set the Z-value of the "Horizontal" direction for leader z1
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
z1 | the Z-value of the "Horizontal" direction for leader z1 of a DXF LEADER entity. |
Definition at line 3334 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p1, and dxf_point_struct::z0.
Get the Block reference insertion point offset from the last leader vertex p2
of a DXF LEADER
entity.
p2
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3376 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p2.
Set the Block reference insertion point offset from the last leader vertex p2
of a DXF LEADER
entity.
LEADER
entity. leader | a pointer to a DXF ARC entity. |
p2 | a pointer to a DXF POINT entity. |
Definition at line 3414 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p2.
double dxf_leader_get_x2 | ( | DxfLeader * | leader | ) |
Get the X-value of the Block reference insertion point offset from the last leader vertex x2
of a DXF LEADER
entity.
x2
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3456 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p2, and dxf_point_struct::x0.
Set the X-value of the Block reference insertion point offset from the last leader vertex x2
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
x2 | the X-value of the Block reference insertion point offset from the last leader vertex x2 of a DXF LEADER entity. |
Definition at line 3496 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p2, and dxf_point_struct::x0.
double dxf_leader_get_y2 | ( | DxfLeader * | leader | ) |
Get the Y-value of the Block reference insertion point offset from the last leader vertex y2
of a DXF LEADER
entity.
y2
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3540 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p2, and dxf_point_struct::y0.
Set the Y-value of the Block reference insertion point offset from the last leader vertex y2
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
y2 | the Y-value of the Block reference insertion point offset from the last leader vertex y2 of a DXF LEADER entity. |
Definition at line 3580 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p2, and dxf_point_struct::y0.
double dxf_leader_get_z2 | ( | DxfLeader * | leader | ) |
Get the Z-value of the Block reference insertion point offset from the last leader vertex z2
of a DXF LEADER
entity.
z2
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3624 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p2, and dxf_point_struct::z0.
Set the Z-value of the Block reference insertion point offset from the last leader vertex z2
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
z2 | the Z-value of the Block reference insertion point offset from the last leader vertex z2 of a DXF LEADER entity. |
Definition at line 3664 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p2, and dxf_point_struct::z0.
Get the Annotation placement point offset from last leader vertex p3
of a DXF LEADER
entity.
p3
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3707 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p3.
Set the Annotation placement point offset from last leader vertex p2
of a DXF LEADER
entity.
LEADER
entity. leader | a pointer to a DXF ARC entity. |
p3 | a pointer to a DXF POINT entity. |
Definition at line 3745 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::p3.
double dxf_leader_get_x3 | ( | DxfLeader * | leader | ) |
Get the X-value of the Annotation placement point offset from the last leader vertex x3
of a DXF LEADER
entity.
x3
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3787 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p3, and dxf_point_struct::x0.
Set the X-value of the Annotation placement point offset from the last leader vertex x3
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
x3 | the X-value of the Annotation placement point offset from the last leader vertex x3 of a DXF LEADER entity. |
Definition at line 3827 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p3, and dxf_point_struct::x0.
double dxf_leader_get_y3 | ( | DxfLeader * | leader | ) |
Get the Y-value of the Annotation placement point offset from the last leader vertex y3
of a DXF LEADER
entity.
y3
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3871 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p3, and dxf_point_struct::y0.
Set the Y-value of the Annotation placement point offset from the last leader vertex y3
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
y3 | the Y-value of the Annotation placement point offset from the last leader vertex y3 of a DXF LEADER entity. |
Definition at line 3911 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p3, and dxf_point_struct::y0.
double dxf_leader_get_z3 | ( | DxfLeader * | leader | ) |
Get the Z-value of the Annotation placement point offset from the last leader vertex z3
of a DXF LEADER
entity.
z3
. leader | a pointer to a DXF LEADER entity. |
Definition at line 3955 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p3, and dxf_point_struct::z0.
Set the Z-value of the Annotation placement point offset from the last leader vertex z3
of a DXF LEADER
entity.
leader
when successful, or NULL
when an error occurred. leader | a pointer to a DXF LEADER entity. |
z3 | the Z-value of the Annotation placement point offset from the last leader vertex z3 of a DXF LEADER entity. |
Definition at line 3995 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_leader_struct::p3, and dxf_point_struct::z0.
char* dxf_leader_get_annotation_reference_hard | ( | DxfLeader * | leader | ) |
Get the annotation_reference_hard
from a DXF LEADER
entity.
annotation_reference_hard
.leader | a pointer to a DXF LEADER entity. |
Definition at line 4040 of file leader.c.
References _, dxf_leader_struct::annotation_reference_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfLeader* dxf_leader_set_annotation_reference_hard | ( | DxfLeader * | leader, |
char * | annotation_reference_hard | ||
) |
Set the pointer to the annotation_reference_hard
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
annotation_reference_hard | a string containing the pointer to the annotation_reference_hard for the entity. |
Definition at line 4076 of file leader.c.
References _, dxf_leader_struct::annotation_reference_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Get the pointer to the next LEADER
entity from a DXF LEADER
entity.
LEADER
entity.leader | a pointer to a DXF LEADER entity. |
Definition at line 4120 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::next.
Set the pointer to the next LEADER
for a DXF LEADER
entity.
leader | a pointer to a DXF LEADER entity. |
next | a pointer to the next LEADER for the entity. |
Definition at line 4156 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::next.
Get the pointer to the last LEADER
entity from a linked list of DXF LEADER
entities.
LEADER
entity.leader | a pointer to a DXF LEADER entity. |
Definition at line 4199 of file leader.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_leader_struct::next.