[REBOL] Re: Printing and Rebol
From: g:santilli:tiscalinet:it at: 13-Jul-2001 19:17
Hello [sqlab--gmx--net]!
On 13-Lug-01, you wrote:
s> We could define a graphbox analog to your textbox, where we
s> describe the graphic part of a a page.
I'd like to have graphics primitives on the same level of a
textbox (this is what actually happens in the PDF language).
s> Two different approaches for the set of graphic primitives
s> came to my mind;
[...]
The first is the PDF way. That is, you specify a "path" by
defining its starting position and then the lines/curves that
compose it. Maybe we could go this way:
'line xs ys xe ye
'path [x1 y1 x2 y2 x3 y3 'bezier xc1 yc1 xc2 yc2 x4 y4]
BTW,
s> 'arc x-center y-center angle
PDF has the more general BEZIER curve. But maybe we should include
arcs and circles for convenience in the dialect?
Anyone has better ideas? (A Logo-like dialect, maybe?)
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/