Open TimotheAlbouy opened 5 days ago
Question is, if content
should have a default frame "rect"
that is invisible by default.
In cetz 0.2, content had an implicit "rect" frame? Then IMHO, cetz 0.3 should also have that.
The simplicity of having line("C1", "C2")
work directly without having to specify an invisible frame was really convenient in 0.2. That's also the default behaviour in TikZ (even though this is not really comparable as there is no equivalent to content()
in TikZ/LaTeX).
In practice, implementing that change would just require adding default values for the parameters of the draw.content()
function: frame: "rect"
and stroke: 0pt
.
In cetz 0.3, when we draw a line between two contents, the line starts from the center of the content instead of the edge of the content.
This is a regression as this worked properly in cetz 0.2.