copyFrom method

GMatrix copyFrom(
  1. GMatrix source
)

Copies all of the matrix data from the source matrix into this matrix.

Implementation

GMatrix copyFrom(GMatrix source) {
  a = source.a;
  b = source.b;
  c = source.c;
  d = source.d;
  tx = source.tx;
  ty = source.ty;
  return this;
}