This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: (kawa pictures) procedural interface for point and dimension?
- From: "Sudarshan S Chawathe" <chaw at eip10 dot org>
- To: Per Bothner <per at bothner dot com>
- Cc: kawa at sourceware dot org
- Date: Mon, 24 Oct 2016 10:24:46 -0400
- Subject: Re: (kawa pictures) procedural interface for point and dimension?
- Authentication-results: sourceware.org; auth=none
- Reply-to: "Sudarshan S Chawathe" <chaw at eip10 dot org>
This note is only a minor comment (perhaps too minor) on the
documentation/terminology.
> The documentation should probably be clearer and show examples that
> x/y/w/h are actually expressions - they don't have to be constant:
>
> &P[(sqrt 3) (+ 5 6)]
The above example would be a good aid to understanding.
On a related note, I think what caused my confusion was the tag
'Literal' next to the descriptions of &P and &D. That had me making an
analogy with string litrals, integer literals, etc. Of course, had I
read more carefully, I would have noticed the sentence right there
indicating that x and y are expressions that evaluate to integers (so my
earlier "duh" assessment of my confusion still stands).
I guess that leads to a question: Should &P (and &D) be described as
'syntax' instead of 'literal' (or am I confused again)?
Regards,
-chaw