forked from mirror/OpenTTD
(svn r13910) -Document: string drawing related functions and types (Alberth)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user