Objects
objects/ plot
#include "dxfio/objects/plot.hpp"In DxfIO::Objects
struct Plot
What a layout or a page setup plots and how: the AcDbPlotSettings part both carry.
| Field | Type and default | Meaning |
|---|---|---|
Name | std::string | The name of the page setup. Group 1. |
Device | std::string | The printer or plot configuration file. Group 2. |
Size | std::string | The paper size, as the device names it. Group 4. |
View | std::string | The view plotted when Type is 3. Group 6. |
Left | double | The unprintable margin on the left of the paper, in millimeters. Group 40. |
Bottom | double | The unprintable margin at the bottom, in millimeters. Group 41. |
Right | double | The unprintable margin on the right, in millimeters. Group 42. |
Top | double | The unprintable margin at the top, in millimeters. Group 43. |
Width | double | The width of the paper, in millimeters. Group 44. |
Height | double | The height of the paper, in millimeters. Group 45. |
Origin | Vector | How far the plot is moved from the paper's origin, in millimeters. Groups 46, 47. |
Lower | Vector | The lower left corner of the window plotted when Type is 4. Groups 48, 49. |
Upper | Vector | The upper right corner of the window plotted when Type is 4. Groups 140, 141. |
Paper | double{1} | The paper units of a custom scale. Group 142. |
Drawing | double{1} | The drawing units of a custom scale. Group 143. |
Flags | int{Plotted} | Bits: 1 viewport borders, 2 plot styles shown, 4 centered, 8 hidden, 16 standard scale, 32 plot styles, 64 lineweights scaled, 128 lineweights, 512 viewports first, 1024 model space. Group 70. |
Units | int | The units of the paper: 0 inches, 1 millimeters, 2 pixels. Group 72. |
Rotation | int | The rotation of the plot: 0 none, 1 a quarter turn counterclockwise, 2 a half turn, 3 a quarter turn clockwise. Group 73. |
Type | int{PlotLayout} | What is plotted: 0 the last screen, 1 the extents, 2 the limits, 3 View, 4 the window from Lower to Upper, 5 the layout. Group 74. |
Style | std::string | The plot style table, such as "acad.ctb". Group 7. |
Standard | int{Actual} | The standard scale: 0 scaled to fit, 16 1:1, others for the scales AutoCAD lists. Group 75. |
Factor | double{1} | The standard scale as a number. Group 147. |
Shading | int | How 3D views are shaded: 0 as displayed, 1 wireframe, 2 hidden, 3 rendered. Group 76, from R2004. |
Resolution | int{Normal} | The resolution of shaded plots: 0 draft, 1 preview, 2 normal, 3 presentation, 4 maximum, 5 custom. Group 77, from R2004. |
Dots | int{Dpi} | The dots per inch of shaded plots when Resolution is custom. Group 78, from R2004. |
Image | Vector | The origin of the paper image. Groups 148, 149. |
Constants
Plotted | int = 688 | The plot flags of a new layout: 16 standard scale, 32 plot styles, 128 lineweights, 512 viewports first. |
PlotLayout | int = 5 | The plot type that plots the layout itself, its own sheet: what a new layout plots. |
Actual | int = 16 | A standard scale: 1:1. |
Normal | int = 2 | A shade plot resolution: normal. |
Dpi | int = 300 | The shade plot resolution of a new layout, in dots per inch. |