forked from 1b-agent/opencadstudio-upstream
Merge pull request #1760 from ramox81/codex/dwf-set-origin
DWF underlays: read the W2D set-origin opcode
This commit is contained in:
commit
4313f4b263
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