yucad3d

Printing & Plotting

Plot the drawing to a printer, to PDF, or to a raster image, and manage named plot regions.

Outputs

Plot regions

The CadPrnRect* / rectangle-print family defines and queries named plot rectangles — rectangular areas of model space earmarked for output, each with its own scale and paper mapping. This mirrors Vecad's print-region model so a migrating host keeps its plotting UI.

/* render the current view region to a PNG at 1600×1200 */
CadExportImage(dwg, "preview.png", 1600, 1200);
Rendering for print/export uses the same OpenGL scene as the on-screen viewport, so what plots matches what's shown (subject to the target resolution and paper mapping).