Pointer of drawing TArc object

Hi,

I like that some root objects, like TLine or TLatex, when are drawn with DrawLatex(…) or DrawLine(…),
they return the pointer to the drawn object,
however now similarly I want to get of the pointer of drawn TArc, but the method DrawArc is void.
Is there a particular reason not having it to return the address to the drawn TArc object?

I forward this question to @couet, our graphics expert, so that he answers when he can, thanks!

1 Like

Yes, your remark makes perfect sense. That should be uniform.
Can you open a GitHub issue with this ? That will be the occasion to check all the DrawXXX methods and even add the missing ones.
Thanks.

Thanks for the issue: https://github.com/root-project/root/issues/6966

1 Like

PR here: Return pointer to XXX object in DrawXXX methods. by couet · Pull Request #9472 · root-project/root · GitHub
Sorry for the delay.

1 Like

The PR is merged.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.