From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <3e7f0bda016b58eefaec13ae2cb37dbc@coraid.com> References: <14ec7b180903041337t1b2f9712v20e13a7d40ba52ed@mail.gmail.com> <86a482e98e3cc74a84d531d3018176e8@coraid.com> <14ec7b180903041353o66f0c658reac4d357a508d10e@mail.gmail.com> <972ce83315a8e104ce34f039aaa2bfc6@coraid.com> <9ab217670903041422t27ffc464j46b9ac1c2a976c06@mail.gmail.com> <14ec7b180903041445n3d85c298g911c825fca617d78@mail.gmail.com> <3e7f0bda016b58eefaec13ae2cb37dbc@coraid.com> Date: Wed, 4 Mar 2009 16:05:27 -0700 Message-ID: <14ec7b180903041505w1f85c741qa00715bc33bda891@mail.gmail.com> From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Porter-Duff alpha blending Topicbox-Message-UUID: b287ce6a-ead4-11e9-9d60-3106f5b1d025 > however it won't fix the program that you originally > sent. the "fix" (if you can call sidestepping the problem :a fix") for the original program is to use RGB24 as the channel for black's allocimage(): black = allocimage(display, Rect(0, 0, Dx(screen->r), Dy(screen->r)), RGB24, 0, DBlack);