<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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 class="gmail_quote">On Thu, Apr 12, 2012 at 6:18 AM, Roelof
          Wobben <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:r.wobben@home.nl">r.wobben@home.nl</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Op 12-4-2012 14:00, Stephen Bloch schreef:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="im">
                On Apr 11, 2012, at 12:03 PM, Roelof Wobben wrote:<br>
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  I changed the contract to Editor -&gt;  Number.<br>
                  When I change the make-editor function the value
                  changed.<br>
                  So I think the check-expect is wrong but I have no
                  clue how to change it.<br>
                </blockquote>
              </div>
              No, the check-expect is fine; the definition is wrong.  As
              I recall (I don't have it in front of me), it doesn't
              actually use its parameter.<br>
            </blockquote>
            <br>
            The function is this :
            <div class="im"><br>
              <br>
              (define (width editor)<br>
               (image-width (text (editor-pre verwerker) 11 "black")))<br>
              <br>
            </div>
            As I understand your remark it doesn't use editor.  So I
            have to rewrite it so it uses the parameter editor-pre
            verwerker ??<br>
            <br>
            Roelof<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="im">
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  I find the way with overlay and beside more the hard
                  way.<br>
                </blockquote>
              </div>
              Why do you need "overlay"?  I would think you could do
              this just with "beside" (unless you wanted to fine-tune
              the formatting).<br>
              <br>
            </blockquote>
            <br>
            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.<br>
            <br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Stephen Bloch<br>
              <a moz-do-not-send="true" href="mailto:sbloch@adelphi.edu"
                target="_blank">sbloch@adelphi.edu</a><br>
              <br>
              <br>
            </blockquote>
            <div class="HOEnZb">
              <div class="h5">
                <br>
                ____________________<br>
                 Racket Users list:<br>
                 <a moz-do-not-send="true"
                  href="http://lists.racket-lang.org/users"
                  target="_blank">http://lists.racket-lang.org/users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    Oke, <br>
    <br>
    Then back to the drawing table. <br>
    <br>
    Roelof<br>
    <br>
  </body>
</html>