Add radius parameter to block #12

Merged
HEL merged 3 commits from Shmerlard/circuiteria:main into dev 2025-08-17 12:36:04 +00:00
2 changed files with 8 additions and 7 deletions
Showing only changes of commit f2ce91ec39 - Show all commits

View File

@@ -1,7 +1,7 @@
#import "@preview/cetz:0.3.2": draw
#import "element.typ"
#let draw-shape(id, tl, tr, br, bl, fill, stroke, radius) = {
#let draw-shape(id, tl, tr, br, bl, fill, stroke, radius: 0.5em) = {
let f = draw.rect(
radius: radius,
inset: 0.5em,