1) Extension library
This is all an extension library I modeled after libXMI.
2) Global wrapper lib
I gave this a try and I'm not sure this is the way to go. I think adding a
wrapper doesn't add much functionality and could ultimately limit what the user can
accomplish rather than enhance it because everything has to go through the wrapper.
The wrapper might be incomplete or fit poorly with different libraries. No doubt that
it would seem "cleaner", but I couldn't get this to work to my satisfaction.
3) SetFontFace routine
This is a thought. Hmm... a font as a property of a visual. I'm starting to
grok some possibilities.
I think this may be a good idea, it could help with caching and such. The more I think
about this the more I like it.
4) PrintGlyph vs PrintChar
Yes. A font has two ways of looking up the character. a)(PrintChar) the
character code (ascii, unicode...), b) (PrintGlyph)the index of the array of
characters.
5) int gelGetCharDim, gelGetCharSDim
These are helper routines useful for blitting and such. Every string will fit
into a box and these give the dimensions and location of the box so you can blit it.
6) Thanks.
Yes there's more to making an API than it appears at first. Your comments are
very helpful.
Lee
--
Get your free email from www.linuxmail.org
Powered by Outblaze