bool MgEllipse::_draw(int mode, GiGraphics& gs, const GiContext& ctx, int segment) const { bool ret = false; if (isOrtho()) { ret = gs.drawEllipse(&ctx, Box2d(_points[0], _points[2])); } else { ret = gs.drawBeziers(&ctx, 13, _bzpts, true); } return __super::_draw(mode, gs, ctx, segment) || ret; }
bool MgEllipse::_draw(GiGraphics& gs, const GiContext& ctx) const { bool ret = false; if (isOrtho()) { ret = gs.drawEllipse(&ctx, Box2d(_points[0], _points[2])); } else { ret = gs.drawBeziers(&ctx, 13, _bzpts); } return __super::_draw(gs, ctx) || ret; }