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

dxf_region_struct Struct Reference

DXF definition of an AutoCAD region entity (REGION). More...

#include <region.h>

Collaboration diagram for dxf_region_struct:
Collaboration graph
[legend]

Data Fields

int id_code
char * linetype
char * layer
double elevation
double thickness
double linetype_scale
int16_t visibility
int color
int paperspace
int graphics_data_size
int16_t shadow_mode
DxfBinaryGraphicsDatabinary_graphics_data
char * dictionary_owner_soft
char * material
char * dictionary_owner_hard
int16_t lineweight
char * plot_style_name
long color_value
char * color_name
long transparency
DxfCharproprietary_data
DxfCharadditional_proprietary_data
int modeler_format_version_number
struct DxfRegionnext

Detailed Description

DXF definition of an AutoCAD region entity (REGION).

Definition at line 62 of file region.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 region.h.

Referenced by dxf_region_get_id_code(), dxf_region_init(), dxf_region_read(), dxf_region_set_id_code(), dxf_region_write(), and dxf_seqend_set_id_code().

The linetype of the entity.
Defaults to BYLAYER if ommitted in the DXF file.
Group code = 6.

Definition at line 72 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_linetype(), dxf_region_init(), dxf_region_read(), dxf_region_set_linetype(), and dxf_region_write().

Layer on which the entity is drawn.
Defaults to layer "0" if no valid layername is given.
Group code = 8.

Definition at line 76 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_layer(), dxf_region_init(), dxf_region_read(), dxf_region_set_layer(), and dxf_region_write().

Elevation of the entity in the local Z-direction.
Defaults to 0.0 if omitted in the DXF file, or prior to DXF version R12, or DXF_FLATLAND equals 0 (default).
Group code = 38.

Deprecated:
As of version R11.

Definition at line 80 of file region.h.

Referenced by dxf_region_get_elevation(), dxf_region_init(), dxf_region_read(), dxf_region_set_elevation(), dxf_region_write(), and dxf_seqend_set_elevation().

Thickness of the entity in the local Z-direction.
Defaults to 0.0 if ommitted in the DXF file.
Group code = 39.

Definition at line 86 of file region.h.

Referenced by dxf_region_get_thickness(), dxf_region_init(), dxf_region_read(), dxf_region_set_thickness(), dxf_region_write(), and dxf_seqend_set_thickness().

Linetype scale (optional).
Group code = 48.

Since:
Introduced in version R13.

Definition at line 90 of file region.h.

Referenced by dxf_region_get_linetype_scale(), dxf_region_init(), dxf_region_read(), dxf_region_set_linetype_scale(), dxf_region_write(), and dxf_seqend_set_linetype_scale().

Object visibility (optional):

  1. Visible
  2. Invisible

Group code = 60.

Since:
Introduced in version R13.

Definition at line 94 of file region.h.

Referenced by dxf_region_get_visibility(), dxf_region_init(), dxf_region_read(), dxf_region_set_visibility(), dxf_region_write(), and dxf_seqend_set_visibility().

Color of the entity.
Defaults to BYLAYER if ommitted in the DXF file.
Note that entities encapsulated in a block with the color BYBLOCK are represented in the "native" color of the BLOCK entity.
Group code = 62.

Definition at line 102 of file region.h.

Referenced by dxf_region_get_color(), dxf_region_init(), dxf_region_read(), dxf_region_set_color(), dxf_region_write(), and dxf_seqend_set_color().

Entities are to be drawn on either PAPERSPACE or MODELSPACE.
Optional, defaults to DXF_MODELSPACE (0).
Group code = 67.

Since:
Introduced in version R13.

Definition at line 109 of file region.h.

Referenced by dxf_region_get_paperspace(), dxf_region_init(), dxf_region_read(), dxf_region_set_paperspace(), dxf_region_write(), and dxf_seqend_set_paperspace().

Number of bytes in the proxy entity graphics represented in the sub-sequent 310 groups, which are binary chunk records (optional).
Group code = 92.

