]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
tableau.svg: split ticket top and bottom
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 9 Sep 2025 18:52:22 +0000 (14:52 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 9 Sep 2025 18:52:22 +0000 (14:52 -0400)
Eventually we have two problems to solve:

  1. The ticket separator becomes misaligned when you scale the
     ticket background independently
  2. Only the bottom of the ticket is resized when the QR gains
     focus.

Both of these will be easier if we split the bottom part of the ticket
from the top (separator, dimples, and the stuff above them). This
commit does that. The top/bottom parts aren't grouped because we
probably won't need to manipulate them as groups, so for now, there
are just two ticket background layers with an epsilon of overlap.

tableau.svg

index 6c3f99ee5bfa9c7aabcc30a032b91e981e8a33f5..50bfe75895d0225ecf856bda4a4cd3473ca82c17 100644 (file)
        id="path38" /></g><g
      id="ticket"
      style="display:inline"><path
-       id="ticketbg"
-       style="fill:#fcfcfc;fill-opacity:1;stroke-width:3.0117"
-       d="M 620.30885,246.85893 H 1049.1 c 3.2956,0 5.7632,3.04175 5.7632,5.14107 v 81.17564 c 0,0 -5.1325,0.32994 -5.283,6.5 -0.1505,6.62152 5.283,6.5 5.283,6.5 l -4e-4,282.91136 c -0.056,2.66369 -2.9416,5.05416 -5.0238,5.05416 h -434.53 c -1.98147,0 -4.96239,-2.47699 -5.02378,-5.05416 l -0.0761,-282.91136 c 0,0 5.42909,-0.59921 5.35908,-6.5 -0.18549,-6.30678 -5.28295,-6.5 -5.28295,-6.5 L 610.285,251.913 c -10e-6,-2.87647 2.62352,-5.05407 5.024,-5.05407 z" /><rect
-       style="fill:#d0d1d4;fill-opacity:1;stroke:none"
-       id="ticketseparator"
-       width="396.24701"
-       height="1.8496399"
-       x="634.41248"
-       y="338.82834" /><text
+       id="ticketbottombg"
+       style="display:inline;fill:#fcfcfc;fill-opacity:1;stroke-width:3.01206"
+       d="m 1054.9164,346 -4e-4,282.94523 C 1054.86,631.60924 1051.9741,634 1049.8916,634 H 615.30961 c -1.98171,0 -4.96298,-2.47729 -5.02438,-5.05477 L 610.20912,346 Z" /><text
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;font-size:18.6667px;line-height:1.25;fill:#505055;fill-opacity:1;stroke:none"
        x="635.5517"
          id="tspan2"
          x="632.9671"
          y="475.22879"
-         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:133.333px;fill:#26262e;fill-opacity:1">F</tspan></text><text
+         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:133.333px;fill:#26262e;fill-opacity:1">F</tspan></text><path
+       id="tickettopbg"
+       style="display:inline;fill:#fcfcfc;fill-opacity:1;stroke-width:3.0117"
+       d="M 620.30885,246.85893 H 1049.1 c 3.2956,0 5.7632,3.04175 5.7632,5.14107 v 81.17564 c 0,0 -5.1325,0.32994 -5.283,6.5 -0.1505,6.62152 5.283,6.5 5.283,6.5 H 610.20912 c 0,0 5.42909,-0.59921 5.35908,-6.5 -0.18549,-6.30678 -5.28295,-6.5 -5.28295,-6.5 L 610.285,251.913 c -10e-6,-2.87647 2.62352,-5.05407 5.024,-5.05407 z" /><rect
+       style="display:inline;fill:#d0d1d4;fill-opacity:1;stroke:none"
+       id="ticketseparator"
+       width="396.24701"
+       height="1.8496399"
+       x="634.41248"
+       y="338.82834" /><text
        xml:space="preserve"
        style="font-style:normal;font-weight:normal;font-size:28px;line-height:1.25;display:inline;fill:#26262d;fill-opacity:1;stroke:none"
        x="636.0462"