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

dimstyle.c File Reference

Functions for a DXF dimension style table (DIMSTYLE). More...

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

Go to the source code of this file.

Functions

DxfDimStyledxf_dimstyle_new ()
 Allocate memory for a DXF DIMSTYLE.
DxfDimStyledxf_dimstyle_init (DxfDimStyle *dimstyle)
 Allocate memory and initialize data fields in a DXF DIMSTYLE entity.
int dxf_dimstyle_write (DxfFile *fp, DxfDimStyle *dimstyle)
 Write DXF output for a DXF DIMSTYLE table.
DxfDimStyledxf_dimstyle_read (DxfFile *fp, DxfDimStyle *dimstyle)
 Read data from a DXF file into a DXF DIMSTYLE table.
int dxf_dimstyle_free (DxfDimStyle *dimstyle)
 Free the allocated memory for a DXF DIMSTYLE and all it's data fields.
void dxf_dimstyle_free_chain (DxfDimStyle *dimstyles)
 Free the allocated memory for a chain of DXF DIMSTYLE symbol table and all their data fields.
char * dxf_dimstyle_get_dimstyle_name (DxfDimStyle *dimstyle)
 Get the dimension style name string value (dimstyle_name) from this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimstyle_name (DxfDimStyle *dimstyle, char *dimstyle_name)
 Set the dimension style name string value (dimstyle_name) for a DXF dimension style symbol table (DIMSTYLE).
char * dxf_dimstyle_get_dimpost (DxfDimStyle *dimstyle)
 Get the general dimensioning suffix string value (dimpost) from this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimpost (DxfDimStyle *dimstyle, char *dimpost)
 Set the general dimensioning suffix string value (dimpost) for this DXF dimension style symbol table (DIMSTYLE).
char * dxf_dimstyle_get_dimapost (DxfDimStyle *dimstyle)
 Get the alternate dimensioning suffix string value (dimapost) from this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimapost (DxfDimStyle *dimstyle, char *dimapost)
 Set the alternate dimensioning suffix string value (dimapost) for this DXF dimension style symbol table (DIMSTYLE).
char * dxf_dimstyle_get_dimblk (DxfDimStyle *dimstyle)
 Get the arrow block name string value (dimblk) from this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimblk (DxfDimStyle *dimstyle, char *dimblk)
 Set the arrow block name string value (dimblk) for this DXF dimension style symbol table (DIMSTYLE).
char * dxf_dimstyle_get_dimblk1 (DxfDimStyle *dimstyle)
 Get the first arrow block name string value (dimblk1) from this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimblk1 (DxfDimStyle *dimstyle, char *dimblk1)
 Set the first arrow block name string value (dimblk1) for this DXF dimension style symbol table (DIMSTYLE).
char * dxf_dimstyle_get_dimblk2 (DxfDimStyle *dimstyle)
 Get the second arrow block name string value (dimblk2) from this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimblk2 (DxfDimStyle *dimstyle, char *dimblk2)
 Set the second arrow block name string value (dimblk2) for this DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimscale (DxfDimStyle *dimstyle)
 Get the overall dimensioning scale factor value (dimscale) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimscale (DxfDimStyle *dimstyle, double dimscale)
 Set the overall dimensioning scale factor value (dimscale) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimasz (DxfDimStyle *dimstyle)
 Get the dimensioning arrow size value (dimasz) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimasz (DxfDimStyle *dimstyle, double dimasz)
 Set the dimensioning arrow size value (dimasz) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimexo (DxfDimStyle *dimstyle)
 Get the extension line offset value (dimexo) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimexo (DxfDimStyle *dimstyle, double dimexo)
 Set the extension line offset value (dimexo) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimdli (DxfDimStyle *dimstyle)
 Get the dimension line increment value (dimdli) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimdli (DxfDimStyle *dimstyle, double dimdli)
 Set the dimension line increment value (dimdli) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimexe (DxfDimStyle *dimstyle)
 Get the extension line extension value (dimexe) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimexe (DxfDimStyle *dimstyle, double dimexe)
 Set the extension line extension value (dimexe) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimrnd (DxfDimStyle *dimstyle)
 Get the rounding value for dimension distances (dimrnd) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimrnd (DxfDimStyle *dimstyle, double dimrnd)
 Set the rounding value for dimension distances (dimrnd) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimdle (DxfDimStyle *dimstyle)
 Get the dimension line extension value (dimdle) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimdle (DxfDimStyle *dimstyle, double dimdle)
 Set the dimension line extension value (dimdle) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimtp (DxfDimStyle *dimstyle)
 Get the plus tolerance value (dimtp) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtp (DxfDimStyle *dimstyle, double dimtp)
 Set the plus tolerance value (dimtp) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimtm (DxfDimStyle *dimstyle)
 Get the minus tolerance value (dimtm) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtm (DxfDimStyle *dimstyle, double dimtm)
 Set the minus tolerance value (dimtm) for a DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_flag (DxfDimStyle *dimstyle)
 Get the flag value (flag) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_flag (DxfDimStyle *dimstyle, int flag)
 Set the flag value (flag) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtol (DxfDimStyle *dimstyle)
 Get the dimension tolerances value (dimtol) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtol (DxfDimStyle *dimstyle, int dimtol)
 Set the dimension tolerances value (dimtol) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimlim (DxfDimStyle *dimstyle)
 Get the dimension limits value (dimlim) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimlim (DxfDimStyle *dimstyle, int dimlim)
 Set the dimension limits value (dimlim) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtih (DxfDimStyle *dimstyle)
 Get the text inside horizontal value (dimtih) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtih (DxfDimStyle *dimstyle, int dimtih)
 Set the text inside horizontal value (dimtih) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtoh (DxfDimStyle *dimstyle)
 Get the text outside horizontal value (dimtoh) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtoh (DxfDimStyle *dimstyle, int dimtoh)
 Set the text outside horizontal value (dimtoh) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimse1 (DxfDimStyle *dimstyle)
 Get the first extension line suppressed value (dimse1) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimse1 (DxfDimStyle *dimstyle, int dimse1)
 Set the first extension line suppressed value (dimse1) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimse2 (DxfDimStyle *dimstyle)
 Get the second extension line suppressed value (dimse2) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimse2 (DxfDimStyle *dimstyle, int dimse2)
 Set the second extension line suppressed value (dimse2) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtad (DxfDimStyle *dimstyle)
 Get the text above dimension line value (dimtad) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtad (DxfDimStyle *dimstyle, int dimtad)
 Set the text above dimension line value (dimtad) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimzin (DxfDimStyle *dimstyle)
 Get the zero suppression for "feet & inch" dimensions value (dimzin) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimzin (DxfDimStyle *dimstyle, int dimzin)
 Set the zero suppression for "feet & inch" dimensions value (dimzin) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_id_code (DxfDimStyle *dimstyle)
 Get the ID code from this DXF dimenstion style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_id_code (DxfDimStyle *dimstyle, int id_code)
 Set the ID code for this DXF dimenstion style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimtxt (DxfDimStyle *dimstyle)
 Get the dimensioning text height value (dimtxt) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtxt (DxfDimStyle *dimstyle, double dimtxt)
 Set the dimensioning text height value (dimtxt) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimcen (DxfDimStyle *dimstyle)
 Get the size of center mark/lines value (dimcen) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimcen (DxfDimStyle *dimstyle, double dimcen)
 Set the size of center mark/lines value (dimcen) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimtsz (DxfDimStyle *dimstyle)
 Get the dimensioning tick size value (dimtsz) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtsz (DxfDimStyle *dimstyle, double dimtsz)
 Set the dimensioning tick size value (dimtsz) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimaltf (DxfDimStyle *dimstyle)
 Get the alternate unit scale factor value (dimaltf) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimaltf (DxfDimStyle *dimstyle, double dimaltf)
 Set the alternate unit scale factor value (dimaltf) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimlfac (DxfDimStyle *dimstyle)
 Get the linear measurements scale factor value (dimlfac) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimlfac (DxfDimStyle *dimstyle, double dimlfac)
 Set the linear measurements scale factor value (dimlfac) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimtvp (DxfDimStyle *dimstyle)
 Get the text vertical position value (dimtvp) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtvp (DxfDimStyle *dimstyle, double dimtvp)
 Set the text vertical position value (dimtvp) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimtfac (DxfDimStyle *dimstyle)
 Get the dimension tolerance display scale factor value (dimtfac) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtfac (DxfDimStyle *dimstyle, double dimtfac)
 Set the dimension tolerance display scale factor value (dimtfac) for a DXF dimension style symbol table (DIMSTYLE).
