claudio canepa wrote:
On Mon, Nov 3, 2008 at 11:02 AM, "Jørgen P. Tjernø" <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Is there no alpha-blending for Surface.fill? The blendmodes are
poorly documented, but AFAICT from the source, the blend modes only
do channel-channel operations (dst_r = ra+rb, dst_g = ga+gb, etc) -
nothing to do alpha blending?
pygame 1.8.1release has a bug relating to fill, maybe fixed in svn. Look
at this thread for details:
http://thread.gmane.org/gmane.comp.python.pygame/15808/focus=15869
Yes, but the fill methods use the macros BLEND_RGBA_ADD etc in
surface.h, and as I read the code on SVN (
http://www.google.com/codesearch?hl=en&q=show:DGxKpdtiC9g:ZCP0OBviero:DGxKpdtiC9g&sa=N&ct=rd&cs_p=svn://seul.org/svn/pygame/trunk&cs_f=src/surface.h)
it does not do anything other than per-channel blending.
The bug might break intended behaviour, but I don't think the intended
behaviour is what I'm looking for. :)
--
Kindest regards, Jørgen P. Tjernø