Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-rsvg2 Reference Manual, version 0.4.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 12:44:51 2020 GMT+0.
• Introduction | What cl-rsvg2 is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
cl-rsvg2 is a Common Lisp binding to RSVG Library to allow rendering SVGs to Cairo surfaces. It requires cffi, asdf, cl-cairo2, cl-gtk2, trivial-gray-streams, and naturally, librsvg. So far it has been tested against librsvg 2.34.1 with SBCL 1.0.54 under Ubuntu GNU/Linux. It is a fork of cl-rsvg by Sasha Kovar which was using cl-cairo instead of cl-cairo2. It also uses the cl-gtk2-glib system of cl-gtk2 for a few definitions that cl-rsvg made itself. If anyone should want to use the library but like to avoid this dependency, contact me so I can make a light version without it. The mapping was somewhat minimal in cl-rsvg. I added FFI declarations for most (non-deprecated) functions of the RSVG Library, but tested only some of them. The GdkPixmap functions are in a seperate sytem which depends upon cl-ftk2-gdk. The well supported functionaly consists only of what is required to load SVG files and render them to Cairo. The highest level wrappers are DRAW-SVG-DATA and DRAW-SVG-FILE, the later of which is doing just that. If you have used some of the untested functionality and noticed problems, or wish for more functionality, contact me! The newest functionality (in highly experimental state) is the HANDLE-DATA-STREAM class. As of yet, it is completely untested. Its purpose is to make it possible to treat a RsvgHandle as a stream, i.e. feed it data with WRITE-SEQUENCE and WRITE-BYTE. tests/cairo-test.lisp contains example usage. See also: http://developer.gnome.org/rsvg/stable/index.html (Reference Manual) http://librsvg.sourceforge.net http://www.cairographics.org http://common-lisp.net/project/cl-cairo2/ TODO: * Add docstrings for all exported functions. Enjoy! Rörd Hinrichsen
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The cl-rsvg2 system |
Rörd Hinrichsen <roerdhh@gmail.com>
Sasha Kovar <sasha-rsvg@arcocene.org>
LLGPL
Bindings for RSVG Library.
0.4.1
cl-rsvg2.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The cl-rsvg2.asd file | ||
• The cl-rsvg2/package.lisp file | ||
• The cl-rsvg2/cl-rsvg2-ffi.lisp file | ||
• The cl-rsvg2/cl-rsvg2.lisp file |
Next: The cl-rsvg2/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
cl-rsvg2.asd
cl-rsvg2 (system)
Next: The cl-rsvg2/cl-rsvg2-ffi․lisp file, Previous: The cl-rsvg2․asd file, Up: Lisp files [Contents][Index]
Next: The cl-rsvg2/cl-rsvg2․lisp file, Previous: The cl-rsvg2/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cl-rsvg2 (system)
cl-rsvg2-ffi.lisp
Previous: The cl-rsvg2/cl-rsvg2-ffi․lisp file, Up: Lisp files [Contents][Index]
cl-rsvg2-ffi.lisp (file)
cl-rsvg2 (system)
cl-rsvg2.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The cl-rsvg2 package |
package.lisp (file)
rsvg2
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported classes |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
cl-rsvg2.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
cl-rsvg2.lisp (file)
Draw SVG data on a Cairo surface. DATA needs to be an uint8 C array, and DATA-LEN its length, in bytes. Return the SVGs width and height.
cl-rsvg2.lisp (file)
Draw a SVG file on a Cairo surface. Return its width and height.
cl-rsvg2.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
Next: Exported classes, Previous: Exported functions, Up: Exported definitions [Contents][Index]
automatically generated reader method
cl-rsvg2.lisp (file)
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
cl-rsvg2.lisp (file)
:handle
handle (generic function)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions | ||
• Internal classes |
Next: Internal classes, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
Previous: Internal functions, Up: Internal definitions [Contents][Index]
cl-rsvg2-ffi.lisp (file)
cl-rsvg2-ffi.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L |
---|
Jump to: | C F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | D F G H M S W |
---|
Jump to: | D F G H M S W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | H S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
H | |||
handle : | Exported classes | ||
| |||
S | |||
Slot, handle : | Exported classes | ||
|
Jump to: | H S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C D H P S |
---|
Jump to: | C D H P S |
---|