[cl-pdf-devel] gradients

Tamas K Papp tkpapp at gmail.com
Wed Apr 18 08:17:32 UTC 2012


Hi,

I would like to write a plotting function that draws image plots
(plotting a matrix in 2d using colors).  It would be useful to use
gradients; in particular, paint a rectangle where the four corners each
have a color and the each point in the rectangle has a color which is a
convex combination of the corner colors.  I think this is called a
gradient in most libraries, but I could not figure out how to do it in
cl-pdf (I have to admit that I didn't find gradients in the library,
maybe I didn't look hard enough).  Suggestions/examples would be
welcome.

Best,

Tamas




More information about the cl-pdf-devel mailing list