MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / getEpdFont

Method getEpdFont

lib/EpdFont/SdCardFont.cpp:1254–1258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252// --- Public accessors ---
1253
1254EpdFont* SdCardFont::getEpdFont(uint8_t style) {
1255 style &= (MAX_STYLES - 1);
1256 if (!styles_[style].present) return nullptr;
1257 return &styles_[style].epdFont;
1258}
1259
1260bool SdCardFont::hasStyle(uint8_t style) const { return styles_[style & (MAX_STYLES - 1)].present; }
1261

Callers 1

loadFamilyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected