[racket] Problem with hline in
I think this is the result of cropping to the boundary box and the end
of the line is cropped on the left, but not the right (in the
attachment; in the program, it gets cropped along the bottom too).
This looks right:
#lang racket
(require slideshow)
(slide (scale (hline 30 1) 15))
So if you're using this in some larger context, you need to take into
account the actual space of the line itself when cropping.
Robby
On Sat, May 26, 2012 at 9:03 AM, Jens Axel Søgaard
<jensaxel at soegaard.net> wrote:
> Hi All,
>
> Experimenting with slideshow/pict I noticed that the lines
> produced by hline doesn't begin and end the same way.
>
> > (require slideshow/pict)
> > (scale (hline 30 1) 15)
> <line>
>
> The start of the line is rectangular where as the end is rounded.
> See attached image.
>
> Should I change the pen type to get a line that is rounded in both ends?
> If so, how?
>
> --
> Jens Axel Søgaard
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>