[racket] Opacity of borders in slideshow/pict

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Jun 10 15:33:42 EDT 2012

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


Posted on the users mailing list.