Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow accessing path anchors inside a group #762

Open
wdeweijer opened this issue Nov 28, 2024 · 1 comment
Open

Allow accessing path anchors inside a group #762

wdeweijer opened this issue Nov 28, 2024 · 1 comment
Labels
enhancement ⬆️ New feature or request

Comments

@wdeweijer
Copy link

wdeweijer commented Nov 28, 2024

It currently seems impossible to access anything other than named anchors inside a group.

#cetz.canvas({
  import cetz.draw: *

  group(name: "gruppe", {
    line(name: "lynne", (0,0), (2,3))
  })

  content("gruppe.lynne.start", [start]) // Does work
  content((name: "gruppe.lynne", anchor: 20%), [20%]) // Does not
  content((name: "gruppe", anchor: (name: "lynne", anchor: 70%)), [70%]) // Does not
})`
@johannes-wolf johannes-wolf added the enhancement ⬆️ New feature or request label Nov 28, 2024
@johannes-wolf
Copy link
Member

Same as #738.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ⬆️ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants