| 24 | static int16_t clipString(Font font, int16_t width, char* string); |
| 25 | |
| 26 | static uint16_t getLineHeight(Font font) |
| 27 | { |
| 28 | if (font == Font::medium_normal || font == Font::medium_bold) |
| 29 | { |
| 30 | return 10; |
| 31 | } |
| 32 | else if (font == Font::small) |
| 33 | { |
| 34 | return 6; |
| 35 | } |
| 36 | else if (font == Font::large) |
| 37 | { |
| 38 | return 18; |
| 39 | } |
| 40 | return 0; |
| 41 | } |
| 42 | |
| 43 | static uint16_t getSmallerLineHeight(Font font) |
| 44 | { |
no outgoing calls
no test coverage detected