/// <summary> /// Copies source 2D array inside of the larger destination array and /// makes a border of the specified type (IPL_BORDER_*) around the copied area. /// </summary> public CVImage CopyMakeBorder(CVImage dst, Point offset, int bordertype, CVScalar value) { PInvoke.cvCopyMakeBorder(new __CvArrPtr(this), new __CvArrPtr(dst), new __CvPoint(offset), bordertype, new __CvScalar(value)); return(dst); }