Exemple #1
0
        // 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));
        }
Exemple #2
0
        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);
        }
Exemple #3
0
        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));
        }