double dxf_dimstyle_get_dimgap (DxfDimStyle *dimstyle)
 Get the dimension line gap value (dimgap) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimgap (DxfDimStyle *dimstyle, double dimgap)
 Set the dimension line gap value (dimgap) for a DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimalt (DxfDimStyle *dimstyle)
 Get the alternate unit dimensioning value (dimalt) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimalt (DxfDimStyle *dimstyle, int dimalt)
 Set the alternate unit dimensioning value (dimalt) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimaltd (DxfDimStyle *dimstyle)
 Get the alternate unit decimal places value (dimaltd) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimaltd (DxfDimStyle *dimstyle, int dimaltd)
 Set the alternate unit decimal places value (dimaltd) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtofl (DxfDimStyle *dimstyle)
 Get the text outside extensions, force line extensions value (dimtofl) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtofl (DxfDimStyle *dimstyle, int dimtofl)
 Set the text outside extensions, force line extensions value (dimtofl) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimsah (DxfDimStyle *dimstyle)
 Get the use separate arrow blocks value (dimsah) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimsah (DxfDimStyle *dimstyle, int dimsah)
 Set the use separate arrow blocks value (dimsah) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtix (DxfDimStyle *dimstyle)
 Get the force text inside extensions value (dimtix) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtix (DxfDimStyle *dimstyle, int dimtix)
 Set the force text inside extensions value (dimtix) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimsoxd (DxfDimStyle *dimstyle)
 Get the suppress outside-extensions dimension lines value (dimsoxd) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimsoxd (DxfDimStyle *dimstyle, int dimsoxd)
 Set the suppress outside-extensions dimension lines value (dimsoxd) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimclrd (DxfDimStyle *dimstyle)
 Get the dimension line color value (dimclrd) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimclrd (DxfDimStyle *dimstyle, int dimclrd)
 Set the dimension line color value (dimclrd) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimclre (DxfDimStyle *dimstyle)
 Get the dimension extension line color value (dimclre) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimclre (DxfDimStyle *dimstyle, int dimclre)
 Set the dimension extension line color value (dimclre) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimclrt (DxfDimStyle *dimstyle)
 Get the dimension text color value (dimclrt) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimclrt (DxfDimStyle *dimstyle, int dimclrt)
 Set the dimension text color value (dimclrt) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimunit (DxfDimStyle *dimstyle)
 Get the dimension units format value (dimunit) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimunit (DxfDimStyle *dimstyle, int dimunit)
 Set the dimension units format value (dimunit) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimdec (DxfDimStyle *dimstyle)
 Get the number of decimal places for the tolerance values of a primary units dimension value (dimdec) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimdec (DxfDimStyle *dimstyle, int dimdec)
 Set the number of decimal places for the tolerance values of a primary units dimension value (dimdec) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtdec (DxfDimStyle *dimstyle)
 Get the number of decimal places to display the tolerance values (dimtdec) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtdec (DxfDimStyle *dimstyle, int dimtdec)
 Set the number of decimal places to display the tolerance values (dimtdec) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimaltu (DxfDimStyle *dimstyle)
 Get the units format for alternate units value (dimaltu) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimaltu (DxfDimStyle *dimstyle, int dimaltu)
 Set the units format for alternate units value (dimaltu) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimalttd (DxfDimStyle *dimstyle)
 Get the number of decimal places for tolerance values of an alternate units dimension value (dimalttd) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimalttd (DxfDimStyle *dimstyle, int dimalttd)
 Set the number of decimal places for tolerance values of an alternate units dimension value (dimalttd) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimaunit (DxfDimStyle *dimstyle)
 Get the angle format for angular dimensions value (dimaunit) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimaunit (DxfDimStyle *dimstyle, int dimaunit)
 Set the angle format for angular dimensions value (dimaunit) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimjust (DxfDimStyle *dimstyle)
 Get the horizontal dimension text position value (dimjust) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimjust (DxfDimStyle *dimstyle, int dimjust)
 Set the horizontal dimension text position value (dimjust) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimsd1 (DxfDimStyle *dimstyle)
 Get the suppression of first extension line value (dimsd1) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimsd1 (DxfDimStyle *dimstyle, int dimsd1)
 Set the suppression of first extension line value (dimsd1) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimsd2 (DxfDimStyle *dimstyle)
 Get the suppression of the second extension line value (dimsd2) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimsd2 (DxfDimStyle *dimstyle, int dimsd2)
 Set the suppression of the second extension line value (dimsd2) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtolj (DxfDimStyle *dimstyle)
 Get the vertical justification for tolerance value (dimtolj) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtolj (DxfDimStyle *dimstyle, int dimtolj)
 Set the vertical justification for tolerance value (dimtolj) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimtzin (DxfDimStyle *dimstyle)
 Get the suppression of zeros for tolerance value (dimtzin) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtzin (DxfDimStyle *dimstyle, int dimtzin)
 Set the suppression of zeros for tolerance value (dimtzin) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimaltz (DxfDimStyle *dimstyle)
 Get the toggle suppression of zeros for alternate unit dimension value (dimaltz) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimaltz (DxfDimStyle *dimstyle, int dimaltz)
 Set the toggle suppression of zeros for alternate unit dimension value (dimaltz) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimalttz (DxfDimStyle *dimstyle)
 Get the toggle suppression of zeros for tolerance units value (dimalttz) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimalttz (DxfDimStyle *dimstyle, int dimalttz)
 Set the toggle suppression of zeros for tolerance units value (dimalttz) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimfit (DxfDimStyle *dimstyle)
 Get the placement of text and arrowheads value (dimfit) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimfit (DxfDimStyle *dimstyle, int dimfit)
 Set the placement of text and arrowheads value (dimfit) for this DXF dimension style symbol table (DIMSTYLE).
