<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Op 12-4-2012 18:30, Roelof Wobben schreef:
<blockquote cite="mid:4F870313.5040906@home.nl" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Op 12-4-2012 18:03, Nick Shelley schreef:
<blockquote
cite="mid:CAPrQK3BtOi-SJOr1veViEeCLO2GKTozG4RENcH2mFWv5pKKq5A@mail.gmail.com"
type="cite"> Only beside. But how can I then take care
that the text are displayed into the empty-scene. I think you
need overlay or something for that.
<div><br>
</div>
<div>Every image function returns an image, so you can use
beside to create an image of your text with the cursor in the
right spot, and then place that image in your empty scene
however you want (you used place-image, which would work, but
I would suggest place-image/align).</div>
<div><br>
</div>
<div>In general, I would suggest (as HtDP does) that you
experiment with each piece of the image in the interactions
pane, and then experiment with composing them until you get
what you want. For instance, use the interactions pane to try
to get the text and cursor together using different image
functions until you like what you get, then do the same with
composing that result and the background.<br>
<br>
</div>
</blockquote>
</blockquote>
<br>
I have problems with place-image/align.<br>
<br>
I have this : <br>
<br>
; Editor -> Image<br>
; Function which displays the struct on the screen into a image.<br>
(define (render verwerker)<br>
(place-image/align (beside (text(editor-pre verwerker) 11 "black")
cursor (text(editor-post verwerker) 11 "black")) 0 0 left center
workspace ))<br>
<br>
But now I get a message that left is out of context. <br>
<br>
But where do I put it then ?<br>
<br>
Roelof<br>
<br>
</body>
</html>