<div dir="ltr"><div dir="ltr">On Sat, Sep 28, 2019 at 12:44 PM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>

<div id="m_4995803025442627093m_-8629574494450520043gmail-m_-7104604328211241769divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Do you talk abound rounding effects? </p></div></div></blockquote><div>That may have been it.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="m_4995803025442627093m_-8629574494450520043gmail-m_-7104604328211241769divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr"><p>I remember some flickering effects myself when setting float bounds to the SystemWindowMorph, but I could not reproduce it; apparently, someone has added a check.</p>
<p>Also, Morphic is not the only client of Rectangles, is it? </p></div></div></blockquote><div>Actually, I believe it is.  Sure, other domains can and do use it but, IIRC, it has a distinct "screen" layout, where "topLeft" is 0,0 instead of bottom left as in Cartesia.  Accidentally swapping the two points; (e.g., as in, bottomRightPoint corner: topLeftPoint) will also break things.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="m_4995803025442627093m_-8629574494450520043gmail-m_-7104604328211241769divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr"><p>For example, LayoutFrames explicitly depend on floats.</p>
<p><br>
</p>
<p>Or what issue are you talking about else? :)</p></div></div></blockquote><div>I don't recall, sorry.</div><div><br></div><div> - Chris</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="m_4995803025442627093m_-8629574494450520043gmail-m_-7104604328211241769divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Christoph</p>
<div id="m_4995803025442627093m_-8629574494450520043gmail-m_-7104604328211241769Signature">
<div name="divtagdefaultwrapper">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_4995803025442627093m_-8629574494450520043gmail-m_-7104604328211241769divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Chris Muller <<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>><br>
<b>Gesendet:</b> Donnerstag, 26. September 2019 03:58:44<br>
<b>An:</b> squeak dev<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Graphics-ct.419.mcz</font>
<div> </div>
</div>
<div>
<div dir="ltr">Be careful about using non Integers with Rectangles, too.  As with Intervals, I think I remember that some of the API will break.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 20, 2019 at 12:46 PM <<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
A new version of Graphics was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/Graphics-ct.419.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/inbox/Graphics-ct.419.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Graphics-ct.419<br>
Author: ct<br>
Time: 20 September 2019, 7:45:53.388726 pm<br>
UUID: 5deebfce-0321-9645-aebd-0b4bfb428259<br>
Ancestors: Graphics-nice.417<br>
<br>
Add Rectangle>>#pointAtFraction:<br>
<br>
Example: [(5@5 rect: 10@20) pointAtFraction: 0.5@1] will give you 7.5 @ 20.<br>
<br>
dep:feat-ol<br>
<br>
=============== Diff against Graphics-nice.417 ===============<br>
<br>
Item was added:<br>
+ ----- Method: Rectangle>>pointAtFraction: (in category 'rectangle functions') -----<br>
+ pointAtFraction: relativePoint<br>
+ <br>
+       ^ self origin + (self extent * relativePoint)!<br>
<br>
<br>
</blockquote>
</div>
</div>
</div>

</blockquote></div></div>