tor-browser

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

rounded-corners-2.yaml (503B)


      1 # Since the clip-chain is shared between the two prims, the rounded
      2 # clip will be applied to the tile cache, so no mask surface will be allocated.
      3 # The second prim is clipped out to make it match the reference.
      4 ---
      5 root:
      6  items:
      7    - type: clip
      8      id: 2
      9      complex:
     10        - rect: [50, 50, 200, 200]
     11          radius: 32
     12 
     13    - type: rect
     14      bounds: 50 50 200 200
     15      color: red
     16      clip-chain: [2]
     17 
     18    - type: rect
     19      bounds: 300 50 200 200
     20      color: red
     21      clip-chain: [2]