libDXF 0.0.1
A library with DXF related functions written in C.
|
Functions for a DXF ole2frame entity (OLE2FRAME
).
More...
#include "ole2frame.h"
Go to the source code of this file.
Functions | |
DxfOle2Frame * | dxf_ole2frame_new () |
Allocate memory for a DxfOle2Frame . | |
DxfOle2Frame * | dxf_ole2frame_init (DxfOle2Frame *ole2frame) |
Allocate memory and initialize data fields in a OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_read (DxfFile *fp, DxfOle2Frame *ole2frame) |
Read data from a DXF file into a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_write (DxfFile *fp, DxfOle2Frame *ole2frame) |
Write DXF output to a file for a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_free (DxfOle2Frame *ole2frame) |
Free the allocated memory for a DXF OLE2FRAME and all it's data fields. | |
void | dxf_ole2frame_free_chain (DxfOle2Frame *ole2frames) |
Free the allocated memory for a chain of DXF OLE2FRAME entities and all their data fields. | |
int | dxf_ole2frame_get_id_code (DxfOle2Frame *ole2frame) |
Get the id_code from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_id_code (DxfOle2Frame *ole2frame, int id_code) |
Set the id_code for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_linetype (DxfOle2Frame *ole2frame) |
Get the linetype from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_linetype (DxfOle2Frame *ole2frame, char *linetype) |
Set the linetype for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_layer (DxfOle2Frame *ole2frame) |
Get the layer from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_layer (DxfOle2Frame *ole2frame, char *layer) |
Set the layer for a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_elevation (DxfOle2Frame *ole2frame) |
Get the elevation from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_elevation (DxfOle2Frame *ole2frame, double elevation) |
Set the elevation for a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_thickness (DxfOle2Frame *ole2frame) |
Get the thickness from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_thickness (DxfOle2Frame *ole2frame, double thickness) |
Set the thickness for a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_linetype_scale (DxfOle2Frame *ole2frame) |
Get the linetype_scale from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_linetype_scale (DxfOle2Frame *ole2frame, double linetype_scale) |
Set the linetype scale for a DXF OLE2FRAME entity. | |
int16_t | dxf_ole2frame_get_visibility (DxfOle2Frame *ole2frame) |
Get the visibility from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_visibility (DxfOle2Frame *ole2frame, int16_t visibility) |
Set the visibility for a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_get_color (DxfOle2Frame *ole2frame) |
Get the color from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_color (DxfOle2Frame *ole2frame, int color) |
Set the color for a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_get_paperspace (DxfOle2Frame *ole2frame) |
Get the paperspace flag value from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_paperspace (DxfOle2Frame *ole2frame, int paperspace) |
Set the paperspace flag for a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_get_graphics_data_size (DxfOle2Frame *ole2frame) |
Get the graphics_data_size value from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_graphics_data_size (DxfOle2Frame *ole2frame, int graphics_data_size) |
Set the graphics_data_size value for a DXF OLE2FRAME entity. | |
int16_t | dxf_ole2frame_get_shadow_mode (DxfOle2Frame *ole2frame) |
Get the shadow_mode from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_shadow_mode (DxfOle2Frame *ole2frame, int16_t shadow_mode) |
Set the shadow_mode for a DXF OLE2FRAME entity. | |
DxfBinaryGraphicsData * | dxf_ole2frame_get_binary_graphics_data (DxfOle2Frame *ole2frame) |
Get the pointer to the binary_graphics_data from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_binary_graphics_data (DxfOle2Frame *ole2frame, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_dictionary_owner_soft (DxfOle2Frame *ole2frame) |
Get the soft pointer to the dictionary owner from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_dictionary_owner_soft (DxfOle2Frame *ole2frame, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_material (DxfOle2Frame *ole2frame) |
Get the pointer to the material from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_material (DxfOle2Frame *ole2frame, char *material) |
Set the pointer to the material for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_dictionary_owner_hard (DxfOle2Frame *ole2frame) |
Get the hard pointer to the dictionary owner from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_dictionary_owner_hard (DxfOle2Frame *ole2frame, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF OLE2FRAME entity. | |
int16_t | dxf_ole2frame_get_lineweight (DxfOle2Frame *ole2frame) |
Get the lineweight from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_lineweight (DxfOle2Frame *ole2frame, int16_t lineweight) |
Set the lineweight for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_plot_style_name (DxfOle2Frame *ole2frame) |
Get the plot_style_name from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_plot_style_name (DxfOle2Frame *ole2frame, char *plot_style_name) |
Set the plot_style_name for a DXF OLE2FRAME entity. | |
long | dxf_ole2frame_get_color_value (DxfOle2Frame *ole2frame) |
Get the color_value from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_color_value (DxfOle2Frame *ole2frame, long color_value) |
Set the color_value for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_color_name (DxfOle2Frame *ole2frame) |
Get the color_name from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_color_name (DxfOle2Frame *ole2frame, char *color_name) |
Set the color_name for a DXF OLE2FRAME entity. | |
long | dxf_ole2frame_get_transparency (DxfOle2Frame *ole2frame) |
Get the transparency from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_transparency (DxfOle2Frame *ole2frame, long transparency) |
Set the transparency for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_end_of_data (DxfOle2Frame *ole2frame) |
Get the end_of_data from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_end_of_data (DxfOle2Frame *ole2frame, char *end_of_data) |
Set the end_of_data for a DXF OLE2FRAME entity. | |
char * | dxf_ole2frame_get_length_of_binary_data (DxfOle2Frame *ole2frame) |
Get the length_of_binary_data from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_length_of_binary_data (DxfOle2Frame *ole2frame, char *length_of_binary_data) |
Set the length_of_binary_data for a DXF OLE2FRAME entity. | |
DxfPoint * | dxf_ole2frame_get_p0 (DxfOle2Frame *ole2frame) |
Get the insertion point p0 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_p0 (DxfOle2Frame *ole2frame, DxfPoint *p0) |
Set the insertion point p0 of a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_x0 (DxfOle2Frame *ole2frame) |
Get the X-value of the insertion point x0 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_x0 (DxfOle2Frame *ole2frame, double x0) |
Set the X-value of the insertion point x0 of a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_y0 (DxfOle2Frame *ole2frame) |
Get the Y-value of the insertion point y0 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_y0 (DxfOle2Frame *ole2frame, double y0) |
Set the Y-value of the insertion point y0 of a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_z0 (DxfOle2Frame *ole2frame) |
Get the Z-value of the insertion point z0 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_z0 (DxfOle2Frame *ole2frame, double z0) |
Set the Z-value of the insertion point z0 of a DXF OLE2FRAME entity. | |
DxfPoint * | dxf_ole2frame_get_p1 (DxfOle2Frame *ole2frame) |
Get the direction vector p1 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_p1 (DxfOle2Frame *ole2frame, DxfPoint *p1) |
Set the direction vector p1 of a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_x1 (DxfOle2Frame *ole2frame) |
Get the X-value of the direction vector x1 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_x1 (DxfOle2Frame *ole2frame, double x1) |
Set the X-value of the direction vector x1 of a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_y1 (DxfOle2Frame *ole2frame) |
Get the Y-value of the direction vector y1 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_y1 (DxfOle2Frame *ole2frame, double y1) |
Set the Y-value of the direction vector y1 of a DXF OLE2FRAME entity. | |
double | dxf_ole2frame_get_z1 (DxfOle2Frame *ole2frame) |
Get the Z-value of the direction vector z1 of a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_z1 (DxfOle2Frame *ole2frame, double z1) |
Set the Z-value of the direction vector z1 of a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_get_ole_version_number (DxfOle2Frame *ole2frame) |
Get the ole_version_number from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_ole_version_number (DxfOle2Frame *ole2frame, int ole_version_number) |
Set the ole_version_number for a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_get_ole_object_type (DxfOle2Frame *ole2frame) |
Get the ole_object_type from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_ole_object_type (DxfOle2Frame *ole2frame, int ole_object_type) |
Set the ole_object_type for a DXF OLE2FRAME entity. | |
int | dxf_ole2frame_get_tilemode_descriptor (DxfOle2Frame *ole2frame) |
Get the tilemode_descriptor from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_tilemode_descriptor (DxfOle2Frame *ole2frame, int tilemode_descriptor) |
Set the tilemode_descriptor for a DXF OLE2FRAME entity. | |
long | dxf_ole2frame_get_length (DxfOle2Frame *ole2frame) |
Get the length from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_length (DxfOle2Frame *ole2frame, long length) |
Set the length for a DXF OLE2FRAME entity. | |
DxfChar * | dxf_ole2frame_get_binary_data (DxfOle2Frame *ole2frame) |
Get the binary_data from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_binary_data (DxfOle2Frame *ole2frame, DxfChar *binary_data) |
Set the binary_data for a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_get_next (DxfOle2Frame *ole2frame) |
Get the pointer to the next OLE2FRAME entity from a DXF OLE2FRAME entity. | |
DxfOle2Frame * | dxf_ole2frame_set_next (DxfOle2Frame *ole2frame, DxfOle2Frame *next) |
Set the pointer to the next OLE2FRAME for a DXF ARC entity. | |
DxfOle2Frame * | dxf_ole2frame_get_last (DxfOle2Frame *ole2frame) |
Get the pointer to the last OLE2FRAME entity from a linked list of DXF OLE2FRAME entities. |
Functions for a DXF ole2frame entity (OLE2FRAME
).
OLE2FRAME
entity was introduced in DXF R14.
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 ole2frame.c.
DxfOle2Frame* dxf_ole2frame_new | ( | ) |
Allocate memory for a DxfOle2Frame
.
Fill the memory contents with zeros.
Definition at line 52 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ole2frame_init(), and dxf_ole2frame_read().
DxfOle2Frame* dxf_ole2frame_init | ( | DxfOle2Frame * | ole2frame | ) |
Allocate memory and initialize data fields in a OLE2FRAME
entity.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. ole2frame | a pointer to the DXF OLEFRAME entity. |
Definition at line 90 of file ole2frame.c.
References _, dxf_ole2frame_struct::binary_data, dxf_ole2frame_struct::color, dxf_ole2frame_struct::dictionary_owner_hard, dxf_ole2frame_struct::dictionary_owner_soft, dxf_char_init(), dxf_char_new(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_VISIBILITY, DXF_MODELSPACE, dxf_ole2frame_get_p0(), dxf_ole2frame_get_p1(), dxf_ole2frame_new(), dxf_ole2frame_set_p0(), dxf_ole2frame_set_p1(), dxf_point_init(), dxf_point_new(), dxf_ole2frame_struct::elevation, dxf_ole2frame_struct::end_of_data, dxf_ole2frame_struct::id_code, dxf_ole2frame_struct::layer, dxf_char_struct::length, dxf_ole2frame_struct::length, dxf_ole2frame_struct::length_of_binary_data, dxf_ole2frame_struct::linetype, dxf_ole2frame_struct::linetype_scale, dxf_ole2frame_struct::next, dxf_char_struct::next, dxf_ole2frame_struct::ole_object_type, dxf_ole2frame_struct::ole_version_number, dxf_ole2frame_struct::p0, dxf_ole2frame_struct::p1, dxf_ole2frame_struct::paperspace, dxf_ole2frame_struct::thickness, dxf_ole2frame_struct::tilemode_descriptor, dxf_char_struct::value, dxf_ole2frame_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
Referenced by dxf_ole2frame_read().
DxfOle2Frame* dxf_ole2frame_read | ( | DxfFile * | fp, |
DxfOle2Frame * | ole2frame | ||
) |
Read data from a DXF file into a DXF OLE2FRAME
entity.
The last line read from file contained the string "OLE2FRAME".
Now follows some data for the OLE2FRAME
, 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 ole2frame
.
ole2frame
. fp | DXF file pointer to an input file (or device). |
ole2frame | a pointer to the DXF OLE2FRAME entity. |
Definition at line 166 of file ole2frame.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_13, dxf_ole2frame_struct::binary_data, dxf_ole2frame_struct::color, dxf_ole2frame_struct::dictionary_owner_hard, dxf_ole2frame_struct::dictionary_owner_soft, dxf_char_init(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_ole2frame_init(), dxf_ole2frame_new(), dxf_ole2frame_struct::elevation, dxf_file_struct::filename, dxf_file_struct::fp, dxf_ole2frame_struct::id_code, dxf_ole2frame_struct::layer, dxf_ole2frame_struct::length, dxf_ole2frame_struct::length_of_binary_data, dxf_file_struct::line_number, dxf_ole2frame_struct::linetype, dxf_ole2frame_struct::linetype_scale, dxf_char_struct::next, dxf_ole2frame_struct::ole_object_type, dxf_ole2frame_struct::ole_version_number, dxf_ole2frame_struct::p0, dxf_ole2frame_struct::p1, dxf_ole2frame_struct::paperspace, dxf_ole2frame_struct::thickness, dxf_ole2frame_struct::tilemode_descriptor, dxf_char_struct::value, dxf_ole2frame_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
int dxf_ole2frame_write | ( | DxfFile * | fp, |
DxfOle2Frame * | ole2frame | ||
) |
Write DXF output to a file for a DXF OLE2FRAME
entity.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred while reading from the input file. fp | DXF file pointer to an output file (or device). |
ole2frame | a pointer to the DXF OLE2FRAME entity. |
Definition at line 442 of file ole2frame.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_13, AutoCAD_14, dxf_ole2frame_struct::binary_data, dxf_ole2frame_struct::color, dxf_ole2frame_struct::dictionary_owner_hard, dxf_ole2frame_struct::dictionary_owner_soft, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_PAPERSPACE, dxf_ole2frame_struct::elevation, dxf_file_struct::fp, dxf_ole2frame_struct::id_code, dxf_ole2frame_struct::layer, dxf_ole2frame_struct::length, dxf_ole2frame_struct::length_of_binary_data, dxf_ole2frame_struct::linetype, dxf_ole2frame_struct::linetype_scale, dxf_char_struct::next, dxf_ole2frame_struct::ole_object_type, dxf_ole2frame_struct::ole_version_number, dxf_ole2frame_struct::p0, dxf_ole2frame_struct::p1, dxf_ole2frame_struct::paperspace, dxf_ole2frame_struct::thickness, dxf_ole2frame_struct::tilemode_descriptor, dxf_char_struct::value, dxf_ole2frame_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
int dxf_ole2frame_free | ( | DxfOle2Frame * | ole2frame | ) |
Free the allocated memory for a DXF OLE2FRAME
and all it's data fields.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to the memory occupied by the DXF OLE2FRAME entity. |
Definition at line 612 of file ole2frame.c.
References _, dxf_ole2frame_struct::binary_data, dxf_ole2frame_struct::dictionary_owner_hard, dxf_ole2frame_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::end_of_data, dxf_ole2frame_struct::layer, dxf_ole2frame_struct::length_of_binary_data, dxf_ole2frame_struct::linetype, dxf_ole2frame_struct::next, and dxf_char_struct::value.
Referenced by dxf_ole2frame_free_chain().
void dxf_ole2frame_free_chain | ( | DxfOle2Frame * | ole2frames | ) |
Free the allocated memory for a chain of DXF OLE2FRAME
entities and all their data fields.
ole2frames | a pointer to the chain of DXF OLE2FRAME entities. |
Definition at line 661 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_free(), and dxf_ole2frame_struct::next.
int dxf_ole2frame_get_id_code | ( | DxfOle2Frame * | ole2frame | ) |
Get the id_code
from a DXF OLE2FRAME
entity.
id_code
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 694 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::id_code.
DxfOle2Frame* dxf_ole2frame_set_id_code | ( | DxfOle2Frame * | ole2frame, |
int | id_code | ||
) |
Set the id_code
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 729 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::id_code.
char* dxf_ole2frame_get_linetype | ( | DxfOle2Frame * | ole2frame | ) |
Get the linetype
from a DXF OLE2FRAME
entity.
linetype
when sucessful, NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 771 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::linetype.
DxfOle2Frame* dxf_ole2frame_set_linetype | ( | DxfOle2Frame * | ole2frame, |
char * | linetype | ||
) |
Set the linetype for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF ARC entity. |
linetype | a string containing the linetype for the entity. |
Definition at line 806 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::linetype.
char* dxf_ole2frame_get_layer | ( | DxfOle2Frame * | ole2frame | ) |
Get the layer from a DXF OLE2FRAME
entity.
NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 846 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::layer.
DxfOle2Frame* dxf_ole2frame_set_layer | ( | DxfOle2Frame * | ole2frame, |
char * | layer | ||
) |
Set the layer for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
layer | a string containing the layer for the entity. |
Definition at line 881 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::layer.
double dxf_ole2frame_get_elevation | ( | DxfOle2Frame * | ole2frame | ) |
Get the elevation
from a DXF OLE2FRAME
entity.
elevation
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 921 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::elevation.
DxfOle2Frame* dxf_ole2frame_set_elevation | ( | DxfOle2Frame * | ole2frame, |
double | elevation | ||
) |
Set the elevation
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
elevation | the elevation to be set for the entity. |
Definition at line 949 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::elevation.
double dxf_ole2frame_get_thickness | ( | DxfOle2Frame * | ole2frame | ) |
Get the thickness
from a DXF OLE2FRAME
entity.
thickness
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 982 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::thickness.
DxfOle2Frame* dxf_ole2frame_set_thickness | ( | DxfOle2Frame * | ole2frame, |
double | thickness | ||
) |
Set the thickness
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
thickness | the thickness to be set for the entity. |
Definition at line 1016 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::thickness.
double dxf_ole2frame_get_linetype_scale | ( | DxfOle2Frame * | ole2frame | ) |
Get the linetype_scale
from a DXF OLE2FRAME
entity.
linetype_scale
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1056 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::linetype_scale.
DxfOle2Frame* dxf_ole2frame_set_linetype_scale | ( | DxfOle2Frame * | ole2frame, |
double | linetype_scale | ||
) |
Set the linetype scale for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
linetype_scale | the linetype scale to be set for the entity. |
Definition at line 1090 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::linetype_scale.
int16_t dxf_ole2frame_get_visibility | ( | DxfOle2Frame * | ole2frame | ) |
Get the visibility from a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1129 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::visibility.
DxfOle2Frame* dxf_ole2frame_set_visibility | ( | DxfOle2Frame * | ole2frame, |
int16_t | visibility | ||
) |
Set the visibility for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
visibility | the visibility to be set for the entity. |
Definition at line 1169 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::visibility.
int dxf_ole2frame_get_color | ( | DxfOle2Frame * | ole2frame | ) |
Get the color
from a DXF OLE2FRAME
entity.
color
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1214 of file ole2frame.c.
References _, dxf_ole2frame_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_color | ( | DxfOle2Frame * | ole2frame, |
int | color | ||
) |
Set the color for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
color | the color to be set for the entity. |
Definition at line 1248 of file ole2frame.c.
References _, dxf_ole2frame_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
int dxf_ole2frame_get_paperspace | ( | DxfOle2Frame * | ole2frame | ) |
Get the paperspace
flag value from a DXF OLE2FRAME
entity.
paperspace
flag value. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1287 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::paperspace.
DxfOle2Frame* dxf_ole2frame_set_paperspace | ( | DxfOle2Frame * | ole2frame, |
int | paperspace | ||
) |
Set the paperspace
flag for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1327 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::paperspace.
int dxf_ole2frame_get_graphics_data_size | ( | DxfOle2Frame * | ole2frame | ) |
Get the graphics_data_size
value from a DXF OLE2FRAME
entity.
graphics_data_size
value when successful, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1374 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::graphics_data_size.
DxfOle2Frame* dxf_ole2frame_set_graphics_data_size | ( | DxfOle2Frame * | ole2frame, |
int | graphics_data_size | ||
) |
Set the graphics_data_size
value for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1418 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::graphics_data_size.
int16_t dxf_ole2frame_get_shadow_mode | ( | DxfOle2Frame * | ole2frame | ) |
Get the shadow_mode
from a DXF OLE2FRAME
entity.
shadow_mode
when successful, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1466 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::shadow_mode.
DxfOle2Frame* dxf_ole2frame_set_shadow_mode | ( | DxfOle2Frame * | ole2frame, |
int16_t | shadow_mode | ||
) |
Set the shadow_mode
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
shadow_mode | the shadow mode to be set for the entity. |
Definition at line 1509 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::shadow_mode.
DxfBinaryGraphicsData* dxf_ole2frame_get_binary_graphics_data | ( | DxfOle2Frame * | ole2frame | ) |
Get the pointer to the binary_graphics_data
from a DXF OLE2FRAME
entity.
binary_graphics_data
.ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1557 of file ole2frame.c.
References _, dxf_ole2frame_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_binary_graphics_data | ( | DxfOle2Frame * | ole2frame, |
DxfBinaryGraphicsData * | data | ||
) |
Set the pointer to the binary_graphics_data
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 1593 of file ole2frame.c.
References _, dxf_ole2frame_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
char* dxf_ole2frame_get_dictionary_owner_soft | ( | DxfOle2Frame * | ole2frame | ) |
Get the soft pointer to the dictionary owner from a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1637 of file ole2frame.c.
References _, dxf_ole2frame_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_dictionary_owner_soft | ( | DxfOle2Frame * | ole2frame, |
char * | dictionary_owner_soft | ||
) |
Set the pointer to the dictionary_owner_soft for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1673 of file ole2frame.c.
References _, dxf_ole2frame_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
char* dxf_ole2frame_get_material | ( | DxfOle2Frame * | ole2frame | ) |
Get the pointer to the material
from a DXF OLE2FRAME
entity.
material
when successful, or NULL
when an error occurred.ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1718 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::material.
DxfOle2Frame* dxf_ole2frame_set_material | ( | DxfOle2Frame * | ole2frame, |
char * | material | ||
) |
Set the pointer to the material
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
material | a string containing the pointer to the material for the entity. |
Definition at line 1757 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::material.
char* dxf_ole2frame_get_dictionary_owner_hard | ( | DxfOle2Frame * | ole2frame | ) |
Get the hard pointer to the dictionary owner from a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1801 of file ole2frame.c.
References _, dxf_ole2frame_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_dictionary_owner_hard | ( | DxfOle2Frame * | ole2frame, |
char * | dictionary_owner_hard | ||
) |
Set the pointer to the dictionary_owner_hard for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 1837 of file ole2frame.c.
References _, dxf_ole2frame_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
int16_t dxf_ole2frame_get_lineweight | ( | DxfOle2Frame * | ole2frame | ) |
Get the lineweight
from a DXF OLE2FRAME
entity.
lineweight
when successful, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1879 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::lineweight.
DxfOle2Frame* dxf_ole2frame_set_lineweight | ( | DxfOle2Frame * | ole2frame, |
int16_t | lineweight | ||
) |
Set the lineweight
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
lineweight | the lineweight to be set for the entity. |
Definition at line 1910 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::lineweight.
char* dxf_ole2frame_get_plot_style_name | ( | DxfOle2Frame * | ole2frame | ) |
Get the plot_style_name
from a DXF OLE2FRAME
entity.
plot_style_name
when sucessful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 1944 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::plot_style_name.
DxfOle2Frame* dxf_ole2frame_set_plot_style_name | ( | DxfOle2Frame * | ole2frame, |
char * | plot_style_name | ||
) |
Set the plot_style_name
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 1982 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::plot_style_name.
long dxf_ole2frame_get_color_value | ( | DxfOle2Frame * | ole2frame | ) |
Get the color_value
from a DXF OLE2FRAME
entity.
color_value
when successful, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2024 of file ole2frame.c.
References _, dxf_ole2frame_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_color_value | ( | DxfOle2Frame * | ole2frame, |
long | color_value | ||
) |
Set the color_value
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
color_value | the color_value to be set for the entity. |
Definition at line 2055 of file ole2frame.c.
References _, dxf_ole2frame_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
char* dxf_ole2frame_get_color_name | ( | DxfOle2Frame * | ole2frame | ) |
Get the color_name
from a DXF OLE2FRAME
entity.
color_name
when sucessful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2089 of file ole2frame.c.
References _, dxf_ole2frame_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_color_name | ( | DxfOle2Frame * | ole2frame, |
char * | color_name | ||
) |
Set the color_name
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
color_name | a string containing the color_name for the entity. |
Definition at line 2127 of file ole2frame.c.
References _, dxf_ole2frame_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
long dxf_ole2frame_get_transparency | ( | DxfOle2Frame * | ole2frame | ) |
Get the transparency
from a DXF OLE2FRAME
entity.
transparency
when successful, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2169 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::transparency.
DxfOle2Frame* dxf_ole2frame_set_transparency | ( | DxfOle2Frame * | ole2frame, |
long | transparency | ||
) |
Set the transparency
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
transparency | the transparency to be set for the entity. |
Definition at line 2200 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::transparency.
char* dxf_ole2frame_get_end_of_data | ( | DxfOle2Frame * | ole2frame | ) |
Get the end_of_data
from a DXF OLE2FRAME
entity.
end_of_data
when sucessful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2234 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::end_of_data.
DxfOle2Frame* dxf_ole2frame_set_end_of_data | ( | DxfOle2Frame * | ole2frame, |
char * | end_of_data | ||
) |
Set the end_of_data
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
end_of_data | a string containing the end_of_data for the entity. |
Definition at line 2272 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::end_of_data.
char* dxf_ole2frame_get_length_of_binary_data | ( | DxfOle2Frame * | ole2frame | ) |
Get the length_of_binary_data
from a DXF OLE2FRAME
entity.
length_of_binary_data
when sucessful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2314 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::length_of_binary_data.
DxfOle2Frame* dxf_ole2frame_set_length_of_binary_data | ( | DxfOle2Frame * | ole2frame, |
char * | length_of_binary_data | ||
) |
Set the length_of_binary_data
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
length_of_binary_data | a string containing the length_of_binary_data for the entity. |
Definition at line 2352 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::length_of_binary_data.
DxfPoint* dxf_ole2frame_get_p0 | ( | DxfOle2Frame * | ole2frame | ) |
Get the insertion point p0
of a DXF OLE2FRAME
entity.
p0
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2393 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::p0.
Referenced by dxf_ole2frame_init().
DxfOle2Frame* dxf_ole2frame_set_p0 | ( | DxfOle2Frame * | ole2frame, |
DxfPoint * | p0 | ||
) |
Set the insertion point p0
of a DXF OLE2FRAME
entity.
OLE2FRAME
entity. ole2frame | a pointer to a DXF OLE2FRAME entity. |
p0 | a pointer to a DXF POINT entity. |
Definition at line 2430 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::p0.
Referenced by dxf_ole2frame_init().
double dxf_ole2frame_get_x0 | ( | DxfOle2Frame * | ole2frame | ) |
Get the X-value of the insertion point x0
of a DXF OLE2FRAME
entity.
x0
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2471 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p0, and dxf_point_struct::x0.
DxfOle2Frame* dxf_ole2frame_set_x0 | ( | DxfOle2Frame * | ole2frame, |
double | x0 | ||
) |
Set the X-value of the insertion point x0
of a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
x0 | the X-value of the insertion point x0 of a DXF OLE2FRAME entity. |
Definition at line 2511 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p0, and dxf_point_struct::x0.
double dxf_ole2frame_get_y0 | ( | DxfOle2Frame * | ole2frame | ) |
Get the Y-value of the insertion point y0
of a DXF OLE2FRAME
entity.
y0
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2553 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p0, and dxf_point_struct::y0.
DxfOle2Frame* dxf_ole2frame_set_y0 | ( | DxfOle2Frame * | ole2frame, |
double | y0 | ||
) |
Set the Y-value of the insertion point y0
of a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
y0 | the Y-value of the insertion point y0 of a DXF OLE2FRAME entity. |
Definition at line 2593 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p0, and dxf_point_struct::y0.
double dxf_ole2frame_get_z0 | ( | DxfOle2Frame * | ole2frame | ) |
Get the Z-value of the insertion point z0
of a DXF OLE2FRAME
entity.
z0
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2635 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p0, and dxf_point_struct::z0.
DxfOle2Frame* dxf_ole2frame_set_z0 | ( | DxfOle2Frame * | ole2frame, |
double | z0 | ||
) |
Set the Z-value of the insertion point z0
of a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
z0 | the Z-value of the insertion point z0 of a DXF OLE2FRAME entity. |
Definition at line 2675 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p0, and dxf_point_struct::z0.
DxfPoint* dxf_ole2frame_get_p1 | ( | DxfOle2Frame * | ole2frame | ) |
Get the direction vector p1
of a DXF OLE2FRAME
entity.
p1
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2716 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::p1.
Referenced by dxf_ole2frame_init().
DxfOle2Frame* dxf_ole2frame_set_p1 | ( | DxfOle2Frame * | ole2frame, |
DxfPoint * | p1 | ||
) |
Set the direction vector p1
of a DXF OLE2FRAME
entity.
OLE2FRAME
entity. ole2frame | a pointer to a DXF OLE2FRAME entity. |
p1 | a pointer to a DXF POINT entity. |
Definition at line 2753 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::p1.
Referenced by dxf_ole2frame_init().
double dxf_ole2frame_get_x1 | ( | DxfOle2Frame * | ole2frame | ) |
Get the X-value of the direction vector x1
of a DXF OLE2FRAME
entity.
x1
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2794 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p1, and dxf_point_struct::x0.
DxfOle2Frame* dxf_ole2frame_set_x1 | ( | DxfOle2Frame * | ole2frame, |
double | x1 | ||
) |
Set the X-value of the direction vector x1
of a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
x1 | the X-value of the direction vector x1 of a DXF OLE2FRAME entity. |
Definition at line 2834 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p1, and dxf_point_struct::x0.
double dxf_ole2frame_get_y1 | ( | DxfOle2Frame * | ole2frame | ) |
Get the Y-value of the direction vector y1
of a DXF OLE2FRAME
entity.
y1
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2876 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p1, and dxf_point_struct::y0.
DxfOle2Frame* dxf_ole2frame_set_y1 | ( | DxfOle2Frame * | ole2frame, |
double | y1 | ||
) |
Set the Y-value of the direction vector y1
of a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
y1 | the Y-value of the direction vector y1 of a DXF OLE2FRAME entity. |
Definition at line 2916 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p1, and dxf_point_struct::y0.
double dxf_ole2frame_get_z1 | ( | DxfOle2Frame * | ole2frame | ) |
Get the Z-value of the direction vector z1
of a DXF OLE2FRAME
entity.
z1
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 2958 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p1, and dxf_point_struct::z0.
DxfOle2Frame* dxf_ole2frame_set_z1 | ( | DxfOle2Frame * | ole2frame, |
double | z1 | ||
) |
Set the Z-value of the direction vector z1
of a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
z1 | the Z-value of the direction vector z1 of a DXF OLE2FRAME entity. |
Definition at line 2998 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ole2frame_struct::p1, and dxf_point_struct::z0.
int dxf_ole2frame_get_ole_version_number | ( | DxfOle2Frame * | ole2frame | ) |
Get the ole_version_number
from a DXF OLE2FRAME
entity.
ole_version_number
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3039 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::ole_version_number.
DxfOle2Frame* dxf_ole2frame_set_ole_version_number | ( | DxfOle2Frame * | ole2frame, |
int | ole_version_number | ||
) |
Set the ole_version_number
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
ole_version_number | ole_version_number for the entity. |
Definition at line 3073 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::ole_version_number.
int dxf_ole2frame_get_ole_object_type | ( | DxfOle2Frame * | ole2frame | ) |
Get the ole_object_type
from a DXF OLE2FRAME
entity.
ole_object_type
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3112 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::ole_object_type.
DxfOle2Frame* dxf_ole2frame_set_ole_object_type | ( | DxfOle2Frame * | ole2frame, |
int | ole_object_type | ||
) |
Set the ole_object_type
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
ole_object_type | ole_object_type for the entity. |
Definition at line 3152 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::ole_object_type.
int dxf_ole2frame_get_tilemode_descriptor | ( | DxfOle2Frame * | ole2frame | ) |
Get the tilemode_descriptor
from a DXF OLE2FRAME
entity.
tilemode_descriptor
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3197 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::tilemode_descriptor.
DxfOle2Frame* dxf_ole2frame_set_tilemode_descriptor | ( | DxfOle2Frame * | ole2frame, |
int | tilemode_descriptor | ||
) |
Set the tilemode_descriptor
for a DXF OLE2FRAME
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
tilemode_descriptor | tilemode_descriptor for the entity. |
Definition at line 3237 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::tilemode_descriptor.
long dxf_ole2frame_get_length | ( | DxfOle2Frame * | ole2frame | ) |
Get the length
from a DXF OLE2FRAME
entity.
length
when successful, or EXIT_FAILURE
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3283 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::length.
DxfOle2Frame* dxf_ole2frame_set_length | ( | DxfOle2Frame * | ole2frame, |
long | length | ||
) |
Set the length
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred. ole2frame | a pointer to a DXF OLE2FRAME entity. |
length | the length to be set for the entity. |
Definition at line 3314 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::length.
DxfChar* dxf_ole2frame_get_binary_data | ( | DxfOle2Frame * | ole2frame | ) |
Get the binary_data
from a DXF OLE2FRAME
entity.
binary_data
when sucessful, or NULL
when an error occurred.binary_data
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3350 of file ole2frame.c.
References _, dxf_ole2frame_struct::binary_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_set_binary_data | ( | DxfOle2Frame * | ole2frame, |
DxfChar * | binary_data | ||
) |
Set the binary_data
for a DXF OLE2FRAME
entity.
ole2frame
when successful, or NULL
when an error occurred.binary_data
. ole2frame | a pointer to a DXF OLE2FRAME entity. |
binary_data | a string containing the binary_data for the entity. |
Definition at line 3390 of file ole2frame.c.
References _, dxf_ole2frame_struct::binary_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfOle2Frame* dxf_ole2frame_get_next | ( | DxfOle2Frame * | ole2frame | ) |
Get the pointer to the next OLE2FRAME
entity from a DXF OLE2FRAME
entity.
OLE2FRAME
entity.ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3434 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::next.
DxfOle2Frame* dxf_ole2frame_set_next | ( | DxfOle2Frame * | ole2frame, |
DxfOle2Frame * | next | ||
) |
Set the pointer to the next OLE2FRAME
for a DXF ARC
entity.
ole2frame | a pointer to a DXF OLE2FRAME entity. |
next | a pointer to the next OLE2FRAME for the entity. |
Definition at line 3470 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::next.
DxfOle2Frame* dxf_ole2frame_get_last | ( | DxfOle2Frame * | ole2frame | ) |
Get the pointer to the last OLE2FRAME
entity from a linked list of DXF OLE2FRAME
entities.
OLE2FRAME
entity.ole2frame | a pointer to a DXF OLE2FRAME entity. |
Definition at line 3513 of file ole2frame.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ole2frame_struct::next.