[REBOL] Re: [draw] line width
From: atruter:labyrinth:au at: 24-Dec-2003 10:40
Hi Max,
> Its all working like a charm, but I was wondering if its possible to
> change the line width in draw dialect setup. I haven't noticed in the
> docs...
Unfortunately no. One trick I use for [small] circles is:
c: make face/font [size: 144 name: "Wingdings"]
view layout [
box 200x200 effect [
draw [font c text 0x0 form to-char 161]
]
]
For lines I just draw multiple lines 1 pixel apart (or use a flood-filled
polygon for realy thick lines). None of these are particuary elegant, but
still simpler than having to directly poke pixels into a screen image.
Note that for the VID 1.3 project Romano has created request#134 with the
following text, "add a line thickness parameter to Draw effects like line
polygon circle". This can't come soon enough for me! ;)
Regards,
Ashley