forked from 1b-agent/opencadstudio-upstream
fix(plot): align paper space output
Use the same area pipeline as model space while keeping Layout bound to the physical sheet and printable margins. Share scale, rotation, clipping, and viewport fills across preview, PDF, and printer output.
This commit is contained in:
1 parent
7285e3de51
commit
eb0861cf6e
8 files changed
+1032
-370
No files matched your search
@@ -1,7 +1,7 @@
|
||||
// PLOTWINDOW command — pick two corners to define the plot window area.
|
||||
//
|
||||
// In paper space it writes the layout's PlotSettings (PlotType::Window); in
|
||||
// model space the host stores the window for the plot dialog.
|
||||
// In both model and paper space the host stores the picked rectangle for the
|
||||
// plot dialog; committing the dialog persists it to layout PlotSettings.
|
||||
|
||||
use crate::command::{CadCommand, CmdResult};
|
||||
use crate::scene::model::wire_model::WireModel;
|
||||
|
||||
Reference in new issue
Block a user