Since:
Introduced in version R2000.
Warning:
On some 64 bit workstations output is generated with group code "160", thus omitting group code "92".

Definition at line 115 of file region.h.

Referenced by dxf_region_get_graphics_data_size(), dxf_region_set_graphics_data_size(), and dxf_seqend_set_graphics_data_size().

Shadow mode:

  1. Casts and receives shadows.
  2. Casts shadows.
  3. Receives shadows.
  4. Ignores shadows.


Group code = 284.

Since:
Introduced in version R2009.

Definition at line 124 of file region.h.

Referenced by dxf_region_get_shadow_mode(), dxf_region_set_shadow_mode(), and dxf_seqend_set_shadow_mode().

Proxy entity graphics data.
Multiple lines of 256 characters maximum per line (optional).
Group code = 310.

Since:
Introduced in version R2000.

Definition at line 134 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_binary_graphics_data(), and dxf_region_set_binary_graphics_data().

Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.

Since:
Introduced in version R14.

Definition at line 140 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_dictionary_owner_soft(), dxf_region_init(), dxf_region_read(), dxf_region_set_dictionary_owner_soft(), and dxf_region_write().

Hard-pointer ID/handle to material object (present if not BYLAYER).
Group code = 347.

Since:
Introduced in version R2008.

Definition at line 144 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_material(), and dxf_region_set_material().

Hard owner ID/handle to owner dictionary (optional).
Group code = 360.

Since:
Introduced in version R14.

Definition at line 149 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_dictionary_owner_hard(), dxf_region_init(), dxf_region_read(), dxf_region_set_dictionary_owner_hard(), and dxf_region_write().

Lineweight enum value.
Stored and moved around as a 16-bit integer.
Group code = 370.

Since:
Introduced in version R2002.

Definition at line 153 of file region.h.

Referenced by dxf_region_get_lineweight(), dxf_region_set_lineweight(), and dxf_seqend_set_lineweight().

Hard pointer ID / handle of PlotStyleName object.
Group code = 390.

Since:
Introduced in version R2009.

Definition at line 158 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_plot_style_name(), and dxf_region_set_plot_style_name().

A 24-bit color value that should be dealt with in terms of bytes with values of 0 to 255.
The lowest byte is the blue value, the middle byte is the green value, and the third byte is the red value.
The top byte is always 0.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 420.

Since:
Introduced in version R2004.

Definition at line 162 of file region.h.

Referenced by dxf_region_get_color_value(), dxf_region_set_color_value(), and dxf_seqend_set_color_value().

Color name.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 430.

Since:
Introduced in version R2004.

Definition at line 174 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_color_name(), and dxf_region_set_color_name().

Transparency value.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 440.

Since:
Introduced in version R2004.

Definition at line 182 of file region.h.

Referenced by dxf_region_get_transparency(), dxf_region_set_transparency(), and dxf_seqend_set_transparency().

Proprietary data (multiple lines < 255 characters each).
Group code = 1.

Definition at line 191 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_proprietary_data(), dxf_region_init(), dxf_region_read(), dxf_region_set_proprietary_data(), and dxf_region_write().

Additional lines of proprietary data if previous group 1 string is greater than 255 characters (optional).
Group code = 3.

Definition at line 195 of file region.h.

Referenced by dxf_region_free(), dxf_region_get_additional_proprietary_data(), dxf_region_init(), dxf_region_read(), dxf_region_set_additional_proprietary_data(), and dxf_region_write().

Modeler format version number (currently = 1).
Group code = 70.

Definition at line 200 of file region.h.

Referenced by dxf_region_get_modeler_format_version_number(), dxf_region_init(), dxf_region_read(), dxf_region_set_modeler_format_version_number(), and dxf_region_write().

pointer to the next DxfRegion.
NULL in the last DxfRegion.

Definition at line 202 of file region.h.

Referenced by dxf_region_free(), dxf_region_free_chain(), dxf_region_get_last(), dxf_region_get_next(), dxf_region_init(), and dxf_region_set_next().


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