int dxf_dimstyle_get_dimupt (DxfDimStyle *dimstyle)
 Get the cursor functionality for user positioned text value (dimupt) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimupt (DxfDimStyle *dimstyle, int dimupt)
 Set the cursor functionality for user positioned text value (dimupt) for this DXF dimension style symbol table (DIMSTYLE).
char * dxf_dimstyle_get_dimtxsty (DxfDimStyle *dimstyle)
 Get the dimension text style value (dimtxsty) from a DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_set_dimtxsty (DxfDimStyle *dimstyle, char *dimtxsty)
 Set the dimension text style value (dimtxsty) for this DXF dimension style symbol table (DIMSTYLE).
DxfDimStyledxf_dimstyle_get_next (DxfDimStyle *dimstyle)
 Get the pointer to the next DIMSTYLE dimension style symbol table from a DXF DIMSTYLE dimension style symbol table.
DxfDimStyledxf_dimstyle_set_next (DxfDimStyle *dimstyle, DxfDimStyle *next)
 Set the pointer to the next DIMSTYLE for a DXF DIMSTYLE dimension style symbol table.
DxfDimStyledxf_dimstyle_get_last (DxfDimStyle *dimstyle)
 Get the pointer to the last DIMSTYLE dimension style symbol table from a linkedlist of DXF DIMSTYLE dimension style symbol tables.

Detailed Description

Functions for a DXF dimension style table (DIMSTYLE).

Author:
Copyright (C) 2012, 2014, 2015, 2016, 2017 by Bert Timmerman <bert.timmerman@xs4all.nl>.
Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13.
According to DXF R14.

Copyright Notices.


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

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

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

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


Definition in file dimstyle.c.


Function Documentation

DxfDimStyle* dxf_dimstyle_new ( )

Allocate memory for a DXF DIMSTYLE.

Fill the memory contents with zeros.

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

Definition at line 54 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init(), and dxf_dimstyle_read().

DxfDimStyle* dxf_dimstyle_init ( DxfDimStyle dimstyle)

Allocate memory and initialize data fields in a DXF DIMSTYLE entity.

Returns:
NULL when no memory was allocated, a pointer to the allocated memory when succesful.
Parameters:
dimstylePointer to the memory occupied by the DXF DIMSTYLE table.

Definition at line 92 of file dimstyle.c.

References _, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_dimstyle_new(), dxf_dimstyle_set_dimalt(), dxf_dimstyle_set_dimaltd(), dxf_dimstyle_set_dimaltf(), dxf_dimstyle_set_dimapost(), dxf_dimstyle_set_dimasz(), dxf_dimstyle_set_dimblk(), dxf_dimstyle_set_dimblk1(), dxf_dimstyle_set_dimblk2(), dxf_dimstyle_set_dimcen(), dxf_dimstyle_set_dimclrd(), dxf_dimstyle_set_dimclre(), dxf_dimstyle_set_dimclrt(), dxf_dimstyle_set_dimdle(), dxf_dimstyle_set_dimdli(), dxf_dimstyle_set_dimexe(), dxf_dimstyle_set_dimexo(), dxf_dimstyle_set_dimgap(), dxf_dimstyle_set_dimlfac(), dxf_dimstyle_set_dimlim(), dxf_dimstyle_set_dimpost(), dxf_dimstyle_set_dimrnd(), dxf_dimstyle_set_dimsah(), dxf_dimstyle_set_dimscale(), dxf_dimstyle_set_dimse1(), dxf_dimstyle_set_dimse2(), dxf_dimstyle_set_dimsoxd(), dxf_dimstyle_set_dimstyle_name(), dxf_dimstyle_set_dimtad(), dxf_dimstyle_set_dimtfac(), dxf_dimstyle_set_dimtih(), dxf_dimstyle_set_dimtix(), dxf_dimstyle_set_dimtm(), dxf_dimstyle_set_dimtofl(), dxf_dimstyle_set_dimtoh(), dxf_dimstyle_set_dimtol(), dxf_dimstyle_set_dimtp(), dxf_dimstyle_set_dimtsz(), dxf_dimstyle_set_dimtvp(), dxf_dimstyle_set_dimtxt(), dxf_dimstyle_set_dimzin(), dxf_dimstyle_set_flag(), and dxf_dimstyle_set_next().

Referenced by dxf_dimstyle_read().

Here is the call graph for this function:

int dxf_dimstyle_write ( DxfFile fp,
DxfDimStyle dimstyle 
)

Write DXF output for a DXF DIMSTYLE table.

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.
Parameters:
fpDXF file pointer to an output file (or device).
dimstylePointer to the memory occupied by the DXF DIMSTYLE table.

Definition at line 173 of file dimstyle.c.

References _, dxf_file_struct::acad_version_number, AutoCAD_13, AutoCAD_2000, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_dimstyle_get_dimalt(), dxf_dimstyle_get_dimaltd(), dxf_dimstyle_get_dimaltf(), dxf_dimstyle_get_dimalttd(), dxf_dimstyle_get_dimalttz(), dxf_dimstyle_get_dimaltu(), dxf_dimstyle_get_dimaltz(), dxf_dimstyle_get_dimapost(), dxf_dimstyle_get_dimasz(), dxf_dimstyle_get_dimaunit(), dxf_dimstyle_get_dimblk(), dxf_dimstyle_get_dimblk1(), dxf_dimstyle_get_dimblk2(), dxf_dimstyle_get_dimcen(), dxf_dimstyle_get_dimclrd(), dxf_dimstyle_get_dimclre(), dxf_dimstyle_get_dimclrt(), dxf_dimstyle_get_dimdec(), dxf_dimstyle_get_dimdle(), dxf_dimstyle_get_dimdli(), dxf_dimstyle_get_dimexe(), dxf_dimstyle_get_dimexo(), dxf_dimstyle_get_dimfit(), dxf_dimstyle_get_dimgap(), dxf_dimstyle_get_dimjust(), dxf_dimstyle_get_dimlfac(), dxf_dimstyle_get_dimlim(), dxf_dimstyle_get_dimpost(), dxf_dimstyle_get_dimrnd(), dxf_dimstyle_get_dimsah(), dxf_dimstyle_get_dimscale(), dxf_dimstyle_get_dimsd1(), dxf_dimstyle_get_dimsd2(), dxf_dimstyle_get_dimse1(), dxf_dimstyle_get_dimse2(), dxf_dimstyle_get_dimsoxd(), dxf_dimstyle_get_dimstyle_name(), dxf_dimstyle_get_dimtad(), dxf_dimstyle_get_dimtdec(), dxf_dimstyle_get_dimtfac(), dxf_dimstyle_get_dimtih(), dxf_dimstyle_get_dimtix(), dxf_dimstyle_get_dimtm(), dxf_dimstyle_get_dimtofl(), dxf_dimstyle_get_dimtoh(), dxf_dimstyle_get_dimtol(), dxf_dimstyle_get_dimtolj(), dxf_dimstyle_get_dimtp(), dxf_dimstyle_get_dimtsz(), dxf_dimstyle_get_dimtvp(), dxf_dimstyle_get_dimtxsty(), dxf_dimstyle_get_dimtxt(), dxf_dimstyle_get_dimtzin(), dxf_dimstyle_get_dimunit(), dxf_dimstyle_get_dimupt(), dxf_dimstyle_get_dimzin(), dxf_dimstyle_get_flag(), dxf_dimstyle_get_id_code(), dxf_dimstyle_set_dimapost(), dxf_dimstyle_set_dimblk(), dxf_dimstyle_set_dimblk1(), dxf_dimstyle_set_dimblk2(), dxf_dimstyle_set_dimpost(), dxf_file_struct::fp, and dxf_dimstyle_struct::id_code.

