tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

corner-scale-2.yaml (885B)


      1 # This test contains a rounded rectangle intended to be drawn using a nine-patch
      2 # under a transform that ends up being a simple axis-aligned scale using two
      3 # rotations that cancel each other to exercise the code path where the transform
      4 # is stored as a matrix.
      5 ---
      6 root:
      7  items:
      8    - type: stacking-context
      9      bounds: [0, 0, 800, 800]
     10      transform: [2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
     11      items:
     12      - type: stacking-context
     13        bounds: [0, 0, 800, 800]
     14        transform: rotate(1)
     15        items:
     16        - type: stacking-context
     17          bounds: [0, 0, 800, 800]
     18          transform: rotate(-1)
     19          items:
     20          - type: clip
     21            id: 1
     22            complex:
     23              - rect: [10, 10, 300, 300]
     24                radius: 32
     25          - type: rect
     26            bounds: 10 10 300 300
     27            color: red
     28            clip-chain: [1]