libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD dimensioning style. More...
#include <dimstyle.h>
Data Fields | |
char * | dimstyle_name |
char * | dimpost |
char * | dimapost |
char * | dimblk |
char * | dimblk1 |
char * | dimblk2 |
double | dimscale |
double | dimasz |
double | dimexo |
double | dimdli |
double | dimexe |
double | dimrnd |
double | dimdle |
double | dimtp |
double | dimtm |
int | flag |
int | dimtol |
int | dimlim |
int | dimtih |
int | dimtoh |
int | dimse1 |
int | dimse2 |
int | dimtad |
int | dimzin |
int | id_code |
double | dimtxt |
double | dimcen |
double | dimtsz |
double | dimaltf |
double | dimlfac |
double | dimtvp |
double | dimtfac |
double | dimgap |
int | dimalt |
int | dimaltd |
int | dimtofl |
int | dimsah |
int | dimtix |
int | dimsoxd |
int | dimclrd |
int | dimclre |
int | dimclrt |
int | dimunit |
int | dimdec |
int | dimtdec |
int | dimaltu |
int | dimalttd |
int | dimaunit |
int | dimjust |
int | dimsd1 |
int | dimsd2 |
int | dimtolj |
int | dimtzin |
int | dimaltz |
int | dimalttz |
int | dimfit |
int | dimupt |
char * | dimtxsty |
struct DxfDimStyle * | next |
DXF definition of an AutoCAD dimensioning style.
Definition at line 57 of file dimstyle.h.
Dimension style name.
Group code = 2.
Definition at line 61 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimstyle_name(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimstyle_name().
General dimensioning suffix.
Group code = 3.
Definition at line 64 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimpost(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimpost().
Alternate dimensioning suffix.
Group code = 4.
Definition at line 67 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimapost(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimapost().
Arrow block name, until R2000.
Group code = 5.
Definition at line 70 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimblk(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimblk().
First arrow block name, until R2000.
Group code = 6.
Definition at line 73 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimblk1(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimblk1().
Second arrow block name, until R2000.
Group code = 7.
Definition at line 76 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimblk2(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimblk2().
Overall dimensioning scale factor.
Group code = 40.
Definition at line 79 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimscale(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimscale().
double dxf_dimstyle_struct::dimasz |
Dimensioning arrow size.
Group code = 41.
Definition at line 82 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimasz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimasz().
double dxf_dimstyle_struct::dimexo |
Extension line offset.
Group code = 42.
Definition at line 85 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimexo(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimexo().
double dxf_dimstyle_struct::dimdli |
Dimension line increment.
Group code = 43.
Definition at line 88 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimdli(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimdli().
double dxf_dimstyle_struct::dimexe |
Extension line extension.
Group code = 44.
Definition at line 91 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimexe(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimexe().
double dxf_dimstyle_struct::dimrnd |
Rounding value for dimension distances.
Group code = 45.
Definition at line 94 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimrnd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimrnd().
double dxf_dimstyle_struct::dimdle |
Dimension line extension.
Group code = 46.
Definition at line 97 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimdle(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimdle().
double dxf_dimstyle_struct::dimtp |
Plus tolerance.
Group code = 47.
Definition at line 100 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtp(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtp().
double dxf_dimstyle_struct::dimtm |
Minus tolerance.
Group code = 48.
Definition at line 103 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtm(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtm().
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.
Bit coded:
Group code = 70.
Definition at line 106 of file dimstyle.h.
Referenced by dxf_dimstyle_get_flag(), dxf_dimstyle_read(), and dxf_dimstyle_set_flag().
Dimension tolerances generated if nonzero.
Group code = 71.
Definition at line 122 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtol(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtol().
Dimension limits generated if nonzero.
Group code = 72.
Definition at line 125 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimlim(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimlim().
Text inside horizontal if nonzero.
Group code = 73.
Definition at line 128 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtih(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtih().
Text outside horizontal if nonzero.
Group code = 74.
Definition at line 131 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtoh(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtoh().
First extension line suppressed if nonzero.
Group code = 75.
Definition at line 134 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimse1(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimse1().
Second extension line suppressed if nonzero.
Group code = 76.
Definition at line 137 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimse2(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimse2().
Text above dimension line if nonzero.
Group code = 77.
Definition at line 140 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtad(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtad().
Zero suppression for "feet & inch" dimensions.
Group code = 78.
Definition at line 143 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimzin(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimzin().
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 105.
Definition at line 146 of file dimstyle.h.
Referenced by dxf_dimstyle_get_id_code(), dxf_dimstyle_read(), dxf_dimstyle_set_id_code(), dxf_dimstyle_write(), and dxf_donut_write().
double dxf_dimstyle_struct::dimtxt |
Dimensioning text height.
Group code = 140.
Definition at line 151 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtxt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtxt().
double dxf_dimstyle_struct::dimcen |
Size of center mark/lines.
Group code = 141.
Definition at line 154 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimcen(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimcen().
double dxf_dimstyle_struct::dimtsz |
Dimensioning tick size: 0 = no ticks.
Group code = 142.
Definition at line 157 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtsz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtsz().
double dxf_dimstyle_struct::dimaltf |
Alternate unit scale factor.
Group code = 143.
Definition at line 160 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimaltf(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltf().
double dxf_dimstyle_struct::dimlfac |
Linear measurements scale factor.
Group code = 144.
Definition at line 163 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimlfac(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimlfac().
double dxf_dimstyle_struct::dimtvp |
Text vertical position.
Group code = 145.
Definition at line 166 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtvp(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtvp().
double dxf_dimstyle_struct::dimtfac |
Dimension tolerance display scale factor.
Group code = 146.
Definition at line 169 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtfac(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtfac().
double dxf_dimstyle_struct::dimgap |
Dimension line gap.
Group code = 147.
Definition at line 172 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimgap(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimgap().
Alternate unit dimensioning performed if nonzero.
Group code = 170.
Definition at line 175 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimalt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimalt().
Alternate unit decimal places.
Group code = 171.
Definition at line 178 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimaltd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltd().
If text outside extensions, force line extensions between extensions if nonzero.
Group code = 172.
Definition at line 181 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtofl(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtofl().
Use separate arrow blocks if nonzero.
Group code = 173.
Definition at line 185 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimsah(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsah().
Force text inside extensions if nonzero.
Group code = 174.
Definition at line 188 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtix(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtix().
Suppress outside-extensions dimension lines if nonzero.
Group code = 175.
Definition at line 191 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimsoxd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsoxd().
Dimension line color.
Group code = 176.
Definition at line 195 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimclrd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimclrd().
Dimension extension line color.
Group code = 177.
Definition at line 198 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimclre(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimclre().
Dimension text color.
Group code = 178.
Definition at line 201 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimclrt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimclrt().
Units format for all dimension style family members except angular:
Group code = 270.
Definition at line 204 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimunit(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimunit().
Number of decimal places for the tolerance values of a primary units dimension.
Group code = 271.
Definition at line 214 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimdec(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimdec().
Number of decimal places to display the tolerance values.
Group code = 272.
Definition at line 218 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtdec(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtdec().
Units format for alternate units of all dimension style family members except angular:
Group code = 273.
Definition at line 222 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimaltu(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltu().
Number of decimal places for tolerance values of an alternate units dimension.
Group code = 274.
Definition at line 232 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimalttd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimalttd().
Angle format for angular dimensions:
Group code = 275.
Definition at line 236 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimaunit(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaunit().
Horizontal dimension text position:
Group code = 280.
Definition at line 246 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimjust(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimjust().
Suppression of first extension line:
Group code = 281.
Definition at line 261 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimsd1(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsd1().
Suppression of second extension line:
Group code = 282.
Definition at line 268 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimsd2(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsd2().
Vertical justification for tolerance values:
Group code = 283.
Definition at line 275 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtolj(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtolj().
Suppression of zeros for tolerance values:
Group code = 284.
Definition at line 283 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtzin(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtzin().
Toggles suppression of zeros for alternate unit dimension values:
Group code = 285.
Definition at line 290 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimaltz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltz().
Toggles suppression of zeros for tolerance values:
Group code = 286.
Definition at line 298 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimalttz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimalttz().
Placement of text and arrowheads; Possible values:
0 through 3 (see appendix A, "System Variables," in the AutoCAD Command Reference).
Group code = 287.
Definition at line 305 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimfit(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimfit().
Cursor functionality for user positioned text:
Group code = 288.
Definition at line 310 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimupt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimupt().
Dimension text style.
Group code = 340.
Definition at line 319 of file dimstyle.h.
Referenced by dxf_dimstyle_get_dimtxsty(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtxsty().
struct DxfDimStyle* dxf_dimstyle_struct::next |
Pointer to the next DxfDimStyle.
NULL
in the last DxfDimStyle.
Definition at line 321 of file dimstyle.h.
Referenced by dxf_dimstyle_free(), dxf_dimstyle_free_chain(), dxf_dimstyle_get_last(), dxf_dimstyle_get_next(), and dxf_dimstyle_set_next().