pathTransform method

Mat2D pathTransform(
  1. double x,
  2. double y
)

Implementation

Mat2D pathTransform(double x, double y) {
  var v = run.offsetAt(index);
  var scale = run.fontSize;
  return Mat2D.fromScaleAndTranslation(scale, scale, x + v.x, y + v.y);
}