Re: [racket-users] Pict circle radius

2015-07-25 Thread Robby Findler
Yeah, it's confusing. :( Robby On Sat, Jul 25, 2015 at 10:22 PM, Jack Firth wrote: > Indeed it turns out I was missing something embarrassingly obvious. I was > looking at the docs for the 2htdp/image functions, but using the pict > functions. -- You received this message because you are sub

Re: [racket-users] Pict circle radius

2015-07-25 Thread Jack Firth
Indeed it turns out I was missing something embarrassingly obvious. I was looking at the docs for the 2htdp/image functions, but using the pict functions. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop r

Re: [racket-users] Pict circle radius

2015-07-25 Thread Robby Findler
Where do you see that documentation? This seems to say "diameter": http://docs.racket-lang.org/pict/Basic_Pict_Constructors.html?q=circle#%28def._%28%28lib._pict%2Fmain..rkt%29._circle%29%29 Robby On Sat, Jul 25, 2015 at 9:49 PM, Jack Firth wrote: > So the documentation says that (circle 100) p

[racket-users] Pict circle radius

2015-07-25 Thread Jack Firth
So the documentation says that (circle 100) produces a circle with radius 100. However, (pict-width (circle 100)) produces 100 instead of 200, so apparently it's a circle with diameter 100 and radius 50? Is this a misdocumented function, or am I missing something embarrassingly obvious? -- You