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

Method getStringGlyphsCount

shared/java/Font.java:442–449  ·  view source on GitHub ↗

@return number of glyphs represented by text

(String s)

Source from the content-addressed store, hash-verified

440 * @return number of glyphs represented by text
441 */
442 public int getStringGlyphsCount(String s) {
443 try {
444 Stats.onNativeCall();
445 return _nGetStringGlyphsCount(_ptr, s);
446 } finally {
447 ReferenceUtil.reachabilityFence(this);
448 }
449 }
450
451 /**
452 * @return the bounding box of text

Callers 1

executeMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

executeMethod · 0.64