[cl-gd-devel] Re: CL-GD: Documentation error for COLOR-COMPONENT

Edi Weitz edi at agharta.de
Wed Oct 1 11:28:27 UTC 2008


On Sun, 28 Sep 2008 13:13:25 -0700, "J\.P\. Larocque" <jpl at thoughtcrime.us> wrote:

> The documentation for CL-GD seems to be wrong for the
> COLOR-COMPONENT function:
>
>     [Function]
>     color-component color component &key image => component
>     
>         Returns the specified color component of color. component can
>         be one of :RED, :GREEN, :BLUE, and :ALPHA.
>
> The color and component parameters should be swapped:
>
>     [Function]
>     color-component component color &key image => component
>
> This seems to reflect the state of CL-GD 0.5.6, and the example for
> COLOR-COMPONENT in the documentation.

Thanks for catching that.  Will be fixed in the next release.

> Thanks for yet another great library,

You're welcome... :)



More information about the Cl-gd-devel mailing list