Skip to main content

dwg_handle

Type Alias dwg_handle 

Source
pub type dwg_handle = _dwg_handle;
Expand description

handles resolve absolute or relative indices to objects.

code 2-5: represents the type of the relation: hard/soft, owner/id.

code TYPEDOBJHANDLE: 2 Soft owner, 3 Hard owner, 4 Soft pointer, 5 Hard pointer

code > 6: the handle is stored as an offset from some other handle.

code OFFSETOBJHANDLE for soft owners or pointers: 6 ref + 1, 8 ref - 1, a ref + offset, c ref - offset

See \ref Dwg_Handle

Aliased Type§

#[repr(C)]
pub struct dwg_handle { pub code: u8, pub size: u8, pub value: u64, pub is_global: u8, }

Fields§

§code: u8

< OFFSETOBJHANDLE if > 6

§size: u8§value: u64§is_global: u8