libDXF 0.0.1
A library with DXF related functions written in C.
Data Structures | Typedefs | Functions

ole2frame.h File Reference

Header file for a DXF ole2frame entity (OLE2FRAME). More...

#include "global.h"
#include "util.h"
#include "point.h"
#include "binary_graphics_data.h"
Include dependency graph for ole2frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dxf_ole2frame_struct
 DXF definition of an AutoCAD ole2frame entity (OLE2FRAME). More...

Typedefs

typedef struct dxf_ole2frame_struct DxfOle2Frame
 DXF definition of an AutoCAD ole2frame entity (OLE2FRAME).

Functions

DxfOle2Framedxf_ole2frame_new ()
 Allocate memory for a DxfOle2Frame.
DxfOle2Framedxf_ole2frame_init (DxfOle2Frame *ole2frame)
 Allocate memory and initialize data fields in a OLE2FRAME entity.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_ole2frame_set_shadow_mode (DxfOle2Frame *ole2frame, int16_t shadow_mode)
 Set the shadow_mode for a DXF OLE2FRAME entity.
DxfBinaryGraphicsDatadxf_ole2frame_get_binary_graphics_data (DxfOle2Frame *ole2frame)
 Get the pointer to the binary_graphics_data from a DXF OLE2FRAME entity.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_ole2frame_set_length_of_binary_data (DxfOle2Frame *ole2frame, char *length_of_binary_data)
 Set the length_of_binary_data for a DXF OLE2FRAME entity.
DxfPointdxf_ole2frame_get_p0 (DxfOle2Frame *ole2frame)
 Get the insertion point p0 of a DXF OLE2FRAME entity.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_ole2frame_set_z0 (DxfOle2Frame *ole2frame, double z0)
 Set the Z-value of the insertion point z0 of a DXF OLE2FRAME entity.
DxfPointdxf_ole2frame_get_p1 (DxfOle2Frame *ole2frame)
 Get the direction vector p1 of a DXF OLE2FRAME entity.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_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.
DxfOle2Framedxf_ole2frame_set_length (DxfOle2Frame *ole2frame, long length)
 Set the length for a DXF OLE2FRAME entity.
DxfChardxf_ole2frame_get_binary_data (DxfOle2Frame *ole2frame)
 Get the binary_data from a DXF OLE2FRAME entity.
DxfOle2Framedxf_ole2frame_set_binary_data (DxfOle2Frame *ole2frame, DxfChar *binary_data)
 Set the binary_data for a DXF OLE2FRAME entity.
DxfOle2Framedxf_ole2frame_get_next (DxfOle2Frame *ole2frame)
 Get the pointer to the next OLE2FRAME entity from a DXF OLE2FRAME entity.
DxfOle2Framedxf_ole2frame_set_next (DxfOle2Frame *ole2frame, DxfOle2Frame *next)
 Set the pointer to the next OLE2FRAME for a DXF ARC entity.
DxfOle2Framedxf_ole2frame_get_last (DxfOle2Frame *ole2frame)
 Get the pointer to the last OLE2FRAME entity from a linked list of DXF OLE2FRAME entities.

Detailed Description

Header file for a DXF ole2frame entity (OLE2FRAME).

Author:
Copyright (C) 2015, 2016, 2017 by Bert Timmerman <bert.timmerman@xs4all.nl>.
Since:
The OLE2FRAME entity was introduced in DXF R14.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14.

Copyright Notices.


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to:
Free Software Foundation, Inc.,
59 Temple Place,
Suite 330,
Boston,
MA 02111 USA.

Drawing eXchange Format (DXF) is a defacto industry standard for the exchange of drawing files between various Computer Aided Drafting programs.
DXF is an industry standard designed by Autodesk(TM).
For more details see http://www.autodesk.com.


Definition in file ole2frame.h.


Typedef Documentation

DXF definition of an AutoCAD ole2frame entity (OLE2FRAME).


Function Documentation

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.

Returns:
NULL when no memory was allocated, a pointer to the allocated memory when succesful.
Parameters:
ole2framea 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().

Here is the call graph for this function:

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.

Returns:
a pointer to ole2frame.
Parameters:
fpDXF file pointer to an input file (or device).
ole2framea 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.

Here is the call graph for this function:

