code: public void setRotate(double cosA, double sinA) {
  		xx = cosA;
  		xy = -sinA;
  		xd = 0;
  		yx = sinA;
  		yy = cosA;
  		yd = 0;
  	}
docs: Sets rotation for this transformation.
  
  When the axis Y is directed up and X is directed to the right, the
  positive angle corresponds to the anti-clockwise rotation. When the axis
  Y is directed down and X is directed to the right, the positive angle
  corresponds to the clockwise rotation.
  
  @param cosA
  The rotation angle.
  @param sinA
  The rotation angle.