Objects
objects/ layout
#include "dxfio/objects/layout.hpp"In DxfIO::Objects
struct LayoutLAYOUT
A LAYOUT: the model space tab or a paper space sheet, with how it plots.
| Field | Type and default | Meaning |
|---|---|---|
Base | DxfIO::Base | The handle, owner, reactors and extended data. |
Plot | Boxed<Objects::Plot> | How the layout plots, as a PLOTSETTINGS gives it; kept on the heap, so every object stays small. |
Name | std::string | The name on the layout's tab, such as "Model" or "Layout1". Group 1. |
Flags | int{1} | Bits: 1 to scale linetypes by the viewport, as $PSLTSCALE; 2 to keep drawing within the limits, as $LIMCHECK. Group 70. |
Order | int | The place of the tab among the layouts; 0 for model space. Group 71. |
Limmin | Vector | The lower left limits. Groups 10, 20. |
Limmax | Vector{Limits} | The upper right limits. Groups 11, 21. |
Insbase | Vector | The base point blocks are inserted by. Groups 12, 22, 32. |
Extmin | Vector | The lower left corner of what is drawn. Groups 14, 24, 34. |
Extmax | Vector | The upper right corner of what is drawn. Groups 15, 25, 35. |
Axes | Tables::Axes | The UCS of the layout. |
Block | Handle | The BLOCK_RECORD of the layout's space. Group 330. |
Viewport | Handle | The viewport last active in the layout. Group 331. |
Constants
Limits | Vector = .X = 12, .Y = 9, .Z = 0 | The upper right limits of a new layout: 12 by 9. |