[racket] confusing graphics primitives in 2htdp/image
The names were chosen for backwards compatibility. -- Matthias
On Jun 25, 2010, at 11:12 AM, Stephen Bloch wrote:
> There are a whole lot of graphics operations in 2htdp/image, and many of them come in pairs: overlay/xy and place-image, add-line and scene+line, add-curve and scene+curve, etc. that differ mainly in whether or not they crop the result to the bounding box of one of the images. (They sometimes differ in how they interpret coordinates -- whether measured from the center or the top-left of one of the images.) Since the disappearance of pinholes, the "scene" datatype doesn't serve much purpose any more. Would it make sense to use a consistent and compositional naming scheme, e.g. add-line/crop, add-curve/crop, etc?
>
> Stephen Bloch
> sbloch at adelphi.edu
>
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100625/c58bb118/attachment.html>