[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] freetype tutorial & gdk/gtk
From: |
Michael Pfeiffer |
Subject: |
Re: [Freetype] freetype tutorial & gdk/gtk |
Date: |
Thu, 29 Aug 2002 15:35:41 +0200 |
>3. Blending with current background
>same as RGB-Bitmap, but RGB-Bitmap is initialized with the current background
>image that
>the glyph overlaps.
Of course blending has to be done against the pixel in the RGB-bitmap:
destPixel.channel = (destPixel.channel * (255-glyphPixel) +
textColor.channel * glyphPixel) / 255