transform method

void transform(
  1. double ix,
  2. double iy,
  3. double jx,
  4. double jy,
  5. double tx,
  6. double ty,
)

Applies a 2D affine transformation to the current matrix.

  • ix, iy: Components of the transformed x-axis.
  • jx, jy: Components of the transformed y-axis.
  • tx, ty: Translation components.

Implementation

void transform(double ix, double iy, double jx, double jy, double tx, double ty) {
  _tempMatrix.setValues(ix, iy, 0.0, jx, jy, 0.0, tx, ty, 1.0);
  _currentMatrix *= _tempMatrix;
}