<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    A sketchmorph is horribly complicated, too.<br>
    <br>
    ImageMorph was designated as the successor to SketchMorph and then
    abandoned. By implication, SketchMorph was abandoned before
    ImageMorph.<br>
    <br>
    Far better to figure out a way to resize ImageMorph, IMHO.<br>
    <br>
    <br>
    L.<br>
    <br>
    <br>
    <br>
    On 1/4/12 8:59 AM, karl ramberg wrote:
    <blockquote
cite="mid:CAGzzWLg6kqOUMXC=FG6=bLRm8ZYA2wJ_OGCWpa4tM4Xa=OSUDw@mail.gmail.com"
      type="cite">A SketchMorph lets you set the extent directly
      <div><br>
      </div>
      <div>Karl<br>
        <br>
        <div class="gmail_quote">On Wed, Jan 4, 2012 at 4:44 PM, Jan
          Teske <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jan.teske@student.hpi.uni-potsdam.de">jan.teske@student.hpi.uni-potsdam.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
            <br>
            I'm currently developing a small game with Squeak. Part of
            it is a bunch of menus which should have background images.
            Therefore I have realized them as ImageMorphs with the
            respective images.<br>
            Now, there are menus which sizes are determined dynamically
            during the runtime of the game. That means I have to change
            the size of the menus. Since I cannot do this by
            manipulating 'menu extent: ...' directly, the only way I
            found until now is to manipulate the image form 'menu image:
            menu image scaledToSize: ...'. That works pretty well except
            for one thing: I cannot change the aspect ration of the
            original image with scaledToSize:. Since I do not know the
            extends of my menus before the game starts, I cannot say
            anything about the needed image ratio. Since my menus should
            be as applicable as possible I need to be able to resize
            also in a way which destroys the original scales.<br>
            <br>
            Is there any easy workaround for my problem or a recommended
            way for creating resizable Morphs with background images?<br>
            <br>
            Thanks in advance!<br>
            _______________________________________________<br>
            Beginners mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Beginners@lists.squeakfoundation.org"
              target="_blank">Beginners@lists.squeakfoundation.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.squeakfoundation.org/mailman/listinfo/beginners"
              target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>