rect-around() features unexpected behavior when used on a group after a rotation
#import "@preview/cetz:0.4.2"
#set page(height: auto, width: auto, margin: 5pt)
#cetz.canvas({
import cetz.draw: *
rotate(30deg)
group(name: "foo", {
circle((0, 0))
circle((2, 0))
})
rect-around("foo")
})
| what I got |
what I expected |
 |
 |
tested with cetz 0.4.2, typst 0.14.2
rect-around()features unexpected behavior when used on a group after a rotationtested with cetz 0.4.2, typst 0.14.2