Re: [racket] Question about images in racket

2013-01-15 Thread Matthias Felleisen
Do you mean (require 2htdp/image) (overlay/align "center" "bottom" (rectangle 50 50 "solid" "blue") (above (triangle 40 "solid" "tan") (square 100 "solid" "red"))) On Jan 14, 2013, at 7:20 PM, Brandon Mick wrote: > I am trying to draw

Re: [racket] Question about images in racket

2013-01-15 Thread Robby Findler
Overlays stack images on top of each other; they are not lined up vertically. Try using above to put the triangle on top of the rectangle -- that will return a new image that you can then combine with the big red square using overlay/align. On Mon, Jan 14, 2013 at 6:20 PM, Brandon Mick wrote:

[racket] Question about images in racket

2013-01-15 Thread Brandon Mick
I am trying to draw a small house in Racket. It draws a house frm a triangle, square, and rectangle. So it consumes a number and draws the shapes, places, them, and forms a neat house.  This is what I have so far (overlay/align "center" "bottom"                                     (triangle 40