MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / drawScaledString

Method drawScaledString

Mod Utils/src/eu/the5zig/mod/gui/Gui.java:468–474  ·  view source on GitHub ↗
(String string, float x, float y, float scale)

Source from the content-addressed store, hash-verified

466 }
467
468 public static void drawScaledString(String string, float x, float y, float scale) {
469 GLUtil.pushMatrix();
470 GLUtil.translate(x, y, 1);
471 GLUtil.scale(scale, scale, scale);
472 MinecraftFactory.getVars().drawString(string, 0, 0);
473 GLUtil.popMatrix();
474 }
475
476}

Callers 4

drawMethod · 0.95
drawMethod · 0.95
drawMethod · 0.95
drawScaledStringMethod · 0.95

Calls 6

pushMatrixMethod · 0.95
translateMethod · 0.95
scaleMethod · 0.95
getVarsMethod · 0.95
popMatrixMethod · 0.95
drawStringMethod · 0.65

Tested by

no test coverage detected