Skip to content

Coordinates.svg: the panel only, without title and legend - #25

Merged
theAndreas merged 1 commit into
mainfrom
coordinates-picture
Oct 30, 2026
Merged

theAndreas merged 1 commit into
mainfrom
coordinates-picture

Conversation

@theAndreas

Copy link
Copy Markdown
Owner

On GitHub the picture's title and legend said what the README says right below it. The picture is 1180 px wide and was shown at about 80 %, so its text was barely readable.

  • Coordinates.svg shows the panel only. setColumn(5, value) and setRow(2, 2, value) are written in their colour under what they set, so the picture still reads on its own. It is 324 px high instead of 430.
  • DocuSvg takes the coordinate a picture starts at (the viewBox origin), so the coordinate picture keeps the layout of the wiring pictures without drawing their title.
  • The wiring pictures keep their legend, since no text next to them explains it. They lose the empty space a third legend line had needed.

210 tests pass, docu/pictures included. Both pictures rendered with resvg and looked at.

On GitHub the README said everything in the picture's title and legend
again right below it, and the picture shrank to about 80 % of its 1180
pixels, so its text was barely readable. It now shows the panel only,
with setColumn(5, value) and setRow(2, 2, value) written under what
they set, and is 324 pixels high instead of 430.

DocuSvg takes the coordinate its picture starts at, so that the
coordinate picture shares the layout of the wiring pictures without
their title. The wiring pictures keep their legend, since nothing
explains them next to it, and lose the space a third legend line had
needed.
@theAndreas
theAndreas merged commit 83e4747 into main Oct 30, 2026
3 checks passed
@theAndreas
theAndreas deleted the coordinates-picture branch October 30, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants