jonmmease / avenger

Experimental Vega visualization renderer in Rust using wgpu
BSD 3-Clause "New" or "Revised" License
25 stars 1 forks source link

Support clipping to arbitrary paths #64

Closed jonmmease closed 8 months ago

jonmmease commented 8 months ago

This improves mark clipping to support clipping to arbitrary paths. The avenger-vega logic now uses this to support clipping to groups with rounded rectangles.

We can now render the Vega-Lite Bar Chart with Rounded Edges example.

clip-bar_rounded

(radii changed to make it more obvious).