<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/11 Chris Muller <span dir="ltr"><<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>></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'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, <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br>
> Nicolas Cellier uploaded a new version of Graphics to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/Graphics-nice.287.mcz" target="_blank">http://source.squeak.org/trunk/Graphics-nice.287.mcz</a><br>
><br>
> ==================== Summary ====================<br>
><br>
> Name: Graphics-nice.287<br>
> Author: nice<br>
> Time: 10 January 2014, 1:54:29.094 am<br>
> UUID: e853e088-f3a2-47b0-b991-98b23543c4e2<br>
> Ancestors: Graphics-nice.284<br>
><br>
> Fix display of embedded Form in Text.<br>
> CombinationRule Form over apparently does not correctly handle transparency, Form blend does a better job.<br>
> 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>
> Thanks to Sean DeNigris for report and solution.<br>
><br>
> =============== Diff against Graphics-nice.284 ===============<br>
><br>
> Item was changed:<br>
> ----- Method: BitBltDisplayScanner>>displayEmbeddedForm: (in category 'displaying') -----<br>
> displayEmbeddedForm: aForm<br>
> aForm<br>
> displayOn: bitBlt destForm<br>
> at: destX @ (lineY + line baseline - aForm height)<br>
> + clippingBox: bitBlt clipRect<br>
> + rule: Form blend<br>
> + fillColor: Color white !<br>
> - clippingBox: bitBlt clipRect!<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>