package world // applyPointStyle configures drawer state for point rendering. func applyPointStyle(drawer PrimitiveDrawer, style RenderStyle) { drawer.SetFillColor(style.PointFill) } // applyCircleStyle configures drawer state for circle rendering. func applyCircleStyle(drawer PrimitiveDrawer, style RenderStyle) { drawer.SetFillColor(style.CircleFill) } // applyLineStyle configures drawer state for line rendering. func applyLineStyle(drawer PrimitiveDrawer, style RenderStyle) { drawer.SetStrokeColor(style.LineStroke) drawer.SetLineWidth(style.LineWidthPx) drawer.SetDash(style.LineDash...) drawer.SetDashOffset(style.LineDashOffset) }