Plan Midra layout helper and add three visual concepts

This commit is contained in:
Dandaedre 2026-11-13 10:43:34 +01:00
parent 00a43e815e
commit 3446e4ca35
5 changed files with 662 additions and 0 deletions

View File

@ -47,6 +47,7 @@ opening reports, and reading video timings.
- [ASCII filename cleaner](docs/ascii-names.md)
- [Document exports](docs/exporter.md)
- [Rundown converter](docs/rundown-converter.md) · [Sample findings](docs/rundown-corpus.md)
- [Midra layout helper: plan and visual proposals](docs/midra-layout-plan.md) (design stage)
- [Development](docs/development.md) · [CI and coverage](docs/ci.md)
- [Cross builds and portable releases](docs/releases.md)
- [MPC-HC Companion module development](companion-modules/media-player-classic/README.md)

View File

@ -0,0 +1,116 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="900" viewBox="0 0 1440 900" role="img" aria-labelledby="title desc">
<title id="title">Midra Layout — concept A</title><desc id="desc">Static design proposal, not working software. Two 640 by 360 layers on a 1920 by 1080 screen. Right inspector shows corner offsets and converted center coordinates.</desc>
<rect x="0" y="0" width="1440" height="900" rx="0" fill="#111720" stroke="none"/>
<rect x="0" y="0" width="1440" height="62" rx="0" fill="#1b2330" stroke="none"/>
<path d="M0 62 L1440 62" fill="none" stroke="#354458" stroke-dasharray=""/>
<text x="24" y="37" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="19" font-weight="700">MIDRA / LAYOUT</text>
<text x="225" y="37" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Offline position helper</text>
<text x="1048" y="36" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">DESIGN CONCEPT A</text>
<rect x="1240" y="14" width="176" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="1252" y="36" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Copy coordinates</text>
<rect x="1040" y="63" width="400" height="806" rx="0" fill="#1b2330" stroke="none"/>
<path d="M1040 63 L1040 869" fill="none" stroke="#354458" stroke-dasharray=""/>
<rect x="24" y="82" width="184" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="36" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Screen 1 · 1920 × 1080</text>
<rect x="220" y="82" width="148" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="232" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Reference image</text>
<rect x="380" y="82" width="104" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="392" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Snap: off</text>
<rect x="496" y="82" width="92" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="508" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Undo</text>
<rect x="812" y="82" width="102" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="824" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Fit screen</text>
<rect x="926" y="82" width="92" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="938" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Zoom ▾</text>
<text x="28" y="158" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">A / OPERATOR DESK</text>
<text x="28" y="183" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="15" font-weight="400">Large canvas. Familiar controls. Values always visible.</text>
<text x="64" y="244" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">SCREEN 1</text>
<text x="786.4" y="244" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">1920 × 1080 px</text>
<rect x="64" y="260" width="902.4" height="507.59999999999997" rx="0" fill="#142d40" stroke="#637b92"/>
<rect x="64" y="260" width="902.4" height="33.839999999999996" rx="0" fill="#264556" stroke="none"/>
<text x="88" y="280.21" fill="#abc0cb" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="600">ANNUAL FORUM / MAIN STAGE</text>
<text x="88" y="719.5999999999999" fill="#a3b9c6" font-family="DejaVu Sans, sans-serif" font-size="23" font-weight="600">Ideas worth sharing.</text>
<text x="88" y="744.5999999999999" fill="#9bb0be" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Illustrative reference artwork · opacity 65%</text>
<path d="M64.0 260 L64.0 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M176.8 260 L176.8 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M289.6 260 L289.6 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M402.4 260 L402.4 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M515.2 260 L515.2 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M628.0 260 L628.0 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M740.8 260 L740.8 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M853.5999999999999 260 L853.5999999999999 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M966.4 260 L966.4 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 260.0 L966.4 260.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 344.6 L966.4 344.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 429.2 L966.4 429.2" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 513.8 L966.4 513.8" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 598.4 L966.4 598.4" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 683.0 L966.4 683.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M64 767.5999999999999 L966.4 767.5999999999999" fill="none" stroke="#27475a" stroke-dasharray=""/>
<rect x="120.4" y="344.6" width="300.79999999999995" height="169.2" rx="0" fill="#173b50" stroke="#f6c577"/>
<text x="134.4" y="371.6" fill="#f6c577" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">01 / PRESENTER</text>
<text x="134.4" y="495.79999999999995" fill="#c9d9e5" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">640 × 360 px</text>
<rect x="609.1999999999999" y="344.6" width="300.79999999999995" height="169.2" rx="0" fill="#173b50" stroke="#66dbef"/>
<text x="623.1999999999999" y="371.6" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">02 / SLIDES</text>
<text x="623.1999999999999" y="495.79999999999995" fill="#c9d9e5" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">640 × 360 px</text>
<rect x="605.1999999999999" y="340.6" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<rect x="905.9999999999999" y="340.6" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<rect x="605.1999999999999" y="509.79999999999995" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<rect x="905.9999999999999" y="509.79999999999995" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<path d="M752.5999999999999 429.20000000000005 L766.5999999999999 429.20000000000005" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M759.5999999999999 422.20000000000005 L759.5999999999999 436.20000000000005" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M924.0 260 L924.0 344.6" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M918.0 260 L930.0 260" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M918.0 344.6 L930.0 344.6" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<text x="930.0" y="306.3" fill="#8fe4f3" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">180</text>
<path d="M910.0 529.8 L966.4 529.8" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<text x="907.0" y="552.8" fill="#8fe4f3" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">120 px</text>
<text x="28" y="823" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Space + drag Pan Scroll Zoom at pointer Arrows Move 1 px</text>
<text x="28" y="848" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Reference: stage-layout.png 1920 × 1080 1:1 mapping Locked</text>
<text x="1064" y="96" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">LAYERS</text>
<rect x="1064" y="110" width="352" height="38" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1076" y="135" fill="#f6c577" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="600">01 Presenter</text>
<text x="1350" y="134" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Visible</text>
<rect x="1064" y="154" width="352" height="38" rx="5" fill="#121a25" stroke="#66dbef"/>
<text x="1076" y="179" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="600">02 Slides</text>
<text x="1350" y="178" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Visible</text>
<path d="M1064 211 L1416 211" fill="none" stroke="#354458" stroke-dasharray=""/>
<text x="1064" y="245" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="23" font-weight="600">02 / Slides</text>
<text x="1064" y="269" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Position from screen corner</text>
<rect x="1064" y="290" width="94" height="58" rx="4" fill="#121a25" stroke="#354458"/>
<rect x="1068" y="294" width="8" height="8" rx="1" fill="#a5b5c9" stroke="none"/>
<rect x="1146" y="294" width="8" height="8" rx="1" fill="#66dbef" stroke="none"/>
<rect x="1068" y="336" width="8" height="8" rx="1" fill="#a5b5c9" stroke="none"/>
<rect x="1146" y="336" width="8" height="8" rx="1" fill="#a5b5c9" stroke="none"/>
<text x="1176" y="312" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="17" font-weight="600">Top right</text>
<text x="1176" y="334" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Offsets inward</text>
<text x="1064" y="376" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">From right</text>
<rect x="1064" y="386" width="170.0" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1076" y="413" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">120 px</text>
<text x="1246.0" y="376" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">From top</text>
<rect x="1246.0" y="386" width="170.0" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1258.0" y="413" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">180 px</text>
<text x="1064" y="454" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Width</text>
<rect x="1064" y="464" width="170.0" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1076" y="491" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">640 px</text>
<text x="1246.0" y="454" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Height</text>
<rect x="1246.0" y="464" width="170.0" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1258.0" y="491" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">360 px</text>
<text x="1064" y="536" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Changing corner keeps the layer in place.</text>
<path d="M1064 557 L1416 557" fill="none" stroke="#354458" stroke-dasharray=""/>
<text x="1064" y="588" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">WEBRCS / CENTER POSITION</text>
<text x="1064" y="617" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Horizontal · from left</text>
<rect x="1064" y="627" width="170.0" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1076" y="654" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">1480 px</text>
<text x="1246.0" y="617" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Vertical · from top</text>
<rect x="1246.0" y="627" width="170.0" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1258.0" y="654" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">360 px</text>
<text x="1064" y="698" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Size 640 × 360 px</text>
<rect x="1064" y="722" width="352" height="34" rx="6" fill="#6655d9" stroke="#354458"/>
<text x="1076" y="744" fill="#ffffff" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Copy position values</text>
<text x="1064" y="784" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="500">Paste geometry…</text>
<text x="1064" y="807" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Preview coordinates before applying.</text>
<rect x="0" y="870" width="1440" height="30" rx="0" fill="#1b2330" stroke="none"/>
<text x="24" y="890" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">OFFLINE · No device connection</text>
<text x="920" y="890" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Static proposal · coordinate convention to verify</text>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,141 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="900" viewBox="0 0 1440 900" role="img" aria-labelledby="title desc">
<title id="title">Midra Layout — concept B</title><desc id="desc">Static design proposal, not working software. Two 640 by 360 layers on a 1920 by 1080 screen. Right inspector shows corner offsets and converted center coordinates.</desc>
<rect x="0" y="0" width="1440" height="900" rx="0" fill="#e8edf2" stroke="none"/>
<rect x="0" y="0" width="1440" height="62" rx="0" fill="#ffffff" stroke="none"/>
<path d="M0 62 L1440 62" fill="none" stroke="#cbd5e1" stroke-dasharray=""/>
<text x="24" y="37" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="19" font-weight="700">MIDRA / LAYOUT</text>
<text x="225" y="37" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Offline position helper</text>
<text x="1048" y="36" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">DESIGN CONCEPT B</text>
<rect x="1240" y="14" width="176" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1252" y="36" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Copy coordinates</text>
<rect x="1040" y="63" width="400" height="806" rx="0" fill="#ffffff" stroke="none"/>
<path d="M1040 63 L1040 869" fill="none" stroke="#cbd5e1" stroke-dasharray=""/>
<rect x="24" y="82" width="184" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="36" y="104" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Screen 1 · 1920 × 1080</text>
<rect x="220" y="82" width="148" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="232" y="104" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Reference image</text>
<rect x="380" y="82" width="104" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="392" y="104" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Snap: off</text>
<rect x="496" y="82" width="92" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="508" y="104" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Undo</text>
<rect x="812" y="82" width="102" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="824" y="104" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Fit screen</text>
<rect x="926" y="82" width="92" height="34" rx="6" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="938" y="104" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Zoom ▾</text>
<text x="28" y="158" fill="#006a89" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">B / PRECISION DESK</text>
<text x="28" y="183" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="15" font-weight="400">Light drafting surface with rulers and visible dimensions.</text>
<text x="78" y="250" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">SCREEN 1</text>
<text x="762.0" y="250" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">1920 × 1080 px</text>
<rect x="78" y="266" width="864.0" height="486.0" rx="0" fill="#142d40" stroke="#637b92"/>
<rect x="78" y="266" width="864.0" height="32.4" rx="0" fill="#264556" stroke="none"/>
<text x="102" y="285.35" fill="#abc0cb" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="600">ANNUAL FORUM / MAIN STAGE</text>
<text x="102" y="704.0" fill="#a3b9c6" font-family="DejaVu Sans, sans-serif" font-size="23" font-weight="600">Ideas worth sharing.</text>
<text x="102" y="729.0" fill="#9bb0be" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Illustrative reference artwork · opacity 65%</text>
<path d="M78.0 256 L78.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="70.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">0</text>
<path d="M78.0 266 L78.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M186.0 256 L186.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="178.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">240</text>
<path d="M186.0 266 L186.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M294.0 256 L294.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="286.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">480</text>
<path d="M294.0 266 L294.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M402.0 256 L402.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="394.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">720</text>
<path d="M402.0 266 L402.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M510.0 256 L510.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="502.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">960</text>
<path d="M510.0 266 L510.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M618.0 256 L618.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="610.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">1200</text>
<path d="M618.0 266 L618.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M726.0 256 L726.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="718.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">1440</text>
<path d="M726.0 266 L726.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M834.0 256 L834.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="826.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">1680</text>
<path d="M834.0 266 L834.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M942.0 256 L942.0 262" fill="none" stroke="#53647b" stroke-dasharray=""/>
<text x="934.0" y="238" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">1920</text>
<path d="M942.0 266 L942.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M78 266.0 L942.0 266.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="270.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">0</text>
<path d="M78 347.0 L942.0 347.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="351.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">180</text>
<path d="M78 428.0 L942.0 428.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="432.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">360</text>
<path d="M78 509.0 L942.0 509.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="513.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">540</text>
<path d="M78 590.0 L942.0 590.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="594.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">720</text>
<path d="M78 671.0 L942.0 671.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="675.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">900</text>
<path d="M78 752.0 L942.0 752.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<text x="32" y="756.0" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="10" font-weight="400">1080</text>
<rect x="132.0" y="347.0" width="288.0" height="162.0" rx="0" fill="#173b50" stroke="#f6c577"/>
<text x="146.0" y="374.0" fill="#f6c577" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">01 / PRESENTER</text>
<text x="146.0" y="491.0" fill="#c9d9e5" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">640 × 360 px</text>
<rect x="600.0" y="347.0" width="288.0" height="162.0" rx="0" fill="#173b50" stroke="#66dbef"/>
<text x="614.0" y="374.0" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">02 / SLIDES</text>
<text x="614.0" y="491.0" fill="#c9d9e5" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">640 × 360 px</text>
<rect x="596.0" y="343.0" width="8" height="8" rx="1" fill="#ffffff" stroke="#66dbef"/>
<rect x="884.0" y="343.0" width="8" height="8" rx="1" fill="#ffffff" stroke="#66dbef"/>
<rect x="596.0" y="505.0" width="8" height="8" rx="1" fill="#ffffff" stroke="#66dbef"/>
<rect x="884.0" y="505.0" width="8" height="8" rx="1" fill="#ffffff" stroke="#66dbef"/>
<path d="M737.0 428.0 L751.0 428.0" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M744.0 421.0 L744.0 435.0" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M902.0 266 L902.0 347.0" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M896.0 266 L908.0 266" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M896.0 347.0 L908.0 347.0" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<text x="908.0" y="310.5" fill="#8fe4f3" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">180</text>
<path d="M888.0 525.0 L942.0 525.0" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<text x="885.0" y="548.0" fill="#8fe4f3" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">120 px</text>
<text x="28" y="823" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Space + drag Pan Scroll Zoom at pointer Arrows Move 1 px</text>
<text x="28" y="848" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Reference: stage-layout.png 1920 × 1080 1:1 mapping Locked</text>
<text x="1064" y="96" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">LAYERS</text>
<rect x="1064" y="110" width="352" height="38" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1076" y="135" fill="#945800" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="600">01 Presenter</text>
<text x="1350" y="134" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Visible</text>
<rect x="1064" y="154" width="352" height="38" rx="5" fill="#f3f6fa" stroke="#006a89"/>
<text x="1076" y="179" fill="#006a89" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="600">02 Slides</text>
<text x="1350" y="178" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Visible</text>
<path d="M1064 211 L1416 211" fill="none" stroke="#cbd5e1" stroke-dasharray=""/>
<text x="1064" y="245" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="23" font-weight="600">02 / Slides</text>
<text x="1064" y="269" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Position from screen corner</text>
<rect x="1064" y="290" width="94" height="58" rx="4" fill="#f3f6fa" stroke="#cbd5e1"/>
<rect x="1068" y="294" width="8" height="8" rx="1" fill="#53647b" stroke="none"/>
<rect x="1146" y="294" width="8" height="8" rx="1" fill="#006a89" stroke="none"/>
<rect x="1068" y="336" width="8" height="8" rx="1" fill="#53647b" stroke="none"/>
<rect x="1146" y="336" width="8" height="8" rx="1" fill="#53647b" stroke="none"/>
<text x="1176" y="312" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="17" font-weight="600">Top right</text>
<text x="1176" y="334" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Offsets inward</text>
<text x="1064" y="376" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">From right</text>
<rect x="1064" y="386" width="170.0" height="42" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1076" y="413" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">120 px</text>
<text x="1246.0" y="376" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">From top</text>
<rect x="1246.0" y="386" width="170.0" height="42" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1258.0" y="413" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">180 px</text>
<text x="1064" y="454" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Width</text>
<rect x="1064" y="464" width="170.0" height="42" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1076" y="491" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">640 px</text>
<text x="1246.0" y="454" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Height</text>
<rect x="1246.0" y="464" width="170.0" height="42" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1258.0" y="491" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">360 px</text>
<text x="1064" y="536" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Changing corner keeps the layer in place.</text>
<path d="M1064 557 L1416 557" fill="none" stroke="#cbd5e1" stroke-dasharray=""/>
<text x="1064" y="588" fill="#006a89" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">WEBRCS / CENTER POSITION</text>
<text x="1064" y="617" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Horizontal · from left</text>
<rect x="1064" y="627" width="170.0" height="42" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1076" y="654" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">1480 px</text>
<text x="1246.0" y="617" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Vertical · from top</text>
<rect x="1246.0" y="627" width="170.0" height="42" rx="5" fill="#f3f6fa" stroke="#cbd5e1"/>
<text x="1258.0" y="654" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">360 px</text>
<text x="1064" y="698" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Size 640 × 360 px</text>
<rect x="1064" y="722" width="352" height="34" rx="6" fill="#6655d9" stroke="#cbd5e1"/>
<text x="1076" y="744" fill="#ffffff" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Copy position values</text>
<text x="1064" y="784" fill="#142338" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="500">Paste geometry…</text>
<text x="1064" y="807" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Preview coordinates before applying.</text>
<rect x="0" y="870" width="1440" height="30" rx="0" fill="#ffffff" stroke="none"/>
<text x="24" y="890" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">OFFLINE · No device connection</text>
<text x="920" y="890" fill="#53647b" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Static proposal · coordinate convention to verify</text>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,110 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="900" viewBox="0 0 1440 900" role="img" aria-labelledby="title desc">
<title id="title">Midra Layout — concept C</title><desc id="desc">Static design proposal, not working software. Two 640 by 360 layers on a 1920 by 1080 screen. Right inspector shows corner offsets and converted center coordinates.</desc>
<rect x="0" y="0" width="1440" height="900" rx="0" fill="#111720" stroke="none"/>
<rect x="0" y="0" width="1440" height="62" rx="0" fill="#1b2330" stroke="none"/>
<path d="M0 62 L1440 62" fill="none" stroke="#354458" stroke-dasharray=""/>
<text x="24" y="37" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="19" font-weight="700">MIDRA / LAYOUT</text>
<text x="225" y="37" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Offline position helper</text>
<text x="1048" y="36" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">DESIGN CONCEPT C</text>
<rect x="1240" y="14" width="176" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="1252" y="36" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Copy coordinates</text>
<rect x="1080" y="63" width="360" height="806" rx="0" fill="#1b2330" stroke="none"/>
<path d="M1080 63 L1080 869" fill="none" stroke="#354458" stroke-dasharray=""/>
<rect x="24" y="82" width="184" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="36" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Screen 1 · 1920 × 1080</text>
<rect x="220" y="82" width="148" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="232" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Reference image</text>
<rect x="380" y="82" width="104" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="392" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Snap: off</text>
<rect x="496" y="82" width="92" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="508" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Undo</text>
<rect x="852" y="82" width="102" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="864" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Fit screen</text>
<rect x="966" y="82" width="92" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="978" y="104" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Zoom ▾</text>
<text x="28" y="158" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">C / FOCUS DESK</text>
<text x="28" y="183" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="15" font-weight="400">More canvas space, with a compact selection inspector.</text>
<text x="42" y="222" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">SCREEN 1</text>
<text x="860.4000000000001" y="222" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">1920 × 1080 px</text>
<rect x="42" y="238" width="998.4000000000001" height="561.6" rx="0" fill="#142d40" stroke="#637b92"/>
<rect x="42" y="238" width="998.4000000000001" height="37.44" rx="0" fill="#264556" stroke="none"/>
<text x="66" y="260.36" fill="#abc0cb" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="600">ANNUAL FORUM / MAIN STAGE</text>
<text x="66" y="751.6" fill="#a3b9c6" font-family="DejaVu Sans, sans-serif" font-size="23" font-weight="600">Ideas worth sharing.</text>
<text x="66" y="776.6" fill="#9bb0be" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Illustrative reference artwork · opacity 65%</text>
<path d="M42.0 238 L42.0 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M166.8 238 L166.8 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M291.6 238 L291.6 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M416.40000000000003 238 L416.40000000000003 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M541.2 238 L541.2 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M666.0 238 L666.0 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M790.8000000000001 238 L790.8000000000001 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M915.6 238 L915.6 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M1040.4 238 L1040.4 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 238.0 L1040.4 238.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 331.6 L1040.4 331.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 425.20000000000005 L1040.4 425.20000000000005" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 518.8 L1040.4 518.8" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 612.4000000000001 L1040.4 612.4000000000001" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 706.0 L1040.4 706.0" fill="none" stroke="#27475a" stroke-dasharray=""/>
<path d="M42 799.6 L1040.4 799.6" fill="none" stroke="#27475a" stroke-dasharray=""/>
<rect x="104.4" y="331.6" width="332.8" height="187.20000000000002" rx="0" fill="#173b50" stroke="#f6c577"/>
<text x="118.4" y="358.6" fill="#f6c577" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">01 / PRESENTER</text>
<text x="118.4" y="500.80000000000007" fill="#c9d9e5" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">640 × 360 px</text>
<rect x="100.4" y="327.6" width="8" height="8" rx="1" fill="#1b2330" stroke="#f6c577"/>
<rect x="433.20000000000005" y="327.6" width="8" height="8" rx="1" fill="#1b2330" stroke="#f6c577"/>
<rect x="100.4" y="514.8000000000001" width="8" height="8" rx="1" fill="#1b2330" stroke="#f6c577"/>
<rect x="433.20000000000005" y="514.8000000000001" width="8" height="8" rx="1" fill="#1b2330" stroke="#f6c577"/>
<path d="M263.8 425.20000000000005 L277.8 425.20000000000005" fill="none" stroke="#f6c577" stroke-dasharray=""/>
<path d="M270.8 418.20000000000005 L270.8 432.20000000000005" fill="none" stroke="#f6c577" stroke-dasharray=""/>
<rect x="645.2" y="331.6" width="332.8" height="187.20000000000002" rx="0" fill="#173b50" stroke="#66dbef"/>
<text x="659.2" y="358.6" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="700">02 / SLIDES</text>
<text x="659.2" y="500.80000000000007" fill="#c9d9e5" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">640 × 360 px</text>
<rect x="641.2" y="327.6" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<rect x="974.0" y="327.6" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<rect x="641.2" y="514.8000000000001" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<rect x="974.0" y="514.8000000000001" width="8" height="8" rx="1" fill="#1b2330" stroke="#66dbef"/>
<path d="M804.6 425.20000000000005 L818.6 425.20000000000005" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M811.6 418.20000000000005 L811.6 432.20000000000005" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M992.0 238 L992.0 331.6" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M986.0 238 L998.0 238" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<path d="M986.0 331.6 L998.0 331.6" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<text x="998.0" y="288.8" fill="#8fe4f3" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">180</text>
<path d="M978.0 534.8000000000001 L1040.4 534.8000000000001" fill="none" stroke="#66dbef" stroke-dasharray=""/>
<text x="975.0" y="557.8000000000001" fill="#8fe4f3" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">120 px</text>
<path d="M104.4 317.6 L978.0 317.6" fill="none" stroke="#66dbef" stroke-dasharray="5 4"/>
<text x="292" y="306.6" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Aligned top edges · Y 180 px</text>
<text x="28" y="823" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Space + drag Pan Scroll Zoom at pointer Arrows Move 1 px</text>
<text x="28" y="848" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Reference: stage-layout.png 1920 × 1080 1:1 mapping Locked</text>
<text x="1104" y="96" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">LAYERS</text>
<rect x="1104" y="110" width="312" height="38" rx="5" fill="#121a25" stroke="#66dbef"/>
<text x="1116" y="135" fill="#f6c577" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="600">01 Presenter</text>
<text x="1350" y="134" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Visible</text>
<rect x="1104" y="154" width="312" height="38" rx="5" fill="#121a25" stroke="#66dbef"/>
<text x="1116" y="179" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="14" font-weight="600">02 Slides</text>
<text x="1350" y="178" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Visible</text>
<path d="M1104 211 L1416 211" fill="none" stroke="#354458" stroke-dasharray=""/>
<text x="1104" y="245" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="23" font-weight="600">2 layers selected</text>
<text x="1104" y="269" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Reference layer: 01 / Presenter</text>
<text x="1104" y="307" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">ALIGN TO</text>
<rect x="1104" y="321" width="312" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="1116" y="343" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Reference layer: Presenter ▾</text>
<rect x="1104" y="371" width="150.0" height="34" rx="6" fill="#121a25" stroke="#354458"/>
<text x="1116" y="393" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Align left</text>
<rect x="1266.0" y="371" width="150.0" height="34" rx="6" fill="#6655d9" stroke="#354458"/>
<text x="1278.0" y="393" fill="#ffffff" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Align top</text>
<text x="1104" y="432" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Changes position only; keeps size.</text>
<text x="1104" y="470" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Common top edge</text>
<rect x="1104" y="480" width="312" height="42" rx="5" fill="#121a25" stroke="#354458"/>
<text x="1116" y="507" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="18" font-weight="500">180 px</text>
<text x="1104" y="555" fill="#66dbef" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="700">WEBRCS CENTER POSITIONS</text>
<text x="1104" y="590" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">01 Presenter</text>
<text x="1104" y="618" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="20" font-weight="600">H 440 V 360</text>
<text x="1104" y="659" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">02 Slides</text>
<text x="1104" y="687" fill="#edf3fc" font-family="DejaVu Sans, sans-serif" font-size="20" font-weight="600">H 1480 V 360</text>
<rect x="1104" y="728" width="312" height="34" rx="6" fill="#6655d9" stroke="#354458"/>
<text x="1116" y="750" fill="#ffffff" font-family="DejaVu Sans, sans-serif" font-size="13" font-weight="400">Copy both layer positions</text>
<text x="1104" y="789" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="12" font-weight="400">Alignment is a later milestone.</text>
<rect x="0" y="870" width="1440" height="30" rx="0" fill="#1b2330" stroke="none"/>
<text x="24" y="890" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">OFFLINE · No device connection</text>
<text x="920" y="890" fill="#a5b5c9" font-family="DejaVu Sans, sans-serif" font-size="11" font-weight="400">Static proposal · coordinate convention to verify</text>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

