Skip to main content

Module dxf

Module dxf 

Source

Structs§

Count
what happened to the entities of one DXF kind (an entity in a block once, however often it is inserted)
LayerOf
a DXF layer: its render2d layers (one per run of entities on it, in order), whether it is shown
Loaded
what a drawing became
Options
how a drawing is mapped. Made with new and changed field by field (it may grow)

Enums§

Family
a family of the fonts in the repository

Functions§

linetype_pattern
a linetype’s or hatch line’s dashes as DXF has them (positive on, negative off, 0 a dot), scaled, as render2d’s pattern (on, off, … at most max entries) and its phase; None: solid (no gap in it). Runs of one sign merge, a leading gap moves to the end (the phase says where an entity starts), too many entries lose their shortest dashes (dots first) to the gaps around them, so the period stays
load
a drawing in memory into a scene
read
a drawing read piece by piece into a scene (::dxf::read: only the tables and blocks are kept)