From 45233cc8d9f79ec6cd31c5906e25bb64dc6e404b Mon Sep 17 00:00:00 2001 From: Johannes Wolf <519002+johannes-wolf@users.noreply.github.com> Date: Sun, 3 Sep 2023 21:21:00 +0200 Subject: [PATCH] content: Fixup (#153) content: Update --- CHANGES.md | 2 +- manual.pdf | Bin 554064 -> 554169 bytes src/draw.typ | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 41da75e53..a991f79f0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,7 +11,7 @@ - Fixed `arc` with negative delta - Fixed division by 0 error when calculating bezier extremas - Added `mark: (..)` support for `bezier` and `bezier-through` -- Added `content-rect` function for spanning content between points +- Changed `content` to allow for a second coordinate to span content between - Added `content: (frame: "rect"|"circle")` style for drawing a frame around content # 0.1.0 diff --git a/manual.pdf b/manual.pdf index 59b283f6010c89633bb21fa44a9ec63c9de2be03..cd4f872d680d38cc09f8c879bfd1cd0b86534647 100644 GIT binary patch delta 6913 zcmZu$c|26@7k}+Ti6lfqMUj}f%iKFema=C}B}KLnDOu8@+a?uCwm~RcQDi4eDn&#T zQM8dzM0v|v@q4_z3-|v1n9qDZXU_AS?R&oG+__Ib%9VbSJARtuG-n}~`%gXyQDL$W zh`q3!+k{>5lk3=Qi7xxzYi@zy3%|HZF8t!=|FRUuR4@!dAz20;QDM<>2$6+gx(W&- z5Gz`a+mtQ;i)%6M?>jNJmJZKSw%Q<%I2QxM*mCoD^Z6|VY-O%wdEFt#dUHmGe?%LISFE3U)Zdnrk)Cyh zC@=GyzLW8esIU*5Ix7F;M;IeasH&smVGaNFJ2_XbWZBtI*S%;xwWqIU>&Q3#n@5_G zH?}47d$i(jHmHWl+{`@2hgMFmuqu3(uuJMw;pP7J%mp{z?8%uFSubNPbiQ(5Lg2Td z0phwL#-K?@`;J`BdK;pEU-wLWCvj8C!(>pW`=s?q`Q2=yGI1>7M*5yMNvXp@9Oo;} z=D~hBhb=X3Ef6!c5ollSk}7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