wrlib: Improvement in the alpha channel support.
commit3ed409cbd09193d4fa5609fccccfd5c7ddf5d534
authorChristophe CURIS <christophe.curis@free.nospam.fr>
Sun, 15 Jan 2012 19:45:54 +0000 (15 20:45 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 18 Jan 2012 12:04:57 +0000 (18 12:04 +0000)
tree83d0b1dd0006e50cec7cde87e60a9b9ff03e50ee
parente06b3005e833d4c34f9b5671daa0cc44f4f9ea52
wrlib: Improvement in the alpha channel support.

There are some problems in the alpha channel support, as is
reported at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=72917

This patch add a new RCombineAlpha function, based on Gimp. This
function is called when needed in the raster.c functions.

This patch is based on the Brad Jorsch <anomie@users.sourceforge.net>
patch for the 0.62.1-0.1 version.

[crmafra: v1 was sent by Rodolfo kix Garcia <kix@kix.es>]
wrlib/Makefile.am
wrlib/alpha_combine.c [new file with mode: 0644]
wrlib/draw.c
wrlib/raster.c
wrlib/wraster.h