

| |||||||
|
You are here: Root > By Topic > Graphics > 2D Graphical Library
cl-vectors is a pure Common Lisp library to manipulate and rasterize vectorial paths. The rasterizer algorithm is the same one used in the AntiGrain project.
| frederic@jolliton.com | |
| Web site | http://projects.tuxee.net/cl-vectors/ |
| Mailing list | |
| Version | 0.1.3 - Wednesday, 14 March 2007 |
| Maturity | Beta |
| OS compatibility | All |
| ASDF installable | No |
| Official Download | http://projects.tuxee.net/cl-vectors/cl-vectors-0.1.3.tar.gz |
| Mirrored Download | |
| Source code repository |
(let ((path (create-path :polygon)))
(path-reset path (make-point 25 15))
(path-extend path (make-straight-line) (make-point 250 25))
(path-extend path (make-bezier-curve (list (make-point 300 40)
(make-point 400 150)
(make-point 200 100)))
(make-point 250 250))
(path-extend path (make-arc 100 200 :x-axis-rotation -0.8)
(make-point 25 250))
(path-extend path (make-catmull-rom (make-point 10 270)
(list (make-point 10 200)
(make-point 40 160)
(make-point 25 120)
(make-point 60 90))
(make-point 70 40))
(make-point 55 55))
(show-annotated-path path))
(zpb-ttf:with-font-loader (loader "font.ttf")
(show-annotated-path (paths-from-glyph (zpb-ttf:find-glyph #\À loader)
:offset (make-point 200 550)
:scale-x 0.3
:scale-y -0.3)))
Another one:
![[image1]](http://projects.tuxee.net/cl-vectors/cl-aa-interactive4.png)
2D Graphical Library | Libraries
You must be logged to add a note
You must be logged to add a comment