<div dir="ltr"><div>It is this code that apply the blendAlphaScaled.<br></div><br><div>BalloonEngine>>bitBlt: aBitBlt</div>   | destWidth |<br> bitBlt := aBitBlt.<br>    bitBlt isNil ifTrue:[^self].<br>  destWidth := bitBlt destForm width.<br>   destWidth > span size ifTrue:[span := Bitmap new: destWidth].<br>      self class primitiveSetBitBltPlugin: bitBlt getPluginName.<br>    self clipRect: bitBlt clipRect.<br>       bitBlt <br>               sourceForm: (Form extent: span size @ 1 depth: 32 bits: span);<br>                sourceRect: (0@0 extent: 1@span size);<br>                colorMap: (Color colorMapIfNeededFrom: 32 to: bitBlt destForm depth);<br><div>              combinationRule: (bitBlt destForm depth >= 8 ifTrue:[34"
blendAlphaScaled

"] ifFalse:[Form paint]).</div><div><br></div><div>Best,</div><div>Karl<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 21, 2020 at 9:31 PM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</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">





<div>


<div dir="ltr">
<div id="gmail-m_2523534955259385269x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<p>Thanks for the pointer, Stef. I think we really need some kind of documentation of the form rules to decide whether we can apply Marcel's solution. Did anyone ever read something about it?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="gmail-m_2523534955259385269x_Signature">
<div id="gmail-m_2523534955259385269x_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">
<div>
<div id="gmail-m_2523534955259385269x_Item.MessagePartBody">
<div id="gmail-m_2523534955259385269x_Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="gmail-m_2523534955259385269x_divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="gmail-m_2523534955259385269x_Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont">
<div><font size="3" color="black"><span style="font-size:12pt"><a href="http://www.hpi.de/" rel="noopener noreferrer" id="gmail-m_2523534955259385269LPNoLP" target="_blank"><font size="2"><span id="gmail-m_2523534955259385269LPlnk909538"><font color="#757B80"></font></span></font></a></span></font></div>
</font></div>
</div>
</font></div>
</div>
</div>
</div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_2523534955259385269x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" 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 Stéphane Rollandin <<a href="mailto:lecteur@zogotounga.net" target="_blank">lecteur@zogotounga.net</a>><br>
<b>Gesendet:</b> Samstag, 19. September 2020 22:34:21<br>
<b>An:</b> <a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a><br>
<b>Betreff:</b> Re: [squeak-dev] ColorForm with transparency not working properly</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div>> But unfortunately, I could not find any documentation about the
<br>
> different Form rules such as #blend, #over, #paint etc. Can you give me <br>
> some pointers?<br>
Related thread:<br>
<a href="http://forum.world.st/ImageForm-color-with-alpha-td5090574.html" target="_blank">http://forum.world.st/ImageForm-color-with-alpha-td5090574.html</a><br>
<br>
Stef<br>
<br>
</div>
</span></font>
</div>

<br>
</blockquote></div>