MCPcopy Create free account
hub / github.com/HumbleUI/Skija / runInfo

Method runInfo

examples/scenes/src/DebugTextBlobHandler.java:45–52  ·  view source on GitHub ↗
(RunInfo info)

Source from the content-addressed store, hash-verified

43 }
44
45 @Override
46 public void runInfo(RunInfo info) {
47 var font = new Font(info._fontPtr, false);
48 var metrics = font.getMetrics();
49 _maxRunAscent = Math.min(_maxRunAscent, metrics.getAscent());
50 _maxRunDescent = Math.max(_maxRunDescent, metrics.getDescent());
51 _maxRunLeading = Math.max(_maxRunLeading, metrics.getLeading());
52 }
53
54 @Override
55 public void commitRunInfo() {

Callers

nothing calls this directly

Calls 4

getMetricsMethod · 0.95
getAscentMethod · 0.80
getDescentMethod · 0.80
getLeadingMethod · 0.45

Tested by

no test coverage detected