DWF underlays: read the W2D set-origin opcode

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-13 16:42:31 +03:00
1 parent b1d4c9bd9b
commit da7eb66a4d
1 file changed
+7
+7
View File
@@ -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;