Translates the matrix along the x and y axes, as specified by the dx and dy parameters.
dx
dy
GMatrix translate(double dx, double dy) { tx += dx; ty += dy; return this; }