[racket] Opacity of borders in slideshow/pict
Thanks. I didn't connect the dots, that the linewidth
of the current pen was used as the border size.
On GitHub I have added a line in the documentation.
/Jens Axel
2012/6/10 Matthew Flatt <mflatt at cs.utah.edu>:
> FWIW, another way to do that is
>
> (linewidth #f (disk 50))
>
> At Sun, 10 Jun 2012 19:10:39 +0200, Jens Axel Søgaard wrote:
>> 2012/6/10 Robby Findler <robby at eecs.northwestern.edu>:
>> > I think it does, actually. What's happening is that it is drawing the
>> > interior with the specified alpha value and then drawing the border
>> > with the specified alpha, which means that pixels near the border are
>> > drawn twice and so appear twice as dark.
>> >
>> > I've just pushed a change so that you can pass the #:draw-border?
>> > argument to disk and filled-ellipse to avoid drawing the border.
>>
>> Great.
>>
>> Thanks,
>> Jens Axel
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
--
--
Jens Axel Søgaard