in shared/java/TextBlobBuilder.java [185:201]
public TextBlobBuilder appendRunRSXform(Font font, short[] glyphs, RSXform[] xform) {
try {
assert glyphs.length == xform.length : "glyphs.length " + glyphs.length + " != xform.length " + xform.length;
float[] floatXform = new float[xform.length * 4];
for (int i = 0; i < xform.length; ++i) {
floatXform[i * 4] = xform[i]._scos;
floatXform[i * 4 + 1] = xform[i]._ssin;
floatXform[i * 4 + 2] = xform[i]._tx;
floatXform[i * 4 + 3] = xform[i]._ty;
}
Stats.onNativeCall();
_nAppendRunRSXform(_ptr, Native.getPtr(font), glyphs, floatXform);
return this;
} finally {
Reference.reachabilityFence(font);
}
}