Re: [racket] freeze and bounding boxes

2012-01-18 Thread David Van Horn
On 1/18/12 9:05 PM, Robby Findler wrote: On Wed, Jan 18, 2012 at 5:22 PM, David Van Horn wrote: By the way, I think you can see this phenomenon in the rendering of the 2htdp/image docs. So for example, the section you referred me to has this example: (let* ([s (rectangle 20 20 "outline" "b

Re: [racket] freeze and bounding boxes

2012-01-18 Thread Ryan Culpepper
In the docs from the last release (here: http://docs.racket-lang.org/teachpack/2htdpimage.html#%28part._nitty-gritty%29) the grid is missing the right edge and the bottom edge. So perhaps this issue was recently fixed? Ryan On 01/18/2012 07:05 PM, Robby Findler wrote: On Wed, Jan 18, 2012 a

Re: [racket] freeze and bounding boxes

2012-01-18 Thread Robby Findler
On Wed, Jan 18, 2012 at 5:22 PM, David Van Horn wrote: > On 1/18/12 6:04 PM, Robby Findler wrote: >> >> Yes, that's the right behavior. See the end of the 2htdp/image docs >> about pixels and whatnot. > > > OK, it seems at odds with the note that freeze can "improve performance > without changing

Re: [racket] freeze and bounding boxes

2012-01-18 Thread Stephen Bloch
On Jan 18, 2012, at 6:22 PM, David Van Horn wrote: > On 1/18/12 6:04 PM, Robby Findler wrote: >> Yes, that's the right behavior. See the end of the 2htdp/image docs >> about pixels and whatnot. > > OK, it seems at odds with the note that freeze can "improve performance > without changing how th

Re: [racket] freeze and bounding boxes

2012-01-18 Thread David Van Horn
On 1/18/12 6:04 PM, Robby Findler wrote: Yes, that's the right behavior. See the end of the 2htdp/image docs about pixels and whatnot. OK, it seems at odds with the note that freeze can "improve performance without changing how the image draws," but I get that a square draws larger than its b

Re: [racket] freeze and bounding boxes

2012-01-18 Thread Robby Findler
Yes, that's the right behavior. See the end of the 2htdp/image docs about pixels and whatnot. Robby On Wed, Jan 18, 2012 at 3:12 PM, David Van Horn wrote: > Is this intended for freeze?  (BTW: freeze just saved an otherwise > unplayable game for me, so thank you!) > >> (square 20 "outline" "soli

[racket] freeze and bounding boxes

2012-01-18 Thread David Van Horn
Is this intended for freeze? (BTW: freeze just saved an otherwise unplayable game for me, so thank you!) > (square 20 "outline" "solid") ... 20x20 outline of a square > (freeze (rectangle 20 20 "outline" "solid")) ... 20x20 outline minus bottom and right edges of a square... > (freeze 21