(svn r13910) -Document: string drawing related functions and types (Alberth)

This commit is contained in:
rubidium
2008-08-01 09:34:34 +00:00
parent 47592b9288
commit c5a4e90338
8 changed files with 194 additions and 30 deletions

View File

@@ -151,6 +151,11 @@ extern FontSize _cur_fontsize;
byte GetCharacterWidth(FontSize size, uint32 key);
/**
* Get height of a character for a given font size.
* @param size Font size to get height of
* @return Height of characters in the given font (pixels)
*/
static inline byte GetCharacterHeight(FontSize size)
{
switch (size) {