public double[,] GetRotateQuad(double nAngle, double nShiftX, double nShiftY) { double[,] quad = new double[4, 2]; status = NPPNativeMethods.NPPi.GeometricTransforms.nppiGetRotateQuad(new NppiRect(_pointRoi, _sizeRoi), quad, nAngle, nShiftX, nShiftY); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetRotateQuad", status)); NPPException.CheckNppStatus(status, this); return quad; }