[Cuis-dev] scaling an ImageMorph
Ezequiel Birman
ebirman77 at gmail.com
Fri Mar 21 12:48:45 PDT 2025
I'm not sure what are you trying to do but I'll guess that if you're trying
to get the image fill the morphExtent, you cand send `image:` to the
imageMorph.
anImageMorph image: (anImage magnifyTo: self morphExtent)
HTH,
--
Eze
On Thu, 20 Mar 2025 at 09:00, Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> A remark, you should only magnify the form. Not sure it solves your
> problem, though
> Le 19/03/2025 à 22:11, Mark Volkmann via Cuis-dev a écrit :
>
> percent := 0.75.
> form := Form fromFileNamed: filePath :: magnifyBy: percent.
> morph := ImageMorph newWith: form :: scaleBy: percent.
>
> -- http://mamot.fr/@drgeo
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250321/cd58f45e/attachment.htm>
More information about the Cuis-dev
mailing list