<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/11 Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Why blending with Color white?<br></blockquote><div><br></div><div>I don&#39;t know. It was the old code found in MultiDisplayScanner and just happens to work.<br></div><div>I suppose it has no effect and is equivalent painting, except that it is respectful of transparency encoding.<br>
</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jan 9, 2014 at 6:54 PM,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; Nicolas Cellier uploaded a new version of Graphics to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Graphics-nice.287.mcz" target="_blank">http://source.squeak.org/trunk/Graphics-nice.287.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Graphics-nice.287<br>
&gt; Author: nice<br>
&gt; Time: 10 January 2014, 1:54:29.094 am<br>
&gt; UUID: e853e088-f3a2-47b0-b991-98b23543c4e2<br>
&gt; Ancestors: Graphics-nice.284<br>
&gt;<br>
&gt; Fix display of embedded Form in Text.<br>
&gt; CombinationRule Form over apparently does not correctly handle transparency, Form blend does a better job.<br>
&gt; The mistake is that DisplayScanner and MultiDisplayScanner did have two different versions of placeEmbeddedObject:, and I picked the wrong one when unifying. Since I only tested with embedded Morph and opaque Form, I failed to see it...<br>

&gt; Thanks to Sean DeNigris for report and solution.<br>
&gt;<br>
&gt; =============== Diff against Graphics-nice.284 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;   ----- Method: BitBltDisplayScanner&gt;&gt;displayEmbeddedForm: (in category &#39;displaying&#39;) -----<br>
&gt;   displayEmbeddedForm: aForm<br>
&gt;         aForm<br>
&gt;                 displayOn: bitBlt destForm<br>
&gt;                 at: destX @ (lineY + line baseline - aForm height)<br>
&gt; +               clippingBox: bitBlt clipRect<br>
&gt; +               rule: Form blend<br>
&gt; +               fillColor: Color white !<br>
&gt; -               clippingBox: bitBlt clipRect!<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div></div>