Here is the call graph for this function:

DxfDimStyle* dxf_dimstyle_read ( DxfFile fp,
DxfDimStyle dimstyle 
)

Read data from a DXF file into a DXF DIMSTYLE table.

The last line read from file contained the string "DIMSTYLE".
Now follows some data for the DIMSTYLE, to be terminated with a " 0" string announcing the following table, or the end of the TABLES section marker ENDTAB.

Returns:
a pointer to dimstyle.
Parameters:
fpDXF file pointer to an input file (or device).
dimstylePointer to the memory occupied by the DXF DIMSTYLE table.

Definition at line 361 of file dimstyle.c.

References _, dxf_file_struct::acad_version_number, AutoCAD_13, AutoCAD_2000, dxf_dimstyle_struct::dimalt, dxf_dimstyle_struct::dimaltd, dxf_dimstyle_struct::dimaltf, dxf_dimstyle_struct::dimalttd, dxf_dimstyle_struct::dimalttz, dxf_dimstyle_struct::dimaltu, dxf_dimstyle_struct::dimaltz, dxf_dimstyle_struct::dimapost, dxf_dimstyle_struct::dimasz, dxf_dimstyle_struct::dimaunit, dxf_dimstyle_struct::dimblk, dxf_dimstyle_struct::dimblk1, dxf_dimstyle_struct::dimblk2, dxf_dimstyle_struct::dimcen, dxf_dimstyle_struct::dimclrd, dxf_dimstyle_struct::dimclre, dxf_dimstyle_struct::dimclrt, dxf_dimstyle_struct::dimdec, dxf_dimstyle_struct::dimdle, dxf_dimstyle_struct::dimdli, dxf_dimstyle_struct::dimexe, dxf_dimstyle_struct::dimexo, dxf_dimstyle_struct::dimfit, dxf_dimstyle_struct::dimgap, dxf_dimstyle_struct::dimjust, dxf_dimstyle_struct::dimlfac, dxf_dimstyle_struct::dimlim, dxf_dimstyle_struct::dimpost, dxf_dimstyle_struct::dimrnd, dxf_dimstyle_struct::dimsah, dxf_dimstyle_struct::dimscale, dxf_dimstyle_struct::dimsd1, dxf_dimstyle_struct::dimsd2, dxf_dimstyle_struct::dimse1, dxf_dimstyle_struct::dimse2, dxf_dimstyle_struct::dimsoxd, dxf_dimstyle_struct::dimstyle_name, dxf_dimstyle_struct::dimtad, dxf_dimstyle_struct::dimtdec, dxf_dimstyle_struct::dimtfac, dxf_dimstyle_struct::dimtih, dxf_dimstyle_struct::dimtix, dxf_dimstyle_struct::dimtm, dxf_dimstyle_struct::dimtofl, dxf_dimstyle_struct::dimtoh, dxf_dimstyle_struct::dimtol, dxf_dimstyle_struct::dimtolj, dxf_dimstyle_struct::dimtp, dxf_dimstyle_struct::dimtsz, dxf_dimstyle_struct::dimtvp, dxf_dimstyle_struct::dimtxsty, dxf_dimstyle_struct::dimtxt, dxf_dimstyle_struct::dimtzin, dxf_dimstyle_struct::dimunit, dxf_dimstyle_struct::dimupt, dxf_dimstyle_struct::dimzin, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_dimstyle_get_dimstyle_name(), dxf_dimstyle_init(), dxf_dimstyle_new(), dxf_file_struct::filename, dxf_dimstyle_struct::flag, dxf_file_struct::fp, dxf_dimstyle_struct::id_code, and dxf_file_struct::line_number.

Here is the call graph for this function:

int dxf_dimstyle_free ( DxfDimStyle dimstyle)

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

Returns:
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred.
Parameters:
dimstylePointer to the memory occupied by the DXF DIMSTYLE table.

Definition at line 894 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_dimstyle_get_dimapost(), dxf_dimstyle_get_dimblk(), dxf_dimstyle_get_dimblk1(), dxf_dimstyle_get_dimblk2(), dxf_dimstyle_get_dimpost(), dxf_dimstyle_get_dimstyle_name(), and dxf_dimstyle_struct::next.

Referenced by dxf_dimstyle_free_chain().

Here is the call graph for this function:

void dxf_dimstyle_free_chain ( DxfDimStyle dimstyles)

Free the allocated memory for a chain of DXF DIMSTYLE symbol table and all their data fields.

Parameters:
dimstylespointer to the chain of DXF DIMSTYLE symbol tables.

Definition at line 939 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_dimstyle_free(), and dxf_dimstyle_struct::next.

Here is the call graph for this function:

char* dxf_dimstyle_get_dimstyle_name ( DxfDimStyle dimstyle)

Get the dimension style name string value (dimstyle_name) from this DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension style name string value (dimstyle_name).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 974 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimstyle_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_free(), dxf_dimstyle_read(), and dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimstyle_name ( DxfDimStyle dimstyle,
char *  dimstyle_name 
)

Set the dimension style name string value (dimstyle_name) for a DXF dimension style symbol table (DIMSTYLE).

Returns:
a pointer to the DXF DIMSTYLE symbol table if successful, a NULL when an error occurred.
Warning:
No testing for the contents of the dimstyle_name member of the DxfDimstyle struct is performed.
The passed dimstyle_name variable is not freed by this function and needs to be freed by the caller.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimstyle_namea pointer to a dimension style name string value (dimstyle_name).

Definition at line 1013 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimstyle_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

char* dxf_dimstyle_get_dimpost ( DxfDimStyle dimstyle)

Get the general dimensioning suffix string value (dimpost) from this DXF dimension style symbol table (DIMSTYLE).

Returns:
the general dimensioning suffix string value (dimpost).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1056 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimpost, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_free(), and dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimpost ( DxfDimStyle dimstyle,
char *  dimpost 
)

Set the general dimensioning suffix string value (dimpost) for this DXF dimension style symbol table (DIMSTYLE).

