[cl-gd-devel] Re: CL-GD: Documentation error for COLOR-COMPONENT
1 Oct
2008
1 Oct
'08
11:28 a.m.
On Sun, 28 Sep 2008 13:13:25 -0700, "J\.P\. Larocque" <jpl@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... :)
6358
Age (days ago)
6358
Last active (days ago)
0 comments
1 participants
participants (1)
-
Edi Weitz