[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] gray_raster_render
From: |
Nir Rostoker |
Subject: |
[Freetype] gray_raster_render |
Date: |
Wed, 8 May 2002 13:25:02 +0300 |
Hi!
I'm trying to render texts in different colors, the banal option is to write
a function that will changer the colors in the bitmap after calling
Render_Glpyh() function. The "price" will be of course greater rendering
time, since the bitmap needs to be changed.
I have seen in FT a function called gray_raster_render() in ftgrays.c, which
as far as I understand allow me as well to render texts with different
colors.
Does the usage of gray_raster_render() would be better than using my own
"wrapper" ?
Is there influence on the glyph quality (assuming I use the same range of
colors, for instance , instead of 256 gray levels, 256 red levels) ?
Does anyone can recommend me of the best way to control the text color ?
Thanks,
Nir
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freetype] gray_raster_render,
Nir Rostoker <=