[racket] Question about images in racket

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Jan 15 13:12:55 EST 2013

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 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  "solid" "tan")
>                   (rectangle 50 50  "solid" "blue")
>                   (square 100   "solid" "red")))
> 
> I need to make the triangle (which is inside the rectangle) go on top of the square so it can look like a house. that's all I need to do.  this has been driving me nuts. What am I doing wrong?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users



Posted on the users mailing list.