public virtual CocoStudio.Model.PointF TransformToParent(CocoStudio.Model.PointF selfPoint) { Vec2 vec2 = new Vec2(CocoStudioEngineAdapterPINVOKE.CSVisualObject_TransformToParent(this.swigCPtr, Vec2.getCPtr(new Vec2(selfPoint.X, selfPoint.Y))), true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(new CocoStudio.Model.PointF(vec2.x, vec2.y)); }
public virtual CocoStudio.Model.PointF GetAnchorPointInPoints() { Vec2 vec2 = new Vec2(CocoStudioEngineAdapterPINVOKE.CSVisualObject_GetAnchorPointInPoints(this.swigCPtr), true); return(new CocoStudio.Model.PointF(vec2.x, vec2.y)); }
public virtual int HitTest(CocoStudio.Model.PointF point) { int num = CocoStudioEngineAdapterPINVOKE.CSVisualObject_HitTest(this.swigCPtr, Vec2.getCPtr(new Vec2(point.X, point.Y))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(num); }