private void RotateColor(float phi, int x, int y, MatrixOrder order) { phi *= RAD; var qm = new QColorMatrix(); qm._matrix[x, x] = qm._matrix[y, y] = (float)Math.Cos(phi); var s = (float)Math.Sin(phi); qm._matrix[y, x] = s; qm._matrix[x, y] = -s; this.Multiply(qm, order); }