Common Lisp Package: CL-RSVG2

README:

FUNCTION

Public

DRAW-SVG-DATA (DATA DATA-LEN &OPTIONAL (CONTEXT *CONTEXT*))

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.

DRAW-SVG-FILE (FILESPEC &OPTIONAL (CONTEXT *CONTEXT*))

Draw a SVG file on a Cairo surface. Return its width and height.

Undocumented

DRAW-SVG (SVG &OPTIONAL (CONTEXT *CONTEXT*))

DRAW-SVG-SUB (SVG ID &OPTIONAL (CONTEXT *CONTEXT*))

HANDLE-CLOSE* (HANDLE)

HANDLE-GET-BASE-URI (HANDLE)

HANDLE-GET-DESC (HANDLE)

HANDLE-GET-DIMENSION-VALUES (HANDLE)

HANDLE-GET-METADATA (HANDLE)

HANDLE-GET-SUB-DIMENSION-VALUES (HANDLE ID)

HANDLE-GET-SUB-POSITION-VALUES (HANDLE ID)

HANDLE-GET-TITLE (HANDLE)

HANDLE-HAS-SUB (HANDLE ID)

HANDLE-NEW

HANDLE-SET-BASE-URI (HANDLE BASE-URI)

HANDLE-SET-DPI (HANDLE DPI)

HANDLE-SET-DPI-X-Y (HANDLE DPI-X DPI-Y)

HANDLE-WRITE-DATA (HANDLE BUF COUNT)

SET-DEFAULT-DPI (DPI)

SET-DEFAULT-DPI-X-Y (DPI-X DPI-Y)

Private

Undocumented

HANDLE-CLOSE (HANDLE ERROR)

HANDLE-GET-DIMENSIONS (HANDLE DIMENSION-DATA)

HANDLE-GET-DIMENSIONS-SUB (HANDLE DIMENSION-DATA ID)

HANDLE-GET-POSITION-SUB (HANDLE POSITION-DATA ID)

HANDLE-NEW-FROM-DATA (DATA DATA_LEN ERROR)

HANDLE-NEW-FROM-FILE (FILE_NAME ERROR)

HANDLE-RENDER-CAIRO (HANDLE CR)

HANDLE-RENDER-CAIRO-SUB (HANDLE CR ID)

HANDLE-WRITE (HANDLE BUF COUNT ERROR)

MACRO

Public

Undocumented

WITH-HANDLE ((VAR HANDLE) &BODY BODY)

WITH-HANDLE-DATA-STREAM ((STREAM) &BODY BODY)

WITH-HANDLE-FROM-DATA ((HANDLE DATA DATA-LEN) &BODY BODY)

WITH-HANDLE-FROM-FILE ((HANDLE FILESPEC) &BODY BODY)

SLOT-ACCESSOR

Public

Undocumented

HANDLE (OBJECT)

Private

Undocumented

GET-POINTER (OBJECT)

VARIABLE

Private

*CONTEXT*

The default context for cl-cairo2 functions.

CLASS

Public

Undocumented

HANDLE-DATA-STREAM

Private

Undocumented

DIMENSION-DATA-TCLASS

POSITION-DATA-TCLASS