Re: [racket-users] More Pict details

2019-09-04 Thread David Thrane Christiansen
Hi Hendrik, Try the #:draw-border? keyword argument. David On Wed, Sep 4, 2019, 20:02 Hendrik Boom wrote: > How do you draw a rectangle without a border? When I set the > #:border-width > parameter in filled-rectangle to zero I still get a black line around the > rectangle. I worked around

Re: [racket-users] Pict combiners in list form?

2019-09-04 Thread David Thrane Christiansen
Hi Hendrik, I use apply for that. Eg (apply hbl-append (pict-width (t " ")) my-list-of-picts). David On Wed, Sep 4, 2019, 20:06 Hendrik Boom wrote: > Is there a way to call the pict combiners (such as ht-append) giving it a > list of argument picts instead of a varying number of argument

[racket-users] Pict combiners in list form?

2019-09-04 Thread Hendrik Boom
Is there a way to call the pict combiners (such as ht-append) giving it a list of argument picts instead of a varying number of argument picts? Perhaps another set of append functions, or another way of calling functions in Racket? I find myself writing list-folowing recursions every time I

[racket-users] More Pict details

2019-09-04 Thread Hendrik Boom
How do you draw a rectangle without a border? When I set the #:border-width parameter in filled-rectangle to zero I still get a black line around the rectangle. I worked around this by setting the #:border-color to the same color as the rectangle, but this feels like a kludge. -- hendrik