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

dxf_style Struct Reference

DXF definition of an AutoCAD (text) style (STYLE). More...

#include <style.h>

Collaboration diagram for dxf_style:
Collaboration graph
[legend]

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 DxfStylenext

Detailed Description

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).

Version:
According to DXF R10.
According to DXF R11.
According to DXF R12.
According to DXF R13.
According to DXF R14.

Definition at line 63 of file style.h.


Field Documentation

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().

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().

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().

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().

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().

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().

Standard flag values.
Bit coded:

  1. Loads a shape file, only the primary_font_filename (group code = 3) is relevant.
  2. Text is vertical oriented.
  3. If set, table entry is externally dependent on an Xref.
  4. If this bit and bit 16 are both set, the externally dependent Xref has been successfully resolved.
  5. If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited.

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:

  1. Text is backward (mirrored in X).
  2. Text is upside down (mirrored in Y).


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().

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().


The documentation for this struct was generated from the following file: