For a simple shadow effect, draw the glyph offset from its normal position
by, say, 2 pixels in each dimension, then draw it in its normal position.
You can improve on this by drawing the glyph in white at an intermediate
position between the two positions, to separate the shadow from the actual
glyph; and by drawing the shadow at lower intensity, etc.

Graham Asher

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of sarathks
Sent: 25 April 2008 12:51
To: freetype-devel@nongnu.org
Subject: [ft-devel] Adding edge effects


Hi 
Does any body know how effects like shadowing and embossing applied on
character images....?
What all changes should I make..?
Any patches available..?
-- 
View this message in context:
http://www.nabble.com/Adding-edge-effects-tp16894922p16894922.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.



_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel



_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to