18 Apr 2012 10:17
gradients
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 _______________________________________________ cl-pdf-devel site list cl-pdf-devel@... http://common-lisp.net/mailman/listinfo/cl-pdf-devel
RSS Feed