|
|
On 07/10/2016 05:14 PM, clipka wrote:
> Am 10.07.2016 um 20:32 schrieb William F Pokorny:
>>
>> The rgb string is also optional for a float and multiple vector
>> specifications. Why is it we are not showing the user it is optional
>> with brackets as in [rgb], but doing it for rgbft and the 5 term vector
>> case?
>
> Because this allows to put a bit of semantic information between the
> lines: If none of the colour keywords is specified at all, behaviour is
> as if `rgbft` was used.
>
> The only sensible alternatives (and the ones most closely matching the
> actual internal processing) would be to specify either
>
> COLOR_VECTOR:
> rgb <3_Term_Vector> |
> rgbf <4_Term_Vector> |
> rgbt <4_Term_Vector> |
> rgbft <5_Term_Vector> |
> srgb <3_Term_Vector> |
> srgbf <4_Term_Vector> |
> srgbt <4_Term_Vector> |
> srgbft <5_Term_Vector> |
> <5_Term_Vector>
>
> which loses that between-the-lines information about the semantics, or
>
> COLOR_VECTOR:
> [ rgb | rgbf | rgbt | rgbft | srgb | srgbf | srgbt |
> srgbft ] VECTOR
>
> which discards even more information about the semantics.
>
Alright. Thanks everyone for the time spent due my question.
Bill P.
Post a reply to this message
|
|