Returns:
a pointer to the DXF DIMSTYLE symbol table if successful, a NULL when an error occurred.
Warning:
No testing for the contents of the dimpost member of the DxfDimstyle struct is performed.
The passed dimpost variable is not freed by this function and needs to be freed by the caller.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimposta pointer to a general dimensioning suffix string value (dimpost).

Definition at line 1095 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimpost, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init(), and dxf_dimstyle_write().

char* dxf_dimstyle_get_dimapost ( DxfDimStyle dimstyle)

Get the alternate dimensioning suffix string value (dimapost) from this DXF dimension style symbol table (DIMSTYLE).

Returns:
the alternate dimensioning suffix string value (dimapost).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1138 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimapost, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_free(), and dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimapost ( DxfDimStyle dimstyle,
char *  dimapost 
)

Set the alternate dimensioning suffix string value (dimapost) for this DXF dimension style symbol table (DIMSTYLE).

Returns:
a pointer to the DXF DIMSTYLE symbol table if successful, a NULL when an error occurred.
Warning:
No testing for the contents of the dimapost member of the DxfDimstyle struct is performed.
The passed dimapost variable is not freed by this function and needs to be freed by the caller.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaposta pointer to a alternate dimensioning suffix string value (dimapost).

Definition at line 1177 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimapost, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init(), and dxf_dimstyle_write().

char* dxf_dimstyle_get_dimblk ( DxfDimStyle dimstyle)

Get the arrow block name string value (dimblk) from this DXF dimension style symbol table (DIMSTYLE).

Returns:
the arrow block name string value (dimblk).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1220 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimblk, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_free(), and dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimblk ( DxfDimStyle dimstyle,
char *  dimblk 
)

Set the arrow block name string value (dimblk) for this DXF dimension style symbol table (DIMSTYLE).

Returns:
a pointer to the DXF DIMSTYLE symbol table if successful, a NULL when an error occurred.
Warning:
No testing for the contents of the dimblk member of the DxfDimstyle struct is performed.
The passed dimblk variable is not freed by this function and needs to be freed by the caller.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimblkarrow block name string value (dimblk).

Definition at line 1259 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimblk, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init(), and dxf_dimstyle_write().

char* dxf_dimstyle_get_dimblk1 ( DxfDimStyle dimstyle)

Get the first arrow block name string value (dimblk1) from this DXF dimension style symbol table (DIMSTYLE).

Returns:
the first arrow block name string value (dimblk1).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1301 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimblk1, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_free(), and dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimblk1 ( DxfDimStyle dimstyle,
char *  dimblk1 
)

Set the first arrow block name string value (dimblk1) for this DXF dimension style symbol table (DIMSTYLE).

Returns:
a pointer to the DXF DIMSTYLE symbol table if successful, a NULL when an error occurred.
Warning:
No testing for the contents of the dimblk1 member of the DxfDimstyle struct is performed.
The passed dimblk1 variable is not freed by this function and needs to be freed by the caller.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimblk1a pointer to the first arrow block name string value (dimblk1).

Definition at line 1340 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimblk1, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init(), and dxf_dimstyle_write().

char* dxf_dimstyle_get_dimblk2 ( DxfDimStyle dimstyle)

Get the second arrow block name string value (dimblk2) from this DXF dimension style symbol table (DIMSTYLE).

Returns:
the second arrow block name string value (dimblk2).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1383 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimblk2, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_free(), and dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimblk2 ( DxfDimStyle dimstyle,
char *  dimblk2 
)

Set the second arrow block name string value (dimblk2) for this DXF dimension style symbol table (DIMSTYLE).

Returns:
a pointer to the DXF DIMSTYLE symbol table if successful, a NULL when an error occurred.
Warning:
No testing for the contents of the dimblk2 member of the DxfDimstyle struct is performed.
The passed dimblk2 variable is not freed by this function and needs to be freed by the caller.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimblk2a pointer to the second arrow block name string value (dimblk2).

Definition at line 1422 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimblk2, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init(), and dxf_dimstyle_write().

double dxf_dimstyle_get_dimscale ( DxfDimStyle dimstyle)

Get the overall dimensioning scale factor value (dimscale) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the overall dimensioning scale factor value (dimscale).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1465 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimscale, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimscale ( DxfDimStyle dimstyle,
double  dimscale 
)

Set the overall dimensioning scale factor value (dimscale) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimscalethe overall dimensioning scale factor value (dimscale) to be set for the symbol table.

Definition at line 1502 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimscale, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimasz ( DxfDimStyle dimstyle)

Get the dimensioning arrow size value (dimasz) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimensioning arrow size value (dimasz).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1545 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimasz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimasz ( DxfDimStyle dimstyle,
double  dimasz 
)

Set the dimensioning arrow size value (dimasz) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaszthe dimensioning arrow size value (dimasz) to be set for the symbol table.

Definition at line 1582 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimasz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimexo ( DxfDimStyle dimstyle)

Get the extension line offset value (dimexo) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the extension line offset value (dimexo).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1625 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimexo, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimexo ( DxfDimStyle dimstyle,
double  dimexo 
)

Set the extension line offset value (dimexo) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimexothe extension line offset value (dimexo) to be set for the symbol table.

Definition at line 1655 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimexo, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimdli ( DxfDimStyle dimstyle)

Get the dimension line increment value (dimdli) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension line increment value (dimdli).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1691 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimdli, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimdli ( DxfDimStyle dimstyle,
double  dimdli 
)

Set the dimension line increment value (dimdli) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimdlithe dimension line increment value (dimdli) to be set for the symbol table.

Definition at line 1721 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimdli, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimexe ( DxfDimStyle dimstyle)

Get the extension line extension value (dimexe) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the extension line extension value (dimexe).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1757 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimexe, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimexe ( DxfDimStyle dimstyle,
double  dimexe 
)

Set the extension line extension value (dimexe) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimexethe extension line extension value (dimexe) to be set for the symbol table.

Definition at line 1787 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimexe, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimrnd ( DxfDimStyle dimstyle)

Get the rounding value for dimension distances (dimrnd) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the rounding value for dimension distances (dimrnd).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1823 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimrnd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimrnd ( DxfDimStyle dimstyle,
double  dimrnd 
)

Set the rounding value for dimension distances (dimrnd) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimrndthe rounding value for dimension distances (dimrnd) to be set for the symbol table.

Definition at line 1853 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimrnd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimdle ( DxfDimStyle dimstyle)

Get the dimension line extension value (dimdle) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension line extension value (dimdle).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1889 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimdle, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimdle ( DxfDimStyle dimstyle,
double  dimdle 
)

Set the dimension line extension value (dimdle) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimdlethe dimension line extension value (dimdle) to be set for the symbol table.

Definition at line 1919 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimdle, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimtp ( DxfDimStyle dimstyle)

Get the plus tolerance value (dimtp) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the plus tolerance value (dimtp).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 1955 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtp, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtp ( DxfDimStyle dimstyle,
double  dimtp 
)

Set the plus tolerance value (dimtp) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtpthe plus tolerance value (dimtp) to be set for the symbol table.

