GNU Info

Info Node: (sawfish.info)Gradient Functions

(sawfish.info)Gradient Functions


Next: Other Functions Prev: Display Functions Up: Miscellaneous Functions
Enter node , (file) or (file)node

Gradient Functions
==================

   The `gradient' feature allows color gradients to be drawn in images.
(Evaluate `(require 'gradient)' to load this feature.)

 - Function: draw-vertical-gradient image from to
     Draw a vertical color gradient in IMAGE. The color at the top of
     the image will be FROM, the color at the bottom TO, with a smooth
     transition between.

 - Function: draw-horizontal-gradient image from to
     Draw a horizontal color gradient in IMAGE, from left to right.

 - Function: draw-diagonal-gradient image from to
     Draw a horizontal color gradient in IMAGE, from the top-left
     corner to the bottom-right.


automatically generated by info2www version 1.2.2.9