[cl-cairo2-devel] patch for image-surface-get-data

Johann Korndoerfer cupe-cl-cairo2 at erleuchtet.org
Tue May 27 23:58:55 UTC 2008


hello

included is a diff for extending cl-cairo2 to support extracting pixel
data (as a 1d array) from image surfaces via image-surface-get-data. it
also fixes a minor glitch concerning error messages thrown when a symbol
was not found in a table.

i also noticed something like
(cl-cairo2:create-image-surface 'format-argb32 23 42))
will not work (complaining about not finding the symbol) since the
symbol cl-user:format-argb32 obviously is not the same as
cl:cairo2:format-argb32.

i therefore suggest using keyword symbols for the right halves of the
tables as well if there is no reason to do otherwise.

johann
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: image-surface-get-data.diff
URL: <https://mailman.common-lisp.net/pipermail/cl-cairo2-devel/attachments/20080528/31ec180c/attachment.ksh>


More information about the Cl-cairo2-devel mailing list