Standard Box Model rendering RenderBoxGeom renders a box with the given geometry.
(pos math32.Vector2, sz math32.Vector2, bs styles.Border)
| 405 | |
| 406 | // RenderBoxGeom renders a box with the given geometry. |
| 407 | func (wb *WidgetBase) RenderBoxGeom(pos math32.Vector2, sz math32.Vector2, bs styles.Border) { |
| 408 | wb.Scene.PaintContext.DrawBorder(pos.X, pos.Y, sz.X, sz.Y, bs) |
| 409 | } |
| 410 | |
| 411 | // RenderStandardBox renders the standard box model. |
| 412 | func (wb *WidgetBase) RenderStandardBox() { |
no test coverage detected