bool MgEllipse::_setHandlePoint(int index, const Point2d& pt, float tol) { int index2 = isCircle() ? index + 4 : index; return (index < _getHandleCount() - 1 ? MgBaseRect::_setHandlePoint(index2, pt, tol) : offset(pt - getCenter(), -1)); }
int MgEllipse::_getHandleType(int index) const { int index2 = isCircle() ? index + 4 : index; return (index == _getHandleCount() - 1 ? kMgHandleCenter : index2 >= 4 && index2 < 8 ? kMgHandleQuadrant : kMgHandleVertex); }
int MgBaseShape::getHandleCount() const { return _getHandleCount(); }
Point2d MgEllipse::_getHandlePoint(int index) const { int index2 = isCircle() ? index + 4 : index; return (index < _getHandleCount() - 1 ? MgBaseRect::_getHandlePoint(index2) : getCenter()); }
Point2d MgEllipse::_getHandlePoint(int index) const { int index2 = getFlag(kMgSquare) ? index + 4 : index; return (index < _getHandleCount() - 1 ? MgBaseRect::_getHandlePoint(index2) : getCenter()); }