Definition at line 1985 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtp, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimtm ( DxfDimStyle dimstyle)

Get the minus tolerance value (dimtm) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the minus tolerance value (dimtm).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2021 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtm, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtm ( DxfDimStyle dimstyle,
double  dimtm 
)

Set the minus tolerance value (dimtm) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtmthe minus tolerance value (dimtm) to be set for the symbol table.

Definition at line 2051 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtm, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_flag ( DxfDimStyle dimstyle)

Get the flag value (flag) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the flag value (flag).
Note:
This flag is for the benefit of AutoCAD commands; it can be ignored by most programs that read DXF files, and need not be set by programs that write DXF files.
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2091 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_dimstyle_struct::flag.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_flag ( DxfDimStyle dimstyle,
int  flag 
)

Set the flag value (flag) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
flagthe flag value (flag).
Note:
This flag is for the benefit of AutoCAD commands; it can be ignored by most programs that read DXF files, and need not be set by programs that write DXF files.

Definition at line 2121 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_dimstyle_struct::flag.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimtol ( DxfDimStyle dimstyle)

Get the dimension tolerances value (dimtol) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension tolerances value (dimtol).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2160 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtol, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtol ( DxfDimStyle dimstyle,
int  dimtol 
)

Set the dimension tolerances value (dimtol) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtolthe dimension tolerances value (dimtol) to be set for the symbol table.

Definition at line 2190 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtol, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimlim ( DxfDimStyle dimstyle)

Get the dimension limits value (dimlim) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension limits value (dimlim).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2226 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimlim, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimlim ( DxfDimStyle dimstyle,
int  dimlim 
)

Set the dimension limits value (dimlim) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimlimthe dimension limits value (dimlim) to be set for the symbol table.

Definition at line 2256 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimlim, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimtih ( DxfDimStyle dimstyle)

Get the text inside horizontal value (dimtih) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the text inside horizontal value (dimtih).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2292 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtih, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtih ( DxfDimStyle dimstyle,
int  dimtih 
)

Set the text inside horizontal value (dimtih) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtihthe text inside horizontal value (dimtih) to be set for the symbol table.

Definition at line 2322 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtih, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimtoh ( DxfDimStyle dimstyle)

Get the text outside horizontal value (dimtoh) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the text outside horizontal value (dimtoh).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2358 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtoh, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtoh ( DxfDimStyle dimstyle,
int  dimtoh 
)

Set the text outside horizontal value (dimtoh) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtohthe text outside horizontal value (dimtoh) to be set for the symbol table.

Definition at line 2388 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtoh, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimse1 ( DxfDimStyle dimstyle)

Get the first extension line suppressed value (dimse1) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the first extension line suppressed value (dimse1).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2424 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimse1, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimse1 ( DxfDimStyle dimstyle,
int  dimse1 
)

Set the first extension line suppressed value (dimse1) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimse1the first extension line suppressed value (dimse1) to be set for the symbol table.

Definition at line 2454 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimse1, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimse2 ( DxfDimStyle dimstyle)

Get the second extension line suppressed value (dimse2) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the second extension line suppressed value (dimse2).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2490 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimse2, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimse2 ( DxfDimStyle dimstyle,
int  dimse2 
)

Set the second extension line suppressed value (dimse2) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimse2the second extension line suppressed value (dimse2) to be set for the symbol table.

Definition at line 2520 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimse2, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimtad ( DxfDimStyle dimstyle)

Get the text above dimension line value (dimtad) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the text above dimension line value (dimtad).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2556 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtad, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtad ( DxfDimStyle dimstyle,
int  dimtad 
)

Set the text above dimension line value (dimtad) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtadthe text above dimension line value (dimtad) to be set for the symbol table.

Definition at line 2586 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtad, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimzin ( DxfDimStyle dimstyle)

Get the zero suppression for "feet & inch" dimensions value (dimzin) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the zero suppression for "feet & inch" dimensions value (dimzin).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2623 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimzin, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimzin ( DxfDimStyle dimstyle,
int  dimzin 
)

Set the zero suppression for "feet & inch" dimensions value (dimzin) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimzinthe zero suppression for "feet & inch" dimensions value (dimzin) to be set for the symbol table.

Definition at line 2653 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimzin, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_id_code ( DxfDimStyle dimstyle)

Get the ID code from this DXF dimenstion style symbol table (DIMSTYLE).

Returns:
ID code.
Parameters:
dimstylea pointer to a DXF DIMSTYLE symbol table entry.

Definition at line 2689 of file dimstyle.c.

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

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_id_code ( DxfDimStyle dimstyle,
int  id_code 
)

Set the ID code for this DXF dimenstion style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimenstion style symbol table (DIMSTYLE).
id_codeIdentification number for the entity.
This is to be an unique (sequential) number in the DXF file.

Definition at line 2718 of file dimstyle.c.

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

double dxf_dimstyle_get_dimtxt ( DxfDimStyle dimstyle)

Get the dimensioning text height value (dimtxt) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimensioning text height value (dimtxt).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2755 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtxt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtxt ( DxfDimStyle dimstyle,
double  dimtxt 
)

Set the dimensioning text height value (dimtxt) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtxtthe dimensioning text height value (dimtxt) to be set for the symbol table.

Definition at line 2785 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtxt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimcen ( DxfDimStyle dimstyle)

Get the size of center mark/lines value (dimcen) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the size of center mark/lines value (dimcen).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2821 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimcen, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimcen ( DxfDimStyle dimstyle,
double  dimcen 
)

Set the size of center mark/lines value (dimcen) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimcenthe size of center mark/lines value (dimcen) to be set for the symbol table.

Definition at line 2851 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimcen, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimtsz ( DxfDimStyle dimstyle)

Get the dimensioning tick size value (dimtsz) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimensioning tick size value (dimtsz).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2887 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtsz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtsz ( DxfDimStyle dimstyle,
double  dimtsz 
)

Set the dimensioning tick size value (dimtsz) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtszthe dimensioning tick size value (dimtsz) to be set for the symbol table.

Definition at line 2917 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtsz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimaltf ( DxfDimStyle dimstyle)

Get the alternate unit scale factor value (dimaltf) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the alternate unit scale factor value (dimaltf).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 2953 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltf, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimaltf ( DxfDimStyle dimstyle,
double  dimaltf 
)

Set the alternate unit scale factor value (dimaltf) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaltfthe alternate unit scale factor value (dimaltf) to be set for the symbol table.

Definition at line 2983 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltf, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimlfac ( DxfDimStyle dimstyle)

Get the linear measurements scale factor value (dimlfac) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the linear measurements scale factor value (dimlfac).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3019 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimlfac, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimlfac ( DxfDimStyle dimstyle,
double  dimlfac 
)

Set the linear measurements scale factor value (dimlfac) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimlfacthe linear measurements scale factor value (dimlfac) to be set for the symbol table.

Definition at line 3049 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimlfac, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimtvp ( DxfDimStyle dimstyle)

