https://github.com/yasuo-ozu/satysfi-xpath
Path manipulation library for SATySFi
https://github.com/yasuo-ozu/satysfi-xpath
figures graphics path pdf pdf-generation satysfi tikz
Last synced: 2 months ago
JSON representation
Path manipulation library for SATySFi
- Host: GitHub
- URL: https://github.com/yasuo-ozu/satysfi-xpath
- Owner: yasuo-ozu
- License: lgpl-3.0
- Created: 2021-08-04T08:21:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T08:05:11.000Z (over 1 year ago)
- Last Synced: 2025-07-19T06:55:06.433Z (3 months ago)
- Topics: figures, graphics, path, pdf, pdf-generation, satysfi, tikz
- Language: Makefile
- Homepage:
- Size: 895 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING.LESSER
Awesome Lists containing this project
README

[Document](https://github.com/yasuo-ozu/satysfi-xpath/blob/main/doc/xpath-doc.pdf)
[Satyrographos Package Index](https://satyrographos-packages.netlify.app/packages/xpath)
# SATySFi-XPath
SATySFi-XPathは高度なパス操作を実現するライブラリです。
## Install
```bash
$ opam install satysfi-xpath
$ satyrographos install
```## Example
```ml
XPath.(
start-path (0cm, 0cm)
|> bezier-to (0cm, 1.1cm) (-2cm, 1.1cm) (-2cm, 0cm)
|> line-to (0cm, -2cm) |> line-to (2cm, 0cm)
|> close-with-bezier (2cm, 1.1cm) (0cm, 1.1cm)
|> stroke 3pt (Color.red)
)
```[Output](https://github.com/yasuo-ozu/satysfi-xpath/blob/main/image-tests-ans/heart.pdf)