public void DrawLine(System.Drawing.Point pt1, System.Drawing.Point pt2, System.Drawing.Color color, int thickness, int lineType, int shift) { // __CvScalar here is come instread CV_RGB PInvoke.cvLine(this.Internal, new __CvPoint(pt1.X, pt1.Y), new __CvPoint(pt2.X, pt2.Y), new __CvScalar(color.R, color.G, color.B, 0), thickness, lineType, shift); CVUtils.CheckLastError(); }