Get the text vertical position value (dimtvp) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the text vertical position value (dimtvp).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3085 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtvp, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtvp ( DxfDimStyle dimstyle,
double  dimtvp 
)

Set the text vertical position value (dimtvp) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtvpthe text vertical position value (dimtvp) to be set for the symbol table.

Definition at line 3115 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtvp, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimtfac ( DxfDimStyle dimstyle)

Get the dimension tolerance display scale factor value (dimtfac) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension tolerance display scale factor value (dimtfac).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3151 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtfac, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtfac ( DxfDimStyle dimstyle,
double  dimtfac 
)

Set the dimension tolerance display scale factor value (dimtfac) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtfacthe dimension tolerance display scale factor value (dimtfac) to be set for the symbol table.

Definition at line 3181 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtfac, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

double dxf_dimstyle_get_dimgap ( DxfDimStyle dimstyle)

Get the dimension line gap value (dimgap) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension line gap value (dimgap).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3217 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimgap, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimgap ( DxfDimStyle dimstyle,
double  dimgap 
)

Set the dimension line gap value (dimgap) for a DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimgapthe dimension line gap value (dimgap) to be set for the symbol table.

Definition at line 3247 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimgap, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimalt ( DxfDimStyle dimstyle)

Get the alternate unit dimensioning value (dimalt) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the alternate unit dimensioning value (dimalt).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3283 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimalt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimalt ( DxfDimStyle dimstyle,
int  dimalt 
)

Set the alternate unit dimensioning value (dimalt) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaltthe alternate unit dimensioning value (dimalt) to be set for the symbol table.

Definition at line 3313 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimalt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimaltd ( DxfDimStyle dimstyle)

Get the alternate unit decimal places value (dimaltd) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the alternate unit decimal places value (dimaltd).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3349 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimaltd ( DxfDimStyle dimstyle,
int  dimaltd 
)

Set the alternate unit decimal places value (dimaltd) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaltdthe alternate unit decimal places value (dimaltd) to be set for the symbol table.

Definition at line 3379 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimtofl ( DxfDimStyle dimstyle)

Get the text outside extensions, force line extensions value (dimtofl) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the text outside extensions, force line extensions value (dimtofl).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3416 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtofl, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtofl ( DxfDimStyle dimstyle,
int  dimtofl 
)

Set the text outside extensions, force line extensions value (dimtofl) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtoflthe text outside extensions, force line extensions value (dimtofl) to be set for the symbol table.

Definition at line 3446 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtofl, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimsah ( DxfDimStyle dimstyle)

Get the use separate arrow blocks value (dimsah) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the use separate arrow blocks value (dimsah).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3482 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsah, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimsah ( DxfDimStyle dimstyle,
int  dimsah 
)

Set the use separate arrow blocks value (dimsah) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimsahthe use separate arrow blocks value (dimsah) to be set for the symbol table.

Definition at line 3512 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsah, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimtix ( DxfDimStyle dimstyle)

Get the force text inside extensions value (dimtix) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the force text inside extensions value (dimtix).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3548 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtix, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtix ( DxfDimStyle dimstyle,
int  dimtix 
)

Set the force text inside extensions value (dimtix) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtixthe force text inside extensions value (dimtix) to be set for the symbol table.

Definition at line 3578 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtix, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimsoxd ( DxfDimStyle dimstyle)

Get the suppress outside-extensions dimension lines value (dimsoxd) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the suppress outside-extensions dimension lines value (dimsoxd).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3615 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsoxd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimsoxd ( DxfDimStyle dimstyle,
int  dimsoxd 
)

Set the suppress outside-extensions dimension lines value (dimsoxd) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimsoxdthe suppress outside-extensions dimension lines value (dimsoxd) to be set for the symbol table.

Definition at line 3645 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsoxd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimclrd ( DxfDimStyle dimstyle)

Get the dimension line color value (dimclrd) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension line color value (dimclrd).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3681 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimclrd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimclrd ( DxfDimStyle dimstyle,
int  dimclrd 
)

Set the dimension line color value (dimclrd) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimclrdthe dimension line color value (dimclrd) to be set for the symbol table.

Definition at line 3711 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimclrd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimclre ( DxfDimStyle dimstyle)

Get the dimension extension line color value (dimclre) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension extension line color value (dimclre).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3747 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimclre, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimclre ( DxfDimStyle dimstyle,
int  dimclre 
)

Set the dimension extension line color value (dimclre) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimclrethe dimension extension line color value (dimclre) to be set for the symbol table.

Definition at line 3777 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimclre, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimclrt ( DxfDimStyle dimstyle)

Get the dimension text color value (dimclrt) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension text color value (dimclrt).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3813 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimclrt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimclrt ( DxfDimStyle dimstyle,
int  dimclrt 
)

Set the dimension text color value (dimclrt) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimclrtthe dimension text color value (dimclrt) to be set for the symbol table.

Definition at line 3843 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimclrt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_init().

int dxf_dimstyle_get_dimunit ( DxfDimStyle dimstyle)

Get the dimension units format value (dimunit) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension units format value (dimunit).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3879 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimunit, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimunit ( DxfDimStyle dimstyle,
int  dimunit 
)

Set the dimension units format value (dimunit) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimunitthe dimension units format value (dimunit) to be set for the symbol table.

Definition at line 3921 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimunit, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimdec ( DxfDimStyle dimstyle)

Get the number of decimal places for the tolerance values of a primary units dimension value (dimdec) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the number of decimal places for the tolerance values of a primary units dimension value (dimdec).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 3971 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimdec, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimdec ( DxfDimStyle dimstyle,
int  dimdec 
)

Set the number of decimal places for the tolerance values of a primary units dimension value (dimdec) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimdecthe number of decimal places for the tolerance values of a primary units dimension value (dimdec) to be set for the symbol table.

Definition at line 4002 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimdec, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimtdec ( DxfDimStyle dimstyle)

Get the number of decimal places to display the tolerance values (dimtdec) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the number of decimal places to display the tolerance values (dimtdec).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4041 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtdec, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtdec ( DxfDimStyle dimstyle,
int  dimtdec 
)

Set the number of decimal places to display the tolerance values (dimtdec) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtdecthe number of decimal places to display the tolerance values (dimtdec) to be set for the symbol table.

Definition at line 4072 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtdec, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimaltu ( DxfDimStyle dimstyle)

Get the units format for alternate units value (dimaltu) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the units format for alternate units value (dimaltu).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4109 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltu, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimaltu ( DxfDimStyle dimstyle,
int  dimaltu 
)

Set the units format for alternate units value (dimaltu) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaltuthe units format for alternate units value (dimaltu) to be set for the symbol table.

Definition at line 4139 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltu, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimalttd ( DxfDimStyle dimstyle)

Get the number of decimal places for tolerance values of an alternate units dimension value (dimalttd) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the number of decimal places for tolerance values of an alternate units dimension value (dimalttd).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4177 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimalttd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimalttd ( DxfDimStyle dimstyle,
int  dimalttd 
)

