<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>Hi Marcel,</p>
<p><br>
</p>
<p>> <span style="font-size:12pt">+        NOTE THAT for proportions that equal 1.0, the resulting point will NOT lie</span></p>
<div>> +        within the receiver, i.e., #containsPoint: will answer false."</div>
<div><br>
</div>
<div>could you explain shortly why #containsPoint: needs to answer false for the receiver's #bottomRight? This was shocking to me. :D</div>
<div><br>
</div>
<div>Best,</div>
<div>Christoph</div>
<p></p>
</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 commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Mittwoch, 8. Juni 2022 14:50:07<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org; packages@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Trunk: Graphics-mt.520.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Marcel Taeumel uploaded a new version of Graphics to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Graphics-mt.520.mcz">http://source.squeak.org/trunk/Graphics-mt.520.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Graphics-mt.520<br>
Author: mt<br>
Time: 8 June 2022, 2:50:00.935335 pm<br>
UUID: 8fb5feb3-71e4-1240-8c76-b10b119a18e2<br>
Ancestors: Graphics-mt.519<br>
<br>
Fixes a rounding issue with fractional points in integer rectangles.<br>
<br>
=============== Diff against Graphics-mt.519 ===============<br>
<br>
Item was changed:<br>
  ----- Method: Rectangle>>pointAtFraction: (in category 'rectangle functions') -----<br>
  pointAtFraction: relativePoint<br>
+        "For values between 0.0 and 1.0, answers a point that lies within the receiver.<br>
+        This method is a more general form of #center (meaning 0.5@0.5), #topLeft<br>
+        (meaning 0.0@0.0), #bottomCenter (meaning 0.5@1.0), etc.<br>
+        NOTE THAT for proportions that equal 1.0, the resulting point will NOT lie<br>
+        within the receiver, i.e., #containsPoint: will answer false."<br>
+        <br>
- <br>
         | result |<br>
         result := self origin + (self extent * relativePoint).<br>
         ^ self isIntegerRectangle<br>
+                ifTrue: [result floor]<br>
-                ifTrue: [result rounded]<br>
                 ifFalse: [result]!<br>
<br>
<br>
</div>
</span></font>
</body>
</html>