MCPcopy Create free account
hub / github.com/Card-Forge/forge / get

Method get

forge-gui-mobile/src/forge/assets/FSkinFont.java:45–47  ·  view source on GitHub ↗
(final int unscaledSize)

Source from the content-addressed store, hash-verified

43 FileUtil.ensureDirectoryExists(ForgeConstants.FONTS_DIR);
44 }
45 public static FSkinFont get(final int unscaledSize) {
46 return _get((int)Utils.scale(unscaledSize));
47 }
48 public static FSkinFont _get(final int scaledSize) {
49 FSkinFont skinFont = Forge.getAssets().fonts().get(scaledSize);
50 if (skinFont == null) {

Callers 15

AdventureDeckHeaderMethod · 0.95
LoadingOverlayClass · 0.95
showSelectorMethod · 0.95
drawDisclaimerMethod · 0.95
TabPageClass · 0.95
DefaultHeaderClass · 0.95
ViewWinLoseMethod · 0.95
VManaPoolClass · 0.95
VPhaseIndicatorClass · 0.95
DamageTargetMethod · 0.95

Calls 2

_getMethod · 0.95
scaleMethod · 0.95

Tested by

no test coverage detected