// CCBORDA addition public static int ccbaAddCcb(this CCBorda ccba, CCBord ccb) { if (null == ccba || null == ccb) { throw new ArgumentNullException("ccba, ccb cannot be null."); } return(Native.DllImports.ccbaAddCcb((HandleRef)ccba, (HandleRef)ccb)); }
public static void ccbDestroy(this CCBord pccb) { if (null == pccb) { throw new ArgumentNullException("pccb cannot be null"); } var pointer = (IntPtr)pccb; Native.DllImports.ccbDestroy(ref pointer); }
public static int pixGetHoleBorder(this CCBord ccb, Pix pixs, Box box, int xs, int ys) { if (null == pixs || null == pixs || null == box) { throw new ArgumentNullException("ccb, pixs, box cannot be null."); } return(Native.DllImports.pixGetHoleBorder((HandleRef)ccb, (HandleRef)pixs, (HandleRef)box, xs, ys)); }