MCPcopy Create free account
hub / github.com/JetBrains/skija / getCoordAtOffset

Method getCoordAtOffset

shared/java/TextLine.java:158–165  ·  view source on GitHub ↗

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

(int offset)

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls 2

onNativeCallMethod · 0.95
_nGetCoordAtOffsetMethod · 0.95

Tested by 3

testAbcMethod · 0.64
testLigaturesMethod · 0.64
testCombiningMethod · 0.64