MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / GetFontHeight

Method GetFontHeight

src/Display/Lcd/Lcd.cpp:66–73  ·  view source on GitHub ↗

Get the current font height

Source from the content-addressed store, hash-verified

64
65// Get the current font height
66PixelNumber Lcd::GetFontHeight() const noexcept
67{
68#if USE_FONT_CHIP
69 return fontChip.GetFontHeight(currentFontNumber);
70#else
71 return fonts[currentFontNumber]->height;
72#endif
73}
74
75// Get the height of a specified font
76PixelNumber Lcd::GetFontHeight(size_t fontNumber) const noexcept

Callers 7

ButtonMenuItem.cppFile · 0.45
ValueMenuItem.cppFile · 0.45
TextMenuItem.cppFile · 0.45
FilesMenuItem.cppFile · 0.45
DisplayMessageBoxMethod · 0.45
ParseMenuLineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected