forked from 1b-agent/opencadstudio-upstream
DWF underlays: read the W2D set-origin opcode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
b1d4c9bd9b
commit
da7eb66a4d
1 file changed
+7
@@ -636,6 +636,13 @@ mod w2d {
|
||||
let size = r.i32()?;
|
||||
r.i = r.i.checked_add(size.max(0) as usize)?;
|
||||
}
|
||||
b'O' => {
|
||||
// Set origin: the absolute point later relative
|
||||
// coordinates continue from (plot-optimized streams
|
||||
// start each drawing with it).
|
||||
r.i += 1;
|
||||
at = [r.i32()? as f64, r.i32()? as f64];
|
||||
}
|
||||
b'V' => {
|
||||
visible = true;
|
||||
r.i += 1;
|
||||
|
||||
Reference in new issue
Block a user