public EPointF ConvParentLocToDrawLoc(EPointF a_pntLoc, Sprite a_spDraw) { if (m_spParent == null || (m_spParent != null && m_spParent == a_spDraw)) { return(a_pntLoc); } a_pntLoc = m_spParent.ConvSrcLocToParentLoc(a_pntLoc); return(m_spParent.ConvParentLocToDrawLoc(a_pntLoc, a_spDraw)); }