[Cuis-dev] scaling an ImageMorph

Hilaire Fernandes hfern at free.fr
Sat Mar 22 02:21:29 PDT 2025


I will try this:

  * magnify the form to 50% of its original size.
  * Add the ImageMoprh to the System window with LayoutSpec to keep
    original extent (Browse LayoutSpec class side)

Le 22/03/2025 à 02:27, Mark Volkmann via Cuis-dev a écrit :
> filePath := '/Users/volkmannm/Pictures/images/altitude1600.jpg'.
> form := Form fromFileNamed: filePath.
> morph := ImageMorph newWith: form.
> SystemWindow new addMorph: morph; openInWorld.

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250322/955563b3/attachment-0001.htm>


More information about the Cuis-dev mailing list