| 1680 | } |
| 1681 | |
| 1682 | int GfxRenderer::getTextHeight(const int fontId) const { |
| 1683 | const auto fontIt = fontMap.find(fontId); |
| 1684 | if (fontIt == fontMap.end()) { |
| 1685 | LOG_ERR("GFX", "Font %d not found", fontId); |
| 1686 | return 0; |
| 1687 | } |
| 1688 | return fontIt->second.getData(EpdFontFamily::REGULAR)->ascender; |
| 1689 | } |
| 1690 | |
| 1691 | void GfxRenderer::drawTextRotated90CW(const int fontId, const int x, const int y, const char* text, const bool black, |
| 1692 | const EpdFontFamily::Style style) const { |
no test coverage detected