Esempio n. 1
0
        public virtual CSRect RectApplyTransform(Rectangle rect, CSMatrix mat)
        {
            CSRect csRect = new CSRect(CocoStudioEngineAdapterPINVOKE.CSComControlNode_RectApplyTransform(this.swigCPtr, Rect.getCPtr(new Rect((float)rect.X, (float)rect.Y, (float)rect.Width, (float)rect.Height)), CSMatrix.getCPtr(mat)), true);

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(csRect);
        }
Esempio n. 2
0
 public static HandleRef getCPtr(CSRect obj)
 {
     return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr);
 }