Sorry, ftraster.c can compile. I have a mistake.

 

I searched mail list, found a few messages about ftgrays.c demo issue:

http://lists.nongnu.org/archive/html/freetype-devel/2000-07/msg00058.html

http://lists.nongnu.org/archive/html/freetype-devel/2003-11/msg00086.html

 

But, I cannot found the answer (a demo with source code).  :(

 

 

Allan

 

________________________________

From: Allan Yang, Jian Hua - SH 
Sent: 2007年12月17日 11:09
To: '[email protected]'
Subject: ftgray.c STANDALONE module demo?

 

Referenced to ftgray.c’s comments, I have compile `ftgrays' with the 
_STANDALONE_ macro defined. And It looks like I wonder that *directly render* 
glyph to own display surface 
(http://www.nabble.com/How-can-I-directly-rendering-bitmap-object-on-my-specified-memory--to14164356.html).
 The comments as:

It doesn't need an intermediate bitmap.  Instead, one can supply a callback 
function that will be called by the renderer to draw gray spans on any target 
surface.  You can thus do direct composition on any kind of bitmap, provided 
that you give the renderer the right callback.

 

My question is how to us this lib after compile it? Anybody would give a usage 
demo?

 

Thanks.

 

 

 

--BTW, I found ftraster.c cannot compile with _STANDALONE_ macro as it said.

 

Allan

_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to