Set the number of decimal places for tolerance values of an alternate units dimension value (dimalttd) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimalttdthe number of decimal places for tolerance values of an alternate units dimension value (dimalttd) to be set for the symbol table.

Definition at line 4208 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimalttd, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimaunit ( DxfDimStyle dimstyle)

Get the angle format for angular dimensions value (dimaunit) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the angle format for angular dimensions value value (dimaunit).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4246 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaunit, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimaunit ( DxfDimStyle dimstyle,
int  dimaunit 
)

Set the angle format for angular dimensions value (dimaunit) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaunitthe angle format for angular dimensions value (dimaunit) to be set for the symbol table.

Definition at line 4288 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaunit, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimjust ( DxfDimStyle dimstyle)

Get the horizontal dimension text position value (dimjust) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the horizontal dimension text position value (dimjust).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4336 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimjust, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimjust ( DxfDimStyle dimstyle,
int  dimjust 
)

Set the horizontal dimension text position value (dimjust) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimjustthe horizontal dimension text position value (dimjust) to be set for the symbol table.

Definition at line 4378 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimjust, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimsd1 ( DxfDimStyle dimstyle)

Get the suppression of first extension line value (dimsd1) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the suppression of first extension line value (dimsd1).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4426 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsd1, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimsd1 ( DxfDimStyle dimstyle,
int  dimsd1 
)

Set the suppression of first extension line value (dimsd1) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimsd1the suppression of first extension line value (dimsd1) to be set for the symbol table.

Definition at line 4468 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsd1, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimsd2 ( DxfDimStyle dimstyle)

Get the suppression of the second extension line value (dimsd2) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the suppression of the second extension line value (dimsd2).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4517 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsd2, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimsd2 ( DxfDimStyle dimstyle,
int  dimsd2 
)

Set the suppression of the second extension line value (dimsd2) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimsd2the suppression of the second extension line value (dimsd2) to be set for the symbol table.

Definition at line 4559 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimsd2, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimtolj ( DxfDimStyle dimstyle)

Get the vertical justification for tolerance value (dimtolj) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the vertical justification for tolerance value (dimtolj).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4607 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtolj, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtolj ( DxfDimStyle dimstyle,
int  dimtolj 
)

Set the vertical justification for tolerance value (dimtolj) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtoljthe vertical justification for tolerance value (dimtolj) to be set for the symbol table.

Definition at line 4649 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtolj, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimtzin ( DxfDimStyle dimstyle)

Get the suppression of zeros for tolerance value (dimtzin) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the suppression of zeros for tolerance value (dimtzin).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4697 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtzin, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtzin ( DxfDimStyle dimstyle,
int  dimtzin 
)

Set the suppression of zeros for tolerance value (dimtzin) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtzinthe suppression of zeros for tolerance value (dimtzin) to be set for the symbol table.

Definition at line 4739 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtzin, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimaltz ( DxfDimStyle dimstyle)

Get the toggle suppression of zeros for alternate unit dimension value (dimaltz) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the toggle suppression of zeros for alternate unit dimension value (dimaltz).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4789 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimaltz ( DxfDimStyle dimstyle,
int  dimaltz 
)

Set the toggle suppression of zeros for alternate unit dimension value (dimaltz) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimaltzthe toggle suppression of zeros for alternate unit dimension value (dimaltz) to be set for the symbol table.

Definition at line 4832 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimaltz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimalttz ( DxfDimStyle dimstyle)

Get the toggle suppression of zeros for tolerance units value (dimalttz) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the toggle suppression of zeros for tolerance units value (dimalttz).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4883 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimalttz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimalttz ( DxfDimStyle dimstyle,
int  dimalttz 
)

Set the toggle suppression of zeros for tolerance units value (dimalttz) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimalttzthe toggle suppression of zeros for tolerance units value (dimaltz) to be set for the symbol table.

Definition at line 4926 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimalttz, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimfit ( DxfDimStyle dimstyle)

Get the placement of text and arrowheads value (dimfit) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the placement of text and arrowheads value (dimfit).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 4974 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimfit, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimfit ( DxfDimStyle dimstyle,
int  dimfit 
)

Set the placement of text and arrowheads value (dimfit) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimfitthe placement of text and arrowheads value (dimfit) to be set for the symbol table.

Definition at line 5016 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimfit, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

int dxf_dimstyle_get_dimupt ( DxfDimStyle dimstyle)

Get the cursor functionality for user positioned text value (dimupt) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the cursor functionality for user positioned text value (dimupt).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 5065 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimupt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimupt ( DxfDimStyle dimstyle,
int  dimupt 
)

Set the cursor functionality for user positioned text value (dimupt) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimuptthe cursor functionality for user positioned text value (dimupt) to be set for the symbol table.

Definition at line 5107 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimupt, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

char* dxf_dimstyle_get_dimtxsty ( DxfDimStyle dimstyle)

Get the dimension text style value (dimtxsty) from a DXF dimension style symbol table (DIMSTYLE).

Returns:
the dimension text style value (dimtxsty).
Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).

Definition at line 5155 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtxsty, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

Referenced by dxf_dimstyle_write().

DxfDimStyle* dxf_dimstyle_set_dimtxsty ( DxfDimStyle dimstyle,
char *  dimtxsty 
)

Set the dimension text style value (dimtxsty) for this DXF dimension style symbol table (DIMSTYLE).

Parameters:
dimstylea pointer to a DXF dimension style symbol table (DIMSTYLE).
dimtxstythe dimension text style value (dimtxsty) to be set for the symbol table.

Definition at line 5185 of file dimstyle.c.

References _, dxf_dimstyle_struct::dimtxsty, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.

DxfDimStyle* dxf_dimstyle_get_next ( DxfDimStyle dimstyle)

Get the pointer to the next DIMSTYLE dimension style symbol table from a DXF DIMSTYLE dimension style symbol table.

Returns:
pointer to the next DIMSTYLE dimension style symbol table.
Warning:
No checks are performed on the returned pointer.
Parameters:
dimstylea pointer to a DXF DIMSTYLE dimension style symbol table.

Definition at line 5230 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_dimstyle_struct::next.

DxfDimStyle* dxf_dimstyle_set_next ( DxfDimStyle dimstyle,
DxfDimStyle next 
)

Set the pointer to the next DIMSTYLE for a DXF DIMSTYLE dimension style symbol table.

Parameters:
dimstylea pointer to a DXF DIMSTYLE dimension style symbol table.
nexta pointer to the next DIMSTYLE for the symbol table.

Definition at line 5267 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_dimstyle_struct::next.

Referenced by dxf_dimstyle_init().

DxfDimStyle* dxf_dimstyle_get_last ( DxfDimStyle dimstyle)

Get the pointer to the last DIMSTYLE dimension style symbol table from a linkedlist of DXF DIMSTYLE dimension style symbol tables.

Returns:
pointer to the last DIMSTYLE dimension style symbol table.
Warning:
No checks are performed on the returned pointer.
Parameters:
dimstylea pointer to a DXF DIMSTYLE dimension style symbol table.

Definition at line 5313 of file dimstyle.c.

References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_dimstyle_struct::next.