Albrecht Schlosser wrote:
> [regarding documenting the fl_height(int font, int size) method]
> Agreed. If possible, with documentation. Volunteers?
Here's what I plan to put for the docs.
If there's anything you'd like to add, let me know:
* * *
int fl_height(int font, int size)
This function returns the actual height of the specified \p font
and \p size. Normally the font height should always be 'size',
but with the advent of XFT, there are (currently) complexities
that seem to only be solved by asking the font what its actual
font height is. (See STR#2115)
This function was originally undocumented in 1.1.x, and was used
only by Fl_Text_Display. We're now documenting it in 1.3.x so that
apps that need precise height info can get it with this function.
\returns the height of the font in pixels.
\todo: In the future, when the XFT issues are resolved, this function
should simply return the 'size' value.
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs