Directory | Tags | Index | LinkIt | Submit   | Help
    Wednesday, 23 April 2014 - anonymous
Login/Register to vote and to have access to more features

You are here: Root > By Topic > Graphics > 2D Graphical Library

View the dependency graph for this library

CL-Vectors
Created by marc.battyani on: Thu, 12 Apr 2007 20:31:15 GMT, Last modification: Sun, 15 Apr 2007 17:31:25 GMT

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.

eMailfrederic@jolliton.com
Web sitehttp://projects.tuxee.net/cl-vectors/
Mailing list
Version0.1.3 - Wednesday, 14 March 2007
MaturityBeta
OS compatibilityAll
ASDF installableNo
Official Downloadhttp://projects.tuxee.net/cl-vectors/cl-vectors-0.1.3.tar.gz
Mirrored Download
Source code repository

Some examples:

(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))
[image1]

(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)))
[image2]

Another one:
[image1]

Compatible Implementations

Generic ANSI Common Lisp

Required Libraries  View graph

ZPB-TTF

Authors and Maintainers

Frédéric Jolliton

Tags

2D Graphical Library | Libraries

0 Notes and 0 comments

0 Notes

You must be logged to add a note


0 Comments

You must be logged to add a comment