Skip to content

DrawRect2D and DrawRect3D #53

@NicEastvillage

Description

@NicEastvillage

In v4 we can draw rectangles in 2d and 3d. These have not been implemented in v5 yet - probably due to their hacky implementation. Internally the rectangles are made drawing strings with transparent text and colored background. Those with closed-source access can search up Rendering::makeFakeRectangleString().

For v5, we need to decide whether to add two new RenderMessages for Rect2D and Rect3D, or reuse the String2D and String3D types and move the makeFakeRectangleString() to the interfaces. The advantage of creating new rendering message types is that we get parity between the interfaces and no code duplication. So I suggest the former.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions