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