[REBOL] Re: PDF Maker
From: g:santilli:tiscalinet:it at: 17-Jul-2001 17:10
Hello Maxim!
On 16-Lug-01, you wrote:
[...]
MO> BUT when LEARNING code, I find the later IS easier to
MO> structure and seems easier to "try-out" as it is VERY clear
MO> that bold is a property of text and "theoretically" ;-) any
MO> other thing which has a "text" should also have the bold
MO> attribute... its also clear how you supply arguments (if it
MO> stays in line with REBOL's optional arguments scheme).
[...]
You are right; in my dialect, indeed, options FOLLOW the
command
. It's just that I decided to make "solid box" a
different command from "box": they even accept different options;
this is not just because I'm crazy, :) but because PDF uses
different commands to stroke or fill a path and because things
like the inner color make no sense for a normal "box".
This way I can handle defaults differently in the two cases; that
is:
box 255.0.0 ... ; box with red edge
while
solid box 255.0.0 ... ; red box
and you don't have to write:
box edge color 255.0.0
box solid fill color 255.0.0
Anyway, since I don't have any backward compatibility problem yet,
:) I'll change to that what makes most sense to you all. So let's
discuss it together and let's take a decision! :)
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/