UFFI bindings to the GD graphics library
edicl/cl-gd
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Complete documentation for CL-GD can be found in the 'doc' directory. CL-GD also supports Nikodemus Siivola's HYPERDOC, see <http://common-lisp.net/project/hyperdoc/> and <http://www.cliki.net/hyperdoc>. 1. Installation (see doc/index.html for Windows instructions) 1.1. Download and install a recent version of GD and its supporting libraries. Please use your operating system's package manager to install the "development" version of the GD library. On Ubuntu Linux, this can be achieved with the command: apt-get install libgd2-xpm-dev GD depends on several other libraries to handle different graphics formats. These should be installed by your package manager automatically. If you cannot use or do not have a package manager that includes GD, you'll have to follow the GD installation instructions (http://www.boutell.com/gd/). Note that you won't be able to compile CL-GD unless you have installed all supporting libraries. This is different from using GD directly from C where you only have to install the libraries you intend to use. 1.2. Install cl-gd and its Lisp dependencies using quicklisp (http://quicklisp.org/). 1.3. Compile cl-gd-glue.c into a shared library for your platform. A simple Makefile is included in the cl-gd source directory. For FreeBSD and Linux, just type make For OSX, type make cl-gd-glue.dylib 2. Test CL-GD comes with a simple test suite that can be used to check if it's basically working. Note that this'll only test a subset of CL-GD. To run the tests load CL-GD and then (asdf:oos 'asdf:load-op :cl-gd-test) (cl-gd-test:test) If you have the georgiab.ttf TrueType font from Microsoft you can also check the FreeType support of CL-GD with (cl-gd-test:test #p"/usr/X11R6/lib/X11/fonts/truetype/georgiab.ttf") where you should obviously replace the path above with the full path to the font on your machine. (See the note about failed tests in the documentation.)
About
UFFI bindings to the GD graphics library
Resources
Stars
Watchers
Forks
Packages 0
No packages published