MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getCellHeight

Method getCellHeight

libs/JSystem/JUtility/JUTResFont.cpp:384–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384int JUTResFont::getCellHeight() const
385{
386 ResFONT::GlyphBlock *glyph;
387 ResFONT::GlyphBlock **glyphs;
388
389 glyphs = mGlyphBlocks;
390 if (glyphs)
391 {
392 glyph = *glyphs;
393 if (glyph)
394 {
395 return glyph->mCellHeight;
396 }
397 }
398 return getHeight();
399}
400
401bool JUTResFont::isLeadByte(int chr) const { return (*mIsLeadByte)(chr); }
402

Callers 2

setFontSizeMethod · 0.45
printReturnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected