freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] Render with an outline


From: Changyuan Hu
Subject: Re: [Freetype] Render with an outline
Date: Wed, 25 Feb 2004 09:46:51 -0500

Rander in the color you like to an offscreen buffer, then BitBlt to the
destination image using one of the raster operations, for example XOR.

----- Original Message ----- 
From: "Fu Chen" <address@hidden>
To: <address@hidden>
Sent: Tuesday, February 24, 2004 7:44 PM
Subject: [Freetype] Render with an outline


> HI!
> What I try to do is rendering small size character(10 or 12 points) on an
image. We can't know what's the image's color, so simply render string with
one color maybe hide the character in the background and make it difficult
to recognize.
> Now, I render it four time with another color at (x-1, y-1), (x-1, y+1),
(x+1, y-1), (x+1,y+1)  to draw an outline for the character. But I think it
will harm the efficiency.
> Is there any quick and elegant way to get this effect?
> ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÅ­ç­Ê-¦j)bz
b²Ñkyër¥ïß­ç­Ê-ÿ¢¸!¶Úÿÿü0Ã÷ëyër¥ïè®æj)fjåSËbú?~·z·*^










reply via email to

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