int dxf_ole2frame_write ( DxfFile fp,
DxfOle2Frame ole2frame 
)

Write DXF output to a file for a DXF OLE2FRAME entity.

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred while reading from the input file.

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

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

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

Parameters:
fpDXF file pointer to an output file (or device).
ole2framea 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.

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

Todo:
Needs a proper implementation.
Todo:
Needs a proper implementation.

Parameters:
ole2framea 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.

Parameters:
ole2framesa 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.

Here is the call graph for this function:

int dxf_ole2frame_get_id_code ( DxfOle2Frame ole2frame)

Get the id_code from a DXF OLE2FRAME entity.

Returns:
id_code.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
id_codeIdentification 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.

Returns:
linetype when sucessful, NULL when an error occurred.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF ARC entity.
linetypea 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.

Returns:
layer when sucessful, NULL when an error occurred.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
layera 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.

Returns:
elevation.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
elevationthe 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.

Returns:
thickness.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
thicknessthe 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.

Returns:
linetype_scale.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
linetype_scalethe 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.

Returns:
visibility.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
visibilitythe 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.

Returns:
color.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
colorthe 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.

Returns:
paperspace flag value.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
paperspacethe 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.

Returns:
graphics_data_size value when successful, or EXIT_FAILURE when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
graphics_data_sizethe 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.

Returns:
shadow_mode when successful, or EXIT_FAILURE when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
shadow_modethe 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.

Returns:
pointer to the binary_graphics_data.
Warning:
No checks are performed on the returned pointer.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
dataa 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.

Returns:
soft pointer to the dictionary owner.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
dictionary_owner_softa 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.

Returns:
a pointer to material when successful, or NULL when an error occurred.
Warning:
No checks are performed on the returned pointer.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
materiala 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.

Returns:
hard pointer to the dictionary owner.
Warning:
No checks are performed on the returned pointer (string).
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
dictionary_owner_harda 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.

Returns:
lineweight when successful, or EXIT_FAILURE when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
lineweightthe 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.

Returns:
a pointer to plot_style_name when sucessful, or NULL when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
plot_style_namea 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.

Returns:
color_value when successful, or EXIT_FAILURE when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
color_valuethe 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.

Returns:
color_name when sucessful, or NULL when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
color_namea 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.

Returns:
transparency when successful, or EXIT_FAILURE when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
transparencythe 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.

Returns:
end_of_data when sucessful, or NULL when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
end_of_dataa 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.

Returns:
length_of_binary_data when sucessful, or NULL when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
length_of_binary_dataa 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.

Returns:
the insertion point p0.
Parameters:
ole2framea 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.

Returns:
a pointer to a DXF OLE2FRAME entity.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
p0a 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.

Returns:
the X-value of the insertion point x0.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
x0the 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.

Returns:
the Y-value of the insertion point y0.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
y0the 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.

Returns:
the Z-value of the insertion point z0.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
z0the 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.

Returns:
the direction vector p1.
Parameters:
ole2framea 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.

Returns:
a pointer to a DXF OLE2FRAME entity.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
p1a 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.

Returns:
the X-value of the direction vector x1.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
x1the 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.

Returns:
the Y-value of the direction vector y1.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
y1the 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.

Returns:
the Z-value of the direction vector z1.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
z1the 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.

Returns:
ole_version_number.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
ole_version_numberole_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.

Returns:
ole_object_type.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
ole_object_typeole_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.

Returns:
tilemode_descriptor.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
tilemode_descriptortilemode_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.

Returns:
length when successful, or EXIT_FAILURE when an error occurred.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
lengththe 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.

Returns:
binary_data when sucessful, or NULL when an error occurred.
Warning:
No deep copy is made of the binary_data.
Parameters:
ole2framea 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.

Returns:
a pointer to ole2frame when successful, or NULL when an error occurred.
Warning:
No deep copy is made from the binary_data.
Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
binary_dataa 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.

Returns:
pointer to the next OLE2FRAME entity.
Warning:
No checks are performed on the returned pointer.
Parameters:
ole2framea 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.

Parameters:
ole2framea pointer to a DXF OLE2FRAME entity.
nexta 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.

Returns:
pointer to the last OLE2FRAME entity.
Warning:
No checks are performed on the returned pointer.
Parameters:
ole2framea 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.