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

Method getCoordAtOffset

shared/java/TextLine.java:157–164  ·  view source on GitHub ↗

@param offset UTF-16 character offset @return glyph coordinate

(int offset)

Source from the content-addressed store, hash-verified

155 * @return glyph coordinate
156 */
157 public float getCoordAtOffset(int offset) {
158 try {
159 Stats.onNativeCall();
160 return _nGetCoordAtOffset(_ptr, offset);
161 } finally {
162 ReferenceUtil.reachabilityFence(this);
163 }
164 }
165
166 /**
167 * <p>Returns the number of intervals that intersect bounds.

Callers 4

testAbcMethod · 0.80
testLigaturesMethod · 0.80
testCombiningMethod · 0.80
drawLineMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nGetCoordAtOffsetMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 3

testAbcMethod · 0.64
testLigaturesMethod · 0.64
testCombiningMethod · 0.64