Any more bugs/typos? Vladimir Nikishkin (15 Sep 2020 15:35 UTC)
Re: Any more bugs/typos? Wolfgang Corcoran-Mathe (15 Sep 2020 19:13 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (16 Sep 2020 01:54 UTC)
Re: Any more bugs/typos? Arthur A. Gleckler (16 Sep 2020 02:49 UTC)
Re: Any more bugs/typos? Wolfgang Corcoran-Mathe (16 Sep 2020 05:50 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (16 Sep 2020 06:19 UTC)
Re: Any more bugs/typos? Wolfgang Corcoran-Mathe (16 Sep 2020 16:11 UTC)
Re: Any more bugs/typos? Wolfgang Corcoran-Mathe (16 Sep 2020 16:15 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (17 Sep 2020 04:00 UTC)
Re: Any more bugs/typos? Wolfgang Corcoran-Mathe (17 Sep 2020 05:49 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (17 Sep 2020 06:04 UTC)
Re: Any more bugs/typos? Marc Nieper-Wißkirchen (17 Sep 2020 07:00 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (17 Sep 2020 07:08 UTC)
Re: Any more bugs/typos? Marc Nieper-Wißkirchen (17 Sep 2020 07:14 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (17 Sep 2020 07:22 UTC)
Re: Any more bugs/typos? Marc Nieper-Wißkirchen (17 Sep 2020 07:25 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (17 Sep 2020 07:50 UTC)
Re: Any more bugs/typos? Marc Nieper-Wißkirchen (17 Sep 2020 08:00 UTC)
Re: Any more bugs/typos? Vladimir Nikishkin (17 Sep 2020 08:04 UTC)
Re: Any more bugs/typos? Wolfgang Corcoran-Mathe (17 Sep 2020 16:47 UTC)

Re: Any more bugs/typos? Wolfgang Corcoran-Mathe 16 Sep 2020 16:11 UTC

On 2020-09-16 14:19 +0800, Vladimir Nikishkin wrote:
> >Is the intention to make draw-bezier variadic
>
> It is variadic, yes. You can supply 3 or more points.

If this is so, then I think the specification of draw-bezier could
be more clearly written as

    (draw-bezier vec1 vec2 [vec3 [vec4]])

with the following description:

"Draws a cubic Bezier curve between *vec1* and *vec2*.  If the *vec3*
argument is supplied, then a quadric curve is drawn.  If *vec4* is
supplied, then *vec2* and *vec3* are used as knots.  It is an error if
any argument is not a list of at least two numbers.  If the canvas
does not exist, it is created."

I find this more compact and clearer than the current description, which
must refer to list elements rather than named arguments.

I also noticed that the sentence "In the simplest case this procedure
can be a synonym to jpeg-file->painter" seems to be misplaced.  It
appears in the description of jpeg-file->painter, but clearly refers
to image-file->painter.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"Not all programming languages have a way to write definitions, but
most do.  Those that do not are for wimps." --The Great Quux