freetype
[Top][All Lists]
Advanced

[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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]