<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>D'oh, I seem to have missed this selector! "magnify" is just the not verb I was searching for. :-)</p>
<p><br>
</p>
<p>Is it of interest that I update the changeset below to reuse #magnifyBy: in more places?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Levente Uzonyi <leves@caesar.elte.hu><br>
<b>Gesendet:</b> Freitag, 7. Mai 2021 21:45:29<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Graphics-ct.449.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Christoph,<br>
<br>
What about just using #magnifyBy:?<br>
<br>
<br>
Levente<br>
<br>
On Thu, 6 May 2021, commits@source.squeak.org wrote:<br>
<br>
> A new version of Graphics was added to project The Inbox:<br>
> <a href="http://source.squeak.org/inbox/Graphics-ct.449.mcz">http://source.squeak.org/inbox/Graphics-ct.449.mcz</a><br>
><br>
> ==================== Summary ====================<br>
><br>
> Name: Graphics-ct.449<br>
> Author: ct<br>
> Time: 6 May 2021, 10:46:15.911809 pm<br>
> UUID: 52f12efc-da63-0d44-a252-72bc5f89b6c7<br>
> Ancestors: Graphics-mt.448<br>
><br>
> Proposal: Adds Form >> #scaledBy: that scales a form by a certain factor. I identified half a dozen of senders of #scaledToSize: in the Trunk each of which has reinvented this wheel.<br>
><br>
> =============== Diff against Graphics-mt.448 ===============<br>
><br>
> Item was added:<br>
> + ----- Method: Form>>scaledBy: (in category 'scaling, rotation') -----<br>
> + scaledBy: factor<br>
> +      "Answer a version of the receiver which is scaled by factor, which can be a number or point."<br>
> + <br>
> +      (factor closeTo: 1) ifTrue: [^ self].<br>
> +      ^ self scaledToSize: (self extent * factor) rounded!<br>
<br>
</div>
</span></font>
</body>
</html>