import cetz.draw: *
import cetz.angle: angle
circle-through((0, 0), (6, 0), (4, 3), stroke: red, name: "circ")
circle("circ.center", radius: 4, stroke: blue, name: "circ2")
// points of the circle
circle((0, 0), radius: .07)
circle((6, 0), radius: .07)
circle((4, 3), radius: .07)
// drawing content of the cricle
for point in ("top-left", "top-right", "top", "right", "left", "bottom-left", "bottom-right", "bottom", "center") {
content("circ."+point, "1")
content("circ2."+point, "2")
}
})
the content of the blue circle created using circle(...) is positioned just fine, but when using circle-through(...) (the red circle) it positions the content way too far towards the middle or am I missing something?
When writing
cetz.canvas({
import cetz.draw: * import cetz.angle: angle circle-through((0, 0), (6, 0), (4, 3), stroke: red, name: "circ") circle("circ.center", radius: 4, stroke: blue, name: "circ2") // points of the circle circle((0, 0), radius: .07) circle((6, 0), radius: .07) circle((4, 3), radius: .07) // drawing content of the cricle for point in ("top-left", "top-right", "top", "right", "left", "bottom-left", "bottom-right", "bottom", "center") { content("circ."+point, "1") content("circ2."+point, "2") } }) the content of the blue circle created using
circle(...)
is positioned just fine, but when usingcircle-through(...)
(the red circle) it positions the content way too far towards the middle or am I missing something?