You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are able to use compass border anchors (“north”, “north-east”, etc), but we cannot anchor by passing an angles (e.g. "hello.30deg"):
error: assertion failed: Element 'hello' does not support border anchors.
This would be a very helpful feature for more complex Cetz figures.
The text was updated successfully, but these errors were encountered:
tapyu
changed the title
[feature request] Support border anchors for content() elements
[feature request] Support angle border anchors for content() elements
May 23, 2024
Yes, this should be implemented. Since anchors of content do not get transformed by the current transformation, this is a bit more complicated, though.
What makes things really complicated is that content stays untransformed.
Maybe we should propagate adding something like transform(<matrix>) into Typst, allowing to set any transformation matrix for native Typst elements. This would then allow transforming content correctly with cetz current transformation. @fenjalien?
In
We are able to use compass border anchors (
“north”
,“north-east”
, etc), but we cannot anchor by passing an angles (e.g."hello.30deg"
):This would be a very helpful feature for more complex Cetz figures.
The text was updated successfully, but these errors were encountered: