I am trying to create a new plugin which I want to be able to draw rectangles on the active viewport. It looks like it could be possible to do it by calculating the positions of lines and drawing them. However if possible I would like to see if their is an easier way of doing it.
I noticed in the rhinocommon gitlab project that their is a commented out definition for draw2dline and Draw2dRectangle, which seem like they would be exactly what I am looking for. So does anyone have any suggestions, or idea if/when those 2 functions would be usable?
edit: I forgot to say this, I am using C# and am trying to do this in a display conduit (which seemed the logical place)