294
docs/midra-layout-plan.md Normal file
View File

@ -0,0 +1,294 @@
# Midra layout helper: plan and visual proposals
Status: design only. No application, device connection or REST calls implemented.
Target: Analog Way Eikos 4K, running the latest firmware according to the user.
Record the actual installed version during compatibility checks; do not infer it
from a different Midra generation's documentation. Working name: **Midra Layout**.
## Intended workflow
Set the screen resolution, optionally load a reference picture, then place one or
two rectangular live layers visually or by entering exact offsets from a chosen
screen corner. Read or copy their equivalent WebRCS position values. Select layers
on the canvas or in the right-hand list. All work is local and offline.
For this plan, “window” means the application window and “layer” means a video
rectangle within one screen viewport. There is no additional window/group object.
The first release supports two layers; the underlying collection should support
more later without promising that every device configuration supports them.
The reference image is an editing aid, not an additional hardware layer. Screen
resolution is independent of the application window size, zoom and image size.
Source routing, transitions, playback, cropping, masking, rotation, keying, live
preview and device control are outside this project phase. Width and height are
needed for positioning, but this is not an image or presentation editor.
## Ordered task list
Complete each acceptance gate before broadening the scope. The first usable
release comprises steps 1–6 and release checks in step 8. Step 7 is later work.
### 1. Establish the Eikos 4K coordinate contract
- [ ] Record device model, exact firmware and relevant WebRCS field labels.
- [ ] Check horizontal and vertical origins, signs, pixel units, numeric step,
accepted size/position ranges and off-screen placement in that WebRCS version.
- [ ] Verify whether the editable bounds refer to the layer rectangle rather
than cropped source content. Start with an unmasked, uncropped live layer.
- [ ] Check odd widths/heights and half-pixel centers; do not round silently.
- [ ] Record examples at all four screen corners and at screen center using a
simulator or manual entry in an appropriate test setup, without API calls.
Gate: a small verified input/output table establishes what the application may
label as WebRCS-compatible. The example math below is provisional until then.
### 2. Review visual direction and prove the viewport
- [ ] Choose a direction from the three proposals below. Recommended: A, with
B's optional rulers and C's contextual alignment panel later.
- [ ] Build a disposable viewport interaction spike with two rectangles before
committing to the full UI. Rust/egui is the preferred starting point because
the repository already uses it; validate interaction quality before settling.
- [ ] Prove pointer-centered zoom, pan, selection, hit testing, keyboard nudge,
image rendering and display scaling on the target operator laptop.
- [ ] Try a dense reference image at Fit, 100%, 400% and 1600% zoom and at several
OS display scales. Zooming must not move layer coordinates.
- [ ] Review at 1440 × 900 and 1024 × 768 logical window sizes, including enlarged
UI text. Keep numerical controls usable with a scrollable right inspector.
Gate: the viewport feels predictable and shows exact edges clearly. If the
toolkit cannot meet these needs, resolve that before building the rest.
### 3. Implement geometry independently of the UI
- [ ] Add the future workspace member `crates/midra-layout/` with shared geometry
and a desktop binary. Do not add placeholder workspace members during planning.
- [ ] Model screen dimensions and stable layer IDs with canonical top-left
position and size. Keep selection, camera and reference image separate.
- [ ] Implement four-corner offset conversion and inverse WebRCS conversion
under the verified device contract.
- [ ] Switching corner changes the displayed offsets without moving the layer.
Resizing keeps the chosen corner and its offsets fixed; moving changes offsets.
- [ ] Preserve precision internally. Validate finite numbers, positive sizes and
device limits; report unsupported values without silently clamping them.
- [ ] Test all corners, inverse round trips, odd dimensions, negative offsets,
non-16:9 screens, exact screen edges and resizing from each anchor.
Gate: viewport scale and UI state cannot affect geometry or conversion results.
### 4. Build the two-layer positioning workspace
- [ ] Add screen resolution controls, one/two-layer setup, persistent layer IDs
and names, and a right-hand layer list with a selected-layer inspector.
- [ ] Support click selection, Shift-click multi-selection, clear selection and
list selection for overlapped or off-screen rectangles. Define deterministic
overlap hit testing; list order represents preview stacking, not device routing.
- [ ] Add dragging, exact width/height fields, four-corner selection and inward
offsets. Prefer numeric sizing first; add resize handles only with anchor
behavior consistent with the geometry contract.
- [ ] Show WebRCS horizontal/vertical center values beside corner inputs; make
output values read-only initially. Offer per-value copy and labeled plain text
for a whole layer. Do not imply plain text is a WebRCS-native clipboard format.
- [ ] Add arrow nudges of 1 screen pixel and Shift-arrow nudges of 10; focused
text fields must receive these keys instead of moving the selection.
- [ ] Implement Space-drag/middle-button pan, pointer-centered zoom, Fit screen,
Fit selection, explicit zoom percentage and a clearly defined 1:1 pixel view.
- [ ] Keep handles/hit areas legible at every zoom; distinguish UI logical points,
screen pixels and physical display pixels on HiDPI screens.
- [ ] Add visible optional snapping to pixel edges, screen edges and other layer
edges. Exact numeric entry bypasses proximity snapping. Show the active guide
and allow a temporary snap override; toggling snapping must not move anything.
- [ ] Add undo/redo for geometry changes, one undo step per drag or committed
field edit, and Escape to cancel an in-progress drag or uncommitted edit.
Gate: place a layer 120 px from the right and 180 px from the top, change zoom,
switch anchors and move it by one pixel without losing track of the real values.
Selection and dragging never alter unrelated layers. No selection shows screen
and reference settings; multi-selection shows mixed values explicitly.
### 5. Add accurate reference-picture placement
- [ ] Load PNG/JPEG through a file picker or drag/drop; report decoding failures
while preserving the current image. Keep source files unchanged.
- [ ] Use a matching-resolution image at screen origin with 1 image pixel per
screen pixel. For mismatched dimensions, display the mismatch and require an
explicit mapping choice: native pixels with offset, fit preserving aspect, or
stretch to screen. Show scale, offsets and any letterboxing.
- [ ] Lock the reference by default, add hide/show and opacity controls, and
offer outline-only layer display so image edges remain visible.
- [ ] Use sharp nearest-neighbor inspection at high zoom and an appropriate
downsampled view when zoomed out. Do not confuse filtering with coordinate
precision. Reveal the screen-pixel grid only when it is legible.
- [ ] Decode large images away from the input/render loop, cap supported image
dimensions/memory with useful errors, and preserve viewport responsiveness.
Gate: a known rectangle in a 1920 × 1080 test image can be matched exactly by a
layer; changing image opacity, visibility, zoom or filtering changes no geometry.
### 6. Add extensible clipboard position import
- [ ] Start with an explicit, documented plain-text geometry format and a
paste-preview panel. For example: `x=1160; y=180; width=640; height=360; origin=top-left; unit=px`.
- [ ] Preview parsed values, origin, units, target layer and before/after bounds.
Allow position-only import; importing size must be an explicit choice.
- [ ] Treat Ctrl/Cmd-V in a focused text input as normal text paste. Elsewhere,
open geometry preview; do not mutate the document merely by reading clipboard.
- [ ] Define adapters by source format/version. Collect actual clipboard samples
from the first requested software before claiming support; that software is
not yet specified. Do not guess an application from an unlabeled number tuple.
- [ ] Make points, inches, percentages, source canvas origins, decimal conventions
and scale explicit. Ambiguity produces an explanation, not a guessed placement.
- [ ] Validate the complete proposed edit before applying it atomically, with one
undo step. Unknown formats, missing fields and invalid values preserve state.
- [ ] Test real fixtures for every added adapter and clipboard failure behavior
on supported desktop platforms, including Wayland where applicable.
Gate: supported data places the selected rectangle correctly; malformed or
ambiguous data makes no changes. Ship the basic format first if no external
software format has yet been selected; do not claim that completes an adapter.
### 7. Later: explicit multi-layer alignment
- [ ] Add Align top and Align left first; show the alignment target explicitly:
screen, selection bounds or a named reference layer.
- [ ] For a reference layer, keep that layer fixed and move only the others.
For selection bounds, align to the minimum top/left edge. For the screen,
align to coordinate zero on the selected axis.
- [ ] Preserve sizes and the other axis, preview the affected selection, and
make each alignment a single undoable operation.
- [ ] Extend to right/bottom/center alignment and more layers only when needed,
within verified device capabilities. No distribution or constraint system yet.
Gate: two differently sized layers align exactly against the chosen target,
regardless of selection order except when explicitly choosing a reference layer.
### 8. Harden and package the first release
- [ ] Include empty, invalid-input, reference-load-error, off-screen and clipboard
error states in UI review, with an obvious way to recover or frame the selection.
- [ ] Verify tab order, keyboard focus, numeric input commit/cancel, contrast and
selection indicators that do not rely on color alone.
- [ ] Manually exercise screen/reference setup → corner positioning → nudge →
paste preview → copy values → undo. Verify results in the target WebRCS setup.
- [ ] Add geometry/import regression tests and interaction tests for camera
transforms and undo. Establish a smooth-drag baseline on the operator laptop;
target a 60 Hz interaction budget, measuring rather than assuming performance.
- [ ] Document supported firmware, coordinate conventions, clipboard formats,
limits and shortcuts. Keep the root README to a short link/quick start.
- [ ] Integrate the actual crate into workspace CI, coverage and manual packaging;
run the repository Rust gates, whole-application coverage and relevant packaging
tests. Document unavailable device or desktop checks.
- [ ] Commit each completed task; no automatic release publishing.
Session-file save/load can follow if needed; it is not required to demonstrate
precise positioning. No networking work is included in this plan.
## Coordinate contract to verify
Proposed internal model: screen origin at its top-left, X increases rightward,
Y increases downward, and a layer is `(x, y, width, height)`. Positive corner
offsets point inward. A corner means the matching corner of the layer measured
from that screen corner; there are not two independent anchor selectors in v1.
For screen size `W × H`, layer size `w × h`, and offsets `dx, dy`:
| Selected corner | Layer left `x` | Layer top `y` |
| --- | --- | --- |
| Top left | `dx` | `dy` |
| Top right | `W - dx - w` | `dy` |
| Bottom left | `dx` | `H - dy - h` |
| Bottom right | `W - dx - w` | `H - dy - h` |
Under the user's described center-position convention, WebRCS values are
`horizontal = x + w/2`, `vertical = y + h/2`. The inverse subtracts the half-size.
The corresponding inward margins are `left=x`, `top=y`, `right=W-x-w` and
`bottom=H-y-h`. Switching corner just chooses which margins to display.
Example used in every mockup: on a **1920 × 1080** screen, a **640 × 360** layer
**120 px from the right** and **180 px from the top** has top-left **1160, 180**
and center **1480, 360**. The other layer is at **120, 180**, center **440, 360**.
An odd width such as 641 produces a half-pixel center when the left edge is an
integer; hardware acceptance/rounding is a compatibility question, not something
to hide with display formatting.
## Visual proposals
These are original, editable SVG interface mockups, not application screenshots.
Open them in a browser or image viewer to inspect at full size. The example
background is illustrative artwork standing in for an imported picture. Labels
such as “Copy” and “Paste” illustrate planned controls; nothing is interactive yet.
### A. Operator desk — recommended
Dark slate surfaces, cyan selection, amber second-layer identity and a restrained
purple primary action consistent with existing repository interfaces. A large
viewport occupies the left; the fixed right inspector groups the layer list,
corner selector, offsets, size and WebRCS outputs in reading order. Thin outlines,
corner markers, center crosshairs and dimension guides make selection unambiguous.
![Concept A: dark operator workspace](design/midra-layout/a-concept.svg)
Best for working beside show-control tools. The tradeoff is less contrast against
dark reference images; add a contrasting outline halo and an outline-only mode.
Keep the output card visible while upper inspector sections scroll. A compact
bottom status line carries camera/pixel information and shortcut hints.
### B. Precision desk
A light inspector and drafting surface with screen-coordinate rulers. The same
placement workflow emphasizes measurements and field readability. The artwork
retains its own colors independently of the UI theme.
![Concept B: light workspace with coordinate rulers](design/midra-layout/b-concept.svg)
Best for daytime preparation and detailed artwork matching. It uses more visible
measurement marks and can feel busier; rulers and guides should be optional. Its
useful features can be incorporated into A without maintaining two different apps.
### C. Focus desk
A wider viewport and narrower contextual inspector. This proposal shows the
future multi-selection state: a named reference layer, explicit alignment actions
and a compact per-layer coordinate table. The layer list remains on the right.
![Concept C: compact workspace with two selected layers](design/midra-layout/c-concept.svg)
Best for repeated placement and comparison once the basic workflow is familiar.
Less space for numeric explanations makes it weaker as the initial default.
The alignment state belongs to step 7; it does not imply a larger first release.
### Shared interaction and responsive behavior
Keep the screen aspect ratio exact, surround it with a neutral pan area, and use
consistent screen-space selection markers. Display only relevant guides, with
labels in screen pixels. Layer identity and selected state must be distinct.
Always allow selecting a layer from the list when its outline is hard to hit.
The desktop window should retain a right inspector at normal working sizes.
At narrow widths, reduce decorative padding and collapse secondary sections;
below the proven minimum width, use a right drawer rather than crushing numeric
fields. At short heights, scroll sections while retaining access to conversion
outputs. Mouse and keyboard interaction are the first priority; a mobile UI is
not part of this desktop tool.
## Research and open decisions
The [Analog Way Midra 4K V3.2 manual, July 2024, pp. 83–85](https://www.bhphotovideo.com/lit_files/1168243.pdf#page=83)
documents layer alignment, snapping, position and size controls. This supports
the workflow research; it does not establish the precise coordinate convention
or current firmware behavior for the user's installation. Avoid portraying all
WebRCS versions as lacking alignment. The proposed improvement is more explicit
corner-based positioning and reference-image inspection.
[Figma's zoom/view documentation](https://help.figma.com/hc/en-us/articles/360041065034-Adjust-your-zoom-and-view-options)
provides useful precedents for fit-to-view, selection zoom and pixel inspection.
Borrow those interaction ideas, without introducing vector-editor features.
Analog Way's [Midra 4K FAQ](https://www.analogway.com/midra-4k-faqs) identifies an
offline simulator that may help verify behavior without connecting this helper
to hardware. Simulator agreement should still be checked against the installed
WebRCS version.
Open decisions before implementation: preferred visual direction; exact installed
firmware; first clipboard source application and representative payload; primary
operator OS/display scale. None prevents reviewing these design proposals.