cetz-package / cetz

CeTZ: ein Typst Zeichenpaket - A library for drawing stuff with Typst.
https://cetz-package.github.io
GNU Lesser General Public License v3.0
809 stars 35 forks source link

doc: Add documentation about canvas internals #132

Closed jneug closed 1 month ago

jneug commented 1 year ago

It would be great to extend the manual with developer notes like a description of all keys element dictionaries can take (e.g. custom-anchors and transform-coordinates).

I went through the known packages using CeTZ and most seem to use the functions provided by draw.typ. With CeTZ getting more complex and developers creating new packages on top of it, it might be useful to know about the details to provide custom elements with custom anchors and their own style root.

johannes-wolf commented 11 months ago

Style resolve and coordinate resolve got added to the docs with #220. Element callback should still get added.