> The libGEL API
BTW: What das GEL stand for ?
> /* Initialization */
> gel_font_t gelInitFTFont(FT_Face font);
> void gelRemoveFont(gel_font_t handle);
> void gelClearFontCache(gel_font_t handle);
I'd go one step further here and wrap font loading as well. The idea is that
we can hook into the native rendering capabilities of the target. Say the
X font rendering capabilities, or when running on Win the native TT
facilities.
> /* Colors
> These are the colors used when printing */
> int gelSetFontForeground(gel_font_t handle, ggi_color c);
> int gelGetFontForeground(gel_font_t handle, ggi_color* c);
> int gelSetFontBackground(gel_font_t handle, ggi_color c);
> int gelGetFontBackground(gel_font_t handle, ggi_color* c);
What is the Background color used for ? I know we have it in LibGGI and use
it to erase the background when blitting texts, but I don't quite think that
was a really smart idea (though I think it was mine :-( ). It gets in the
way when you want to draw "over" an existing scenery, without placing an
ugly box below the text.
CU, ANdy
--
= Andreas Beck | Email : <[EMAIL PROTECTED]> =