pathTransform method
Implementation
Float64List pathTransform(double x, double y) {
var v = run.offsetAt(index);
var scale = run.fontSize;
return Float64List.fromList([
scale,
0.0,
0.0,
0.0,
0.0,
scale,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
x + v.x,
y + v.y,
0.0,
1.0
]);
}