public override bool Equals(object obj) { if (!(obj is MatrixNode)) { return(false); } MatrixNode matrixNode = (MatrixNode)obj; return(obj != null && (double)this.CX == (double)matrixNode.CX && ((double)this.CY == (double)matrixNode.CY && (double)this.CScaleX == (double)matrixNode.CScaleX) && ((double)this.CScaleY == (double)matrixNode.CScaleY && (double)this.CSkewX == (double)matrixNode.CSkewX) && (double)this.CSkewY == (double)matrixNode.CSkewY); }
public virtual MatrixNode Mat4ToMatrixNode(CSMatrix mat) { MatrixNode matrixNode = new MatrixNode(CocoStudioEngineAdapterPINVOKE.CSComControlNode_Mat4ToMatrixNode(this.swigCPtr, CSMatrix.getCPtr(mat)), true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(matrixNode); }
public static HandleRef getCPtr(MatrixNode obj) { return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr); }