Skip to content

Commit

Permalink
content: Fixup (#153)
Browse files Browse the repository at this point in the history
content: Update
  • Loading branch information
johannes-wolf authored Sep 3, 2023
1 parent fb211ec commit 45233cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified manual.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion src/draw.typ
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@
///
/// - angle (angle,coordinate): Rotation angle or coordinate relative to the first
/// coordinate used for angle calculation
/// - anchor (string): Anchor to use as origin. Defaults to `"center"`.
/// - anchor (string): Anchor to use as origin. Defaults to `"center"` if one coordinate
/// is set or `"top-left"` if two coordinates are set.
/// - name (string): Node name
/// - clip (bool): Clip content inside rect
/// - ..style-args (coordinate,content,style): Named arguments are used for for styling
Expand Down

0 comments on commit 45233cc

Please sign in to comment.