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); }
public static HandleRef getCPtr(CSRect obj) { return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr); }