libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD (text) style (STYLE
).
More...
#include <style.h>
Data Fields | |
int | id_code |
char * | style_name |
char * | primary_font_filename |
char * | big_font_filename |
double | height |
double | width |
double | last_height |
double | oblique_angle |
int | flag |
int | text_generation_flag |
char * | dictionary_owner_soft |
char * | dictionary_owner_hard |
struct DxfStyle * | next |
DXF definition of an AutoCAD (text) style (STYLE
).
A STYLE
table item can also be used to record shape file LOAD
requests.
In this case the first bit (1) is set in the 70 group flags and only the 3 group (shape filename) is meaningful (all the other groups are output).
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.
Definition at line 67 of file style.h.
Referenced by dxf_style_init(), dxf_style_read(), and dxf_style_write().
char* dxf_style::style_name |
Style name.
Group code = 2.
Definition at line 72 of file style.h.
Referenced by dxf_style_free(), dxf_style_init(), dxf_style_read(), and dxf_style_write().
Primary font file name.
Group code = 3.
Definition at line 75 of file style.h.
Referenced by dxf_style_free(), dxf_style_init(), dxf_style_read(), and dxf_style_write().
Bigfont file name; blank if none.
Group code = 4.
Definition at line 78 of file style.h.
Referenced by dxf_style_free(), dxf_style_init(), dxf_style_read(), and dxf_style_write().
double dxf_style::height |
Fixed text height; 0 if not fixed.
Group code = 40.
Definition at line 81 of file style.h.
Referenced by dxf_style_init(), dxf_style_read(), and dxf_style_write().
double dxf_style::width |
Width factor.
Group code = 41.
Definition at line 84 of file style.h.
Referenced by dxf_style_init(), dxf_style_read(), and dxf_style_write().
double dxf_style::last_height |
Last height used.
Group code = 42.
Definition at line 87 of file style.h.
Referenced by dxf_style_init(), dxf_style_read(), and dxf_style_write().
double dxf_style::oblique_angle |
Oblique angle.
Group code = 50.
Definition at line 90 of file style.h.
Referenced by dxf_style_init(), dxf_style_read(), and dxf_style_write().
int dxf_style::flag |
Standard flag values.
Bit coded:
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.
Group code = 70.
Definition at line 93 of file style.h.
Referenced by dxf_style_init(), dxf_style_is_referenced(), dxf_style_is_shape_file(), dxf_style_is_text_vertical(), dxf_style_is_xreferenced(), dxf_style_is_xresolved(), dxf_style_read(), and dxf_style_write().
Text generation flags.
Bit coded:
Group code = 71.
Definition at line 114 of file style.h.
Referenced by dxf_style_init(), dxf_style_read(), and dxf_style_write().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 122 of file style.h.
Referenced by dxf_style_read(), and dxf_style_write().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 125 of file style.h.
Referenced by dxf_style_read(), and dxf_style_write().
struct DxfStyle* dxf_style::next |
Pointer to the next DxfStyle.
NULL
in the last DxfStyle.
Definition at line 127 of file style.h.
Referenced by dxf_style_free(), dxf_style_free_chain(), and dxf_style_init().