<div dir="ltr">Overlays stack images on top of each other; they are not lined up vertically.<div><br></div><div style>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.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 6:20 PM, Brandon Mick <span dir="ltr"><<a href="mailto:brandon905@yahoo.com" target="_blank">brandon905@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
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. </div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">This is what I have so far</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
<br></div><div style="background-color:transparent"><div style="background-color:transparent"><font face="times new roman, new york, times, serif">(overlay/align "center" "bottom" </font></div><div style="background-color:transparent">
<font face="times new roman, new york, times, serif"> </font></div><div style="background-color:transparent"><font face="times new roman, new york, times, serif"> (triangle 40 "solid" "tan")</font></div>
<div style="background-color:transparent"><font face="times new roman, new york, times, serif"> (rectangle 50 50 "solid" "blue")</font></div><div style="background-color:transparent">
<font face="times new roman, new york, times, serif"> (square 100 "solid" "red")))</font></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
<font face="times new roman, new york, times, serif"><br></font></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><font face="times new roman, new york, times, serif">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?</font></div>
</div></div></div><br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>